|
Options |
Name |
Purpose |
|
|
|
AddHorizontalRule ()
|
Adds the horizontal rule an empty bordered paragraph stands for
|
|
|
|
AddListItemBlock ()
|
Adds the list item block the paragraph properties in effect
describe
|
|
|
|
LONGCHAR AnsiChar (integer)
|
Returns the character a byte of the ansicpg code page stands for
|
|
|
|
AppendChar (character)
|
Appends a single character to the text of the current run, or
to the entry of the destination being read
|
|
|
|
AppendDecoded (longchar)
|
Appends a decoded character to the text of the current run
|
|
|
|
AppendHexChar (character)
|
Appends the character of a hex escape to the current run
|
|
|
|
AppendPictureHex (character)
|
Decodes a run of hex picture data into the picture MEMPTR
|
|
|
|
AppendUnicode (integer)
|
Appends the character of a unicode escape to the current run
|
|
|
|
BeginListDefinition ()
|
Begins the definition of a list of the list table
|
|
|
|
BeginListLevel ()
|
Begins the definition of a level of the list that is being
defined
|
|
|
|
BeginParagraphNumbering ()
|
Begins the pn destination of the WordPad list construct
|
|
|
|
BeginTableRow ()
|
Begins the definition of a table row
|
|
|
|
LOGICAL BytesBeginWith (memptr, integer, character)
|
Returns if the bytes begin with the given ASCII text
|
|
|
|
ClearEntry ()
|
Clears the entry accumulator and its ASCII stage
|
|
|
|
ClearParagraphBorder ()
|
Clears the border the brdrnone control word switches off
|
|
|
|
INTEGER CountListItem (integer, integer, integer)
|
Counts the item of the given list override and level and
returns its number
|
|
|
|
EndParagraph ()
|
Ends the paragraph being read
|
|
|
|
EndTableCell ()
|
Ends the cell being read
|
|
|
|
EndTableRow ()
|
Ends the row being read
|
|
|
|
EnsureBlock ()
|
Opens the block the pending text belongs to when none is open
|
|
|
|
FinishColorEntry ()
|
Stores the color table entry that was collected
|
|
|
|
FinishDestination ()
|
Completes the destination that the group being closed carried
|
|
|
|
FinishFieldInstruction ()
|
Picks the hyperlink target out of the field instruction
|
|
|
|
FinishFontEntry ()
|
Stores the font table entry that was collected
|
|
|
|
FinishPicture ()
|
Adds the picture that was collected as an image run
|
|
|
|
FinishStyleEntry ()
|
Stores the stylesheet entry that was collected when it names a
style the model can express
|
|
|
|
FlushText ()
|
Writes the text collected so far into the document
|
|
|
|
HandleControlWord (character, integer, logical)
|
Applies the given control word to the reader state
|
|
|
|
INTEGER HexToInteger (character)
|
Returns the integer value of a hex string
|
|
|
|
INTEGER IndentLevelOf (integer)
|
Returns the indentation level the given left indentation names
|
|
|
|
INTEGER IndexOfByte (memptr, integer, integer, integer)
|
Returns the position of the next occurrence of the given byte
|
|
|
|
LOGICAL IsAsciiLetter (character)
|
Returns if the given character is an ASCII letter
|
|
|
|
LOGICAL IsInParagraphNumbering ()
|
Returns if the pn destination of the WordPad list construct is
being read
|
|
|
|
LOGICAL IsRtf (longchar)
|
Returns if the given value is an RTF document
|
|
|
|
LOGICAL IsTrimByte (integer, character)
|
Returns if the given byte is whitespace or one of the given
trim characters
|
|
|
|
INTEGER LastCompleteTokenEnd (character)
|
Returns the position of the last character of the window that
is guaranteed to end a complete token
|
|
|
|
MarkHeaderRow ()
|
Marks the row being defined as a header row
|
|
|
|
MarkParagraphInTable ()
|
Marks the paragraph being read as one that sits in a table cell
|
|
|
|
Consultingwerk.Util.DocumentConverter.ListNumberingEnum NumberingOf (integer)
|
Returns the numbering type the given levelnfc value names
|
|
|
|
PopGroup ()
|
Restores the state saved by the matching opening brace
|
|
|
|
PushGroup ()
|
Saves the current state on the group stack
|
|
|
|
Consultingwerk.Util.DocumentConverter.TextDocument Read (longchar)
|
Reads the given RTF document into a new TextDocument
|
|
|
|
INTEGER ReadControl (character, integer, integer)
|
Reads the control word or control symbol at the given position
|
|
|
|
LONGCHAR ReadFontName ()
|
Returns the font name of the ttFont row the buffer is
positioned on
|
|
|
|
INTEGER ReadPictureRun (character, integer, integer)
|
Reads the run of picture data at the given position
|
|
|
|
ReleasePicture ()
|
Releases the memory of the picture being read
|
|
|
|
ResetParagraphProperties ()
|
Resets the paragraph properties to the default
|
|
|
|
ResetState ()
|
Resets the reader state so that an instance could be reused
|
|
|
|
ScanWindow (character, integer)
|
Scans one window of the source and dispatches its tokens
|
|
|
|
SetBold (logical)
|
Applies a change of the bold state to the current run
|
|
|
|
SetFont (integer)
|
Applies a font change to the current run, or remembers the font
number while the font table is read
|
|
|
|
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
|
|
|
|
SetListId (integer)
|
Applies the listid control word
|
|
|
|
SetListLevelFormat (integer)
|
Applies the number format a levelnfc control word names to the
list level that is being defined
|
|
|
|
SetListLevelStart (integer)
|
Applies the start number a levelstartat control word names to
the list level that is being defined
|
|
|
|
SetListOverride (integer)
|
Applies the ls control word
|
|
|
|
SetParagraphAlignment (BlockAlignmentEnum)
|
Applies the alignment an alignment control word names to the
paragraph being read
|
|
|
|
SetParagraphBorder (logical)
|
Notes the border side a border control word selects
|
|
|
|
SetParagraphIndent (integer)
|
Applies the left indentation the li control word names to the
paragraph being read
|
|
|
|
SetParagraphNumbering (ListNumberingEnum)
|
Applies the numbering type a control word of the pn destination
names
|
|
|
|
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 SignatureByte (integer)
|
Returns the byte the RTF signature carries at the given position
|
|
|
|
LONGCHAR SliceUtf8 (memptr, integer, integer)
|
Returns the given byte range of a MEMPTR as a UTF-8 longchar
|
|
|
|
StageToEntry ()
|
Moves the ASCII stage of the entry into its UTF-8 accumulator
|
|
|
|
StageToPending ()
|
Moves the ASCII stage into the UTF-8 accumulator
|
|
|
|
SyncTableContext ()
|
Opens or closes the table, the row and the cell of the block
that is about to be created
|
|
|
|
LONGCHAR TakeEntry ()
|
Returns the entry text collected so far and clears it
|
|
|
|
LONGCHAR TrimEntry (longchar, character)
|
Returns the given value without leading and trailing whitespace
and without the given trim characters
|
|
|
|
LONGCHAR Utf8Char (integer)
|
Returns the given Unicode code point as a UTF-8 longchar
|