|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDMarkedContent
public class PDMarkedContent
A marked content.
Constructor Summary | |
---|---|
PDMarkedContent(COSName tag,
COSDictionary properties)
Creates a new marked content object. |
Method Summary | |
---|---|
void |
addMarkedContent(PDMarkedContent markedContent)
Adds a marked content to the contents. |
void |
addText(TextPosition text)
Adds a text position to the contents. |
void |
addXObject(PDXObject xobject)
Adds an XObject to the contents. |
static PDMarkedContent |
create(COSName tag,
COSDictionary properties)
Creates a marked-content sequence. |
java.lang.String |
getActualText()
Gets the actual text (ActualText). |
java.lang.String |
getAlternateDescription()
Gets the alternate description (Alt). |
java.util.List<java.lang.Object> |
getContents()
Gets the contents of the marked content sequence. |
java.lang.String |
getExpandedForm()
Gets the expanded form (E). |
java.lang.String |
getLanguage()
Gets the language (Lang). |
int |
getMCID()
Gets the marked-content identifier. |
COSDictionary |
getProperties()
Gets the properties. |
java.lang.String |
getTag()
Gets the tag. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PDMarkedContent(COSName tag, COSDictionary properties)
tag
- the tagproperties
- the propertiesMethod Detail |
---|
public static PDMarkedContent create(COSName tag, COSDictionary properties)
tag
- the tagproperties
- the properties
public java.lang.String getTag()
public COSDictionary getProperties()
public int getMCID()
public java.lang.String getLanguage()
public java.lang.String getActualText()
public java.lang.String getAlternateDescription()
public java.lang.String getExpandedForm()
public java.util.List<java.lang.Object> getContents()
public void addText(TextPosition text)
text
- the text positionpublic void addMarkedContent(PDMarkedContent markedContent)
markedContent
- the marked contentpublic void addXObject(PDXObject xobject)
xobject
- the XObjectpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |