Html_Element_Table_Create()
Abstract
Creates an empty HTML table element object.
Syntax
Html_Element_Table_Create (title, caption_tlptr, options)
| Argument | Type | Description |
|---|---|---|
title |
const char * |
the table’s title |
caption_tlptr |
PrgT_List * |
the list of captions |
options |
int |
contains the desired options combined as a bitwise OR (see Details) |
Return Type
HtmlT_Element_Table *
the newly created table
Header
html.h
Details
Creates an empty HtmlT_Element_Table object that can have a list of captions, as well as taking various options. Each string in the text list is a line in the HTML table’s caption tag. Multiple options are indicated by passing a bitwise OR of all desired options. The available options are
HTMLC_TABLE_OPT_BORDER— the table has a borderHTMLC_TABLE_OPT_FIT_WIDTH— the table width is the same as the page that contains the table