* @param column the column to break, inclusive
*/
public void setColumnBreak(int column) {
if (! isColumnBroken(column)) {
CTPageBreak pgBreak = worksheet.isSetColBreaks() ? worksheet.getColBreaks() : worksheet.addNewColBreaks();
CTBreak brk = pgBreak.addNewBrk();
brk.setId(column + 1); // this is id of the row element which is 1-based: <row r="1" ... >
brk.setMan(true);
brk.setMax(SpreadsheetVersion.EXCEL2007.getLastRowIndex()); //end row of the break
pgBreak.setCount(pgBreak.sizeOfBrkArray());
pgBreak.setManualBreakCount(pgBreak.sizeOfBrkArray());
}
}