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);
endIndent += area.getAllocationWidth() - forcedWidth -
forcedStartOffset;
}
- }
+
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
BlockArea blockArea =
new BlockArea(fs, area.getAllocationWidth(),
blockArea.start();
blockArea.setAbsoluteHeight(area.getAbsoluteHeight());
+ blockArea.setIDReferences(area.getIDReferences());
int numChildren = this.children.size();
for (int i = this.marker; i < numChildren; i++) {
area.addDisplaySpace(spaceBefore);
}
+ if ( marker==0 ) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
+
startIndent += this.bodyIndent;
BlockArea blockArea =
blockArea.start();
blockArea.setAbsoluteHeight(area.getAbsoluteHeight());
+ blockArea.setIDReferences(area.getIDReferences());
int numChildren = this.children.size();
if (numChildren != 2) {
public Status layout(Area area) throws FOPException {
if (this.marker == START) {
this.marker = 0;
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
}
+
int numChildren = this.children.size();
for (int i = this.marker; i < numChildren; i++) {
FObj fo = (FObj) children.elementAt(i);
if (numChildren != 1) {
throw new FOPException("list-item-label must have exactly one block in this version of FOP");
}
+
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+
Block block = (Block) children.elementAt(0);
block.setIsInLabel();
this.whiteSpaceTreatment = this.properties.get("white-space-treatment").getEnum();
this.marker = 0;
+
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
}
+
String p = Integer.toString(area.getPage().getNumber());
this.marker = ((BlockArea) area).addText(fs, red, green, blue,
wrapOption,
this.whiteSpaceTreatment = this.properties.get("white-space-treatment").getEnum();
this.marker = 0;
+
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
}
+
if(idPageNumber <0)
{
FObj root;
}
if (this.marker == START) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
this.marker = 0;
}
area.addDisplaySpace(spaceBefore);
}
+ if ( marker==0 ) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
+
this.areaContainer =
new AreaContainer(fs, 0, 0, area.getAllocationWidth(),
area.spaceLeft(), Position.STATIC);
areaContainer.start();
areaContainer.setAbsoluteHeight(area.getAbsoluteHeight());
+ areaContainer.setIDReferences(area.getIDReferences());
// added by Eric Schaeffer
currentColumnNumber = 0;
area.addDisplaySpace(spaceBefore);
}
+ if ( marker==0 ) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
+
this.areaContainer =
new AreaContainer(fs, -area.borderWidthLeft, -area.borderWidthTop, area.getAllocationWidth(),
area.spaceLeft(), Position.RELATIVE);
areaContainer.start();
areaContainer.setAbsoluteHeight(area.getAbsoluteHeight());
+ areaContainer.setIDReferences(area.getIDReferences());
int numChildren = this.children.size();
for (int i = this.marker; i < numChildren; i++) {
area.addDisplaySpace(spaceBefore);
}
+ if ( marker==0 ) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
+
this.areaContainer =
new AreaContainer(fs, startOffset - area.borderWidthLeft,
- area.borderWidthTop,
areaContainer.start();
areaContainer.setAbsoluteHeight(area.getAbsoluteHeight());
+ areaContainer.setIDReferences(area.getIDReferences());
areaContainer.setTableCellXOffset(startOffset);
int numChildren = this.children.size();
for (int i = this.marker; i < numChildren; i++) {
this.properties.get("border-style").getEnum();
this.columnWidth =
this.properties.get("column-width").getLength().mvalue();
+
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
}
this.areaContainer =
area.addDisplaySpace(spaceBefore);
}
+ if ( marker==0 ) {
+ // initialize id
+ String id = this.properties.get("id").getString();
+ area.getIDReferences().initializeID(id,area);
+ }
+
this.areaContainer =
new AreaContainer(fs, -area.borderWidthLeft, -area.borderWidthTop,
area.getAllocationWidth(),
areaContainer.start();
areaContainer.setAbsoluteHeight(area.getAbsoluteHeight());
+ areaContainer.setIDReferences(area.getIDReferences());
int numChildren = this.children.size();
if (numChildren != columns.size()) {