aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-01-06 09:11:02 +0000
committerJeremias Maerki <jeremias@apache.org>2005-01-06 09:11:02 +0000
commitaae474a81399d4daf51f89e95876d8890877ce73 (patch)
tree11209d19a0750a158eb2ef78465a8af8cc65c55e /src
parent67af1224d92f48cce4d8de90223c59dcbec8982c (diff)
downloadxmlgraphics-fop-aae474a81399d4daf51f89e95876d8890877ce73.tar.gz
xmlgraphics-fop-aae474a81399d4daf51f89e95876d8890877ce73.zip
Alloc IPD/BPD, too, not just content IPD/BPD.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198230 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/render/xml/XMLRenderer.java2
1 files changed, 2 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 178fefb6d..f60113dc2 100644
--- a/src/java/org/apache/fop/render/xml/XMLRenderer.java
+++ b/src/java/org/apache/fop/render/xml/XMLRenderer.java
@@ -244,6 +244,8 @@ public class XMLRenderer extends AbstractRenderer {
protected void addAreaAttributes(Area area) {
addAttribute("ipd", area.getIPD());
addAttribute("bpd", area.getBPD());
+ addAttribute("ipda", area.getAllocIPD());
+ addAttribute("bpda", area.getAllocBPD());
addAttribute("bap", area.getBorderAndPaddingWidthStart() + " "
+ area.getBorderAndPaddingWidthEnd() + " "
+ area.getBorderAndPaddingWidthBefore() + " "