diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2012-05-23 19:22:59 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2012-05-23 19:22:59 +0000 |
commit | f227dce56c9bed87a8cd0daec86267e43d2b2ae1 (patch) | |
tree | c6225dd4a1b5c45e9afbd91cc9ae2a169680a349 | |
parent | 3f7239142b1221de3b7b2ce7f5ca32ce03f67a14 (diff) | |
download | xmlgraphics-fop-f227dce56c9bed87a8cd0daec86267e43d2b2ae1.tar.gz xmlgraphics-fop-f227dce56c9bed87a8cd0daec86267e43d2b2ae1.zip |
The Type entry is optional for a structure element. Not outputting it allows to save space in the final output.
Suggested by Martin Koegler as part of Bugzilla #50852
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1341992 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFStructElem.java | 1 | ||||
-rw-r--r-- | status.xml | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFStructElem.java b/src/java/org/apache/fop/pdf/PDFStructElem.java index 90a41fb72..a77111170 100644 --- a/src/java/org/apache/fop/pdf/PDFStructElem.java +++ b/src/java/org/apache/fop/pdf/PDFStructElem.java @@ -50,7 +50,6 @@ public class PDFStructElem extends PDFDictionary implements StructureTreeElement if (parent instanceof PDFStructElem) { parentElement = (PDFStructElem) parent; } - put("Type", new PDFName("StructElem")); put("S", structureType); setParent(parent); } diff --git a/status.xml b/status.xml index 73ad014cf..f7186e095 100644 --- a/status.xml +++ b/status.xml @@ -63,6 +63,10 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> <release version="FOP Trunk" date="TBD"> + <action context="Renderers" dev="VH" type="fix" due-to="Martin Koegler"> + Stop outputting the Type entry for structure elements in order to create a smaller PDF + ouptut when accessibility is enabled. + </action> <action context="Config" dev="GA" type="fix" fixes-bug="52144" due-to="Luis Bernardo"> Fix crash on use of version switch (-v). </action> |