Classes | |
| class | BORDER |
| The definition of a border in a STYLE. More... | |
| class | ELEMENT |
| class | ENUM |
| A template for any enum in a CSS STYLE. More... | |
| class | HTMLDOC |
| class | MEASUREMENT |
| A measurement of some kind in a STYLE. More... | |
| class | STYLE |
| A style in an HTML document The style keeps track of which members are actually set. More... | |
Enumerations | |
| enum | CSS_PROPERTY |
Functions | |
| void | CombineHTMLFragments (MISTRING &Result, const MISTRINGLIST &fragments, MISTRING *pHead=0) |
| CSS_PROPERTY | LookupCSSProperty (const MISTRING &) |
| bool | TextIsHTML (const MIUNICODE *string) |
| bool | TextIsHTMLFragment (const MIUNICODE *string) |
| enum HTML::CSS_PROPERTY |
| void HTML::CombineHTMLFragments | ( | MISTRING & | Result, | |
| const MISTRINGLIST & | fragments, | |||
| MISTRING * | pHead = 0 | |||
| ) |
Combines multiple HTML fragments into one HTML document.
Each fragment is assumed to be a block element and will be placed into a div or a table row. Consecutive non-HTML fragments will be combined together (joined by a newline) and converted to HTML as a group. This will allow multiple tab-delimited lines to be converted into a single HTML table. If any of the fragments are full HTML (with a head and body), the result heads of those fragments will be returned in the pHead parameter (unless it's NULL, in which case they're just ignored)
The result is an HTML fragment without a html or body tag.
| CSS_PROPERTY HTML::LookupCSSProperty | ( | const MISTRING & | ) |
| bool HTML::TextIsHTML | ( | const MIUNICODE * | string | ) |
Determine if given text is HTML.
This looks for a leading DOCTYPE tag or <html> tag
1.6.1