|
||||||||||
| 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. |
String |
getActualText()
Gets the actual text (ActualText). |
String |
getAlternateDescription()
Gets the alternate description (Alt). |
List<Object> |
getContents()
Gets the contents of the marked content sequence. |
String |
getExpandedForm()
Gets the expanded form (E). |
String |
getLanguage()
Gets the language (Lang). |
int |
getMCID()
Gets the marked-content identifier. |
COSDictionary |
getProperties()
Gets the properties. |
String |
getTag()
Gets the tag. |
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 properties| Method Detail |
|---|
public static PDMarkedContent create(COSName tag,
COSDictionary properties)
tag - the tagproperties - the properties
public String getTag()
public COSDictionary getProperties()
public int getMCID()
public String getLanguage()
public String getActualText()
public String getAlternateDescription()
public String getExpandedForm()
public List<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 String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||