diff options
author | Keiron Liddle <keiron@apache.org> | 2001-11-02 07:45:18 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-11-02 07:45:18 +0000 |
commit | 4cf83fe1e5dab96e2e348877b0e43d8abdc6c0d9 (patch) | |
tree | 7775bd735536527bca329a5a35bc3486e441f35b /src/org/apache/fop/render/xml | |
parent | caeb7b6fb44928f710a272d4495a687bd3e353e2 (diff) | |
download | xmlgraphics-fop-4cf83fe1e5dab96e2e348877b0e43d8abdc6c0d9.tar.gz xmlgraphics-fop-4cf83fe1e5dab96e2e348877b0e43d8abdc6c0d9.zip |
svg renderer now basically works, pages, text, leader, svg
some other misc updates to areas
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194534 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/render/xml')
-rw-r--r-- | src/org/apache/fop/render/xml/XMLRenderer.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/org/apache/fop/render/xml/XMLRenderer.java b/src/org/apache/fop/render/xml/XMLRenderer.java index 33fa2ed9a..e0a35fd36 100644 --- a/src/org/apache/fop/render/xml/XMLRenderer.java +++ b/src/org/apache/fop/render/xml/XMLRenderer.java @@ -37,6 +37,10 @@ import org.w3c.dom.Document; /** * Renderer that renders areas to XML for debugging purposes. + * This creates an xml that contains the information of the area + * tree. It does not output any state or derived information. + * The output can be used to build a new area tree (@see AreaTreeBuilder) + * which can be rendered to any renderer. */ public class XMLRenderer extends AbstractRenderer { public static final String mimeType = "text/xml"; @@ -353,7 +357,7 @@ public class XMLRenderer extends AbstractRenderer { style = "ridge"; break; } - writeElement("<leader ruleStyle=\"" + style + + writeElement("<leader width=\"" + area.getWidth() + "\" ruleStyle=\"" + style + "\" ruleThickness=\"" + area.getRuleThickness() + "\"/>"); super.renderLeader(area); } |