Layer | PDFEdit_Layer |
Object | PDEObject |
PDEObject is the abstract superclass of PDFEdit classes. You can find the type of any object with the PDEObjectGetType() method. You can then cast and apply that class' methods to the object. In addition, you can cast any of the PDFEdit objects to a PDEObject and use it anywhere a PDEObject is called for, such as in the PDEObject methods. PDEAcquire() and PDERelease() increment and decrement the reference counts of a PDEObject.
Typedef | ||
---|---|---|
PDEObject
The abstract super class of the PDFEdit classes. You can find the type of any object with the PDEObjectGetType() method. You can then cast and apply that class' methods to the object. In addition, you can cast any of the PDFEdit objects to a PDEObject and use it anywhere a PDEObject is called for, such as in the PDEObject methods.
|
Method | ||
---|---|---|
void PDEAcquire(INPDEObject obj)
Increments the reference count for an object.
|
||
Adds an identifier-value pair to an object.
|
||
Gets an object's value for a given clientID-tag identifier that was added by PDEAddTag.
|
||
ASInt32 PDEObjectGetType(INPDEObject obj)
Gets the type of an element.
|
||
void PDERelease(INPDEObject obj)
Decrements the reference count for the object. If the count becomes zero, the object is destroyed.
|
||
void PDEReleaseSpan(INPDESpanSetP pdeSpan)
Releases a PDESpan object that is returned by PDEFontAddGlyphs().
|
||
Removes an object's value for a given clientID-tag identifier that was added by PDEAddTag.
|
PDEObject |
Product availability: All |
Platform availability: All |
typedef struct _t_PDEObject* PDEObject;
The abstract super class of the PDFEdit classes. You can find the type of any object with the PDEObjectGetType() method. You can then cast and apply that class' methods to the object. In addition, you can cast any of the PDFEdit objects to a PDEObject and use it anywhere a PDEObject is called for, such as in the PDEObject methods.
See Also
File: PEExpT.h |
Line: 105 |
PDEAcquire | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
void PDEAcquire(INPDEObject obj)
Increments the reference count for an object.
Parameters
obj — | IN/OUT The element whose count is incremented. |
See Also
Exceptions
Since
File: PERProcs.h |
Line: 1354 |
PDEAddTag | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
void PDEAddTag(INPDEObject object, INExtensionID clientID, INASUns32 tag, IN void* value)
Adds an identifier-value pair to an object.
The clientID-tag combination is a unique identifier for the value. Each client has its own identifier space. It is often convenient to use ASAtoms as tags.
Parameters
object — | The element to tag. The object may be a PDEElement, PDEContent, PDEFont, PDEColorSpace, and so on. |
|
clientID — | Identifies the caller/client. For clients, this should be the gExtensionID extension. For the Adobe PDF Library, if there is only one client of the PDFEdit subsystem, |
|
tag — | The tag to add to |
|
value — | A pointer to a value to associate with |
See Also
Exceptions
Since
File: PEWProcs.h |
Line: 1113 |
PDEGetTag | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
void* PDEGetTag(INPDEObject object, INExtensionID clientID, INASUns32 tag)
Gets an object's value for a given clientID-tag identifier that was added by PDEAddTag.
Parameters
object — | The element whose value is obtained. |
|
clientID — | Identifies the caller/client. For clients, this should be the gExtensionID extension. For the Adobe PDF Library, if there is only one client of the PDFEdit subsystem, |
|
tag — | The object's tag. If object has no tag, this is |
The value associated with the clientID-tag identifier. |
See Also
Exceptions
Since
File: PEWProcs.h |
Line: 1137 |
PDEObjectGetType | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
Gets the type of an element.
Parameters
obj — | IN/OUT The element whose type is obtained. |
Exceptions
Since
File: PERProcs.h |
Line: 1339 |
PDERelease | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
void PDERelease(INPDEObject obj)
Decrements the reference count for the object. If the count becomes zero, the object is destroyed.
Do not call PDERelease() on PDEContent that you acquired with PDPageAcquirePDEContent(); call PDPageReleasePDEContent() instead.
Parameters
obj — | IN/OUT The element released. |
See Also
Since
File: PERProcs.h |
Line: 1376 |
PDEReleaseSpan | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
void PDEReleaseSpan(INPDESpanSetP pdeSpan)
Releases a PDESpan object that is returned by PDEFontAddGlyphs().
Parameters
pdeSpan |
See Also
Exceptions
Since
File: PEWProcs.h |
Line: 2982 |
PDERemoveTag | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
void PDERemoveTag(INPDEObject object, INExtensionID clientID, INASUns32 tag)
Removes an object's value for a given clientID-tag identifier that was added by PDEAddTag.
If PDEAddTag is called with a 0
tag, this is the same as calling PDERemoveTag().
Parameters
object — | The element whose tag is removed. |
|
clientID — | Identifies the caller/client. For clients, this should be the gExtensionID extension. For the Adobe PDF Library, if there is only one client of the PDFEdit subsystem, |
|
tag — | The tag value. |
See Also
Exceptions
Since
File: PEWProcs.h |
Line: 1162 |