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 2006/07/31 12:15:08 UTC
svn commit: r427061 -
/xmlgraphics/fop/branches/Temp_Floats/src/java/org/apache/fop/area/BeforeFloat.java
Author: jeremias
Date: Mon Jul 31 03:15:06 2006
New Revision: 427061
URL: http://svn.apache.org/viewvc?rev=427061&view=rev
Log:
A little clean-up.
Modified:
xmlgraphics/fop/branches/Temp_Floats/src/java/org/apache/fop/area/BeforeFloat.java
Modified: xmlgraphics/fop/branches/Temp_Floats/src/java/org/apache/fop/area/BeforeFloat.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_Floats/src/java/org/apache/fop/area/BeforeFloat.java?rev=427061&r1=427060&r2=427061&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_Floats/src/java/org/apache/fop/area/BeforeFloat.java (original)
+++ xmlgraphics/fop/branches/Temp_Floats/src/java/org/apache/fop/area/BeforeFloat.java Mon Jul 31 03:15:06 2006
@@ -48,27 +48,12 @@
}
/**
- * Get the height of this before float.
- * It gets the height of the children and if there is a
- * separator its height is also added.
- *
- * @return the height of the before float including separator
- */
-// public int getBPD() {
-// int h = super.getBPD();
-// if (separator != null) {
-// h += separator.getBPD();
-// }
-// return h;
-// }
-
- /**
* Add a block area as child to the footnote area
*
* @param child the block area.
*/
public void addBlock(Block child) {
- addChildArea(child);
+ super.addBlock(child);
this.setBPD(this.getBPD() + child.getBPD());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org