diff options
author | jtauber <jtauber@unknown> | 1999-11-22 02:32:21 +0000 |
---|---|---|
committer | jtauber <jtauber@unknown> | 1999-11-22 02:32:21 +0000 |
commit | 8db42fcc7af041a77223683e11e053ffb82c4847 (patch) | |
tree | 81748e94daccc781c60ee1d2bcf5a6105ab3070f /src/org/apache/fop/layout/Page.java | |
parent | abd622447e632998a8c9a5fbf40aec5e0ce73315 (diff) | |
download | xmlgraphics-fop-8db42fcc7af041a77223683e11e053ffb82c4847.tar.gz xmlgraphics-fop-8db42fcc7af041a77223683e11e053ffb82c4847.zip |
removed multiple CRs at end of lines
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193230 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layout/Page.java')
-rw-r--r-- | src/org/apache/fop/layout/Page.java | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/src/org/apache/fop/layout/Page.java b/src/org/apache/fop/layout/Page.java index beedcda4f..c283b0d5c 100644 --- a/src/org/apache/fop/layout/Page.java +++ b/src/org/apache/fop/layout/Page.java @@ -50,183 +50,92 @@ */ package org.apache.fop.layout; - - // FOP - import org.apache.fop.render.Renderer; - - // Java - import java.util.Vector; - import java.util.Enumeration; - - public class Page { - - private int height; - private int width; - - private AreaContainer body; - private AreaContainer before; - private AreaContainer after; - private AreaContainer start; - private AreaContainer end; - - private AreaTree areaTree; - - protected int pageNumber = 0; - - Page(AreaTree areaTree, int height, int width) { - this.areaTree = areaTree; - this.height = height; - this.width = width; - } - - public void setNumber(int number) { - this.pageNumber = number; - } - - public int getNumber() { - return this.pageNumber; - } - - void addAfter(AreaContainer area) { - this.after = area; - area.setPage(this); - } - - void addBefore(AreaContainer area) { - this.before = area; - area.setPage(this); - } - - void addBody(AreaContainer area) { - this.body = area; - area.setPage(this); - } - - void addEnd(AreaContainer area) { - this.end = area; - area.setPage(this); - } - - void addStart(AreaContainer area) { - this.start = area; - area.setPage(this); - } - - public void render(Renderer renderer) { - renderer.renderPage(this); - } - - public AreaContainer getAfter() { - return this.after; - } - - public AreaContainer getBefore() { - return this.before; - } - - public AreaContainer getBody() { - return this.body; - } - - public int getHeight() { - return this.height; - } - - public int getWidth() { - return this.width; - } - - public FontInfo getFontInfo() { - return this.areaTree.getFontInfo(); - } - } - |