From 84358a2229bc5d1429151f1b933daa8285ffc98f Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 9 Aug 2005 16:22:33 +0000 Subject: [PATCH] Auto-adjust IPD as in InlineArea. Info may not be available in LM during addAreas(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231060 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/area/inline/InlineBlockParent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/apache/fop/area/inline/InlineBlockParent.java b/src/java/org/apache/fop/area/inline/InlineBlockParent.java index 65126c809..0c284e7ff 100644 --- a/src/java/org/apache/fop/area/inline/InlineBlockParent.java +++ b/src/java/org/apache/fop/area/inline/InlineBlockParent.java @@ -47,6 +47,7 @@ public class InlineBlockParent extends InlineArea { public void addChildArea(Area childArea) { if (childArea instanceof Block && child == null) { child = (Block) childArea; + increaseIPD(childArea.getAllocIPD()); } else { // TODO: log error, raise exception? } -- 2.39.5