diff options
author | arved <arved@unknown> | 2000-12-18 03:48:40 +0000 |
---|---|---|
committer | arved <arved@unknown> | 2000-12-18 03:48:40 +0000 |
commit | 2dca07ec35e542bf46b0523244cf1a4cb5035be4 (patch) | |
tree | 09e2400919a71c27baa04fc6afb07f2367a55201 /src/org/apache/fop/fo/flow/Block.java | |
parent | 2b54d25b8060f6f150ad9a181aa71621b8b8c2f9 (diff) | |
download | xmlgraphics-fop-2dca07ec35e542bf46b0523244cf1a4cb5035be4.tar.gz xmlgraphics-fop-2dca07ec35e542bf46b0523244cf1a4cb5035be4.zip |
Support span property
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193898 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/Block.java')
-rw-r--r-- | src/org/apache/fop/fo/flow/Block.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/Block.java b/src/org/apache/fop/fo/flow/Block.java index f5979d0eb..63d15d5cc 100644 --- a/src/org/apache/fop/fo/flow/Block.java +++ b/src/org/apache/fop/fo/flow/Block.java @@ -113,7 +113,8 @@ public class Block extends FObjMixed { int hyphenationRemainCharacterCount; String language; String country; - + int span; + BlockArea blockArea; // this may be helpful on other FOs too @@ -122,6 +123,7 @@ public class Block extends FObjMixed { public Block(FObj parent, PropertyList propertyList) { super(parent, propertyList); this.name = "fo:block"; + this.span = this.properties.get("span").getEnum(); } public Status layout(Area area) throws FOPException { @@ -243,7 +245,6 @@ public class Block extends FObjMixed { this.language = this.properties.get("language").getString(); this.country = this.properties.get("country").getString(); - this.id = this.properties.get("id").getString(); if (area instanceof BlockArea) { @@ -437,4 +438,8 @@ public class Block extends FObjMixed { return blockArea.getContentWidth(); //getAllocationWidth()?? else return 0; // not laid out yet } + + public int getSpan() { + return this.span; + } } |