Class PDMarkedContentReference
java.lang.Object
org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDMarkedContentReference
- All Implemented Interfaces:
COSObjectable
A marked-content reference.
- Author:
- Johannes Koch
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPDMarkedContentReference
(COSDictionary dictionary) Constructor for an existing marked content reference. -
Method Summary
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
PDMarkedContentReference
public PDMarkedContentReference()Default constructor -
PDMarkedContentReference
Constructor for an existing marked content reference.- Parameters:
dictionary
- the page dictionary
-
-
Method Details
-
getCOSObject
Convert this standard java object to a COS object.- Specified by:
getCOSObject
in interfaceCOSObjectable
- Returns:
- The cos object that matches this Java object.
-
getPage
Gets the page.- Returns:
- the page
-
setPage
Sets the page.- Parameters:
page
- the page
-
getMCID
public int getMCID()Gets the marked content identifier.- Returns:
- the marked content identifier
-
setMCID
public void setMCID(int mcid) Sets the marked content identifier.- Parameters:
mcid
- the marked content identifier
-
toString
-