Class UncompressedObjectReference

java.lang.Object
org.apache.fop.pdf.xref.UncompressedObjectReference
All Implemented Interfaces:
ObjectReference

class UncompressedObjectReference extends Object implements ObjectReference
A reference to an indirect object that is not stored in an object stream.
  • 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

      public void output(DataOutputStream out) throws IOException
      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 interface ObjectReference
      Parameters:
      out - the stream to which to output the reference
      Throws:
      IOException