ListIterator iter = rawCols.listIterator();
while (iter.hasNext()) {
TableColumn col = (TableColumn)iter.next();
- if( col != null ) {
+ if (col != null) {
colnum = col.getColumnNumber();
}
for (int i = 0; i < col.getNumberColumnsRepeated(); i++) {
+ size + " columns have been defined. "
+ "The last defined column will be reused.");
if (!table.isAutoLayout()) {
- log.warn("Please note that according XSL-FO 1.0 (4.26.9) says that "
+ log.warn("Please note that according XSL-FO 1.0 (7.26.9) says that "
+ "the 'column-width' property must be specified for every "
+ "column, unless the automatic table layout is used.");
}
public int getXOffset(int col, PercentBaseContext context) {
int xoffset = 0;
for (int i = 1; i < col; i++) {
- if( getColumn(i) != null ) {
+ if (getColumn(i) != null) {
xoffset += getColumn(i).getColumnWidth().getValue(context);
}
}
i < primary.getStartCol()
+ primary.getCell().getNumberColumnsSpanned();
i++) {
- if( getTableLM().getColumns().getColumn(i + 1) != null ) {
+ if (getTableLM().getColumns().getColumn(i + 1) != null) {
spanWidth += getTableLM().getColumns().getColumn(i + 1)
.getColumnWidth().getValue(getTableLM());
}
float factors = 0;
for (Iterator i = columns.iterator(); i.hasNext();) {
TableColumn column = (TableColumn) i.next();
- if( column != null ) {
+ if (column != null) {
Length width = column.getColumnWidth();
sumCols += width.getValue(this);
if (width instanceof TableColLength) {
return referenceBPD;
}
-}
-
+}
\ No newline at end of file