public static class PDFStructElem.Placeholder extends PDFStructElem
PDFStructElem.Placeholderkidsentries, order| Constructor and Description |
|---|
PDFStructElem.Placeholder(PDFObject parent,
java.lang.String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
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, writeDictionaryget, output, put, putcontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, referencePDF, setDocument, setObjectNumber, toPDF, toPDFStringpublic PDFStructElem.Placeholder(PDFObject parent, java.lang.String name)
parent - -name - -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 int 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-2012 The Apache Software Foundation. All Rights Reserved.