jeremias 2005/01/24 06:03:56 Modified: src/java/org/apache/fop/render/xml XMLRenderer.java Log: normal trait attributes for page-level reference and viewport areas. Revision Changes Path 1.41 +5 -0 xml-fop/src/java/org/apache/fop/render/xml/XMLRenderer.java Index: XMLRenderer.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/xml/XMLRenderer.java,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- XMLRenderer.java 24 Jan 2005 09:15:54 -0000 1.40 +++ XMLRenderer.java 24 Jan 2005 14:03:56 -0000 1.41 @@ -374,11 +374,13 @@ if (port != null) { atts.clear(); addAreaAttributes(port); + addTraitAttributes(port); addAttribute("rect", port.getViewArea()); startElement("regionViewport", atts); RegionReference region = port.getRegion(); atts.clear(); addAreaAttributes(region); + addTraitAttributes(region); if (region.getRegionClass() == FO_REGION_BEFORE) { startElement("regionBefore", atts); renderRegion(region); @@ -428,6 +430,7 @@ protected void renderMainReference(MainReference mr) { atts.clear(); addAreaAttributes(mr); + addTraitAttributes(mr); addAttribute("columnGap", mr.getColumnGap()); addAttribute("width", mr.getWidth()); startElement("mainReference", atts); @@ -438,6 +441,7 @@ span = (Span) spans.get(count); atts.clear(); addAreaAttributes(span); + addTraitAttributes(span); startElement("span", atts); for (int c = 0; c < span.getColumnCount(); c++) { Flow flow = (Flow) span.getFlow(c); @@ -456,6 +460,7 @@ // the normal flow reference area contains stacked blocks atts.clear(); addAreaAttributes(flow); + addTraitAttributes(flow); startElement("flow", atts); super.renderFlow(flow); endElement("flow");
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]