LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ScInsertContentsDlg Class Reference

#include <inscodlg.hxx>

Inheritance diagram for ScInsertContentsDlg:
[legend]
Collaboration diagram for ScInsertContentsDlg:
[legend]

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)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void DisableChecks (bool bInsAllChecked)
 
void TestModes ()
 
 DECL_LINK (InsAllHdl, weld::ToggleButton &, void)
 
 DECL_LINK (LinkBtnHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ShortCutHdl, weld::Button &, void)
 

Private Attributes

bool bOtherDoc
 
bool bFillMode
 
bool bChangeTrack
 
bool bMoveDownDisabled
 
bool bMoveRightDisabled
 
bool bUsedShortCut
 
InsertDeleteFlags nShortCutInsContentsCmdBits
 
bool bShortCutTranspose
 
std::unique_ptr< weld::CheckButtonmxBtnInsAll
 
std::unique_ptr< weld::CheckButtonmxBtnInsStrings
 
std::unique_ptr< weld::CheckButtonmxBtnInsNumbers
 
std::unique_ptr< weld::CheckButtonmxBtnInsDateTime
 
std::unique_ptr< weld::CheckButtonmxBtnInsFormulas
 
std::unique_ptr< weld::CheckButtonmxBtnInsNotes
 
std::unique_ptr< weld::CheckButtonmxBtnInsAttrs
 
std::unique_ptr< weld::CheckButtonmxBtnInsObjects
 
std::unique_ptr< weld::CheckButtonmxBtnSkipEmptyCells
 
std::unique_ptr< weld::CheckButtonmxBtnTranspose
 
std::unique_ptr< weld::CheckButtonmxBtnLink
 
std::unique_ptr< weld::RadioButtonmxRbNoOp
 
std::unique_ptr< weld::RadioButtonmxRbAdd
 
std::unique_ptr< weld::RadioButtonmxRbSub
 
std::unique_ptr< weld::RadioButtonmxRbMul
 
std::unique_ptr< weld::RadioButtonmxRbDiv
 
std::unique_ptr< weld::RadioButtonmxRbMoveNone
 
std::unique_ptr< weld::RadioButtonmxRbMoveDown
 
std::unique_ptr< weld::RadioButtonmxRbMoveRight
 
std::unique_ptr< weld::ButtonmxBtnShortCutPasteValuesOnly
 
std::unique_ptr< weld::ButtonmxBtnShortCutPasteValuesFormats
 
std::unique_ptr< weld::ButtonmxBtnShortCutPasteTranspose
 

Static Private Attributes

static bool bPreviousAllCheck = false
 
static InsertDeleteFlags nPreviousChecks = InsertDeleteFlags::VALUE | InsertDeleteFlags::DATETIME | InsertDeleteFlags::STRING
 
static InsertContentsFlags nPreviousChecks2 = InsertContentsFlags::NONE
 
static ScPasteFunc nPreviousFormulaChecks = ScPasteFunc::NONE
 
static sal_uInt16 nPreviousMoveMode = 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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 28 of file inscodlg.hxx.

Constructor & Destructor Documentation

ScInsertContentsDlg::ScInsertContentsDlg ( weld::Window pParent,
const OUString *  pStrTitle 
)
ScInsertContentsDlg::~ScInsertContentsDlg ( )
overridevirtual

Member Function Documentation

ScInsertContentsDlg::DECL_LINK ( InsAllHdl  ,
weld::ToggleButton ,
void   
)
private
ScInsertContentsDlg::DECL_LINK ( LinkBtnHdl  ,
weld::ToggleButton ,
void   
)
private
ScInsertContentsDlg::DECL_LINK ( ShortCutHdl  ,
weld::Button ,
void   
)
private
void ScInsertContentsDlg::DisableChecks ( bool  bInsAllChecked)
private
ScPasteFunc ScInsertContentsDlg::GetFormulaCmdBits ( ) const

Definition at line 342 of file inscodlg.cxx.

