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

#include <areasdlg.hxx>

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

Public Member Functions

 ScPrintAreasDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent)
 
virtual ~ScPrintAreasDlg () override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override
 
virtual void AddRefEntry () override
 
virtual bool IsTableLocked () const override
 
virtual void SetActive () override
 
virtual void Deactivate () override
 
virtual void Close () override
 
- Public Member Functions inherited from ScAnyRefDlgController
 ScAnyRefDlgController (SfxBindings *rt1, SfxChildWindow *rt2, weld::Window *rt3, const OUString &rt4, const OUString &rt5)
 
- Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
 ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pArg, SfxBindings *pB)
 
 ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog (int nResponse) override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
virtual void FillInfo (SfxChildWinInfo &) const
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 
- Public Member Functions inherited from ScRefHandler
 ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef)
 
virtual ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override=0
 
virtual void AddRefEntry () override
 
virtual bool IsRefInputMode () const override
 
virtual bool IsTableLocked () const override
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const override
 
virtual void ShowReference (const OUString &rStr) override
 
virtual void HideReference (bool bDoneRefMode=true) override
 
virtual void ToggleCollapsed (formula::RefEdit *pEdit, formula::RefButton *pButton) override
 
virtual void ReleaseFocus (formula::RefEdit *pEdit) override
 
virtual void ViewShellChanged () override
 
void SwitchToDocument ()
 
virtual void SetActive () override=0
 
bool EnterRefMode ()
 
bool LeaveRefMode ()
 
bool CanInputDone (bool bForced)
 

Private Member Functions

void Impl_Reset ()
 
bool Impl_CheckRefStrings ()
 
void Impl_FillLists ()
 
bool Impl_GetItem (const formula::RefEdit *pEd, SfxStringItem &rItem)
 
 DECL_LINK (Impl_SelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (Impl_ModifyHdl, formula::RefEdit &, void)
 
 DECL_LINK (Impl_BtnHdl, weld::Button &, void)
 
 DECL_LINK (Impl_GetEditFocusHdl, formula::RefEdit &, void)
 
 DECL_LINK (Impl_GetFocusHdl, weld::Widget &, void)
 

Private Attributes

bool bDlgLostFocus
 
ScDocumentpDoc
 
ScViewDatapViewData
 
SCTAB nCurTab
 
formula::RefEditm_pRefInputEdit
 
std::unique_ptr< weld::ComboBoxm_xLbPrintArea
 
std::unique_ptr< formula::RefEditm_xEdPrintArea
 
std::unique_ptr< formula::RefButtonm_xRbPrintArea
 
std::unique_ptr< weld::ComboBoxm_xLbRepeatRow
 
std::unique_ptr< formula::RefEditm_xEdRepeatRow
 
std::unique_ptr< formula::RefButtonm_xRbRepeatRow
 
std::unique_ptr< weld::ComboBoxm_xLbRepeatCol
 
std::unique_ptr< formula::RefEditm_xEdRepeatCol
 
std::unique_ptr< formula::RefButtonm_xRbRepeatCol
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
std::unique_ptr< weld::Buttonm_xBtnCancel
 
std::unique_ptr< weld::Framem_xPrintFrame
 
std::unique_ptr< weld::Framem_xRowFrame
 
std::unique_ptr< weld::Framem_xColFrame
 
std::unique_ptr< weld::Labelm_xPrintFrameFT
 
std::unique_ptr< weld::Labelm_xRowFrameFT
 
std::unique_ptr< weld::Labelm_xColFrameFT
 

Additional Inherited Members

- Public Types inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
enum  
 
- Static Public Member Functions inherited from ScRefHandler
static bool CanInputStart (const formula::RefEdit *pEdit)
 
- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
- Protected Member Functions inherited from ScRefHandler
void disposeRefHandler ()
 
bool DoClose (sal_uInt16 nId)
 
void SetDispatcherLock (bool bLock)
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr) override
 
virtual void RefInputDone (bool bForced=false) override
 
bool ParseWithNames (ScRangeList &rRanges, std::u16string_view rStr, const ScDocument &pDoc)
 

Detailed Description

Definition at line 29 of file areasdlg.hxx.

Constructor & Destructor Documentation

◆ ScPrintAreasDlg()

ScPrintAreasDlg::ScPrintAreasDlg ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent 
)

◆ ~ScPrintAreasDlg()

ScPrintAreasDlg::~ScPrintAreasDlg ( )
overridevirtual

Definition at line 149 of file areasdlg.cxx.

Member Function Documentation

◆ AddRefEntry()

void ScPrintAreasDlg::AddRefEntry ( )
overridevirtual

Reimplemented from ScRefHandler.

Definition at line 197 of file areasdlg.cxx.

References formula::FormulaCompiler::GetNativeSymbolChar(), m_pRefInputEdit, m_xEdPrintArea, and ocSep.

◆ Close()

void ScPrintAreasDlg::Close ( )
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 153 of file areasdlg.cxx.

References ScRefHandler::DoClose().

◆ Deactivate()

void ScPrintAreasDlg::Deactivate ( )
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 212 of file areasdlg.cxx.

References bDlgLostFocus.

◆ DECL_LINK() [1/5]

