typedef OPAQUE_64_BITS PDThread;
void PDThreadDestroy(PDThread thread);
thread | IN/OUT The thread to destroy.
|
PDThread PDThreadFromCosObj(CosObj obj);
obj | The dictionary Cos object for the thread.
|
is raised if the thread is not valid as defined by PDThreadIsValid.
|
CosObj PDThreadGetCosObj(PDThread thread);
thread | IN/OUT The thread whose Cos object is to obtained.
|
NULL Cos object if PDThreadIsValid(thread) returns false. PDBead PDThreadGetFirstBead(PDThread thread);
thread | IN/OUT The thread whose first bead is obtained.
|
NULL Cos object if the thread has no beads. Note: This text is stored in either PDFDocEncoding or in Unicode. If it is stored in Unicode, a valid Byte Order Mark must be present.
ASInt32 PDThreadGetInfo(PDThread thread, const char *infoKey, char *buffer, ASInt32 bufSize);
thread | IN/OUT The thread whose thread info is obtained.
|
infoKey | IN/OUT The key whose value is obtained.
|
buffer | IN/OUT (Filled by the method) The value associated with
infoKey. |
bufSize | IN/OUT The maximum number of characters that
buffer can hold. |
buffer. void PDThreadGetInfoASText(PDThread thread, const ASText infoKey, ASText value);
thread | The thread whose thread info is being obtained.
|
infoKey | The key whose value is being obtained.
|
value | (Filled by the method) The text object containing the value associated with
infoKey is set. The client must pass a valid ASText object value. The routine does not allocate it. |
ASBool PDThreadIsValid(PDThread thread);
thread | The thread whose validity is tested.
|
PDThread PDThreadNew(PDDoc aDocP);
aDocP | The document in which the thread is created.
|
void PDThreadSetFirstBead(PDThread thread, PDBead newFirstBead);
thread | IN/OUT The thread whose first bead is set.
|
newFirstBead | IN/OUT The bead to use as the first in thread.
|
Note: This text is stored in either PDFDocEncoding or in Unicode. If it is stored in Unicode, a valid Byte Order Mark must be present.
void PDThreadSetInfo(PDThread thread, const char *infoKey, const char *buffer, ASInt32 bufSize);
thread | IN/OUT The thread whose thread info is set.
|
infoKey | IN/OUT The key whose value is set.
|
buffer | IN/OUT The value to set.
|
bufSize | IN/OUT The number of characters in
buffer. |
void PDThreadSetInfoASText(PDThread thread, const ASText infoKey, const ASText value);
thread | The thread whose thread info is being set.
|
infoKey | The key whose value is being set.
|
value | The text object containing the value to set.
|