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 OString &rt5)
 
- Public Member Functions inherited from ScRefHdlrControllerImpl< SfxModelessDialogController >
 ScRefHdlrControllerImpl (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *pArg, SfxBindings *pB)
 
 ScRefHdlrControllerImpl (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void EndDialog () override
 
virtual void Activate () 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 OString &rDialogId)
 
- Public Member Functions inherited from ScRefHandler
 ScRefHandler (SfxDialogController &rController, SfxBindings *pB, bool bBindRef)
 
virtual ~ScRefHandler () COVERITY_NOEXCEPT_FALSE override
 
virtual bool IsRefInputMode () 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 ()
 
bool EnterRefMode ()
 
bool LeaveRefMode ()
 
bool CanInputDone (bool bForced)
 
- Public Member Functions inherited from IAnyRefDialog
virtual ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE
 

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 OString &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, const OUString &rStr, const ScDocument &pDoc)
 
- Protected Member Functions inherited from formula::IControlReferenceHandler
 ~IControlReferenceHandler ()
 

Detailed Description

Definition at line 30 of file areasdlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 149 of file areasdlg.cxx.

Member Function Documentation

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.

void ScPrintAreasDlg::Close ( )
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 153 of file areasdlg.cxx.

References ScRefHandler::DoClose().

void ScPrintAreasDlg::Deactivate ( )
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 212 of file areasdlg.cxx.

References bDlgLostFocus.

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

Reimplemented from ScRefHandler.

Definition at line 158 of file areasdlg.cxx.

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

Member Data Documentation

bool ScPrintAreasDlg::bDlgLostFocus
private

Definition at line 46 of file areasdlg.hxx.

Referenced by Deactivate(), and SetActive().

formula::RefEdit* ScPrintAreasDlg::m_pRefInputEdit
private

Definition at line 51 of file areasdlg.hxx.

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

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

Definition at line 66 of file areasdlg.hxx.

Referenced by Impl_Reset().

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

Definition at line 65 of file areasdlg.hxx.

Referenced by Impl_Reset().

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

Definition at line 70 of file areasdlg.hxx.

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

Definition at line 74 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

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

Definition at line 62 of file areasdlg.hxx.

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

std::unique_ptr<formula::RefEdit> ScPrintAreasDlg::m_xEdRepeatRow
private
std::unique_ptr<weld::ComboBox> ScPrintAreasDlg::m_xLbPrintArea
private

Definition at line 53 of file areasdlg.hxx.

Referenced by Impl_FillLists(), and Impl_Reset().

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

Definition at line 61 of file areasdlg.hxx.

Referenced by Impl_FillLists(), and Impl_Reset().

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

Definition at line 57 of file areasdlg.hxx.

Referenced by Impl_FillLists(), and Impl_Reset().

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

Definition at line 68 of file areasdlg.hxx.

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

Definition at line 72 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

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

Definition at line 55 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

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

Definition at line 63 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

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

Definition at line 59 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

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

Definition at line 69 of file areasdlg.hxx.

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

Definition at line 73 of file areasdlg.hxx.

Referenced by ScPrintAreasDlg().

SCTAB ScPrintAreasDlg::nCurTab
private

Definition at line 49 of file areasdlg.hxx.

Referenced by Impl_Reset(), and ScPrintAreasDlg().

ScDocument* ScPrintAreasDlg::pDoc
private
ScViewData* ScPrintAreasDlg::pViewData
private

Definition at line 48 of file areasdlg.hxx.

Referenced by Impl_FillLists(), and ScPrintAreasDlg().


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