Package org.apache.fop.pdf.xref
Class UncompressedObjectReference
java.lang.Object
org.apache.fop.pdf.xref.UncompressedObjectReference
- All Implemented Interfaces:
ObjectReference
A reference to an indirect object that is not stored in an object stream.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
output
(DataOutputStream out) Outputs this reference to the given stream, in the cross-reference stream format.
-
Field Details
-
offset
final long offset
-
-
Constructor Details
-
UncompressedObjectReference
UncompressedObjectReference(long offset) Creates a new reference.- Parameters:
offset
- offset of the object from the beginning of the PDF file
-
-
Method Details
-
output
Description copied from interface:ObjectReference
Outputs this reference to the given stream, in the cross-reference stream format. For example, a object may output the bytes 01 00 00 00 00 00 00 01 ff 00 to indicate a non-compressed object (01), at offset 511 from the beginning of the file (00 00 00 00 00 00 01 ff), of generation number 0 (00).- Specified by:
output
in interfaceObjectReference
- Parameters:
out
- the stream to which to output the reference- Throws:
IOException
-