|
Options |
Name |
Purpose |
|
|
|
Append (character)
|
Appends the given value to the output buffer
|
|
|
|
AppendEscaped (longchar)
|
Appends the escaped form of the given value to the output
|
|
|
|
AppendLongchar (longchar)
|
Appends the given longchar value to the output
|
|
|
|
INTEGER BigEndian (memptr, integer, integer)
|
Returns the big endian integer the given bytes hold
|
|
|
|
INTEGER BlueOf (integer)
|
Returns the blue part of the given RGB value
|
|
|
|
CloseOpenBlock (integer, integer, integer)
|
Writes the terminator of the block that is still open, and the
row terminator when that block was the last one of its row
|
|
|
|
CollectResources (TextDocument)
|
Collects the font names, the colors and the stylesheet entries
the document needs
|
|
|
|
INTEGER ColorNumFor (integer)
|
Returns the color table number of the given RGB value
|
|
|
|
EnsureColor (integer)
|
Adds the given color to the color table when it is not in it yet
|
|
|
|
EnsureFont (longchar)
|
Adds the given font name to the font table when it is not in it yet
|
|
|
|
EnsureStyle (integer)
|
Adds the given stylesheet number to the styles the document needs
|
|
|
|
LONGCHAR EscapeText (longchar)
|
Escapes the given value for use in an RTF document
|
|
|
|
Flush ()
|
Flushes the output buffer into the longchar result
|
|
|
|
INTEGER FontNumFor (longchar)
|
Returns the font table number of the given font name
|
|
|
|
INTEGER GreenOf (integer)
|
Returns the green part of the given RGB value
|
|
|
|
LONGCHAR HexEncode (memptr)
|
Returns the hex representation of the given bytes
|
|
|
|
LOGICAL ImageSize (memptr, character, integer, integer)
|
Returns the pixel size of the given image
|
|
|
|
INTEGER ListNumOfItem (TextDocument)
|
Returns the number of the list of the list table the list item
the given document is positioned on belongs to
|
|
|
|
INTEGER NumberFormatOf (TextDocument)
|
Returns the levelnfc value of the list item the given document
is positioned on
|
|
|
|
OpenRowIfNeeded (TextDocument)
|
Writes the row definition when the given block opens a new row
|
|
|
|
INTEGER PutAscii (memptr, integer, character)
|
Writes the given ASCII value into the target
|
|
|
|
INTEGER PutEscapedAscii (memptr, integer, integer)
|
Writes the escape of a single ASCII byte into the target
|
|
|
|
INTEGER RedOf (integer)
|
Returns the red part of the given RGB value
|
|
|
|
ResetState ()
|
Resets the writer state so that an instance could be reused
|
|
|
|
CHARACTER RunControls (TextRunFormat)
|
Returns the control words of the character formatting of a run
|
|
|
|
INTEGER RunFontNum (TextRunFormat)
|
Returns the font table number a run has to select
|
|
|
|
CHARACTER UnderlineControl (UnderlineStyleEnum)
|
Returns the control word of an underline style
|
|
|
|
CHARACTER UnicodeEscape (integer)
|
Returns the unicode escape of the given code point
|
|
|
|
LONGCHAR Write (TextDocument)
|
Writes the given TextDocument out as an RTF document
|
|
|
|
WriteBlock (TextDocument)
|
Writes one block of the document
|
|
|
|
WriteBlockAlignment (BlockAlignmentEnum)
|
Writes the alignment control word of the block that is being
written
|
|
|
|
WriteBlockIndent (TextDocument)
|
Writes the left indentation control word of the block that is
being written
|
|
|
|
WriteHeader ()
|
Writes the header of the RTF document
|
|
|
|
WriteImageRun (TextDocument)
|
Writes an embedded image as a picture group
|
|
|
|
WriteListPrefix (TextDocument)
|
Writes the paragraph properties of a list item
|
|
|
|
WriteListTable ()
|
Writes the list table and the list override table
|
|
|
|
WriteRowDefinition (integer, integer, logical)
|
Writes the definition of one table row
|
|
|
|
WriteRuns (TextDocument)
|
Writes the runs of the block the given document is positioned on
|
|
|
|
WriteStyleEntry (integer)
|
Writes one entry of the stylesheet
|
|
|
|
WriteTextRun (TextDocument)
|
Writes a single text run
|