aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/pdf/PDFStructTreeRoot.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFStructTreeRoot.java')
-rw-r--r--src/java/org/apache/fop/pdf/PDFStructTreeRoot.java19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFStructTreeRoot.java b/src/java/org/apache/fop/pdf/PDFStructTreeRoot.java
index e530b1582..0840c7a4b 100644
--- a/src/java/org/apache/fop/pdf/PDFStructTreeRoot.java
+++ b/src/java/org/apache/fop/pdf/PDFStructTreeRoot.java
@@ -26,18 +26,11 @@ public class PDFStructTreeRoot extends PDFDictionary {
/**
* Create the /StructTreeRoot dictionary.
+ * @param parentTree the value of the ParenTree entry
*/
- public PDFStructTreeRoot() {
- super();
+ PDFStructTreeRoot(PDFParentTree parentTree) {
put("Type", new PDFName("StructTreeRoot"));
put("K", new PDFArray());
- }
-
- /**
- * Add parentTree entry.
- * @param parentTree to be added
- */
- public void addParentTree(PDFParentTree parentTree) {
put("ParentTree", parentTree);
}
@@ -50,14 +43,6 @@ public class PDFStructTreeRoot extends PDFDictionary {
}
/**
- * Returns the first child of the kids array (normally the structure tree root element)
- * @return the first child
- */
- public PDFObject getFirstChild() {
- return (PDFObject)getKids().get(0);
- }
-
- /**
* Adds a kid.
* @param kid to be added
*/