ScPrintAreasDlg::DECL_LINK ( Impl_BtnHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

ScPrintAreasDlg::DECL_LINK ( Impl_GetEditFocusHdl  ,
formula::RefEdit ,
void   
)
private

◆ DECL_LINK() [3/5]

ScPrintAreasDlg::DECL_LINK ( Impl_GetFocusHdl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [4/5]

ScPrintAreasDlg::DECL_LINK ( Impl_ModifyHdl  ,
formula::RefEdit ,
void   
)
private

◆ DECL_LINK() [5/5]

ScPrintAreasDlg::DECL_LINK ( Impl_SelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ Impl_CheckRefStrings()

bool ScPrintAreasDlg::Impl_CheckRefStrings ( )
private

◆ Impl_FillLists()

void ScPrintAreasDlg::Impl_FillLists ( )
private

◆ Impl_GetItem()

bool ScPrintAreasDlg::Impl_GetItem ( const formula::RefEdit pEd,
SfxStringItem rItem 
)
private

◆ Impl_Reset()

void ScPrintAreasDlg::Impl_Reset ( )
private

◆ IsTableLocked()

bool ScPrintAreasDlg::IsTableLocked ( ) const
overridevirtual

Reimplemented from ScRefHandler.

Definition at line 158 of file areasdlg.cxx.

◆ SetActive()

void ScPrintAreasDlg::SetActive ( )
overridevirtual

◆ SetReference()

void ScPrintAreasDlg::SetReference ( const ScRange rRef,
ScDocument rDoc 
)
overridevirtual

Member Data Documentation

◆ bDlgLostFocus

bool ScPrintAreasDlg::bDlgLostFocus
private

Definition at line 45 of file areasdlg.hxx.

Referenced by Deactivate(), and SetActive().

◆ m_pRefInputEdit

formula::RefEdit* ScPrintAreasDlg::m_pRefInputEdit
private

Definition at line 50 of file areasdlg.hxx.

Referenced by AddRefEntry(), ScPrintAreasDlg(), SetActive(), and SetReference().

◆ m_xBtnCancel

std::unique_ptr<weld::Button> ScPrintAreasDlg::m_xBtnCancel
private

Definition at line 65 of file areasdlg.hxx.

Referenced by Impl_Reset().

◆ m_xBtnOk

std::unique_ptr<weld::Button> ScPrintAreasDlg::m_xBtnOk
private

Definition at line 64 of file areasdlg.hxx.

Referenced by Impl_Reset().

◆ m_xColFrame

std::unique_ptr<weld::Frame> ScPrintAreasDlg::m_xColFrame
private

Definition at line 69 of file areasdlg.hxx.

◆ m_xColFrameFT

std::unique_ptr<weld::Label> ScPrintAreasDlg::m_xColFrameFT
private

Definition at line 73 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

◆ m_xEdPrintArea

std::unique_ptr<formula::RefEdit> ScPrintAreasDlg::m_xEdPrintArea
private

◆ m_xEdRepeatCol

std::unique_ptr<formula::RefEdit> ScPrintAreasDlg::m_xEdRepeatCol
private

Definition at line 61 of file areasdlg.hxx.

Referenced by Impl_CheckRefStrings(), Impl_Reset(), and ScPrintAreasDlg().

◆ m_xEdRepeatRow

std::unique_ptr<formula::RefEdit> ScPrintAreasDlg::m_xEdRepeatRow
private

◆ m_xLbPrintArea

std::unique_ptr<weld::ComboBox> ScPrintAreasDlg::m_xLbPrintArea
private

Definition at line 52 of file areasdlg.hxx.

Referenced by Impl_FillLists(), and Impl_Reset().

◆ m_xLbRepeatCol

std::unique_ptr<weld::ComboBox> ScPrintAreasDlg::m_xLbRepeatCol
private

Definition at line 60 of file areasdlg.hxx.

Referenced by Impl_FillLists(), and Impl_Reset().

◆ m_xLbRepeatRow

std::unique_ptr<weld::ComboBox> ScPrintAreasDlg::m_xLbRepeatRow
private

Definition at line 56 of file areasdlg.hxx.

Referenced by Impl_FillLists(), and Impl_Reset().

◆ m_xPrintFrame

std::unique_ptr<weld::Frame> ScPrintAreasDlg::m_xPrintFrame
private

Definition at line 67 of file areasdlg.hxx.

◆ m_xPrintFrameFT

std::unique_ptr<weld::Label> ScPrintAreasDlg::m_xPrintFrameFT
private

Definition at line 71 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

◆ m_xRbPrintArea

std::unique_ptr<formula::RefButton> ScPrintAreasDlg::m_xRbPrintArea
private

Definition at line 54 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

◆ m_xRbRepeatCol

std::unique_ptr<formula::RefButton> ScPrintAreasDlg::m_xRbRepeatCol
private

Definition at line 62 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

◆ m_xRbRepeatRow

std::unique_ptr<formula::RefButton> ScPrintAreasDlg::m_xRbRepeatRow
private

Definition at line 58 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

◆ m_xRowFrame

std::unique_ptr<weld::Frame> ScPrintAreasDlg::m_xRowFrame
private

Definition at line 68 of file areasdlg.hxx.

◆ m_xRowFrameFT

std::unique_ptr<weld::Label> ScPrintAreasDlg::m_xRowFrameFT
private

Definition at line 72 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

◆ nCurTab

SCTAB ScPrintAreasDlg::nCurTab
private

Definition at line 48 of file areasdlg.hxx.

Referenced by Impl_Reset(), and ScPrintAreasDlg().

◆ pDoc

ScDocument* ScPrintAreasDlg::pDoc
private

◆ pViewData

ScViewData* ScPrintAreasDlg::pViewData
private

Definition at line 47 of file areasdlg.hxx.

Referenced by Impl_FillLists(), and ScPrintAreasDlg().


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