public static class PDFStructElem.Placeholder extends PDFStructElem
PDFStructElem.Placeholder
kids, parentElement
entries, order
Constructor and Description |
---|
PDFStructElem.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, writeDictionary
get, getChildren, getChildren, output, put, put
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, toPDF, toPDFString
public PDFStructElem.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()
public int output(java.io.OutputStream outputStream) throws java.io.IOException
outputStream
- a stream, likely to be provided by the containing object streamjava.io.IOException
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.