References ADD, bUsedShortCut, DIV, MUL, mxRbAdd, mxRbDiv, mxRbMul, mxRbSub, NONE, nPreviousFormulaChecks, and SUB.

InsertDeleteFlags ScInsertContentsDlg::GetInsContentsCmdBits ( ) const
InsCellCmd ScInsertContentsDlg::GetMoveMode ( ) const
bool ScInsertContentsDlg::IsLink ( ) const

Definition at line 161 of file inscodlg.cxx.

References bUsedShortCut, and mxBtnLink.

bool ScInsertContentsDlg::IsSkipEmptyCells ( ) const

Definition at line 147 of file inscodlg.cxx.

References bUsedShortCut, and mxBtnSkipEmptyCells.

bool ScInsertContentsDlg::IsTranspose ( ) const

Definition at line 154 of file inscodlg.cxx.

References bShortCutTranspose, bUsedShortCut, and mxBtnTranspose.

void ScInsertContentsDlg::SetCellShiftDisabled ( CellShiftDisabledFlags  nDisable)
void ScInsertContentsDlg::SetChangeTrack ( bool  bSet)

Definition at line 259 of file inscodlg.cxx.

References bChangeTrack, mxRbMoveNone, and TestModes().

void ScInsertContentsDlg::SetFillMode ( bool  bSet)

Definition at line 248 of file inscodlg.cxx.

References bFillMode, mxRbMoveNone, and TestModes().

void ScInsertContentsDlg::SetOtherDoc ( bool  bSet)

Definition at line 237 of file inscodlg.cxx.

References bOtherDoc, mxRbMoveNone, and TestModes().

void ScInsertContentsDlg::TestModes ( )
private

Member Data Documentation

bool ScInsertContentsDlg::bChangeTrack
private

Definition at line 50 of file inscodlg.hxx.

Referenced by SetChangeTrack(), and TestModes().

bool ScInsertContentsDlg::bFillMode
private

Definition at line 49 of file inscodlg.hxx.

Referenced by DisableChecks(), SetFillMode(), TestModes(), and ~ScInsertContentsDlg().

bool ScInsertContentsDlg::bMoveDownDisabled
private

Definition at line 51 of file inscodlg.hxx.

Referenced by SetCellShiftDisabled(), and TestModes().

bool ScInsertContentsDlg::bMoveRightDisabled
private

Definition at line 52 of file inscodlg.hxx.

Referenced by SetCellShiftDisabled(), and TestModes().

bool ScInsertContentsDlg::bOtherDoc
private

Definition at line 48 of file inscodlg.hxx.

Referenced by SetOtherDoc(), and TestModes().

bool ScInsertContentsDlg::bPreviousAllCheck = false
staticprivate

Definition at line 86 of file inscodlg.hxx.

Referenced by GetInsContentsCmdBits(), and ScInsertContentsDlg().

bool ScInsertContentsDlg::bShortCutTranspose
private

Definition at line 56 of file inscodlg.hxx.

Referenced by IsTranspose().

bool ScInsertContentsDlg::bUsedShortCut
private
std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnInsAll
private

Definition at line 59 of file inscodlg.hxx.

Referenced by GetInsContentsCmdBits(), ScInsertContentsDlg(), and TestModes().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnInsAttrs
private

Definition at line 65 of file inscodlg.hxx.

Referenced by DisableChecks(), GetInsContentsCmdBits(), and ScInsertContentsDlg().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnInsDateTime
private

Definition at line 62 of file inscodlg.hxx.

Referenced by DisableChecks(), GetInsContentsCmdBits(), and ScInsertContentsDlg().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnInsFormulas
private

Definition at line 63 of file inscodlg.hxx.

Referenced by DisableChecks(), GetInsContentsCmdBits(), and ScInsertContentsDlg().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnInsNotes
private

Definition at line 64 of file inscodlg.hxx.

Referenced by DisableChecks(), GetInsContentsCmdBits(), and ScInsertContentsDlg().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnInsNumbers
private

Definition at line 61 of file inscodlg.hxx.

Referenced by DisableChecks(), GetInsContentsCmdBits(), and ScInsertContentsDlg().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnInsObjects
private

