static Chart |
SheetOperationUtil.addChart(Range range,
Chart.Type type,
Chart.Grouping grouping,
Chart.LegendPosition pos) |
Adds a chart to specified sheet range in pre-defined position and size.
|
static Chart |
SheetOperationUtil.addChart(Range range,
SheetAnchor anchor,
Chart.Type type,
Chart.Grouping grouping,
Chart.LegendPosition pos) |
Adds a chart at the specified location
|
static Picture |
SheetOperationUtil.addPicture(Range range,
byte[] binary,
Picture.Format format,
int widthPx,
int heightPx) |
Add picture to the range
|
static Picture |
SheetOperationUtil.addPicture(Range range,
SheetAnchor anchor,
byte[] binary,
Picture.Format format) |
Add picture to the range
|
static Picture |
SheetOperationUtil.addPicture(Range range,
org.zkoss.image.AImage image) |
Add picture to the range
|
static void |
SheetOperationUtil.addSheet(Range range,
String prefix) |
Add a new sheet to this book
|
void |
CellOperationUtil.CellStyleApplier.apply(Range cellRange) |
apply style to a single cell range
|
static void |
CellOperationUtil.applyAlignment(Range range,
CellStyle.Alignment alignment) |
Apply alignment to cells in the range
|
static void |
SheetOperationUtil.applyAutoFilter(Range range) |
Re-apply autofilter
|
static void |
CellOperationUtil.applyBackColor(Range range,
String htmlColor) |
Apply back-color to cells in the range
|
static void |
CellOperationUtil.applyBorder(Range range,
Range.ApplyBorderType applyType,
CellStyle.BorderType borderType,
String htmlColor) |
Apply border to cells in the range
|
static void |
CellOperationUtil.applyCellStyle(Range range,
CellOperationUtil.CellStyleApplier applyer) |
Apply style according to the cell style applier
|
static void |
CellOperationUtil.applyDataFormat(Range range,
String format) |
Apply data-format to cells in the range
|
static void |
CellOperationUtil.applyFillColor(Range range,
String htmlColor) |
Apply fill-color to cells in the range
|
static void |
CellOperationUtil.applyFontBoldweight(Range range,
Font.Boldweight boldweight) |
Apply font bold-weight to cells in the range
|
static void |
CellOperationUtil.applyFontColor(Range range,
String htmlColor) |
Apply font color to cells in the range
|
static void |
CellOperationUtil.applyFontHeightPoints(Range range,
int fontHeightPoints) |
Apply font height to cells in the range, it will also enlarge the row height if row height is smaller than font height
|
static void |
CellOperationUtil.applyFontItalic(Range range,
boolean italic) |
Apply font italic to cells in the range
|
static void |
CellOperationUtil.applyFontName(Range range,
String fontName) |
Apply font to cells in the range
|
static void |
CellOperationUtil.applyFontStrikeout(Range range,
boolean strikeout) |
Apply font strike-out to cells in the range
|
static void |
CellOperationUtil.applyFontTypeOffset(Range range,
Font.TypeOffset offset) |
Apply font typeOffset to cells in the range
|
static void |
CellOperationUtil.applyFontUnderline(Range range,
Font.Underline underline) |
Apply font underline to cells in the range
|
static void |
CellOperationUtil.applyHyperlink(Range range,
Hyperlink.HyperlinkType type,
String address,
String label) |
|
static void |
CellOperationUtil.applyIndentionOffset(Range range,
int offset) |
Apply indention to cells in the range
|
static void |
CellOperationUtil.applyLocked(Range range,
boolean locked) |
Apply the locked status only to cells in the range
|
static void |
CellOperationUtil.applyRotation(Range range,
int rotation) |
Apply alignment to cells in the range
|
static void |
CellOperationUtil.applyVerticalAlignment(Range range,
CellStyle.VerticalAlignment alignment) |
Apply vertical-alignment to cells in the range
|
void |
CellOperationUtil.CellStyleApplierEx.applyWhole(Range cellRange) |
apply style to new cell
|
static void |
CellOperationUtil.applyWrapText(Range range,
boolean wraptext) |
Apply text-warp to cells in the range
|
static void |
CellOperationUtil.autoFill(Range src,
Range dest,
Range.AutoFillType type) |
Fills data from source range to destination range automatically upon auto fill type
|
void |
Range.autoFill(Range dest,
Range.AutoFillType fillType) |
According to current range, fills data to destination range automatically
|
static void |
CellOperationUtil.clearAll(Range range) |
Clear all
|
static void |
CellOperationUtil.clearContents(Range range) |
Clear contents
|
static void |
CellOperationUtil.clearStyles(Range range) |
Clear style
|
static void |
SheetOperationUtil.copySheet(Range range) |
Copy the sheet with the naming pattern "ORIGINAL_SHEET_NAME (n)".
|
static void |
SheetOperationUtil.createSheet(Range range,
String name) |
Add a new sheet as the last sheet to this book
|
static Range |
CellOperationUtil.cut(Range src,
Range dest) |
Cuts data and style from src to destination
|
static void |
CellOperationUtil.delete(Range range,
Range.DeleteShift shift) |
Delete cells of the range.
|
static void |
SheetOperationUtil.deleteChart(Range range,
Chart chart) |
Delete a chart if the specified Range has the specified chart.
|
static void |
CellOperationUtil.deleteColumn(Range range) |
Delete columns to the range.
|
static void |
SheetOperationUtil.deletePicture(Range range,
Picture picture) |
Delete a picture
|
static void |
CellOperationUtil.deleteRow(Range range) |
Delete rows of the range.
|
static void |
SheetOperationUtil.deleteSheet(Range range) |
Deletes the sheet, notice that it prevents you from deleting the last sheet
|
static void |
SheetOperationUtil.displaySheetGridlines(Range range,
boolean enable) |
Enables/disables to show a sheet's gridlines.
|
static void |
CellOperationUtil.fitFontHeightPoints(Range range) |
Detect the highest words in each row.
|
static boolean |
SheetOperationUtil.hasChart(Range range,
Chart chart) |
Returns whether the range of sheet has the chart.
|
static boolean |
SheetOperationUtil.hasPicture(Range range,
Picture picture) |
Returns whether the range of sheet has the picture
|
static void |
CellOperationUtil.hide(Range range) |
Hide the range.
|
static void |
CellOperationUtil.insert(Range range,
Range.InsertShift shift,
Range.InsertCopyOrigin copyOrigin) |
Insert cells to the range.
|
static void |
CellOperationUtil.insertColumn(Range range) |
Insert columns to the range.
|
static void |
CellOperationUtil.insertRow(Range range) |
Insert rows to the range.
|
static void |
CellOperationUtil.merge(Range range,
boolean across) |
merge the range
|
static void |
SheetOperationUtil.moveChart(Range range,
Chart chart,
int rowIndex,
int columnIndex) |
Move a chart to specified row and column.
|
static void |
SheetOperationUtil.movePicture(Range range,
Picture picture,
int rowIndex,
int columnIndex) |
Move a picture to specified row and column.
|
void |
CellOperationUtil.CellStyleApplier.notifyChange(Range range) |
NotifyChange after applying the style to all cells.
|
static Range |
CellOperationUtil.paste(Range src,
Range dest) |
Paste data and style from src to destination
|
Range |
Range.paste(Range dest) |
Pastes to destination.
|
Range |
Range.paste(Range dstRange,
boolean cut) |
Cut and paste to destination.
|
static Range |
CellOperationUtil.pasteAllExceptBorder(Range src,
Range dest) |
Paste all (except border) from src to destination
|
static Range |
CellOperationUtil.pasteFormula(Range src,
Range dest) |
Paste formula only from src to destination
|
static Range |
CellOperationUtil.pasteSpecial(Range src,
Range dest,
Range.PasteType pasteType,
Range.PasteOperation pasteOperation,
boolean skipBlank,
boolean transpose) |
Paste according the argument from src to destination
|
Range |
Range.pasteSpecial(Range dest,
Range.PasteType type,
Range.PasteOperation op,
boolean skipBlanks,
boolean transpose) |
Pastes to destination.
|
static Range |
CellOperationUtil.pasteTranspose(Range src,
Range dest) |
Paste and transpose from src to destination
|
static Range |
CellOperationUtil.pasteValue(Range src,
Range dest) |
Paste value only from src to destination
|
static void |
SheetOperationUtil.protectSheet(Range range,
String password,
boolean allowSelectingLockedCells,
boolean allowSelectingUnlockedCells,
boolean allowFormattingCells,
boolean allowFormattingColumns,
boolean allowFormattingRows,
boolean allowInsertColumns,
boolean allowInsertRows,
boolean allowInsertingHyperlinks,
boolean allowDeletingColumns,
boolean allowDeletingRows,
boolean allowSorting,
boolean allowFiltering,
boolean allowUsingPivotTables,
boolean drawingObjects,
boolean scenarios) |
|
static void |
SheetOperationUtil.protectSheet(Range range,
String password,
String newpasswrod) |
|
static void |
SheetOperationUtil.renameSheet(Range range,
String newname) |
Rename a sheet
|
static void |
SheetOperationUtil.resetAutoFilter(Range range) |
Resets AutoFilter
|
void |
RangeRunner.run(Range range) |
main execution method
|
static void |
CellOperationUtil.setColumnWidth(Range range,
int widthPx) |
Sets the column width
|
static void |
CellOperationUtil.setRowHeight(Range range,
int heightPx) |
Sets the row height and make it as custom modified
|
static void |
CellOperationUtil.setRowHeight(Range range,
int heightPx,
boolean isCustom) |
Sets the row height and provide a custom flag, a custom flag to indicate this height was set by user or system.
|
static void |
SheetOperationUtil.setSheetOrder(Range range,
int pos) |
Sets a sheet's position order, used to move a sheet
|
static void |
CellOperationUtil.shift(Range range,
int rowOffset,
int colOffset) |
Shifts/moves cells with a offset row and column
|
static void |
CellOperationUtil.sort(Range range,
boolean desc) |
Sort range
|
static void |
CellOperationUtil.sort(Range range,
Range index1,
boolean desc1,
Range.SortDataOption dataOption1,
Range index2,
boolean desc2,
Range.SortDataOption dataOption2,
Range index3,
boolean desc3,
Range.SortDataOption dataOption3,
boolean header,
boolean matchCase,
boolean sortByRows) |
Sort range
|
void |
Range.sort(Range index1,
boolean desc1,
Range.SortDataOption dataOption1,
Range index2,
boolean desc2,
Range.SortDataOption dataOption2,
Range index3,
boolean desc3,
Range.SortDataOption dataOption3,
boolean header,
boolean matchCase,
boolean sortByRows) |
Sort range
|
static SheetAnchor |
SheetOperationUtil.toChartAnchor(Range range) |
Create a anchor by range's row/column data
|
static void |
SheetOperationUtil.toggleAutoFilter(Range range) |
Toggles AutoFilter on or off
|
static void |
CellOperationUtil.toggleMergeCenter(Range range) |
Toggle merge/unmerge of the range, if merging it will also set alignment to center
|
static void |
CellOperationUtil.unhide(Range range) |
Unhide the range.
|
static void |
CellOperationUtil.unmerge(Range range) |
Unmerge the range
|
static boolean |
SheetOperationUtil.unprotectSheet(Range range,
String password) |
|
boolean |
CellVisitor.visit(Range cellRange) |
Visits the cell
|