diff options
author | arved <arved@unknown> | 2001-02-10 23:09:00 +0000 |
---|---|---|
committer | arved <arved@unknown> | 2001-02-10 23:09:00 +0000 |
commit | 1857997cd71e330cefc62f807ff90567ce0bc59f (patch) | |
tree | d152032ff1d5b9b5a9e7c50c519af4f18d32ddd9 /src | |
parent | 0e5086dc40e97a3ff1b3443347dcc6e9e9ea2671 (diff) | |
download | xmlgraphics-fop-1857997cd71e330cefc62f807ff90567ce0bc59f.tar.gz xmlgraphics-fop-1857997cd71e330cefc62f807ff90567ce0bc59f.zip |
Set parent area of BlockArea early, for Basic Link support
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194042 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/org/apache/fop/fo/flow/Block.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/Block.java b/src/org/apache/fop/fo/flow/Block.java index bbc60d915..ea66f10fa 100644 --- a/src/org/apache/fop/fo/flow/Block.java +++ b/src/org/apache/fop/fo/flow/Block.java @@ -334,6 +334,7 @@ public class Block extends FObjMixed { 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, |