DL Logo

PDEPlace Typedefs

PDEPlace

Header: PEExpT.h:232

Description

A PDEElement that marks a place on a page in a PDF file. In a PDF file, a place is represented by the MP or DP Marked Content operators.

Marked content is useful for adding structure information to a PDF file. For instance, a drawing program may want to mark a point with information, such as the start of a path of a certain type. Marked content provides a way to retain this information in the PDF file. A DP operator functions the same as the MP operator and, in addition, allows a property list dictionary to be associated with a place.

Related Methods

Syntax

typedef struct _t_PDEPlace *PDEPlace;

Returned From

Used By

PDEPlace Functions

PDEPlaceCreate

Header: PEWProcs.h:1133

Description

Creates a place object.

Call PDERelease() to dispose of the returned place object when finished with it.

Syntax

PDEPlace PDEPlaceCreate(IN ASAtom mcTag, IN CosObj *cosObjP, IN ASBool isInline);

Parameters

mcTag
IN/OUT The tag name for the place. It must not contain any white space characters (for example, spaces or tabs).
cosObjP
IN/OUT An optional Marked Content dictionary associated with the place.
isInline
If true, it emits the place's dictionary into the content stream inline. If false, then the dictionary is emitted outside of the content stream and referenced by name. See the Property Lists section of the ISO 32000-1:2008, Document Management-Portable Document Format-Part 1: PDF 1.7, section 14.6.2, page 554. You can find this document on the web store of the International Standards Organization (ISO).

Returns

The place object.

PDEPlaceGetDict

Header: PERProcs.h:1398

Description

Gets the Marked Content dictionary for a PDEPlace.

Related Methods

Syntax

ASBool PDEPlaceGetDict(IN PDEPlace pdePlace, OUT CosObj *placeDictP, OUT ASBool *isInline);

Parameters

pdePlace
IN/OUT The place whose Marked Content dictionary is obtained.
placeDictP
IN/OUT (Filled by the method) A pointer to the Marked Content dictionary; may be NULL.
isInline
IN/OUT (Filled by the method) If true, the Marked Content dictionary is inline; may be NULL.

Returns

true if dictionary is obtained, false if no dictionary is present.

Exceptions

PDEPlaceGetMCTag

Header: PERProcs.h:1381

Description

Gets the Marked Content tag for a PDEPlace.

Related Methods

Syntax

ASAtom PDEPlaceGetMCTag(IN PDEPlace pdePlace);

Parameters

pdePlace
IN/OUT The place whose Marked Content tag is obtained.

Returns

A tag for pdePlace.

Exceptions

PDEPlaceSetDict

Header: PEWProcs.h:1168

Description

Sets the Marked Content dictionary for a PDEPlace. The dictionary can be emitted inline or referenced from the \\Properties key in the \\Resources dictionary of the containing stream.

Related Methods

Syntax

void PDEPlaceSetDict(IN PDEPlace pdePlace, IN CosObj *placeDictP, IN ASBool isInline);

Parameters

pdePlace
IN/OUT The place whose Marked Content dictionary is set.
placeDictP
IN/OUT The Marked Content dictionary for pdePlace.
isInline
If true, it emits the place's dictionary into the content stream inline. If false, then the dictionary is emitted outside of the content stream and referenced by name. See the Property Lists section of the ISO 32000-1:2008, Document Management-Portable Document Format-Part 1: PDF 1.7, section 14.6.2, page 554. You can find this document on the web store of the International Standards Organization (ISO).

Exceptions

PDEPlaceSetMCTag

Header: PEWProcs.h:1145

Description

Sets the Marked Content tag for a PDEPlace.

Related Methods

Syntax

void PDEPlaceSetMCTag(IN PDEPlace pdePlace, IN ASAtom mcTag);

Parameters

pdePlace
IN/OUT The place whose Marked Content tag is set.
mcTag
IN/OUT The tag for pdePlace.

Exceptions