| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final COSDictionary | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | PDMarkedContent(COSName
the tag tag, COSDictionary the properties properties)Creates a new marked content object. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addMarkedContent(PDMarkedContent
the marked content markedContent)Adds a marked content to the contents. |
| public void | |
| public void | |
| public static PDMarkedContent | Returns: the marked-content sequencethe tag tag, COSDictionary the properties properties)Creates a marked-content sequence. |
| public String | |
| public String | |
| public List | Returns: the contents of the marked content sequenceGets the contents of the marked content sequence. |
| public String | |
| public String | |
| public int | Returns: the marked-content identifier, or -1 if it doesn't exist.Gets the marked-content identifier. |
| public COSDictionary | |
| public String | |
| public String |
| contents | back to summary |
|---|---|
| private final List<Object> contents | |
| properties | back to summary |
|---|---|
| private final COSDictionary properties | |
| tag | back to summary |
|---|---|
| private final String tag | |
| PDMarkedContent | back to summary |
|---|---|
| public PDMarkedContent(COSName tag, COSDictionary properties) Creates a new marked content object.
| |
| addMarkedContent | back to summary |
|---|---|
| public void addMarkedContent(PDMarkedContent markedContent) Adds a marked content to the contents.
| |
| addText | back to summary |
|---|---|
| public void addText(TextPosition text) Adds a text position to the contents.
| |
| addXObject | back to summary |
|---|---|
| public void addXObject(PDXObject xobject) Adds an XObject to the contents.
| |
| create | back to summary |
|---|---|
| public static PDMarkedContent create(COSName tag, COSDictionary properties) Creates a marked-content sequence.
| |
| getActualText | back to summary |
|---|---|
| public String getActualText() Gets the actual text (ActualText).
| |
| getAlternateDescription | back to summary |
|---|---|
| public String getAlternateDescription() Gets the alternate description (Alt).
| |
| getContents | back to summary |
|---|---|
| public List Gets the contents of the marked content sequence. Can be | |
| getExpandedForm | back to summary |
|---|---|
| public String getExpandedForm() Gets the expanded form (E).
| |
| getLanguage | back to summary |
|---|---|
| public String getLanguage() Gets the language (Lang).
| |
| getMCID | back to summary |
|---|---|
| public int getMCID() Gets the marked-content identifier.
| |
| getProperties | back to summary |
|---|---|
| public COSDictionary getProperties() Gets the properties.
| |
| getTag | back to summary |
|---|---|
| public String getTag() Gets the tag.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |