int hyphenationRemainCharacterCount;
String language;
String country;
-
+ int span;
+
BlockArea blockArea;
// this may be helpful on other FOs too
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 {
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) {
return blockArea.getContentWidth(); //getAllocationWidth()??
else return 0; // not laid out yet
}
+
+ public int getSpan() {
+ return this.span;
+ }
}
int borderRightWidth;
int borderRightStyle;
+ int span;
+
AreaContainer areaContainer;
public static class Maker extends FObj.Maker {
throws FOPException {
super(parent, propertyList);
this.name = "fo:block-container";
+ this.span = this.properties.get("span").getEnum();
}
public Status layout(Area area) throws FOPException {
this.properties.get("border-right-style").getEnum();
}
+ span = this.properties.get("span").getEnum();
+
// initialize id
String id = this.properties.get("id").getString();
area.getIDReferences().initializeID(id,area);
return true;
}
+ public int getSpan() {
+ return this.span;
+ }
}