this.properties.get("border-width").getLength().mvalue();
this.borderStyle =
this.properties.get("border-style").getEnum();
- }
+
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
boolean prevChildMustKeepWithNext = false;
areaContainer.setBorderColor(borderColor, borderColor, borderColor, borderColor);
areaContainer.start();
+ areaContainer.setAbsoluteHeight(area.getAbsoluteHeight());
+ areaContainer.setIDReferences(area.getIDReferences());
+
int numChildren = this.children.size();
for (int i = this.marker; i < numChildren; i++) {
FObj fo = (FObj) children.elementAt(i);
prevChildMustKeepWithNext = true;
}
}
+ area.setAbsoluteHeight(areaContainer.getAbsoluteHeight());
+
areaContainer.end();
if (position == Position.ABSOLUTE)
areaContainer.setHeight(height);
area.addDisplaySpace(spaceBefore);
}
+ if ( marker == 0 ) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
+
imageArea.start();
imageArea.end();
area.addChild(imageArea);
forcedStartOffset;
}
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+
RuleArea ruleArea = new RuleArea(fs,
area.getAllocationWidth(),
area.spaceLeft(),
public Status layout(Area area) throws FOPException {
if (this.marker == START) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
this.marker = 0;
}
// this is such common code, perhaps it should be in the super class