Index

C/C++ Functions

txTextGetPowerDoc

void txTextGetPowerDoc(DT_TXDOC text_doc, DT_PDDOC* power_doc)

Short Description: Get associated PowerDoc document

This function allows applications to get a pointer to the Power Engine document associated with the specified text document.

Parameters

ParameterDescription

text_doc

Handle of the text document instance.

power_doc

Pointer to the handle of the associated Power Engine document.

Comments

The power_doc handle returned by this function is the Power Engine document associated with the text document text_doc. Upon obtaining the power_doc handle, applications can access, modify and render text documents using the lower level D-Type Power Engine functions. See D-Type Power Engine Manual for information on D-Type Power Engine functions and the power_doc handle.

Note 1

Note, however, that if a text document is subsequently modified by calling one of D-Type Power Engine functions for changing the internal structure of Power Engine documents, there is no guarantee that D-Type Unicode Text Module will be able to operate on it. Therefore, it is recommended that you refrain from modifying text documents using D-Type Power Engine functions unless a) you have no intention to further operate on them using D-Type Unicode Text Module; or b) you know very well what you are doing.

 

Index