diff options
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/PageLayoutManager.java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/PageLayoutManager.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/PageLayoutManager.java b/src/java/org/apache/fop/layoutmgr/PageLayoutManager.java index 76cb1ceca..9861423c5 100644 --- a/src/java/org/apache/fop/layoutmgr/PageLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/PageLayoutManager.java @@ -155,6 +155,8 @@ public class PageLayoutManager extends AbstractLayoutManager implements Runnable */ private HashMap staticContentLMs = new HashMap(4); + private LayoutManagerLS lmls; + /** * This is the top level layout manager. * It is created by the PageSequence FO. @@ -162,9 +164,11 @@ public class PageLayoutManager extends AbstractLayoutManager implements Runnable * @param areaTree the area tree to add pages to * @param pageseq the page sequence fo */ - public PageLayoutManager(AreaTree areaTree, PageSequence pageseq) { + public PageLayoutManager(AreaTree areaTree, PageSequence pageseq, + LayoutManagerLS lmls) { this.areaTree = areaTree; pageSequence = pageseq; + this.lmls = lmls; } /** @@ -911,4 +915,8 @@ public class PageLayoutManager extends AbstractLayoutManager implements Runnable return lm; } + public LayoutManagerLS getLayoutManagerLS() { + return lmls; + } + } |