Package org.apache.fop.pdf.xref
Class CrossReferenceStream
java.lang.Object
org.apache.fop.pdf.xref.CrossReferenceObject
org.apache.fop.pdf.xref.CrossReferenceStream
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
ConstructorDescriptionCrossReferenceStream
(PDFDocument document, int objectNumber, TrailerDictionary trailerDictionary, long startxref, List<Long> uncompressedObjectReferences, List<CompressedObjectReference> compressedObjectReferences) -
Method Summary
Modifier and TypeMethodDescriptionvoid
output
(OutputStream stream) Writes the cross reference data to a PDF stream
-
Constructor Details
-
CrossReferenceStream
public CrossReferenceStream(PDFDocument document, int objectNumber, TrailerDictionary trailerDictionary, long startxref, List<Long> uncompressedObjectReferences, List<CompressedObjectReference> compressedObjectReferences)
-
-
Method Details
-
output
Writes the cross reference data to a PDF stream- Specified by:
output
in classCrossReferenceObject
- Parameters:
stream
- the stream to write the cross reference to- Throws:
IOException
- if an I/O exception occurs while writing the data
-