Package org.apache.fop.pdf
Class PDFLinearization
java.lang.Object
org.apache.fop.pdf.PDFLinearization
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PDFDocument
private PDFLinearization.HintTable
private PDFDictionary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
outputPages
(OutputStream stream) private void
private void
writeObjectGroup
(String name, Set<PDFObject> objects, OutputStream pageStream) private void
writeObjects
(Set<PDFObject> children1, OutputStream pageStream, int sizeOfRest) private static void
writePadding
(int padding, OutputStream stream) private void
writePage
(PDFPage page, OutputStream pageStream) private void
writePage1
(Set<PDFObject> children1, OutputStream pageStream)
-
Field Details
-
doc
-
pageObjsMap
-
linearDict
-
hintTable
-
-
Constructor Details
-
PDFLinearization
-
-
Method Details
-
assignNumbers
- Throws:
IOException
-
sort
-
getChildren
-
outputPages
- Throws:
IOException
-
getPage1Children
- Throws:
IOException
-
writePadding
- Throws:
IOException
-
writeObjects
private void writeObjects(Set<PDFObject> children1, OutputStream pageStream, int sizeOfRest) throws IOException - Throws:
IOException
-
writeObjectGroup
private void writeObjectGroup(String name, Set<PDFObject> objects, OutputStream pageStream) throws IOException - Throws:
IOException
-
writePage1
- Throws:
IOException
-
writePage
- Throws:
IOException
-