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 ar...@apache.org on 2001/02/11 00:09:01 UTC
cvs commit: xml-fop/src/org/apache/fop/fo/flow Block.java
arved 01/02/10 15:09:01
Modified: src/org/apache/fop/fo/flow Block.java
Log:
Set parent area of BlockArea early, for Basic Link support
Revision Changes Path
1.30 +2 -1 xml-fop/src/org/apache/fop/fo/flow/Block.java
Index: Block.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Block.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- Block.java 2001/01/25 15:05:49 1.29
+++ Block.java 2001/02/10 23:09:00 1.30
@@ -1,4 +1,4 @@
-/*-- $Id: Block.java,v 1.29 2001/01/25 15:05:49 eschaeffer Exp $ --
+/*-- $Id: Block.java,v 1.30 2001/02/10 23:09:00 arved Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -334,6 +334,7 @@
this.blockArea = new BlockArea(fs, area.getAllocationWidth(),
area.spaceLeft(), startIndent, endIndent, textIndent,
align, alignLast, lineHeight);
+ this.blockArea.setParent(area); // BasicLink needs it
blockArea.setPage(area.getPage());
blockArea.setBackgroundColor(backgroundColor);
blockArea.setPadding(paddingTop, paddingLeft, paddingBottom,