LayerPDFEdit_Layer
ObjectDump

Dump methods allow enumerating objects and their attributes. An object's information can be dumped in human readable form. An object dump includes its reference count, which is useful in debugging reference count problems.



Callback Summary
 Callback
 PDEObjectDumpProc
A callback for PDELogDump() or PDEObjectDump(). It is called once for each PDEObject, its children, and their attributes for the specified number of levels.
Method Summary
 Method
 
void PDEAttrEnumTable(INPDEAttrEnumProc enumProc, IN void* clientData)
Enumerates the table of attributes. This method enumerates the shared resource objects. It is useful when looking for orphaned attributes.
 
void PDELogDump(INPDEObjectDumpProc proc, IN void* clientData)
Enumerates the PDEObject objects. This is useful when looking for orphaned objects.
 
void PDEObjectDump(INPDEObject obj, INASInt32 levels, INPDEObjectDumpProc proc, IN void* clientData)
The object, its children and attributes are dumped. The dump contains information about each individual object. The output for child elements is indented with respect to their parents. The information for each object is char* - the string describing Object Type. (See PDEObjectGetType()). The number representing Object Type. (See PEExpT.h: PDEType enum). The object reference count. The memory location for the object.



Callbacks Detail
PDEObjectDumpProc 
Product availability: All
Platform availability: All

Syntax

void (*PDEObjectDumpProc)(IN PDEObject obj, IN const char *dumpInfo, IN void *clientData)

A callback for PDELogDump() or PDEObjectDump(). It is called once for each PDEObject, its children, and their attributes for the specified number of levels.

See Also


File: PEExpT.h
Line: 1888

Method Detail
PDEAttrEnumTable()
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDEAttrEnumTable(INPDEAttrEnumProc enumProc, IN void* clientData)

Enumerates the table of attributes. This method enumerates the shared resource objects. It is useful when looking for orphaned attributes.

Parameters

enumProc — 

IN/OUT A callback to call for each attribute.

 
clientData — 

IN/OUT A pointer to user-supplied data to pass to enumProc each time it is called.

Exceptions

genErrBadParm

Since


File: PERProcs.h
Line: 1442
PDELogDump() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDELogDump(INPDEObjectDumpProc proc, IN void* clientData)

Enumerates the PDEObject objects. This is useful when looking for orphaned objects.

Parameters

proc — 

A callback to call once for each PDEObject.

 
clientData — 

A pointer to user-supplied data to pass to proc each time it is called.

See Also

Exceptions

peErrWrongPDEObjectType
peErrUnknownPDEColorSpace
genErrBadParm

Since


File: PERProcs.h
Line: 1427
PDEObjectDump() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

void PDEObjectDump(INPDEObject obj, INASInt32 levels, INPDEObjectDumpProc proc, IN void* clientData)

The object, its children and attributes are dumped. The dump contains information about each individual object. The output for child elements is indented with respect to their parents.

Parameters

obj — 

The PDEObject to dump.

 
levels — 

The depth of children to dump.

 
proc — 

A callback with the dump information; it may be called more than once per object.

 
clientData — 

Provided by the caller as the parameter of the same name for proc.

See Also

Exceptions

genErrBadParm

Since


File: PERProcs.h
Line: 1410