aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2007-12-27 10:34:15 +0000
committerJeremias Maerki <jeremias@apache.org>2007-12-27 10:34:15 +0000
commit0c87214d3a98d0836083d191b36aa7abf944d0dc (patch)
tree4a0c8a4abd081996088ad1b3f711ed61aa6ff2f6 /src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java
parented61f771c493e86046f3d13e3d6a553d825dd8f3 (diff)
downloadxmlgraphics-fop-0c87214d3a98d0836083d191b36aa7abf944d0dc.tar.gz
xmlgraphics-fop-0c87214d3a98d0836083d191b36aa7abf944d0dc.zip
Added new extension element: fox:external-document. It allows to add whole documents such as multi-page TIFF images to be inserted as peers to a page-sequence. Each image will make up an entire page. See the documentation for details. ATM, only single pages are possible. Multi-page images will be supported with the new image package.
Some preparations for page-position="only" but the implementation is incomplete and "only" has no effect, yet. (Just uploaded some stuff I once started) Some javadoc cleanups. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@607032 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java b/src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java
index 68be2b82e..43d8e40dc 100644
--- a/src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java
+++ b/src/java/org/apache/fop/fo/pagination/SinglePageMasterReference.java
@@ -85,6 +85,7 @@ public class SinglePageMasterReference extends FObj
public String getNextPageMasterName(boolean isOddPage,
boolean isFirstPage,
boolean isLastPage,
+ boolean isOnlyPage,
boolean isEmptyPage) {
if (this.state == FIRST) {
this.state = DONE;
@@ -117,6 +118,11 @@ public class SinglePageMasterReference extends FObj
}
/** {@inheritDoc} */
+ public boolean hasPagePositionOnly() {
+ return false;
+ }
+
+ /** {@inheritDoc} */
public String getLocalName() {
return "single-page-master-reference";
}
@@ -125,5 +131,6 @@ public class SinglePageMasterReference extends FObj
public int getNameId() {
return FO_SINGLE_PAGE_MASTER_REFERENCE;
}
+
}