aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/Block.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/flow/Block.java')
-rw-r--r--src/org/apache/fop/fo/flow/Block.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/apache/fop/fo/flow/Block.java b/src/org/apache/fop/fo/flow/Block.java
index 5483ea685..8ac4d199c 100644
--- a/src/org/apache/fop/fo/flow/Block.java
+++ b/src/org/apache/fop/fo/flow/Block.java
@@ -86,6 +86,8 @@ public class Block extends FObjMixed {
this.properties.get("linefeed-treatment").getEnum();
setupID();
+
+ structHandler.startBlock(this);
}
public Status layout(Area area) throws FOPException {
@@ -404,6 +406,7 @@ public class Block extends FObjMixed {
public void end() {
handleWhiteSpace();
+ structHandler.endBlock(this);
}
private void handleWhiteSpace() {