Author: vhennebert
Date: Wed May 23 19:22:59 2012
New Revision: 1341992

URL: http://svn.apache.org/viewvc?rev=1341992&view=rev
Log:
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

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFStructElem.java
    xmlgraphics/fop/trunk/status.xml

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFStructElem.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFStructElem.java?rev=1341992&r1=1341991&r2=1341992&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFStructElem.java 
(original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFStructElem.java Wed 
May 23 19:22:59 2012
@@ -50,7 +50,6 @@ public class PDFStructElem extends PDFDi
         if (parent instanceof PDFStructElem) {
             parentElement = (PDFStructElem) parent;
         }
-        put("Type", new PDFName("StructElem"));
         put("S", structureType);
         setParent(parent);
     }

Modified: xmlgraphics/fop/trunk/status.xml
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=1341992&r1=1341991&r2=1341992&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Wed May 23 19:22:59 2012
@@ -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>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to