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
FieldsModifier and TypeFieldDescriptionprivate final PDFDocumentprivate final intprivate final List<ObjectReference> private static final PDFNameFields inherited from class CrossReferenceObject
startxref, trailerDictionary -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCrossReferenceStream(PDFDocument document, int objectNumber, TrailerDictionary trailerDictionary, long startxref, List<Long> uncompressedObjectReferences, List<CompressedObjectReference> compressedObjectReferences) CrossReferenceStream(PDFDocument document, TrailerDictionary trailerDictionary, long startxref, List<Long> uncompressedObjectReferences, List<CompressedObjectReference> compressedObjectReferences) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidoutput(OutputStream stream) Writes the cross reference data to a PDF streamprivate void
-
Field Details
-
XREF
-
document
-
objectNumber
private final int objectNumber -
objectReferences
-
-
Constructor Details
-
CrossReferenceStream
public CrossReferenceStream(PDFDocument document, TrailerDictionary trailerDictionary, long startxref, List<Long> uncompressedObjectReferences, List<CompressedObjectReference> compressedObjectReferences) -
CrossReferenceStream
protected 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:
outputin classCrossReferenceObject- Parameters:
stream- the stream to write the cross reference to- Throws:
IOException- if an I/O exception occurs while writing the data
-
populateDictionary
- Throws:
IOException
-
addFreeEntryForObject0
- Throws:
IOException
-