diff options
author | Keiron Liddle <keiron@apache.org> | 2002-05-17 14:47:13 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-05-17 14:47:13 +0000 |
commit | 419405d1934e8a9b7ba9cc9e44fb967c39cafa19 (patch) | |
tree | 56be2377226eb9aea407f7487e516b40a2a6462f /src/org/apache/fop/area/inline | |
parent | 7be7b7e54762346f41ab92f4b92bae326811df95 (diff) | |
download | xmlgraphics-fop-419405d1934e8a9b7ba9cc9e44fb967c39cafa19.tar.gz xmlgraphics-fop-419405d1934e8a9b7ba9cc9e44fb967c39cafa19.zip |
cleaned up bookmark extension a bit
make multi page sequences work properly
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194825 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/area/inline')
-rw-r--r-- | src/org/apache/fop/area/inline/Unresolved.java | 13 | ||||
-rw-r--r-- | src/org/apache/fop/area/inline/UnresolvedPageNumber.java | 16 |
2 files changed, 19 insertions, 10 deletions
diff --git a/src/org/apache/fop/area/inline/Unresolved.java b/src/org/apache/fop/area/inline/Unresolved.java index 2169c9410..8af0c9f0c 100644 --- a/src/org/apache/fop/area/inline/Unresolved.java +++ b/src/org/apache/fop/area/inline/Unresolved.java @@ -7,14 +7,13 @@ package org.apache.fop.area.inline; -public class Unresolved extends InlineArea { - boolean resolved = false; - - // id ref - // resolve - // resolve without area +import org.apache.fop.area.Resolveable; - public void resolve() { +public abstract class Unresolved extends InlineArea implements Resolveable { + boolean resolved = false; + public boolean isResolved() { + return resolved; } + } diff --git a/src/org/apache/fop/area/inline/UnresolvedPageNumber.java b/src/org/apache/fop/area/inline/UnresolvedPageNumber.java index c8ac17d3a..ddc85d327 100644 --- a/src/org/apache/fop/area/inline/UnresolvedPageNumber.java +++ b/src/org/apache/fop/area/inline/UnresolvedPageNumber.java @@ -7,10 +7,20 @@ package org.apache.fop.area.inline; +import java.util.ArrayList; + public class UnresolvedPageNumber extends Unresolved { + String pageRefId; + + public UnresolvedPageNumber(String id) { + pageRefId = id; + } - // id ref - // resolve - // resolve without area + public String[] getIDs() { + return new String[] {pageRefId}; + } + public void resolve(String id, ArrayList pages) { + resolved = true; + } } |