Definition at line 66 of file inscodlg.hxx.

Referenced by DisableChecks(), GetInsContentsCmdBits(), and ScInsertContentsDlg().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnInsStrings
private

Definition at line 60 of file inscodlg.hxx.

Referenced by DisableChecks(), GetInsContentsCmdBits(), and ScInsertContentsDlg().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnLink
private

Definition at line 70 of file inscodlg.hxx.

Referenced by IsLink(), ScInsertContentsDlg(), TestModes(), and ~ScInsertContentsDlg().

std::unique_ptr<weld::Button> ScInsertContentsDlg::mxBtnShortCutPasteTranspose
private

Definition at line 84 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg().

std::unique_ptr<weld::Button> ScInsertContentsDlg::mxBtnShortCutPasteValuesFormats
private

Definition at line 83 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg().

std::unique_ptr<weld::Button> ScInsertContentsDlg::mxBtnShortCutPasteValuesOnly
private

Definition at line 82 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg().

std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnSkipEmptyCells
private
std::unique_ptr<weld::CheckButton> ScInsertContentsDlg::mxBtnTranspose
private

Definition at line 69 of file inscodlg.hxx.

Referenced by IsTranspose(), ScInsertContentsDlg(), TestModes(), and ~ScInsertContentsDlg().

std::unique_ptr<weld::RadioButton> ScInsertContentsDlg::mxRbAdd
private

Definition at line 73 of file inscodlg.hxx.

Referenced by GetFormulaCmdBits(), ScInsertContentsDlg(), and TestModes().

std::unique_ptr<weld::RadioButton> ScInsertContentsDlg::mxRbDiv
private

Definition at line 76 of file inscodlg.hxx.

Referenced by GetFormulaCmdBits(), ScInsertContentsDlg(), and TestModes().

std::unique_ptr<weld::RadioButton> ScInsertContentsDlg::mxRbMoveDown
private
std::unique_ptr<weld::RadioButton> ScInsertContentsDlg::mxRbMoveNone
private
std::unique_ptr<weld::RadioButton> ScInsertContentsDlg::mxRbMoveRight
private
std::unique_ptr<weld::RadioButton> ScInsertContentsDlg::mxRbMul
private

Definition at line 75 of file inscodlg.hxx.

Referenced by GetFormulaCmdBits(), ScInsertContentsDlg(), and TestModes().

std::unique_ptr<weld::RadioButton> ScInsertContentsDlg::mxRbNoOp
private

Definition at line 72 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg(), and TestModes().

std::unique_ptr<weld::RadioButton> ScInsertContentsDlg::mxRbSub
private

Definition at line 74 of file inscodlg.hxx.

Referenced by GetFormulaCmdBits(), ScInsertContentsDlg(), and TestModes().

InsertDeleteFlags ScInsertContentsDlg::nPreviousChecks = InsertDeleteFlags::VALUE | InsertDeleteFlags::DATETIME | InsertDeleteFlags::STRING
staticprivate

Definition at line 87 of file inscodlg.hxx.

Referenced by GetInsContentsCmdBits(), and ScInsertContentsDlg().

InsertContentsFlags ScInsertContentsDlg::nPreviousChecks2 = InsertContentsFlags::NONE
staticprivate

Definition at line 88 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg(), and ~ScInsertContentsDlg().

ScPasteFunc ScInsertContentsDlg::nPreviousFormulaChecks = ScPasteFunc::NONE
staticprivate

Definition at line 89 of file inscodlg.hxx.

Referenced by GetFormulaCmdBits(), and ScInsertContentsDlg().

sal_uInt16 ScInsertContentsDlg::nPreviousMoveMode = INS_NONE
staticprivate

Definition at line 90 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg(), and ~ScInsertContentsDlg().

InsertDeleteFlags ScInsertContentsDlg::nShortCutInsContentsCmdBits
private

Definition at line 55 of file inscodlg.hxx.

Referenced by GetInsContentsCmdBits().


The documentation for this class was generated from the following files: