From: Jeremias Maerki Date: Wed, 10 Aug 2005 06:49:41 +0000 (+0000) Subject: area size traits for text and inlineparent areas. X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6dc70ab6760f589dfb8580e3225b3e5b5de4a12c;p=xmlgraphics-fop.git area size traits for text and inlineparent areas. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231178 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/xml/XMLRenderer.java b/src/java/org/apache/fop/render/xml/XMLRenderer.java index 473b070df..967f5a65e 100644 --- a/src/java/org/apache/fop/render/xml/XMLRenderer.java +++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java @@ -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);