public static class PDFStructElem.Placeholder extends PDFStructElem
PDFStructElem.Placeholderkids, parentElemententries, order| Constructor and Description |
|---|
Placeholder(PDFObject parent) |
| Modifier and Type | Method and Description |
|---|---|
PDFObjectNumber |
getObjectNumber()
Returns the object number of this indirect object.
|
int |
output(java.io.OutputStream outputStream)
Outputs this object's content into the given stream.
|
void |
outputInline(java.io.OutputStream out,
java.lang.StringBuilder textBuffer)
Writes a "direct object" (inline object) representation to the stream.
|
addKid, attachKids, getLanguage, getParentStructElem, getStructureType, setLanguage, setMCIDKid, setPage, setParent, setTableAttributeColSpan, setTableAttributeRowSpan, writeDictionaryget, getChildren, getChildren, output, put, putcontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, toPDF, toPDFStringpublic 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 PDFWritableoutputInline in class PDFObjectout - the OutputStream (for binary content)textBuffer - the text buffer for text contentjava.io.IOException - if an I/O error occurspublic PDFObjectNumber getObjectNumber()
public int output(java.io.OutputStream outputStream)
throws java.io.IOException
outputStream - a stream, likely to be provided by the containing object streamjava.io.IOExceptionCopyright 1999-2015 The Apache Software Foundation. All Rights Reserved.