typedef
struct
_t_PDEContainer
*
PDEContainer
;
Creates a container object.
Call PDERelease() to dispose of the returned container object when finished with it.
PDEContainer
PDEContainerCreate(
IN
ASAtom
mcTag
,
IN
CosObj
*
cosObjP
,
IN
ASBool
isInline
);
mcTag | IN/OUT The tag name for the container.
|
cosObjP | IN/OUT An optional Marked Content dictionary for the container.
|
isInline | If
true , it emits the container'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. This document is provided on the web site of the International Standards Organization (ISO). |
Note: This method does not change the reference count of the returned PDEContent.
PDEContent
PDEContainerGetContent(
IN
PDEContainer
pdeContainer
);
pdeContainer | IN/OUT The container whose content is obtained.
|
pdeContainer
. ASBool
PDEContainerGetDict(
IN
PDEContainer
pdeContainer
,
OUT
CosObj
*
placeDictP
,
OUT
ASBool
*
isInline
);
pdeContainer | IN/OUT A container.
|
placeDictP | IN/OUT (Filled by the method) The Marked Content dictionary for
pdeContainer . NULL if pdeContainer has no Marked Content dictionary. |
isInline |
ASAtom
PDEContainerGetMCTag(
IN
PDEContainer
pdeContainer
);
pdeContainer | IN/OUT A container.
|
pdeContainer
. It returns ASAtomNull if pdeContainer
has no Marked Content tag. Note: This method decrements the reference count of the previous content of the container and increments the reference count of the new PDEContent.
void
PDEContainerSetContent(
IN
PDEContainer
pdeContainer
,
IN
PDEContent
pdeContent
);
pdeContainer | IN/OUT A container.
|
pdeContent | IN/OUT The content of
pdeContainer . |
\\Properties
key in the \\Resources
dictionary of the containing stream. void
PDEContainerSetDict(
IN
PDEContainer
pdeContainer
,
IN
CosObj
*
placeDictP
,
IN
ASBool
isInline
);
pdeContainer | The container whose dictionary is changed.
|
placeDictP | The Marked Content dictionary being set into
pdeContainer . |
isInline | If
true , it emits the container'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. This document is provided on the web site of the International Standards Organization (ISO). |
void
PDEContainerSetMCTag(
IN
PDEContainer
pdeContainer
,
IN
ASAtom
mcTag
);
pdeContainer | IN/OUT The container to tag.
|
mcTag | IN/OUT The Marked Content tag.
|