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(OutputStream out,
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(OutputStream out, StringBuilder textBuffer) throws 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 contentIOException
- if an I/O error occurspublic PDFObjectNumber getObjectNumber()
Copyright © 2024 Apache Software Foundation. All rights reserved.