com.lowagie.text.pdf
Class PdfStructureBase
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfStructureBase
- Direct Known Subclasses:
- PdfStructureElement, PdfStructureTreeRoot
abstract class PdfStructureBase
- extends PdfDictionary
The PdfStructureBase
class, which handles basic common
functionality between PdfStructureElement and PdfStructureTreeRoot.
Not for public consumption.
- Since:
- 2.1.5
- Author:
- mstorer
Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString |
Methods inherited from class com.lowagie.text.pdf.PdfObject |
canBeInObjStm, getBytes, getDirectObject, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
kids
protected PdfArray kids
PdfStructureBase
public PdfStructureBase(PdfName dicType)
PdfStructureBase
public PdfStructureBase()
- child class responsible for 'reference'
getWriter
protected abstract PdfWriter getWriter()
getIndRef
public PdfIndirectReference getIndRef()
- Gets the reference this object will be written to.
- Overrides:
getIndRef
in class PdfObject
- Returns:
- the reference this object will be written to
addKid
public void addKid(PdfStructureElement kid)
throws java.lang.IllegalArgumentException
- Keep in mind that reading order is determined solely by the order in which
kids are added... not by MCID.
- Parameters:
kid
- a structure element that will be a child of 'this'.
- Throws:
java.lang.IllegalArgumentException
- if 'this' has a /k entry already that isn't for holding children