/** * Sets the total number of columns. * * If the new number of columns is greater than the old, (new-old) * blank columns will be appended to the end. If the new number of * columns is less than the old, then (old-new) columns will be removed * from the end which will DELETE ALL DATE IN DELETED COLUMNS. * * @param count the new column count. */ public void setColCount(int count) { setExtension(new ColCount(count)); } }
/** * Sets the total number of columns. * * If the new number of columns is greater than the old, (new-old) * blank columns will be appended to the end. If the new number of * columns is less than the old, then (old-new) columns will be removed * from the end which will DELETE ALL DATE IN DELETED COLUMNS. * * @param count the new column count. */ public void setColCount(int count) { setExtension(new ColCount(count)); } }
/** * Constructs a new entry with the given row count and column count * @param rowCount the number of rows in the worksheet * @param colCount the number of columns in a worksheet */ public WorksheetEntry(int rowCount, int colCount) { getCategories().add(CATEGORY); addExtension(new RowCount(rowCount)); addExtension(new ColCount(colCount)); }
/** * Constructs a new entry with the given row count and column count * @param rowCount the number of rows in the worksheet * @param colCount the number of columns in a worksheet */ public WorksheetEntry(int rowCount, int colCount) { getCategories().add(CATEGORY); addExtension(new RowCount(rowCount)); addExtension(new ColCount(colCount)); }