From cf7b7d2ede92240d068d6945b625ff118eb86cd4 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 29 Aug 2005 11:20:29 +0000 Subject: Write the start-indent trait to the area tree XML. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264111 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/xml/XMLRenderer.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/java') diff --git a/src/java/org/apache/fop/render/xml/XMLRenderer.java b/src/java/org/apache/fop/render/xml/XMLRenderer.java index 25ae777fb..b93f8f439 100644 --- a/src/java/org/apache/fop/render/xml/XMLRenderer.java +++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java @@ -511,6 +511,9 @@ public class XMLRenderer extends PrintRenderer { atts.clear(); addAreaAttributes(line); addTraitAttributes(line); + if (line.getStartIndent() != 0) { + addAttribute("start-indent", line.getStartIndent()); + } addAttribute("vpos", currentBPPosition); startElement("lineArea", atts); super.renderLineArea(line); -- cgit v1.2.3