fop 2.0

org.apache.fop.pdf.xref
Class CrossReferenceStream

java.lang.Object
  extended by org.apache.fop.pdf.xref.CrossReferenceObject
      extended by org.apache.fop.pdf.xref.CrossReferenceStream

public class CrossReferenceStream
extends CrossReferenceObject

A cross-reference stream, as described in Section 3.4.7 of the PDF 1.5 Reference.


Field Summary
 
Fields inherited from class org.apache.fop.pdf.xref.CrossReferenceObject
startxref, trailerDictionary
 
Constructor Summary
CrossReferenceStream(PDFDocument document, int objectNumber, TrailerDictionary trailerDictionary, long startxref, java.util.List<java.lang.Long> uncompressedObjectReferences, java.util.List<CompressedObjectReference> compressedObjectReferences)
           
 
Method Summary
 void output(java.io.OutputStream stream)
          Writes the cross reference data to a PDF stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossReferenceStream

public CrossReferenceStream(PDFDocument document,
                            int objectNumber,
                            TrailerDictionary trailerDictionary,
                            long startxref,
                            java.util.List<java.lang.Long> uncompressedObjectReferences,
                            java.util.List<CompressedObjectReference> compressedObjectReferences)
Method Detail

output

public void output(java.io.OutputStream stream)
            throws java.io.IOException
Writes the cross reference data to a PDF stream

Specified by:
output in class CrossReferenceObject
Parameters:
stream - the stream to write the cross reference to
Throws:
java.io.IOException - if an I/O exception occurs while writing the data

fop 2.0

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.