]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Output vertical position of text area in area tree XML.
authorJeremias Maerki <jeremias@apache.org>
Fri, 20 May 2005 06:47:44 +0000 (06:47 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 20 May 2005 06:47:44 +0000 (06:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198664 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/xml/XMLRenderer.java

index 74e993c4ce046ccf8f721c35391bc24ab7721cc4..36beebcdec792a9ca5d6b2357b6c8f3e6c274e5b 100644 (file)
@@ -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());