aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2012-05-23 19:22:59 +0000
committerVincent Hennebert <vhennebert@apache.org>2012-05-23 19:22:59 +0000
commitf227dce56c9bed87a8cd0daec86267e43d2b2ae1 (patch)
treec6225dd4a1b5c45e9afbd91cc9ae2a169680a349 /src/java/org/apache/fop
parent3f7239142b1221de3b7b2ce7f5ca32ce03f67a14 (diff)
downloadxmlgraphics-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
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/pdf/PDFStructElem.java1
1 files changed, 0 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);
}