You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/01/28 12:05:36 UTC
cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr/list ListItemLayoutManager.java
jeremias 2005/01/28 03:05:36
Modified: src/java/org/apache/fop/layoutmgr/list
ListItemLayoutManager.java
Log:
Fixed a bug for labels, giving the wrong reference IPD.
Revision Changes Path
1.17 +3 -6 xml-fop/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java
Index: ListItemLayoutManager.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/list/ListItemLayoutManager.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ListItemLayoutManager.java 20 Oct 2004 13:19:25 -0000 1.16
+++ ListItemLayoutManager.java 28 Jan 2005 11:05:35 -0000 1.17
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -128,11 +128,8 @@
childLC.setStackLimit(
MinOptMax.subtract(context.getStackLimit(),
stackSize));
- if (stage == 0) {
- childLC.setRefIPD(24000);
- } else if (stage == 1) {
- childLC.setRefIPD(context.getRefIPD());
- }
+ childLC.setRefIPD(context.getRefIPD());
+
stage++;
while (!curLM.isFinished()) {
if ((bp = curLM.getNextBreakPoss(childLC)) != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org