basic support for padding-{top,left,bottom,right} on blocks.
implemented simple-link (don't think it works, though)
XTCommandLine now works again
+background color works on list-block
Done for 0.12.0 release:
// FOP
import org.apache.fop.fo.*;
import org.apache.fop.fo.properties.*;
+import org.apache.fop.datatypes.*;
import org.apache.fop.layout.Area;
import org.apache.fop.layout.BlockArea;
import org.apache.fop.layout.FontState;
int provisionalDistanceBetweenStarts;
int provisionalLabelSeparation;
int spaceBetweenListRows = 0;
+ ColorType backgroundColor;
public ListBlock(FObj parent, PropertyList propertyList) {
super(parent, propertyList);
this.provisionalLabelSeparation =
this.properties.get("provisional-label-separation").getLength().mvalue();
this.spaceBetweenListRows = 0; // not used at present
+ this.backgroundColor =
+ this.properties.get("background-color").getColorType();
this.marker = 0;
area.spaceLeft(), startIndent, endIndent, 0,
align, alignLast, lineHeight);
blockArea.setPage(area.getPage());
+ blockArea.setBackgroundColor(backgroundColor);
blockArea.start();
int numChildren = this.children.size();