aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2007-05-07 14:30:23 +0000
committerJeremias Maerki <jeremias@apache.org>2007-05-07 14:30:23 +0000
commitb222b4dcad05edf7e6e1b6f2028f68728fede500 (patch)
treeb49c2041c114d9bff00a02cbee70685aeb6303cd /src/java/org/apache/fop/area
parentcb481cd002dc4ef2af532d7724eb2db0daf64c9f (diff)
downloadxmlgraphics-fop-b222b4dcad05edf7e6e1b6f2028f68728fede500.tar.gz
xmlgraphics-fop-b222b4dcad05edf7e6e1b6f2028f68728fede500.zip
Removed newly introduced dependency from the PDF library to the area tree.
Removed PDFDocument.setHasDestinations() (PDFDocument knows that already). Started to add some generic PDF data structures (array, dictionary). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area')
-rw-r--r--src/java/org/apache/fop/area/BookmarkData.java3
-rw-r--r--src/java/org/apache/fop/area/DestinationData.java21
2 files changed, 1 insertions, 23 deletions
diff --git a/src/java/org/apache/fop/area/BookmarkData.java b/src/java/org/apache/fop/area/BookmarkData.java
index d87b38592..2ad8273a9 100644
--- a/src/java/org/apache/fop/area/BookmarkData.java
+++ b/src/java/org/apache/fop/area/BookmarkData.java
@@ -19,7 +19,6 @@
package org.apache.fop.area;
-import java.util.ArrayList;
import java.util.List;
import java.util.HashMap;
@@ -32,7 +31,7 @@ import org.apache.fop.fo.pagination.bookmarks.Bookmark;
* child bookmark-items under it.
*/
public class BookmarkData extends AbstractOffDocumentItem implements Resolvable {
- private ArrayList subData = new ArrayList();
+ private List subData = new java.util.ArrayList();
// bookmark-title for this fo:bookmark
private String bookmarkTitle = null;
diff --git a/src/java/org/apache/fop/area/DestinationData.java b/src/java/org/apache/fop/area/DestinationData.java
index 7e59210e0..6b873ef84 100644
--- a/src/java/org/apache/fop/area/DestinationData.java
+++ b/src/java/org/apache/fop/area/DestinationData.java
@@ -28,9 +28,6 @@ import org.apache.fop.area.PageViewport;
*/
public class DestinationData extends AbstractOffDocumentItem implements Resolvable {
- // PDFReference (object reference) for this destination
- private String goToReference;
-
// ID Reference for this bookmark
private String idRef;
@@ -79,24 +76,6 @@ public class DestinationData extends AbstractOffDocumentItem implements Resolvab
}
/**
- * Set the GoToReference for this destination
- *
- * @param goToReference the GoToReference to associate with this destination
- */
- public void setGoToReference(String goToReference) {
- this.goToReference = goToReference;
- }
-
- /**
- * Get the GoToReference for this destination
- *
- * @return the GoToReference associated with this destination
- */
- public String getGoToReference() {
- return goToReference;
- }
-
- /**
* Check if this resolvable object has been resolved.
* For now, just return true.
* To do: Find a way to determine whether the destination has been resolved.