DL Logo

PDEContent Structures

_t_PDEContentAttrsEx

Header: PEExpT.h:492

Description

A structure describing attributes of a PDEContent object. This is the same as the structure PDEContentAttrs, except it uses ASDouble values for Matrix

Syntax

struct _t_PDEContentAttrsEx {
ASUns32 flags;
ASFixed cacheDevice [8];
If flags has kPDESetCacheDevice set, the first six cache device values contain the operands for the d1 ( setcachedevice) page operator. If flags has kPDESetCacheDevice set, cacheDevice contains two charwidth values.
ASInt32 formType;
Only used if PDEContent contains a Form XObject. It corresponds to FormType key in the XObject Form attributes dictionary.
Only used if PDEContent contains a Form. It is the bounding box of the PDEContent object. It corresponds to the BBox key in the XObject Form attributes dictionary.
Only used if PDEContent contains a Form. It is the transformation matrix for the PDEContent object. It corresponds to the Matrix key in the XObject Form attributes dictionary.
CosObj XUID;
Only used if PDEContent contains a Form. It is the form's XUID, which is an ID that uniquely identifies the form. It corresponds to the XUID key in the XObject Form attributes dictionary.
} PDEContentAttrsEx, *PDEContentAttrsExP;

Used By

PDEContent Functions

PDEContentGetAttrsEx

Header: PERProcs.h:3455

Description

Obtains PDEContentAttrsEx, which gives matrix and bounding box in ASDouble Gets the attributes of a content.

Syntax

void PDEContentGetAttrsEx(IN PDEContent pdeContent, OUT PDEContentAttrsExP attrsP, IN ASUns32 attrsSize);

Parameters

pdeContent
IN/OUT A content object.
attrsP
IN/OUT (Filled by the method) A pointer to a PDEContentAttrsEx structure containing the attributes of the content.
attrsSize
IN/OUT The size of the attrsP buffer in bytes.

Exceptions

PDEContentToCosObjEx

Header: PEWProcs.h:109

Description

This is the same as PDEContentToCosObj, above, except that the Content Attributes are passed as PDEContentAttrsEx, so as to allow for ASDouble Matrices and Bounding Boxes

Syntax

void PDEContentToCosObjEx(IN PDEContent pdeContent, IN ASUns32 flags, /* kPDEContentToPage, kPDEContentToForm, kPDEToContentCharProc */ IN PDEContentAttrsExP attrs, IN ASUns32 attrsSize, IN CosDoc cosDoc, IN PDEFilterArrayP filtersP, OUT CosObj *contentsP, OUT CosObj *resourcesP);