public static class PDFStructElem.Placeholder extends PDFStructElem
PDFStructElem.Placeholder
kids, parentElement
entries, order
Constructor and Description |
---|
Placeholder(PDFObject parent) |
Modifier and Type | Method and Description |
---|---|
PDFObjectNumber |
getObjectNumber()
Returns the object number of this indirect object.
|
void |
outputInline(java.io.OutputStream out,
java.lang.StringBuilder textBuffer)
Writes a "direct object" (inline object) representation to the stream.
|
addKid, addKidInSpecificOrder, attachKids, getKids, getLanguage, getParentStructElem, getStructureType, output, setLanguage, setMCIDKid, setPage, setParent, setTableAttributeColSpan, setTableAttributeRowSpan, writeDictionary
containsKey, get, getChildren, getChildren, keySet, put, put, remove
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, toPDF, toPDFString
public Placeholder(PDFObject parent)
public void outputInline(java.io.OutputStream out, java.lang.StringBuilder textBuffer) throws java.io.IOException
PDFObject
IMPORTANT: If you need to write out binary output, call
PDFDocument.flushTextBuffer(StringBuilder, OutputStream)
before writing any content
to the OutputStream
!
outputInline
in interface PDFWritable
outputInline
in class PDFObject
out
- the OutputStream (for binary content)textBuffer
- the text buffer for text contentjava.io.IOException
- if an I/O error occurspublic PDFObjectNumber getObjectNumber()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.