jeremias 2005/02/04 00:25:06
Modified: src/java/org/apache/fop/layoutmgr FlowLayoutManager.java
Log:
Bugfix for list labels that were not properly placed when the list-block is a
child of a flow and there are margins on the page-master.
Revision Changes Path
1.11 +4 -0
xml-fop/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java
Index: FlowLayoutManager.java
===================================================================
RCS file:
/home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/FlowLayoutManager.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- FlowLayoutManager.java 26 Jan 2005 15:00:45 -0000 1.10
+++ FlowLayoutManager.java 4 Feb 2005 08:25:06 -0000 1.11
@@ -18,6 +18,7 @@
package org.apache.fop.layoutmgr;
+import org.apache.fop.datatypes.PercentBase;
import org.apache.fop.fo.flow.Marker;
import org.apache.fop.fo.pagination.Flow;
import org.apache.fop.area.Area;
@@ -69,6 +70,9 @@
LayoutManager curLM;
MinOptMax stackSize = new MinOptMax();
+ fobj.setLayoutDimension(PercentBase.BLOCK_IPD, context.getRefIPD());
+ fobj.setLayoutDimension(PercentBase.BLOCK_BPD,
context.getStackLimit().opt);
+
while ((curLM = getChildLM()) != null) {
if (curLM.generatesInlineAreas()) {
log.error("inline area not allowed under flow - ignoring");
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]