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 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::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
 
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
 
std::unique_ptr< weld::ButtonmxBtnShortCutPasteFormats
 
std::unique_ptr< weld::CheckButtonmxImmediately
 

Static Private Attributes

static bool bPreviousAllCheck
 
static InsertDeleteFlags nPreviousChecks = InsertDeleteFlags::VALUE | InsertDeleteFlags::DATETIME | InsertDeleteFlags::STRING
 
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::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 354 of file inscodlg.cxx.

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

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

Definition at line 150 of file inscodlg.cxx.

References INS_CELLSDOWN, INS_CELLSRIGHT, INS_NONE, mxRbMoveDown, and mxRbMoveRight.

bool ScInsertContentsDlg::IsLink ( ) const

Definition at line 170 of file inscodlg.cxx.

References mxBtnLink.

bool ScInsertContentsDlg::IsSkipEmptyCells ( ) const

Definition at line 160 of file inscodlg.cxx.

References mxBtnSkipEmptyCells.

bool ScInsertContentsDlg::IsTranspose ( ) const

Definition at line 165 of file inscodlg.cxx.

References mxBtnTranspose.

void ScInsertContentsDlg::SetCellCmdFlags ( const InsCellCmd  eFlags)
private
void ScInsertContentsDlg::SetCellShiftDisabled ( CellShiftDisabledFlags  nDisable)
void ScInsertContentsDlg::SetChangeTrack ( bool  bSet)

Definition at line 266 of file inscodlg.cxx.

References bChangeTrack, mxRbMoveNone, and TestModes().

void ScInsertContentsDlg::SetContentsFlags ( const InsertContentsFlags  eFlags)
private

Definition at line 143 of file inscodlg.cxx.

References Link, mxBtnLink, mxBtnSkipEmptyCells, mxBtnTranspose, NoEmpty, and Trans.

Referenced by ScInsertContentsDlg().

void ScInsertContentsDlg::SetFillMode ( bool  bSet)

Definition at line 255 of file inscodlg.cxx.

References bFillMode, mxRbMoveNone, and TestModes().

void ScInsertContentsDlg::SetFormulaCmdBits ( const ScPasteFunc  eFlags)
private

Definition at line 117 of file inscodlg.cxx.

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

Referenced by ScInsertContentsDlg().

void ScInsertContentsDlg::SetInsContentsCmdBits ( const InsertDeleteFlags  eFlags)
private
void ScInsertContentsDlg::SetOtherDoc ( bool  bSet)

Definition at line 244 of file inscodlg.cxx.

References bOtherDoc, mxRbMoveNone, and TestModes().

void ScInsertContentsDlg::TestModes ( )
private

Member Data Documentation

bool ScInsertContentsDlg::bChangeTrack
private

Definition at line 51 of file inscodlg.hxx.

Referenced by SetChangeTrack(), and TestModes().

bool ScInsertContentsDlg::bFillMode
private

Definition at line 50 of file inscodlg.hxx.

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

bool ScInsertContentsDlg::bMoveDownDisabled
private

Definition at line 52 of file inscodlg.hxx.

Referenced by SetCellShiftDisabled(), and TestModes().

bool ScInsertContentsDlg::bMoveRightDisabled
private

Definition at line 53 of file inscodlg.hxx.

Referenced by SetCellShiftDisabled(), and TestModes().

bool ScInsertContentsDlg::bOtherDoc
private

Definition at line 49 of file inscodlg.hxx.

Referenced by SetOtherDoc(), and TestModes().

bool ScInsertContentsDlg::bPreviousAllCheck
staticprivate

Definition at line 89 of file inscodlg.hxx.

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

Definition at line 65 of file inscodlg.hxx.

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

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

Definition at line 62 of file inscodlg.hxx.

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

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

Definition at line 63 of file inscodlg.hxx.

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

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

Definition at line 64 of file inscodlg.hxx.

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

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

Definition at line 61 of file inscodlg.hxx.

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

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

Definition at line 66 of file inscodlg.hxx.

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

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

Definition at line 60 of file inscodlg.hxx.

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

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

Definition at line 85 of file inscodlg.hxx.

Referenced by 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

Definition at line 68 of file inscodlg.hxx.

Referenced by IsSkipEmptyCells(), SetContentsFlags(), TestModes(), and ~ScInsertContentsDlg().

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

Definition at line 69 of file inscodlg.hxx.

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

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

Definition at line 87 of file inscodlg.hxx.

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

Definition at line 73 of file inscodlg.hxx.

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

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

Definition at line 76 of file inscodlg.hxx.

Referenced by GetFormulaCmdBits(), SetFormulaCmdBits(), 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(), SetFormulaCmdBits(), and TestModes().

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

Definition at line 72 of file inscodlg.hxx.

Referenced by SetFormulaCmdBits(), and TestModes().

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

Definition at line 74 of file inscodlg.hxx.

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

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

Definition at line 90 of file inscodlg.hxx.

Referenced by GetInsContentsCmdBits(), and ScInsertContentsDlg().

InsertContentsFlags ScInsertContentsDlg::nPreviousChecks2 = InsertContentsFlags::NONE
staticprivate

Definition at line 91 of file inscodlg.hxx.

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

ScPasteFunc ScInsertContentsDlg::nPreviousFormulaChecks = ScPasteFunc::NONE
staticprivate

Definition at line 92 of file inscodlg.hxx.

Referenced by GetFormulaCmdBits(), and ScInsertContentsDlg().

InsCellCmd ScInsertContentsDlg::nPreviousMoveMode = InsCellCmd::INS_NONE
staticprivate

Definition at line 93 of file inscodlg.hxx.

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


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