Package org.apache.fop.pdf
Interface CompressedObject
-
- All Known Implementing Classes:
PageSequenceStructElem
,PDFStructElem
,PDFStructElem.Placeholder
,TableStructElem
interface CompressedObject
Represents a PDF object that may appear in an object stream. An object stream is a PDF stream whose content is a sequence of PDF objects. See Section 3.4.6 of the PDF 1.5 Reference.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getObjectNumber
PDFObjectNumber getObjectNumber()
Returns the object number of this indirect object. Note that a compressed object must have a generation number of 0.- Returns:
- the object number.
-
output
int output(java.io.OutputStream outputStream) throws java.io.IOException
Outputs this object's content into the given stream.- Parameters:
outputStream
- a stream, likely to be provided by the containing object stream- Returns:
- the number of bytes written to the stream
- Throws:
java.io.IOException
-
-