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)
 
void storeFlagsInRegistry ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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)
 

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

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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 27 of file inscodlg.hxx.

Constructor & Destructor Documentation

◆ ScInsertContentsDlg()

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

◆ ~ScInsertContentsDlg()

ScInsertContentsDlg::~ScInsertContentsDlg ( )
overridevirtual

Member Function Documentation

◆ DECL_LINK() [1/4]

ScInsertContentsDlg::DECL_LINK ( ClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

ScInsertContentsDlg::DECL_LINK ( InsAllHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/4]

ScInsertContentsDlg::DECL_LINK ( LinkBtnHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/4]

ScInsertContentsDlg::DECL_LINK ( ShortCutHdl  ,
weld::Button ,
void   
)
private

◆ DisableChecks()

void ScInsertContentsDlg::DisableChecks ( bool  bInsAllChecked)
private

◆ GetFormulaCmdBits()

ScPasteFunc ScInsertContentsDlg::GetFormulaCmdBits ( ) const

Definition at line 490 of file inscodlg.cxx.

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

◆ GetInsContentsCmdBits()

InsertDeleteFlags ScInsertContentsDlg::GetInsContentsCmdBits ( ) const

◆ GetMoveMode()

InsCellCmd ScInsertContentsDlg::GetMoveMode ( ) const

Definition at line 275 of file inscodlg.cxx.

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

◆ IsLink()

bool ScInsertContentsDlg::IsLink ( ) const

Definition at line 295 of file inscodlg.cxx.

References mxBtnLink.

◆ IsSkipEmptyCells()

bool ScInsertContentsDlg::IsSkipEmptyCells ( ) const

Definition at line 285 of file inscodlg.cxx.

References mxBtnSkipEmptyCells.

◆ IsTranspose()

bool ScInsertContentsDlg::IsTranspose ( ) const

Definition at line 290 of file inscodlg.cxx.

References mxBtnTranspose.

◆ SetCellCmdFlags()

void ScInsertContentsDlg::SetCellCmdFlags ( const InsCellCmd  eFlags)
private

◆ SetCellShiftDisabled()

void ScInsertContentsDlg::SetCellShiftDisabled ( CellShiftDisabledFlags  nDisable)

◆ SetChangeTrack()

void ScInsertContentsDlg::SetChangeTrack ( bool  bSet)

Definition at line 391 of file inscodlg.cxx.

References bChangeTrack, mxRbMoveNone, and TestModes().

◆ SetContentsFlags()

void ScInsertContentsDlg::SetContentsFlags ( const InsertContentsFlags  eFlags)
private

Definition at line 268 of file inscodlg.cxx.

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

Referenced by ScInsertContentsDlg().

◆ SetFillMode()

void ScInsertContentsDlg::SetFillMode ( bool  bSet)

Definition at line 380 of file inscodlg.cxx.

References bFillMode, mxRbMoveNone, and TestModes().

◆ SetFormulaCmdBits()

void ScInsertContentsDlg::SetFormulaCmdBits ( const ScPasteFunc  eFlags)
private

Definition at line 242 of file inscodlg.cxx.

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

Referenced by ScInsertContentsDlg().

◆ SetInsContentsCmdBits()

void ScInsertContentsDlg::SetInsContentsCmdBits ( const InsertDeleteFlags  eFlags)
private

◆ SetOtherDoc()

void ScInsertContentsDlg::SetOtherDoc ( bool  bSet)

Definition at line 369 of file inscodlg.cxx.

References bOtherDoc, mxRbMoveNone, and TestModes().

◆ storeFlagsInRegistry()

void ScInsertContentsDlg::storeFlagsInRegistry ( )

◆ TestModes()

void ScInsertContentsDlg::TestModes ( )
private

Member Data Documentation

◆ bChangeTrack

bool ScInsertContentsDlg::bChangeTrack
private

Definition at line 51 of file inscodlg.hxx.

Referenced by SetChangeTrack(), and TestModes().

◆ bFillMode

bool ScInsertContentsDlg::bFillMode
private

Definition at line 50 of file inscodlg.hxx.

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

◆ bMoveDownDisabled

bool ScInsertContentsDlg::bMoveDownDisabled
private

Definition at line 52 of file inscodlg.hxx.

Referenced by SetCellShiftDisabled(), and TestModes().

◆ bMoveRightDisabled

bool ScInsertContentsDlg::bMoveRightDisabled
private

Definition at line 53 of file inscodlg.hxx.

Referenced by SetCellShiftDisabled(), and TestModes().

◆ bOtherDoc

bool ScInsertContentsDlg::bOtherDoc
private

Definition at line 49 of file inscodlg.hxx.

Referenced by SetOtherDoc(), and TestModes().

◆ mxBtnInsAll

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

◆ mxBtnInsAttrs

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

◆ mxBtnInsDateTime

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

◆ mxBtnInsFormulas

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

◆ mxBtnInsNotes

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

◆ mxBtnInsNumbers

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

◆ mxBtnInsObjects

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

◆ mxBtnInsStrings

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

◆ mxBtnLink

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

◆ mxBtnShortCutPasteFormats

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

Definition at line 85 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg().

◆ mxBtnShortCutPasteTranspose

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

Definition at line 84 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg().

◆ mxBtnShortCutPasteValuesFormats

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

Definition at line 83 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg().

◆ mxBtnShortCutPasteValuesOnly

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

Definition at line 82 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg().

◆ mxBtnSkipEmptyCells

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

◆ mxBtnTranspose

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

◆ mxImmediately

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

Definition at line 88 of file inscodlg.hxx.

◆ mxOKBtn

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

Definition at line 86 of file inscodlg.hxx.

Referenced by ScInsertContentsDlg().

◆ mxRbAdd

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

Definition at line 73 of file inscodlg.hxx.

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

◆ mxRbDiv

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

Definition at line 76 of file inscodlg.hxx.

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

◆ mxRbMoveDown

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

◆ mxRbMoveNone

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

◆ mxRbMoveRight

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

◆ mxRbMul

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

Definition at line 75 of file inscodlg.hxx.

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

◆ mxRbNoOp

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

Definition at line 72 of file inscodlg.hxx.

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

◆ mxRbSub

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

Definition at line 74 of file inscodlg.hxx.

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

◆ nPreviousChecks

InsertDeleteFlags ScInsertContentsDlg::nPreviousChecks = InsertDeleteFlags::NONE
staticprivate

Definition at line 90 of file inscodlg.hxx.

Referenced by GetInsContentsCmdBits(), and ScInsertContentsDlg().

◆ nPreviousChecks2

InsertContentsFlags ScInsertContentsDlg::nPreviousChecks2 = InsertContentsFlags::NONE
staticprivate

Definition at line 91 of file inscodlg.hxx.

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

◆ nPreviousFormulaChecks

ScPasteFunc ScInsertContentsDlg::nPreviousFormulaChecks = ScPasteFunc::NONE
staticprivate

Definition at line 92 of file inscodlg.hxx.

Referenced by GetFormulaCmdBits(), and ScInsertContentsDlg().

◆ nPreviousMoveMode

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: