diff options
author | Jeremias Maerki <jeremias@apache.org> | 2010-09-07 13:45:39 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2010-09-07 13:45:39 +0000 |
commit | 144138a6473966a619277390719122ad35b7f097 (patch) | |
tree | 4787f4c7fa65b2d4e207bafc035382690a5e65d7 /src/java/org/apache/fop/layoutmgr/Page.java | |
parent | df2ce762e05d5ad83b18bd1f720a7fde2171e7d5 (diff) | |
download | xmlgraphics-fop-144138a6473966a619277390719122ad35b7f097.tar.gz xmlgraphics-fop-144138a6473966a619277390719122ad35b7f097.zip |
Bugzilla #49885:
Fixed retrieval of available BPD for cases spanning columns and multiple pages with differing page masters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@993357 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/Page.java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/Page.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/Page.java b/src/java/org/apache/fop/layoutmgr/Page.java index b183efa01..d8ec66e82 100644 --- a/src/java/org/apache/fop/layoutmgr/Page.java +++ b/src/java/org/apache/fop/layoutmgr/Page.java @@ -41,10 +41,12 @@ public class Page { * @param pageNumber the page number (as an int) * @param pageNumberStr the page number (as a String) * @param blank true if this is a blank page + * @param spanAll true if the first span area spans all columns */ - public Page(SimplePageMaster spm, int pageNumber, String pageNumberStr, boolean blank) { + public Page(SimplePageMaster spm, int pageNumber, String pageNumberStr, + boolean blank, boolean spanAll) { this.spm = spm; - this.pageViewport = new PageViewport(spm, pageNumber, pageNumberStr, blank); + this.pageViewport = new PageViewport(spm, pageNumber, pageNumberStr, blank, spanAll); } /** |