public class PasteSpecialCellAction extends AbstractCellDataStyleAction
| Modifier and Type | Field and Description |
|---|---|
protected int |
_destColumn |
protected int |
_destLastColumn |
protected int |
_destLastRow |
protected int |
_destRow |
protected Sheet |
_destSheet |
protected Range.PasteOperation |
_pasteOperation |
protected Range.PasteType |
_pasteType |
protected int |
_reservedDestLastColumn |
protected int |
_reservedDestLastRow |
protected boolean |
_skipBlank |
protected boolean |
_transpose |
RESERVE_ALL, RESERVE_CONTENT, RESERVE_MERGE, RESERVE_STYLE_column, _label, _lastColumn, _lastRow, _row, _sheet, _wholeColumn, _wholeRow| Constructor and Description |
|---|
PasteSpecialCellAction(String label,
Sheet sheet,
int srcRow,
int srcColumn,
int srcLastRow,
int srcLastColumn,
Sheet destSheet,
int destRow,
int destColumn,
int destLastRow,
int destLastColumn,
Range.PasteType pasteType,
Range.PasteOperation pasteOperation,
boolean skipBlank,
boolean transpose) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyAction() |
AreaRef |
getRedoSelection() |
Sheet |
getRedoSheet() |
protected int |
getReservedColumn() |
protected int |
getReservedLastColumn() |
protected int |
getReservedLastRow() |
protected int |
getReservedRow() |
protected Sheet |
getReservedSheet() |
AreaRef |
getUndoSelection() |
Sheet |
getUndoSheet() |
protected boolean |
isDstSheetProtected() |
protected boolean |
isSheetProtected()
Check if sheet is protected
|
doAction, isRedoable, isUndoable, undoActiongetLabel, isAnyCellProtected, isSheetAvailable, toStringprotected final int _destRow
protected final int _destColumn
protected final int _destLastRow
protected final int _destLastColumn
protected final int _reservedDestLastRow
protected final int _reservedDestLastColumn
protected final Sheet _destSheet
protected final Range.PasteType _pasteType
protected final Range.PasteOperation _pasteOperation
protected final boolean _skipBlank
protected final boolean _transpose
public PasteSpecialCellAction(String label, Sheet sheet, int srcRow, int srcColumn, int srcLastRow, int srcLastColumn, Sheet destSheet, int destRow, int destColumn, int destLastRow, int destLastColumn, Range.PasteType pasteType, Range.PasteOperation pasteOperation, boolean skipBlank, boolean transpose)
protected boolean isSheetProtected()
AbstractUndoableActionisSheetProtected in class AbstractCellDataStyleActionpublic Sheet getUndoSheet()
getUndoSheet in interface UndoableActiongetUndoSheet in class AbstractUndoableActionpublic Sheet getRedoSheet()
getRedoSheet in interface UndoableActiongetRedoSheet in class AbstractUndoableActionprotected int getReservedRow()
getReservedRow in class AbstractCellDataStyleActionprotected int getReservedColumn()
getReservedColumn in class AbstractCellDataStyleActionprotected int getReservedLastRow()
getReservedLastRow in class AbstractCellDataStyleActionprotected int getReservedLastColumn()
getReservedLastColumn in class AbstractCellDataStyleActionprotected Sheet getReservedSheet()
getReservedSheet in class AbstractCellDataStyleActionpublic AreaRef getUndoSelection()
getUndoSelection in interface UndoableActiongetUndoSelection in class AbstractUndoableActionpublic AreaRef getRedoSelection()
getRedoSelection in interface UndoableActiongetRedoSelection in class AbstractUndoableActionprotected void applyAction()
applyAction in class AbstractCellDataStyleActionprotected boolean isDstSheetProtected()
Copyright © 2020. All rights reserved.