]> source.dussan.org Git - xmlgraphics-fop.git/commit
Added support for PDF object streams. Temp_PDF_ObjectStreams Temp_PDF_ObjectStreams
authorVincent Hennebert <vhennebert@apache.org>
Wed, 21 Mar 2012 15:12:43 +0000 (15:12 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Wed, 21 Mar 2012 15:12:43 +0000 (15:12 +0000)
commitb9fbfa6b71b5e0d67806c066ea422819de08f3b2
treeea0b24983c14733ec584a04b79ac108634a9cef2
parent54b6471e8fe27378222389de496721cc379a812d
Added support for PDF object streams.
When accessibility is enabled and PDF version 1.5 selected, the structure tree will be stored in object streams in order to reduce the size of the final PDF.
This can lead to file reductions by up to 75%

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_ObjectStreams@1303431 13f79535-47bb-0310-9956-ffa450edef68
151 files changed:
src/java/org/apache/fop/pdf/AbstractPDFStream.java
src/java/org/apache/fop/pdf/CompressedObject.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/ObjectStream.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/ObjectStreamManager.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/PDFAnnotList.java
src/java/org/apache/fop/pdf/PDFArray.java
src/java/org/apache/fop/pdf/PDFCIDFont.java
src/java/org/apache/fop/pdf/PDFCMap.java
src/java/org/apache/fop/pdf/PDFDestination.java
src/java/org/apache/fop/pdf/PDFDictionary.java
src/java/org/apache/fop/pdf/PDFDocument.java
src/java/org/apache/fop/pdf/PDFEncryption.java
src/java/org/apache/fop/pdf/PDFEncryptionJCE.java
src/java/org/apache/fop/pdf/PDFFactory.java
src/java/org/apache/fop/pdf/PDFFilterList.java
src/java/org/apache/fop/pdf/PDFFont.java
src/java/org/apache/fop/pdf/PDFFormXObject.java
src/java/org/apache/fop/pdf/PDFFunction.java
src/java/org/apache/fop/pdf/PDFGState.java
src/java/org/apache/fop/pdf/PDFGoTo.java
src/java/org/apache/fop/pdf/PDFGoToRemote.java
src/java/org/apache/fop/pdf/PDFICCBasedColorSpace.java
src/java/org/apache/fop/pdf/PDFICCStream.java
src/java/org/apache/fop/pdf/PDFImageXObject.java
src/java/org/apache/fop/pdf/PDFInfo.java
src/java/org/apache/fop/pdf/PDFLaunch.java
src/java/org/apache/fop/pdf/PDFLink.java
src/java/org/apache/fop/pdf/PDFMetadata.java
src/java/org/apache/fop/pdf/PDFName.java
src/java/org/apache/fop/pdf/PDFNumber.java
src/java/org/apache/fop/pdf/PDFNumsArray.java
src/java/org/apache/fop/pdf/PDFObject.java
src/java/org/apache/fop/pdf/PDFOutline.java
src/java/org/apache/fop/pdf/PDFOutputIntent.java
src/java/org/apache/fop/pdf/PDFPages.java
src/java/org/apache/fop/pdf/PDFPattern.java
src/java/org/apache/fop/pdf/PDFResources.java
src/java/org/apache/fop/pdf/PDFRoot.java
src/java/org/apache/fop/pdf/PDFShading.java
src/java/org/apache/fop/pdf/PDFStream.java
src/java/org/apache/fop/pdf/PDFStructElem.java
src/java/org/apache/fop/pdf/PDFT1Stream.java
src/java/org/apache/fop/pdf/PDFTTFStream.java
src/java/org/apache/fop/pdf/PDFText.java
src/java/org/apache/fop/pdf/PDFUri.java
src/java/org/apache/fop/pdf/PDFXObject.java
src/java/org/apache/fop/pdf/Version.java
src/java/org/apache/fop/pdf/xref/CompressedObjectReference.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/xref/CrossReferenceObject.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/xref/CrossReferenceStream.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/xref/CrossReferenceTable.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/xref/ObjectReference.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/xref/TrailerDictionary.java [new file with mode: 0644]
src/java/org/apache/fop/pdf/xref/UncompressedObjectReference.java [new file with mode: 0644]
src/java/org/apache/fop/render/pdf/PDFLogicalStructureHandler.java
src/java/org/apache/fop/render/pdf/PDFRenderingUtil.java
src/java/org/apache/fop/render/pdf/PDFStructureTreeBuilder.java
test/accessibility/README [deleted file]
test/accessibility/background-image_jpg_repeat.fo [deleted file]
test/accessibility/background-image_jpg_single.fo [deleted file]
test/accessibility/background-image_png_repeat.fo [deleted file]
test/accessibility/background-image_png_single.fo [deleted file]
test/accessibility/background-image_svg_repeat.fo [deleted file]
test/accessibility/background-image_svg_single.fo [deleted file]
test/accessibility/complete.fo [deleted file]
test/accessibility/fop.xconf [deleted file]
test/accessibility/image_jpg.fo [deleted file]
test/accessibility/image_png.fo [deleted file]
test/accessibility/image_svg.fo [deleted file]
test/accessibility/image_wmf.fo [deleted file]
test/accessibility/leader.fo [deleted file]
test/accessibility/links.fo [deleted file]
test/accessibility/pdf/background-image_jpg_repeat.pdf [deleted file]
test/accessibility/pdf/background-image_jpg_single.pdf [deleted file]
test/accessibility/pdf/background-image_png_repeat.pdf [deleted file]
test/accessibility/pdf/background-image_png_single.pdf [deleted file]
test/accessibility/pdf/background-image_svg_repeat.pdf [deleted file]
test/accessibility/pdf/background-image_svg_single.pdf [deleted file]
test/accessibility/pdf/complete.pdf [deleted file]
test/accessibility/pdf/image_jpg.pdf [deleted file]
test/accessibility/pdf/image_png.pdf [deleted file]
test/accessibility/pdf/image_svg.pdf [deleted file]
test/accessibility/pdf/image_wmf.pdf [deleted file]
test/accessibility/pdf/leader.pdf [deleted file]
test/accessibility/pdf/links.pdf [deleted file]
test/accessibility/pdf/role.pdf [deleted file]
test/accessibility/pdf/role_non-standard.pdf [deleted file]
test/accessibility/pdf/text_1.pdf [deleted file]
test/accessibility/pdf/text_2.pdf [deleted file]
test/accessibility/pdf/text_font-embedding.pdf [deleted file]
test/accessibility/role.fo [deleted file]
test/accessibility/role_non-standard.fo [deleted file]
test/accessibility/text_1.fo [deleted file]
test/accessibility/text_2.fo [deleted file]
test/accessibility/text_font-embedding.fo [deleted file]
test/java/org/apache/fop/StandardTestSuite.java
test/java/org/apache/fop/pdf/AbstractPDFStreamTestCase.java
test/java/org/apache/fop/pdf/ObjectStreamManagerTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/ObjectStreamTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/PDFEncryptionJCETestCase.java
test/java/org/apache/fop/pdf/PDFFilterListTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/PDFLibraryTestSuite.java
test/java/org/apache/fop/pdf/PDFObjectTestCase.java
test/java/org/apache/fop/pdf/PDFStreamTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/xref/CompressedObjectReferenceTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/xref/CrossReferenceObjectTest.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/xref/CrossReferenceStreamTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/xref/CrossReferenceTableTestCase.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/xref/ObjectReferenceTest.java [new file with mode: 0644]
test/java/org/apache/fop/pdf/xref/UncompressedObjectReferenceTestCase.java [new file with mode: 0644]
test/pdf/1.5/fop.xconf [new file with mode: 0644]
test/pdf/1.5/test.fo [new file with mode: 0644]
test/pdf/1.5/test.pdf [new file with mode: 0644]
test/pdf/accessibility/README [new file with mode: 0644]
test/pdf/accessibility/background-image_jpg_repeat.fo [new file with mode: 0644]
test/pdf/accessibility/background-image_jpg_single.fo [new file with mode: 0644]
test/pdf/accessibility/background-image_png_repeat.fo [new file with mode: 0644]
test/pdf/accessibility/background-image_png_single.fo [new file with mode: 0644]
test/pdf/accessibility/background-image_svg_repeat.fo [new file with mode: 0644]
test/pdf/accessibility/background-image_svg_single.fo [new file with mode: 0644]
test/pdf/accessibility/complete.fo [new file with mode: 0644]
test/pdf/accessibility/fop.xconf [new file with mode: 0644]
test/pdf/accessibility/image_jpg.fo [new file with mode: 0644]
test/pdf/accessibility/image_png.fo [new file with mode: 0644]
test/pdf/accessibility/image_svg.fo [new file with mode: 0644]
test/pdf/accessibility/image_wmf.fo [new file with mode: 0644]
test/pdf/accessibility/leader.fo [new file with mode: 0644]
test/pdf/accessibility/links.fo [new file with mode: 0644]
test/pdf/accessibility/pdf/background-image_jpg_repeat.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/background-image_jpg_single.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/background-image_png_repeat.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/background-image_png_single.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/background-image_svg_repeat.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/background-image_svg_single.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/complete.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/image_jpg.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/image_png.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/image_svg.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/image_wmf.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/leader.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/links.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/role.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/role_non-standard.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/text_1.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/text_2.pdf [new file with mode: 0644]
test/pdf/accessibility/pdf/text_font-embedding.pdf [new file with mode: 0644]
test/pdf/accessibility/role.fo [new file with mode: 0644]
test/pdf/accessibility/role_non-standard.fo [new file with mode: 0644]
test/pdf/accessibility/text_1.fo [new file with mode: 0644]
test/pdf/accessibility/text_2.fo [new file with mode: 0644]
test/pdf/accessibility/text_font-embedding.fo [new file with mode: 0644]