]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
area size traits for text and inlineparent areas.
authorJeremias Maerki <jeremias@apache.org>
Wed, 10 Aug 2005 06:49:41 +0000 (06:49 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 10 Aug 2005 06:49:41 +0000 (06:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231178 13f79535-47bb-0310-9956-ffa450edef68

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

index 473b070df359985a9b76ada78e78738e0a204357..967f5a65e96c5afe4ccb2333f6f1616574831fb4 100644 (file)
@@ -604,6 +604,7 @@ public class XMLRenderer extends AbstractRenderer {
             addAttribute("tlsadjust", text.getTextLetterSpaceAdjust());
         }
         addAttribute("vpos", text.getOffset());
+        addAreaAttributes(text);
         addTraitAttributes(text);
         startElement("text", atts);
         characters(text.getTextArea());
@@ -616,6 +617,7 @@ public class XMLRenderer extends AbstractRenderer {
      */
     protected void renderInlineParent(InlineParent ip) {
         atts.clear();
+        addAreaAttributes(ip);
         addTraitAttributes(ip);
         startElement("inlineparent", atts);
         super.renderInlineParent(ip);