diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-08-29 11:20:29 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-08-29 11:20:29 +0000 |
commit | cf7b7d2ede92240d068d6945b625ff118eb86cd4 (patch) | |
tree | dd61f99f15f11879ef7bf8a2bb20c173f6bd8ed3 /src/java/org/apache/fop/render/xml | |
parent | 1683add00d32a5c3233f3a45b83a3a3a9cacbd83 (diff) | |
download | xmlgraphics-fop-cf7b7d2ede92240d068d6945b625ff118eb86cd4.tar.gz xmlgraphics-fop-cf7b7d2ede92240d068d6945b625ff118eb86cd4.zip |
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
Diffstat (limited to 'src/java/org/apache/fop/render/xml')
-rw-r--r-- | src/java/org/apache/fop/render/xml/XMLRenderer.java | 3 |
1 files changed, 3 insertions, 0 deletions
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); |