Package org.apache.fop.pdf
Class PDFStructElem.Placeholder
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFDictionary
org.apache.fop.pdf.StructureHierarchyMember
org.apache.fop.pdf.PDFStructElem
org.apache.fop.pdf.PDFStructElem.Placeholder
- All Implemented Interfaces:
Serializable,StructureTreeElement,CompressedObject,PDFWritable
- Enclosing class:
PDFStructElem
Class representing a placeholder for a PDF Structure Element.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.fop.pdf.PDFStructElem
PDFStructElem.Placeholder -
Field Summary
FieldsFields inherited from class org.apache.fop.pdf.PDFStructElem
kids, parentElementFields inherited from class org.apache.fop.pdf.PDFDictionary
entries, order -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidoutputInline(OutputStream out, StringBuilder textBuffer) Writes a "direct object" (inline object) representation to the stream.Methods inherited from class org.apache.fop.pdf.PDFStructElem
addKid, addKidInSpecificOrder, attachKids, getKids, getLanguage, getParentStructElem, getStructureType, output, setLanguage, setMCIDKid, setPage, setParent, setTableAttributeColSpan, setTableAttributeRowSpan, writeDictionaryMethods inherited from class org.apache.fop.pdf.PDFDictionary
containsKey, get, getChildren, getChildren, keySet, put, put, removeMethods inherited from class org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, toPDF, toPDFStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.fop.pdf.CompressedObject
getObjectNumber
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
Placeholder
-
-
Method Details
-
outputInline
Description copied from class:PDFObjectWrites a "direct object" (inline object) representation to the stream. A text buffer is given for optimized encoding of text content.IMPORTANT: If you need to write out binary output, call
PDFDocument.flushTextBuffer(StringBuilder, OutputStream)before writing any content to theOutputStream!- Specified by:
outputInlinein interfacePDFWritable- Overrides:
outputInlinein classPDFObject- Parameters:
out- the OutputStream (for binary content)textBuffer- the text buffer for text content- Throws:
IOException- if an I/O error occurs
-