|
Options |
Name |
Purpose |
|
|
|
AddAttribute (character, integer, integer)
|
Stores the byte range of one attribute value
|
|
|
|
AddEntity (character, integer)
|
Adds one named entity to the lookup table
|
|
|
|
AddHorizontalRule ()
|
Adds the horizontal rule an hr element stands for
|
|
|
|
AppendTextRange (integer, integer)
|
Processes the given byte range as text content
|
|
|
|
ApplyAlignAttribute (character)
|
Applies the deprecated align attribute of the element that was
opened
|
|
|
|
ApplyDeclaration (integer, integer)
|
Applies one declaration of a style attribute
|
|
|
|
ApplyElement (character)
|
Applies the meaning of the element that was opened
|
|
|
|
ApplyHyperlink ()
|
Applies the target of a hyperlink to the character formatting
|
|
|
|
ApplyListStyleType (character)
|
Applies a list-style-type declaration to the ordered list whose
style attribute is being applied
|
|
|
|
ApplyStyleAttribute ()
|
Applies the declarations of the style attribute of the element
that was opened
|
|
|
|
ApplyTextDecoration ()
|
Adds the text decoration the element that was opened draws
itself to the decoration it inherits
|
|
|
|
CHARACTER AsciiChar (integer)
|
Returns the character the given ASCII byte stands for
|
|
|
|
BuildLookupTables ()
|
Fills the lookup tables of the named entities and the named
CSS colors
|
|
|
|
LOGICAL BytesBeginWith (integer, character)
|
Returns if the source begins with the given ASCII value at the
given position
|
|
|
|
CloseElement (character)
|
Closes the element the closing tag named
|
|
|
|
LONGCHAR DecodeRange (integer, integer)
|
Returns the given byte range with its entities decoded
|
|
|
|
EmitPendingSpace ()
|
Writes the blank that was remembered by NoteSpace
|
|
|
|
EndBlock ()
|
Ends the block of the element that was closed
|
|
|
|
EndTableElement ()
|
Closes the table a table element ends
|
|
|
|
EnsureBlock ()
|
Opens the block that content is about to be added to
|
|
|
|
INTEGER EntityCodePoint (integer, integer)
|
Returns the code point the entity in the given byte range
stands for
|
|
|
|
INTEGER EntityEnd (integer)
|
Returns the position of the semicolon that ends the entity
which begins at the given position
|
|
|
|
INTEGER FlushStage (memptr, integer)
|
Moves the decoded characters that were staged into the text
of the current run
|
|
|
|
FlushText ()
|
Writes the text collected so far into the document
|
|
|
|
LOGICAL HasValueToken (character, character)
|
Returns if a blank separated CSS value holds the given keyword
|
|
|
|
LOGICAL IsAsciiLetter (integer)
|
Returns if the given byte is an ASCII letter
|
|
|
|
LOGICAL IsBlockElement (character)
|
Returns if the given element starts a block
|
|
|
|
LOGICAL IsBoldValue (character)
|
Returns if the given font weight value means bold
|
|
|
|
LOGICAL IsSameAscii (character, character)
|
Returns if the two given ASCII values are the same, comparing
the case as well
|
|
|
|
LOGICAL IsWhitespace (integer)
|
Returns if the given byte is whitespace
|
|
|
|
MaterializePendingBlock ()
|
Adds the block that is pending to the document
|
|
|
|
NoteSpace ()
|
Remembers that whitespace was seen
|
|
|
|
INTEGER NumberAttribute (character)
|
Returns the number the named attribute of the element that was
opened carries
|
|
|
|
Consultingwerk.Util.DocumentConverter.ListNumberingEnum NumberingOfStyleValue (character)
|
Returns the numbering type the given list-style-type value names
|
|
|
|
Consultingwerk.Util.DocumentConverter.ListNumberingEnum NumberingOfTypeAttribute ()
|
Returns the numbering type the type attribute of the ordered
list that was opened names
|
|
|
|
OpenElement (character, logical)
|
Opens the element the opening tag named
|
|
|
|
INTEGER ParseColor (character)
|
Returns the RGB value the given color value names
|
|
|
|
INTEGER ParseFontSize (character)
|
Returns the font size in points the given value names
|
|
|
|
INTEGER ParseIndentLevel (character)
|
Returns the indentation level the given length names
|
|
|
|
PopElement ()
|
Closes the innermost open element
|
|
|
|
PushElement (character, logical, logical, logical, logical)
|
Pushes the given element on the element stack
|
|
|
|
INTEGER PutUtf8 (memptr, integer, integer)
|
Writes the UTF-8 encoding of the given code point into the target
|
|
|
|
Consultingwerk.Util.DocumentConverter.TextDocument Read (longchar)
|
Reads the given HTML document into a new TextDocument
|
|
|
|
INTEGER ReadAttribute (integer)
|
Reads one attribute of an opening tag
|
|
|
|
INTEGER ReadEndTag (integer)
|
Reads a closing tag and closes the element it names
|
|
|
|
ReadImage ()
|
Adds the image the img element names
|
|
|
|
INTEGER ReadName (integer, character)
|
Reads an element or attribute name
|
|
|
|
INTEGER ReadStartTag (integer)
|
Reads an opening tag with its attributes and opens the element
it names
|
|
|
|
INTEGER ReadTag (integer)
|
Reads the tag that begins at the given position
|
|
|
|
ResetState ()
|
Resets the reader state so that an instance could be reused
|
|
|
|
SetBold (logical)
|
Applies a change of the bold state to the current run
|
|
|
|
SetCode (logical)
|
Applies a change of the monospace state to the current run
|
|
|
|
SetFontSize (integer)
|
Applies a font size change to the current run
|
|
|
|
SetForeColor (integer)
|
Applies a foreground color change to the current run
|
|
|
|
SetItalic (logical)
|
Applies a change of the italic state to the current run
|
|
|
|
SetStrikethrough (logical)
|
Applies a change of the strikethrough state to the current run
|
|
|
|
SetSubscript (logical)
|
Applies a change of the subscript state to the current run
|
|
|
|
SetSuperscript (logical)
|
Applies a change of the superscript state to the current run
|
|
|
|
SetUnderline (logical, UnderlineStyleEnum)
|
Applies a change of the underline state to the current run
|
|
|
|
INTEGER SkipTo (integer, character)
|
Returns the position behind the next occurrence of the given
ASCII value
|
|
|
|
CHARACTER SliceAscii (integer, integer)
|
Returns the given byte range as a character, keeping the ASCII
bytes only
|
|
|
|
LONGCHAR SliceUtf8 (integer, integer)
|
Returns the given byte range as a longchar
|
|
|
|
StartBlock (integer, integer, logical)
|
Remembers the block that the element which was opened starts
|
|
|
|
StartListItem ()
|
Starts the block of a list item
|
|
|
|
StartTableElement ()
|
Opens the table a table element starts
|
|
|
|
Consultingwerk.Util.DocumentConverter.BlockAlignmentEnum ToAlignment (character)
|
Returns the alignment the given CSS or attribute value names
|
|
|
|
LONGCHAR TrimQuotes (longchar)
|
Returns the given value without the quotes a CSS value may be
written in
|
|
|
|
Consultingwerk.Util.DocumentConverter.UnderlineStyleEnum UnderlineStyleOfValue (character, UnderlineStyleEnum)
|
Returns the underline style a text-decoration or a
text-decoration-style value names
|