public StandardBaseColumn(BaseColumn column, ColumnFactory factory) { this.printWhenExpression = factory.getBaseObjectFactory().getExpression(column.getPrintWhenExpression()); this.tableHeader = factory.createCell(column.getTableHeader()); this.tableFooter = factory.createCell(column.getTableFooter()); this.groupHeaders = factory.createGroupCells(column.getGroupHeaders()); this.groupFooters = factory.createGroupCells(column.getGroupFooters()); this.columnHeader = factory.createCell(column.getColumnHeader()); this.columnFooter = factory.createCell(column.getColumnFooter()); this.width = column.getWidth(); }
public StandardBaseColumn(BaseColumn column, ColumnFactory factory) { this.uuid = column.getUUID(); this.printWhenExpression = factory.getBaseObjectFactory().getExpression(column.getPrintWhenExpression()); this.tableHeader = factory.createCell(column.getTableHeader()); this.tableFooter = factory.createCell(column.getTableFooter()); this.groupHeaders = factory.createGroupCells(column.getGroupHeaders()); this.groupFooters = factory.createGroupCells(column.getGroupFooters()); this.columnHeader = factory.createCell(column.getColumnHeader()); this.columnFooter = factory.createCell(column.getColumnFooter()); this.width = column.getWidth(); propertiesMap = JRPropertiesMap.getPropertiesClone(column); copyPropertyExpressions(column, factory); }