Layer | PDSEdit_Layer |
Object | PDSMC |
Portions of a page's contents may be wrapped with marked content operators. A PDSMC object represents this marked content. A tag and an optional property list may be associated with a PDSMC. PDSMC is identical to the PDFEdit class PDEContainer. PDSMC objects may be nested.
Typedef | ||
---|---|---|
PDSMC
Represents marked content, which are portions of the graphic content of a PDF document that may be included in the document's logical structure hierarchy. This type is identical with the PDFEdit layer type PDEContainer.
|
||
PDSMCInfo | ||
PDSMCInfoP | ||
PDSMCR
PDSMCR
|
||
PDSMCRef
An opaque pointer type to a marked content reference handle.
|
Structure | ||
---|---|---|
_t_PDSMCInfo
Information about how a marked content PDS object (a marked content kid) is included in its parent.
|
Method | ||
---|---|---|
Gets information about how the specified marked content is contained in its parent.
|
||
Gets the parent element of the specified marked content.
|
||
PDEContainer PDSMCGetPDEContainer(PDSMC mc)
Gets the PDE container object for the specified marked content.
|
||
Gets the parent element of the specified marked content, referred to by its containing object and marked-content identifier.
|
||
Creates a reference handle to a piece of marked content that can be used to associate the content with structure. The handle can persist beyond the lifetime of the marked contents, allowing greater flexibility about when structure information can be created.
|
||
void PDSMCRefDestroy(INPDSMCRef ref)
Destroys a marked content reference created with PDSMCRefCreate(). This should only be called once the reference has been placed in the structure tree or if the reference is no longer needed.
|
PDSMC |
Product availability: All |
Platform availability: All |
typedef PDEContainer PDSMC;
Represents marked content, which are portions of the graphic content of a PDF document that may be included in the document's logical structure hierarchy. This type is identical with the PDFEdit layer type PDEContainer.
File: PDSExpT.h |
Line: 123 |
PDSMCInfo |
Product availability: All |
Platform availability: All |
typedef _t_PDSMCInfo PDSMCInfo;
File: PDSExpT.h |
Line: 223 |
PDSMCInfoP |
Product availability: All |
Platform availability: All |
typedef _t_PDSMCInfo PDSMCInfoP;
File: PDSExpT.h |
Line: 223 |
PDSMCR |
Product availability: All |
Platform availability: All |
typedef CosObj PDSMCR;
PDSMCR
File: PDSExpT.h |
Line: 114 |
PDSMCRef |
Product availability: All |
Platform availability: All |
typedef struct _t_PDSMCRef* PDSMCRef;
An opaque pointer type to a marked content reference handle.
File: PDSExpT.h |
Line: 160 |
_t_PDSMCInfo |
Product availability: All |
Platform availability: All |
struct _t_PDSMCInfo {
ASSize_t size;
ASInt32 mcid;
ASBool directContent;
CosObj containingStm;
CosObj stmOwner;
CosObj page;
}
Information about how a marked content PDS object (a marked content kid) is included in its parent.
See Also
File: PDSExpT.h |
Line: 203 |
size | The size of this data structure. |
|
mcid | The MCID of the content kid in question. |
|
directContent | If |
|
containingStm | The stream object containing the marked content in question. |
|
stmOwner | The object owning the stream, as defined by the StmOwn key in an OBJR. |
|
page | The page on which the marked content is drawn, whether directly as part of page content or indirectly by being in a Form XObject or annotation drawn on that page . |
PDSMCGetInfo | () |
Product availability: All |
Platform availability: All |
void PDSMCGetInfo(CosObj containingObj, PDSMC mc, PDSMCInfoP info)
Gets information about how the specified marked content is contained in its parent.
Parameters
containingObj — | The CosObj containing the MC whose information is obtained. For marked content on a page, this is the Cos object representing the page. For marked content elsewhere, this is the stream in which the marked content resides. |
|
mc — | The marked content whose information is obtained. |
|
info — | (Filled by the method) A pointer to a structure that the method fills with information about |
Exceptions
Since
File: PDSReadProcs.h |
Line: 812 |
PDSMCGetParent | () |
Product availability: All |
Platform availability: All |
void PDSMCGetParent(INCosObj containingObj, INPDSMC mc, OUTPDSElement* parent)
Gets the parent element of the specified marked content.
Parameters
containingObj — | The CosObj containing the MC whose parent is obtained. For marked content on a page, this is the Cos object representing the page. For marked content elsewhere, this is the stream in which the marked content resides. |
|
mc — | The marked content whose parent is obtained. |
|
parent — | (Filled by the method) The parent element of |
See Also
Exceptions
Since
File: PDSReadProcs.h |
Line: 529 |
PDSMCGetPDEContainer | () |
Product availability: All |
Platform availability: All |
PDEContainer PDSMCGetPDEContainer(PDSMC mc)
Gets the PDE container object for the specified marked content.
Parameters
mc — | The marked content whose container is obtained. |
The PDE container object. |
Since
File: PDSReadProcs.h |
Line: 844 |
PDSMCIDGetParent | () |
Product availability: All |
Platform availability: All |
ASBool PDSMCIDGetParent(ASInt32 mcid, CosObj containingObj, PDSElement* parent)
Gets the parent element of the specified marked content, referred to by its containing object and marked-content identifier.
Parameters
mcid — | The identifier (MCID) of the marked content whose parent is obtained. |
|
containingObj — | The CosObj containing the marked content whose parent is obtained. For marked content on a page, this is the Cos object representing the page. For marked content elsewhere, this is the stream in which the marked content resides. |
|
parent — | (Filled by the method) The parent element of |
|
See Also
Exceptions
Since
File: PDSReadProcs.h |
Line: 836 |
PDSMCRefCreate | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
PDSMCRef PDSMCRefCreate(INPDEElement container, INCosDoc cosDoc, INASInt32 mcid)
Creates a reference handle to a piece of marked content that can be used to associate the content with structure. The handle can persist beyond the lifetime of the marked contents, allowing greater flexibility about when structure information can be created.
This may raise various exceptions.
Parameters
container — | The marked content to create a reference for. It must be either a PDEContainer or PDEBeginContainer. |
|
cosDoc — | The document within which the reference will be used. |
|
mcid — | The mcid to set for the container. |
See Also
Since
File: PDSWriteProcs.h |
Line: 913 |
PDSMCRefDestroy | () |
Product availability: Acrobat, PDFL |
Platform availability: Macintosh, Windows, UNIX |
void PDSMCRefDestroy(INPDSMCRef ref)
Destroys a marked content reference created with PDSMCRefCreate(). This should only be called once the reference has been placed in the structure tree or if the reference is no longer needed.
Parameters
ref — | The marked content reference to destroy. |
See Also
Exceptions
Since
File: PDSWriteProcs.h |
Line: 929 |