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...@locus.apache.org on 2000/12/18 04:48:41 UTC
cvs commit: xml-fop/src/org/apache/fop/fo/flow BlockContainer.java
arved 00/12/17 19:48:41
Modified: src/org/apache/fop/fo/flow BlockContainer.java
Log:
Support span property
Revision Changes Path
1.7 +9 -1 xml-fop/src/org/apache/fop/fo/flow/BlockContainer.java
Index: BlockContainer.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/BlockContainer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- BlockContainer.java 2000/12/16 21:54:55 1.6
+++ BlockContainer.java 2000/12/18 03:48:40 1.7
@@ -1,4 +1,4 @@
-/*-- $Id: BlockContainer.java,v 1.6 2000/12/16 21:54:55 klease Exp $ --
+/*-- $Id: BlockContainer.java,v 1.7 2000/12/18 03:48:40 arved Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -93,6 +93,8 @@
int borderRightWidth;
int borderRightStyle;
+ int span;
+
AreaContainer areaContainer;
public static class Maker extends FObj.Maker {
@@ -112,6 +114,7 @@
throws FOPException {
super(parent, propertyList);
this.name = "fo:block-container";
+ this.span = this.properties.get("span").getEnum();
}
public Status layout(Area area) throws FOPException {
@@ -208,6 +211,8 @@
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);
@@ -287,4 +292,7 @@
return true;
}
+ public int getSpan() {
+ return this.span;
+ }
}