aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/render/awt
diff options
context:
space:
mode:
authorarved <arved@unknown>2000-12-18 04:07:47 +0000
committerarved <arved@unknown>2000-12-18 04:07:47 +0000
commit4a6ecf1f795b0a10437543f65155655d2790acb9 (patch)
tree9f9761614a5426b249e52be36a394eb096b6da9a /src/org/apache/fop/render/awt
parentfcc4bef8d45118da37da4b1808bb9f3290340d5b (diff)
downloadxmlgraphics-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.java13
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;