Layer | PD_Layer |
Object | PDNumTree |
A PDNumTree is used to map integers to arbitrary Cos objects just as a Cos dictionary is used to map Cos names to Cos objects. However, a number tree can have many more entries than a Cos dictionary.
Typedef | ||
---|---|---|
PDNumTree
An object that points to the root node of a number tree inside a PDF file. A number tree is used to map integers to arbitrary Cos objects just as a Cos dictionary is used to map Cos names to Cos objects. However, a number tree can have many more entries than a Cos dictionary can.
|
Method | ||
---|---|---|
Enumerates the entries in the tree.
|
||
Compares two number trees to determine if they are the same object.
|
||
PDNumTree PDNumTreeFromCosObj(CosObj obj)
Creates a type cast of the CosObj to a number tree.
|
||
Retrieves an object from the number tree.
|
||
CosObj PDNumTreeGetCosObj(PDNumTree theTree)
Creates a type cast of the number tree to a CosObj.
|
||
ASBool PDNumTreeIsValid(PDNumTree theTree)
Validates whether a PDNumTree is a CosDict Cos object.
|
||
PDNumTree PDNumTreeNew(PDDoc pdDoc)
Creates a new number tree in the document.
|
||
An entry was added to a name tree.
|
||
An entry was removed from a name tree.
|
||
Puts a new entry in the number tree. If an entry with this number is already in the tree, it is replaced.
|
||
Removes the specified object from the tree. It does nothing if no object with that number exists.
|
PDNumTree |
Product availability: All |
Platform availability: All |
typedef OPAQUE_64_BITS PDNumTree;
An object that points to the root node of a number tree inside a PDF file. A number tree is used to map integers to arbitrary Cos objects just as a Cos dictionary is used to map Cos names to Cos objects. However, a number tree can have many more entries than a Cos dictionary can.
See Also
File: PDExpT.h |
Line: 5448 |
PDNumTreeEnum | () |
Product availability: All |
Platform availability: All |
void PDNumTreeEnum(PDNumTree theTree, CosObjEnumProc proc, void* clientData)
Enumerates the entries in the tree.
Parameters
theTree — | IN/OUT A number tree. |
|
proc — | IN/OUT A procedure to call once for each number destination pair in |
|
clientData — | IN/OUT Data used by the enumeration procedure. |
See Also
Since
File: PDProcs.h |
Line: 7647 |
PDNumTreeEqual | () |
Product availability: All |
Platform availability: All |
Compares two number trees to determine if they are the same object.
Parameters
tree1 — | A number tree. |
|
tree2 — | Another number tree. |
|
See Also
Since
File: PDProcs.h |
Line: 7588 |
PDNumTreeFromCosObj | () |
Product availability: All |
Platform availability: All |
Creates a type cast of the CosObj to a number tree.
Parameters
obj — | IN/OUT The CosObj for which a PDNumTree representation is desired. |
A PDNumTree representation of |
See Also
Since
File: PDProcs.h |
Line: 7553 |
PDNumTreeGet | () |
Product availability: All |
Platform availability: All |
Retrieves an object from the number tree.
Parameters
theTree — | The PDNumTree requested. |
|
key — | The number of the entry to retrieve. |
|
value — | (Filled by the method) The value associated with |
|
See Also
Since
File: PDProcs.h |
Line: 7617 |
PDNumTreeGetCosObj | () |
Product availability: All |
Platform availability: All |
Creates a type cast of the number tree to a CosObj.
Parameters
theTree — | IN/OUT The PDNumTree for which a CosObj representation is desired. |
A CosObj representation of |
See Also
Since
File: PDProcs.h |
Line: 7565 |
PDNumTreeIsValid | () |
Product availability: All |
Platform availability: All |
Validates whether a PDNumTree is a CosDict Cos object.
Parameters
theTree — | The PDNumTree whose validity is desired. |
|
See Also
Since
File: PDProcs.h |
Line: 7576 |
PDNumTreeNew | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
Creates a new number tree in the document.
Parameters
pdDoc — | The document for which a new number tree is desired. |
The newly created number tree, or a PDNumTreeIsValid() should be called to determine if the number tree returned by PDNumTreeNew() is usable. |
See Also
Since
File: PDProcs.h |
Line: 7541 |
PDNumTreeNumAdded | () |
Product availability: All |
Platform availability: All |
An entry was added to a name tree.
Parameters
numTree — | IN/OUT The name tree to which an entry was added. |
|
key — | IN/OUT The key for the entry. |
|
value — | IN/OUT The Cos object for the value associated with key. |
|
clientData — | IN/OUT A pointer to a block of user-supplied data that was passed in by the calling application when this notification was registered for using |
See Also
Notifications
File: PIPokes.h |
Line: 1770 |
PDNumTreeNumRemoved | () |
Product availability: All |
Platform availability: All |
An entry was removed from a name tree.
Parameters
numTree — | IN/OUT The name tree from which an entry was removed. |
|
key — | IN/OUT The key for the entry. |
|
clientData — | IN/OUT A pointer to a block of user-supplied data that was passed in by the calling application when this notification was registered for using |
See Also
Notifications
File: PIPokes.h |
Line: 1783 |
PDNumTreePut | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
Puts a new entry in the number tree. If an entry with this number is already in the tree, it is replaced.
Parameters
theTree — | IN/OUT The number tree for which a new entry is added |
|
key — | IN/OUT The number of the entry. |
|
value — | IN/OUT The value associated with |
See Also
Notifications
Since
File: PDProcs.h |
Line: 7603 |
PDNumTreeRemove | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
Removes the specified object from the tree. It does nothing if no object with that number exists.
Parameters
theTree — | IN/OUT The number tree from which an entry is removed. |
|
key — | IN/OUT The number of the entry to remove. |
See Also
Notifications
Since
File: PDProcs.h |
Line: 7631 |