LibreOffice Module sc (master) 1
|
#include <inscodlg.hxx>
Public Member Functions | |
ScInsertContentsDlg (weld::Window *pParent, const OUString *pStrTitle) | |
virtual | ~ScInsertContentsDlg () override |
InsertDeleteFlags | GetInsContentsCmdBits () const |
ScPasteFunc | GetFormulaCmdBits () const |
bool | IsSkipEmptyCells () const |
bool | IsTranspose () const |
bool | IsLink () const |
InsCellCmd | GetMoveMode () const |
void | SetOtherDoc (bool bSet) |
void | SetFillMode (bool bSet) |
void | SetChangeTrack (bool bSet) |
void | SetCellShiftDisabled (CellShiftDisabledFlags nDisable) |
void | storeFlagsInRegistry () |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
void | SetInsContentsCmdBits (const InsertDeleteFlags eFlags) |
void | SetFormulaCmdBits (const ScPasteFunc eFlags) |
void | SetCellCmdFlags (const InsCellCmd eFlags) |
void | SetContentsFlags (const InsertContentsFlags eFlags) |
void | DisableChecks (bool bInsAllChecked) |
void | TestModes () |
DECL_LINK (InsAllHdl, weld::Toggleable &, void) | |
DECL_LINK (LinkBtnHdl, weld::Toggleable &, void) | |
DECL_LINK (ShortCutHdl, weld::Button &, void) | |
DECL_LINK (ClickHdl, weld::Button &, void) | |
Static Private Attributes | |
static InsertDeleteFlags | nPreviousChecks = InsertDeleteFlags::NONE |
static InsertContentsFlags | nPreviousChecks2 = InsertContentsFlags::NONE |
static ScPasteFunc | nPreviousFormulaChecks = ScPasteFunc::NONE |
static InsCellCmd | nPreviousMoveMode = InsCellCmd::INS_NONE |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 27 of file inscodlg.hxx.
ScInsertContentsDlg::ScInsertContentsDlg | ( | weld::Window * | pParent, |
const OUString * | pStrTitle | ||
) |
Definition at line 76 of file inscodlg.cxx.
References ADD, ALL, ATTRIB, DATETIME, DisableChecks(), DIV, firstLoad, FORMULA, INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, LINK, Link, weld::GenericDialogController::m_xDialog, MUL, mxBtnInsAll, mxBtnLink, mxBtnShortCutPasteFormats, mxBtnShortCutPasteTranspose, mxBtnShortCutPasteValuesFormats, mxBtnShortCutPasteValuesOnly, mxOKBtn, NoEmpty, NONE, NOTE, nPreviousChecks, nPreviousChecks2, nPreviousFormulaChecks, nPreviousMoveMode, OBJECTS, SetCellCmdFlags(), SetContentsFlags(), SetFormulaCmdBits(), SetInsContentsCmdBits(), STRING, SUB, Trans, and VALUE.
|
overridevirtual |
Definition at line 469 of file inscodlg.cxx.
References bFillMode, INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, Link, mxBtnLink, mxBtnSkipEmptyCells, mxBtnTranspose, mxRbMoveDown, mxRbMoveNone, mxRbMoveRight, NoEmpty, NONE, nPreviousChecks2, nPreviousMoveMode, and Trans.
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 300 of file inscodlg.cxx.
References bFillMode, mxBtnInsAttrs, mxBtnInsDateTime, mxBtnInsFormulas, mxBtnInsNotes, mxBtnInsNumbers, mxBtnInsObjects, and mxBtnInsStrings.
Referenced by ScInsertContentsDlg(), SetInsContentsCmdBits(), and TestModes().
ScPasteFunc ScInsertContentsDlg::GetFormulaCmdBits | ( | ) | const |
InsertDeleteFlags ScInsertContentsDlg::GetInsContentsCmdBits | ( | ) | const |
Definition at line 204 of file inscodlg.cxx.
References ADDNOTES, ALL, ATTRIB, DATETIME, FORMULA, mxBtnInsAll, mxBtnInsAttrs, mxBtnInsDateTime, mxBtnInsFormulas, mxBtnInsNotes, mxBtnInsNumbers, mxBtnInsObjects, mxBtnInsStrings, NONE, nPreviousChecks, OBJECTS, STRING, and VALUE.
InsCellCmd ScInsertContentsDlg::GetMoveMode | ( | ) | const |
Definition at line 275 of file inscodlg.cxx.
References INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, mxRbMoveDown, and mxRbMoveRight.
bool ScInsertContentsDlg::IsLink | ( | ) | const |
Definition at line 295 of file inscodlg.cxx.
References mxBtnLink.
bool ScInsertContentsDlg::IsSkipEmptyCells | ( | ) | const |
Definition at line 285 of file inscodlg.cxx.
References mxBtnSkipEmptyCells.
bool ScInsertContentsDlg::IsTranspose | ( | ) | const |
Definition at line 290 of file inscodlg.cxx.
References mxBtnTranspose.
|
private |
Definition at line 254 of file inscodlg.cxx.
References INS_CELLSDOWN, INS_CELLSRIGHT, INS_INSCOLS_AFTER, INS_INSCOLS_BEFORE, INS_INSROWS_AFTER, INS_INSROWS_BEFORE, INS_NONE, mxRbMoveDown, mxRbMoveNone, and mxRbMoveRight.
Referenced by ScInsertContentsDlg().
void ScInsertContentsDlg::SetCellShiftDisabled | ( | CellShiftDisabledFlags | nDisable | ) |
Definition at line 402 of file inscodlg.cxx.
References bMoveDownDisabled, bMoveRightDisabled, Down, mxRbMoveDown, mxRbMoveNone, mxRbMoveRight, Right, and TestModes().
void ScInsertContentsDlg::SetChangeTrack | ( | bool | bSet | ) |
Definition at line 391 of file inscodlg.cxx.
References bChangeTrack, mxRbMoveNone, and TestModes().
|
private |
Definition at line 268 of file inscodlg.cxx.
References Link, mxBtnLink, mxBtnSkipEmptyCells, mxBtnTranspose, NoEmpty, and Trans.
Referenced by ScInsertContentsDlg().
void ScInsertContentsDlg::SetFillMode | ( | bool | bSet | ) |
Definition at line 380 of file inscodlg.cxx.
References bFillMode, mxRbMoveNone, and TestModes().
|
private |
|
private |
Definition at line 229 of file inscodlg.cxx.
References ALL, ATTRIB, DATETIME, DisableChecks(), FORMULA, mxBtnInsAll, mxBtnInsAttrs, mxBtnInsDateTime, mxBtnInsFormulas, mxBtnInsNotes, mxBtnInsNumbers, mxBtnInsObjects, mxBtnInsStrings, NOTE, OBJECTS, STRING, and VALUE.
Referenced by ScInsertContentsDlg().
void ScInsertContentsDlg::SetOtherDoc | ( | bool | bSet | ) |
Definition at line 369 of file inscodlg.cxx.
References bOtherDoc, mxRbMoveNone, and TestModes().
void ScInsertContentsDlg::storeFlagsInRegistry | ( | ) |
Definition at line 33 of file inscodlg.cxx.
References comphelper::ConfigurationChanges::create(), mxBtnInsAll, mxBtnInsAttrs, mxBtnInsDateTime, mxBtnInsFormulas, mxBtnInsNotes, mxBtnInsNumbers, mxBtnInsObjects, mxBtnInsStrings, mxBtnLink, mxBtnSkipEmptyCells, mxBtnTranspose, mxRbAdd, mxRbDiv, mxRbMoveDown, mxRbMoveNone, mxRbMoveRight, mxRbMul, mxRbNoOp, and mxRbSub.
|
private |
Definition at line 331 of file inscodlg.cxx.
References bChangeTrack, bFillMode, bMoveDownDisabled, bMoveRightDisabled, bOtherDoc, DisableChecks(), mxBtnInsAll, mxBtnLink, mxBtnSkipEmptyCells, mxBtnTranspose, mxRbAdd, mxRbDiv, mxRbMoveDown, mxRbMoveNone, mxRbMoveRight, mxRbMul, mxRbNoOp, and mxRbSub.
Referenced by SetCellShiftDisabled(), SetChangeTrack(), SetFillMode(), and SetOtherDoc().
|
private |
Definition at line 51 of file inscodlg.hxx.
Referenced by SetChangeTrack(), and TestModes().
|
private |
Definition at line 50 of file inscodlg.hxx.
Referenced by DisableChecks(), SetFillMode(), TestModes(), and ~ScInsertContentsDlg().
|
private |
Definition at line 52 of file inscodlg.hxx.
Referenced by SetCellShiftDisabled(), and TestModes().
|
private |
Definition at line 53 of file inscodlg.hxx.
Referenced by SetCellShiftDisabled(), and TestModes().
|
private |
Definition at line 49 of file inscodlg.hxx.
Referenced by SetOtherDoc(), and TestModes().
|
private |
Definition at line 59 of file inscodlg.hxx.
Referenced by GetInsContentsCmdBits(), ScInsertContentsDlg(), SetInsContentsCmdBits(), storeFlagsInRegistry(), and TestModes().
|
private |
Definition at line 65 of file inscodlg.hxx.
Referenced by DisableChecks(), GetInsContentsCmdBits(), SetInsContentsCmdBits(), and storeFlagsInRegistry().
|
private |
Definition at line 62 of file inscodlg.hxx.
Referenced by DisableChecks(), GetInsContentsCmdBits(), SetInsContentsCmdBits(), and storeFlagsInRegistry().
|
private |
Definition at line 63 of file inscodlg.hxx.
Referenced by DisableChecks(), GetInsContentsCmdBits(), SetInsContentsCmdBits(), and storeFlagsInRegistry().
|
private |
Definition at line 64 of file inscodlg.hxx.
Referenced by DisableChecks(), GetInsContentsCmdBits(), SetInsContentsCmdBits(), and storeFlagsInRegistry().
|
private |
Definition at line 61 of file inscodlg.hxx.
Referenced by DisableChecks(), GetInsContentsCmdBits(), SetInsContentsCmdBits(), and storeFlagsInRegistry().
|
private |
Definition at line 66 of file inscodlg.hxx.
Referenced by DisableChecks(), GetInsContentsCmdBits(), SetInsContentsCmdBits(), and storeFlagsInRegistry().
|
private |
Definition at line 60 of file inscodlg.hxx.
Referenced by DisableChecks(), GetInsContentsCmdBits(), SetInsContentsCmdBits(), and storeFlagsInRegistry().
|
private |
Definition at line 70 of file inscodlg.hxx.
Referenced by IsLink(), ScInsertContentsDlg(), SetContentsFlags(), storeFlagsInRegistry(), TestModes(), and ~ScInsertContentsDlg().
|
private |
Definition at line 85 of file inscodlg.hxx.
Referenced by ScInsertContentsDlg().
|
private |
Definition at line 84 of file inscodlg.hxx.
Referenced by ScInsertContentsDlg().
|
private |
Definition at line 83 of file inscodlg.hxx.
Referenced by ScInsertContentsDlg().
|
private |
Definition at line 82 of file inscodlg.hxx.
Referenced by ScInsertContentsDlg().
|
private |
Definition at line 68 of file inscodlg.hxx.
Referenced by IsSkipEmptyCells(), SetContentsFlags(), storeFlagsInRegistry(), TestModes(), and ~ScInsertContentsDlg().
|
private |
Definition at line 69 of file inscodlg.hxx.
Referenced by IsTranspose(), SetContentsFlags(), storeFlagsInRegistry(), TestModes(), and ~ScInsertContentsDlg().
|
private |
Definition at line 88 of file inscodlg.hxx.
|
private |
Definition at line 86 of file inscodlg.hxx.
Referenced by ScInsertContentsDlg().
|
private |
Definition at line 73 of file inscodlg.hxx.
Referenced by GetFormulaCmdBits(), SetFormulaCmdBits(), storeFlagsInRegistry(), and TestModes().
|
private |
Definition at line 76 of file inscodlg.hxx.
Referenced by GetFormulaCmdBits(), SetFormulaCmdBits(), storeFlagsInRegistry(), and TestModes().
|
private |
Definition at line 79 of file inscodlg.hxx.
Referenced by GetMoveMode(), SetCellCmdFlags(), SetCellShiftDisabled(), storeFlagsInRegistry(), TestModes(), and ~ScInsertContentsDlg().
|
private |
Definition at line 78 of file inscodlg.hxx.
Referenced by SetCellCmdFlags(), SetCellShiftDisabled(), SetChangeTrack(), SetFillMode(), SetOtherDoc(), storeFlagsInRegistry(), TestModes(), and ~ScInsertContentsDlg().
|
private |
Definition at line 80 of file inscodlg.hxx.
Referenced by GetMoveMode(), SetCellCmdFlags(), SetCellShiftDisabled(), storeFlagsInRegistry(), TestModes(), and ~ScInsertContentsDlg().
|
private |
Definition at line 75 of file inscodlg.hxx.
Referenced by GetFormulaCmdBits(), SetFormulaCmdBits(), storeFlagsInRegistry(), and TestModes().
|
private |
Definition at line 72 of file inscodlg.hxx.
Referenced by SetFormulaCmdBits(), storeFlagsInRegistry(), and TestModes().
|
private |
Definition at line 74 of file inscodlg.hxx.
Referenced by GetFormulaCmdBits(), SetFormulaCmdBits(), storeFlagsInRegistry(), and TestModes().
|
staticprivate |
Definition at line 90 of file inscodlg.hxx.
Referenced by GetInsContentsCmdBits(), and ScInsertContentsDlg().
|
staticprivate |
Definition at line 91 of file inscodlg.hxx.
Referenced by ScInsertContentsDlg(), and ~ScInsertContentsDlg().
|
staticprivate |
Definition at line 92 of file inscodlg.hxx.
Referenced by GetFormulaCmdBits(), and ScInsertContentsDlg().
|
staticprivate |
Definition at line 93 of file inscodlg.hxx.
Referenced by ScInsertContentsDlg(), and ~ScInsertContentsDlg().