public class PDFStructElem extends PDFDictionary
entries, order
DATE_FORMAT, log
Modifier and Type | Method and Description |
---|---|
void |
addKid(PDFObject kid)
Add a kid to this structure element.
|
java.lang.String |
getLanguage()
Returns the language of this structure element.
|
PDFStructElem |
getParentStructElem()
Returns the parent of this structure element.
|
PDFName |
getStructureType()
Returns the structure type of this structure element.
|
void |
setLanguage(java.util.Locale language)
Sets the language of this structure element.
|
void |
setMCIDKid(int mcid)
Sets the given mcid as the kid of this structure element.
|
void |
setPage(PDFPage page)
Sets the page reference of this structure element.
|
void |
setParent(PDFObject parent)
Sets the direct parent object.
|
get, output, put, put, writeDictionary
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, toPDF, toPDFString
public PDFStructElem getParentStructElem()
null
if the parent is not a structure
element (i.e., is the structure tree root)public void setParent(PDFObject parent)
public void addKid(PDFObject kid)
kid
- element to be addedpublic void setMCIDKid(int mcid)
mcid
- mcid of the marked-content sequence corresponding to this
structure element's kidpublic void setPage(PDFPage page)
page
- value for the Pg entrypublic PDFName getStructureType()
public void setLanguage(java.util.Locale language)
language
- a value for the Lang entrypublic java.lang.String getLanguage()
null
if no language was specified)Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.