diff options
author | arved <arved@unknown> | 2000-12-18 04:07:47 +0000 |
---|---|---|
committer | arved <arved@unknown> | 2000-12-18 04:07:47 +0000 |
commit | 4a6ecf1f795b0a10437543f65155655d2790acb9 (patch) | |
tree | 9f9761614a5426b249e52be36a394eb096b6da9a /src/org/apache/fop/render/awt | |
parent | fcc4bef8d45118da37da4b1808bb9f3290340d5b (diff) | |
download | xmlgraphics-fop-4a6ecf1f795b0a10437543f65155655d2790acb9.tar.gz xmlgraphics-fop-4a6ecf1f795b0a10437543f65155655d2790acb9.zip |
Support for rendering complex body regions
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193902 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/render/awt')
-rw-r--r-- | src/org/apache/fop/render/awt/AWTRenderer.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/org/apache/fop/render/awt/AWTRenderer.java b/src/org/apache/fop/render/awt/AWTRenderer.java index a6803c243..7f367b194 100644 --- a/src/org/apache/fop/render/awt/AWTRenderer.java +++ b/src/org/apache/fop/render/awt/AWTRenderer.java @@ -258,7 +258,7 @@ public class AWTRenderer implements Renderer, Printable, Pageable { } public void render(AreaTree areaTree, - OutputStream stream) throws IOException { + PrintWriter writer) throws IOException { tree = areaTree; render(areaTree, 0); } @@ -286,7 +286,8 @@ public class AWTRenderer implements Renderer, Printable, Pageable { } public void renderPage(Page page) { - AreaContainer body, before, after; + BodyAreaContainer body; + AreaContainer before, after; body = page.getBody(); before = page.getBefore(); @@ -295,7 +296,7 @@ public class AWTRenderer implements Renderer, Printable, Pageable { this.currentFontName = ""; this.currentFontSize = 0; - renderAreaContainer(body); + renderBodyAreaContainer(body); if (before != null) { renderAreaContainer(before); @@ -356,6 +357,12 @@ public class AWTRenderer implements Renderer, Printable, Pageable { } } + // empty for now + public void renderBodyAreaContainer(BodyAreaContainer area) {} + + // empty for now + public void renderSpanArea(SpanArea area) {} + private void doFrame(org.apache.fop.layout.Area area) { int w, h; int rx = this.currentAreaContainerXPosition; |