Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.documentinterchange.markedcontent » [javadoc | source]
org.apache.pdfbox.pdmodel.documentinterchange.markedcontent
public class: PDMarkedContent [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDMarkedContent
A marked content.
Constructor:
 public PDMarkedContent(COSName tag,
    COSDictionary properties) 
    Creates a new marked content object.
    Parameters:
    tag - the tag
    properties - the properties
Method from org.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDMarkedContent Summary:
addMarkedContent,   addText,   addXObject,   getActualText,   getAlternateDescription,   getContents,   getExpandedForm,   getLanguage,   getMCID,   getProperties,   getTag,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.documentinterchange.markedcontent.PDMarkedContent Detail:
 public  void addMarkedContent(PDMarkedContent markedContent) 
    Adds a marked content to the contents.
 public  void addText(TextPosition text) 
    Adds a text position to the contents.
 public  void addXObject(PDXObject xobject) 
    Adds an XObject to the contents.
 public String getActualText() 
    Gets the actual text (ActualText).
 public String getAlternateDescription() 
    Gets the alternate description (Alt).
 public List<Object> getContents() 
 public String getExpandedForm() 
    Gets the expanded form (E).
 public String getLanguage() 
    Gets the language (Lang).
 public int getMCID() 
    Gets the marked-content identifier.
 public COSDictionary getProperties() 
    Gets the properties.
 public String getTag() 
    Gets the tag.
 public String toString()