boolean chauto;
int spaceBefore;
int spaceAfter;
+ int startIndent;
+ int endIndent;
ForeignObjectArea areaCurrent;
this.cwauto = this.properties.get("content-width").getLength().isAuto();
this.chauto = this.properties.get("content-height").getLength().isAuto();
+ this.startIndent =
+ this.properties.get("start-indent").getLength().mvalue();
+ this.endIndent =
+ this.properties.get("end-indent").getLength().mvalue();
this.spaceBefore =
this.properties.get("space-before.optimum").getLength().mvalue();
this.spaceAfter =
}
}
+ if (this.isInLabel) {
+ startIndent += bodyIndent;
+/* endIndent += (areaCurrent.getEffectiveWidth()
+ - distanceBetweenStarts - startIndent)
+ + labelSeparation;*/
+ }
+
+ if (this.isInListBody) {
+ startIndent += bodyIndent + distanceBetweenStarts;
+ }
+
+ if (this.isInTableCell) {
+ startIndent += forcedStartOffset;
+/* endIndent = areaCurrent.getEffectiveWidth() - forcedWidth -
+ forcedStartOffset;*/
+ }
+
+ areaCurrent.setStartIndent(startIndent);
+// areaCurrent.setEndIndent(endIndent);
+
/* if there is a space-before */
if (spaceBefore != 0) {
/* add a display space */