Index

C/C++ Functions

txTextIniViaStream

DT_SLONG txTextIniViaStream(DT_TXDOC* text_doc, DT_PDENGINE engine, DT_ID_UBYTE text_type, const DT_STREAM_DESC* text_sd, DT_SWORD unicode_flags, const DT_TX_TEXTFLOW_AREA* area, const DT_TX_ATTRIBS text_attribs[], const DT_STREAM_DESC* fontmap_sd)

Short Description: Create and initialize text document - via stream

This is a convenience function. It has the same effect as calling txTextIni followed by a call to txTextMakeViaStream.

Parameters

ParameterDescription

text_doc

See txTextIni.

engine

See txTextMakeViaStream.

text_type

See txTextMakeViaStream.

text_sd

See txTextMakeViaStream.

unicode_flags

See txTextMakeViaStream.

area

See txTextMakeViaStream.

text_attribs

See txTextMakeViaStream.

fontmap_sd

See txTextMakeViaStream.

Return Value

If the new Unicode text document was built successfully, the return value will be the number of its characters. Otherwise, the function returns -1 and text_doc holds DV_NULL.

Comments, Notes and Related Functions

See txTextIni and txTextMakeViaStream.

 

Index