diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-05-20 06:47:44 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-05-20 06:47:44 +0000 |
commit | 24674ca558650fc90e6f77d498516c5dc4215164 (patch) | |
tree | 592d75c4cd975e2e589cec680549f75b02a0d1d3 /src/java/org/apache | |
parent | 90cece68840e6eeda8e061e1514a05469ed12f50 (diff) | |
download | xmlgraphics-fop-24674ca558650fc90e6f77d498516c5dc4215164.tar.gz xmlgraphics-fop-24674ca558650fc90e6f77d498516c5dc4215164.zip |
Output vertical position of text area in area tree XML.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/render/xml/XMLRenderer.java | 1 |
1 files changed, 1 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 74e993c4c..36beebcde 100644 --- a/src/java/org/apache/fop/render/xml/XMLRenderer.java +++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java @@ -599,6 +599,7 @@ public class XMLRenderer extends AbstractRenderer { if (text.getTextLetterSpaceAdjust() != 0) { addAttribute("tlsadjust", text.getTextLetterSpaceAdjust()); } + addAttribute("vpos", text.getOffset()); addTraitAttributes(text); startElement("text", atts); characters(text.getTextArea()); |