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

#include <filtdlg.hxx>

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

Public Member Functions

 ScSpecialFilterDlg (SfxBindings *pB, SfxChildWindow *pCW, weld::Window *pParent, const SfxItemSet &rArgSet)
 
virtual ~ScSpecialFilterDlg () override
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc) override
 
virtual bool IsRefInputMode () const override
 
virtual void SetActive () 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 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 OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
- 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)
 
- Public Member Functions inherited from IAnyRefDialog
virtual ~IAnyRefDialog () COVERITY_NOEXCEPT_FALSE
 
virtual void SetReference (const ScRange &rRef, ScDocument &rDoc)=0
 
virtual void RefInputStart (formula::RefEdit *pEdit, formula::RefButton *pButton=nullptr)=0
 
virtual void RefInputDone (bool bForced=false)=0
 
virtual bool IsTableLocked () const =0
 
virtual bool IsRefInputMode () const =0
 
virtual bool IsDocAllowed (SfxObjectShell *pDocSh) const =0
 
virtual void AddRefEntry ()=0
 
virtual void SetActive ()=0
 
virtual void ViewShellChanged ()=0
 
virtual void ShowReference (const OUString &_sRef)=0
 
virtual void HideReference (bool bDoneRefMode=true)=0
 
virtual void ReleaseFocus (RefEdit *pEdit)=0
 
virtual void ToggleCollapsed (RefEdit *pEdit, RefButton *pButton)=0
 

Private Member Functions

void Init (const SfxItemSet &rArgSet)
 
ScQueryItemGetOutputItem (const ScQueryParam &rParam, const ScRange &rSource)
 
 DECL_LINK (FilterAreaSelHdl, weld::ComboBox &, void)
 
 DECL_LINK (FilterAreaModHdl, formula::RefEdit &, void)
 
 DECL_LINK (EndDlgHdl, weld::Button &, void)
 
 DECL_LINK (RefInputEditHdl, formula::RefEdit &, void)
 
 DECL_LINK (RefInputButtonHdl, formula::RefButton &, void)
 
void RefInputHdl ()
 

Private Attributes

const OUString aStrUndefined
 
std::unique_ptr< ScFilterOptionsMgrpOptionsMgr
 
const sal_uInt16 nWhichQuery
 
const ScQueryParam theQueryData
 
std::unique_ptr< ScQueryItempOutItem
 
ScViewDatapViewData
 
ScDocumentpDoc
 
bool bRefInputMode
 
formula::RefEditm_pRefInputEdit
 
std::unique_ptr< weld::ComboBoxm_xLbFilterArea
 
std::unique_ptr< formula::RefEditm_xEdFilterArea
 
std::unique_ptr< formula::RefButtonm_xRbFilterArea
 
std::unique_ptr< weld::Expanderm_xExpander
 
std::unique_ptr< weld::CheckButtonm_xBtnCase
 
std::unique_ptr< weld::CheckButtonm_xBtnRegExp
 
std::unique_ptr< weld::CheckButtonm_xBtnHeader
 
std::unique_ptr< weld::CheckButtonm_xBtnUnique
 
std::unique_ptr< weld::CheckButtonm_xBtnCopyResult
 
std::unique_ptr< weld::ComboBoxm_xLbCopyArea
 
std::unique_ptr< formula::RefEditm_xEdCopyArea
 
std::unique_ptr< formula::RefButtonm_xRbCopyArea
 
std::unique_ptr< weld::CheckButtonm_xBtnDestPers
 
std::unique_ptr< weld::Labelm_xFtDbAreaLabel
 
std::unique_ptr< weld::Labelm_xFtDbArea
 
std::unique_ptr< weld::Buttonm_xBtnOk
 
std::unique_ptr< weld::Buttonm_xBtnCancel
 
std::unique_ptr< weld::Framem_xFilterFrame
 
std::unique_ptr< weld::Labelm_xFilterLabel
 

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

Detailed Description

Definition at line 176 of file filtdlg.hxx.

Constructor & Destructor Documentation

◆ ScSpecialFilterDlg()

ScSpecialFilterDlg::ScSpecialFilterDlg ( SfxBindings pB,
SfxChildWindow pCW,
weld::Window pParent,
const SfxItemSet rArgSet 
)

◆ ~ScSpecialFilterDlg()

ScSpecialFilterDlg::~ScSpecialFilterDlg ( )
overridevirtual

Definition at line 106 of file sfiltdlg.cxx.

References pOptionsMgr, and pOutItem.

Member Function Documentation

◆ Close()

void ScSpecialFilterDlg::Close ( )
overridevirtual

◆ DECL_LINK() [1/5]

ScSpecialFilterDlg::DECL_LINK ( EndDlgHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

ScSpecialFilterDlg::DECL_LINK ( FilterAreaModHdl  ,
formula::RefEdit ,
void   
)
private

◆ DECL_LINK() [3/5]

ScSpecialFilterDlg::DECL_LINK ( FilterAreaSelHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/5]

ScSpecialFilterDlg::DECL_LINK ( RefInputButtonHdl  ,
formula::RefButton ,
void   
)
private

◆ DECL_LINK() [5/5]

ScSpecialFilterDlg::DECL_LINK ( RefInputEditHdl  ,
formula::RefEdit ,
void   
)
private

◆ GetOutputItem()

ScQueryItem * ScSpecialFilterDlg::GetOutputItem ( const ScQueryParam rParam,
const ScRange rSource 
)
private

Definition at line 236 of file sfiltdlg.cxx.

References nWhichQuery, and pOutItem.

◆ Init()

void ScSpecialFilterDlg::Init ( const SfxItemSet rArgSet)
private

◆ IsRefInputMode()

bool ScSpecialFilterDlg::IsRefInputMode ( ) const
overridevirtual

Reimplemented from ScRefHandler.

Definition at line 244 of file sfiltdlg.cxx.

References bRefInputMode.

◆ RefInputHdl()

void ScSpecialFilterDlg::RefInputHdl ( )
private

◆ SetActive()

void ScSpecialFilterDlg::SetActive ( )
overridevirtual

◆ SetReference()

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

Member Data Documentation

◆ aStrUndefined

const OUString ScSpecialFilterDlg::aStrUndefined
private

Definition at line 191 of file filtdlg.hxx.

Referenced by Init().

◆ bRefInputMode

bool ScSpecialFilterDlg::bRefInputMode
private

Definition at line 201 of file filtdlg.hxx.

Referenced by IsRefInputMode(), RefInputHdl(), SetActive(), and SetReference().

◆ m_pRefInputEdit

formula::RefEdit* ScSpecialFilterDlg::m_pRefInputEdit
private

Definition at line 203 of file filtdlg.hxx.

Referenced by RefInputHdl(), SetActive(), and SetReference().

◆ m_xBtnCancel

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

Definition at line 223 of file filtdlg.hxx.

Referenced by Init().

◆ m_xBtnCase

std::unique_ptr<weld::CheckButton> ScSpecialFilterDlg::m_xBtnCase
private

Definition at line 210 of file filtdlg.hxx.

Referenced by Init().

◆ m_xBtnCopyResult

std::unique_ptr<weld::CheckButton> ScSpecialFilterDlg::m_xBtnCopyResult
private

Definition at line 214 of file filtdlg.hxx.

Referenced by Init().

◆ m_xBtnDestPers

std::unique_ptr<weld::CheckButton> ScSpecialFilterDlg::m_xBtnDestPers
private

Definition at line 218 of file filtdlg.hxx.

Referenced by Init().

◆ m_xBtnHeader

std::unique_ptr<weld::CheckButton> ScSpecialFilterDlg::m_xBtnHeader
private

Definition at line 212 of file filtdlg.hxx.

Referenced by Init().

◆ m_xBtnOk

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

Definition at line 222 of file filtdlg.hxx.

Referenced by Init().

◆ m_xBtnRegExp

std::unique_ptr<weld::CheckButton> ScSpecialFilterDlg::m_xBtnRegExp
private

Definition at line 211 of file filtdlg.hxx.

Referenced by Init().

◆ m_xBtnUnique

std::unique_ptr<weld::CheckButton> ScSpecialFilterDlg::m_xBtnUnique
private

Definition at line 213 of file filtdlg.hxx.

Referenced by Init().

◆ m_xEdCopyArea

std::unique_ptr<formula::RefEdit> ScSpecialFilterDlg::m_xEdCopyArea
private

Definition at line 216 of file filtdlg.hxx.

Referenced by Init(), RefInputHdl(), ScSpecialFilterDlg(), SetActive(), and SetReference().

◆ m_xEdFilterArea

std::unique_ptr<formula::RefEdit> ScSpecialFilterDlg::m_xEdFilterArea
private

Definition at line 206 of file filtdlg.hxx.

Referenced by Init(), RefInputHdl(), ScSpecialFilterDlg(), SetActive(), and SetReference().

◆ m_xExpander

std::unique_ptr<weld::Expander> ScSpecialFilterDlg::m_xExpander
private

Definition at line 209 of file filtdlg.hxx.

◆ m_xFilterFrame

std::unique_ptr<weld::Frame> ScSpecialFilterDlg::m_xFilterFrame
private

Definition at line 225 of file filtdlg.hxx.

◆ m_xFilterLabel

std::unique_ptr<weld::Label> ScSpecialFilterDlg::m_xFilterLabel
private

Definition at line 226 of file filtdlg.hxx.

Referenced by ScSpecialFilterDlg().

◆ m_xFtDbArea

std::unique_ptr<weld::Label> ScSpecialFilterDlg::m_xFtDbArea
private

Definition at line 220 of file filtdlg.hxx.

Referenced by Init().

◆ m_xFtDbAreaLabel

std::unique_ptr<weld::Label> ScSpecialFilterDlg::m_xFtDbAreaLabel
private

Definition at line 219 of file filtdlg.hxx.

Referenced by Init(), and ScSpecialFilterDlg().

◆ m_xLbCopyArea

std::unique_ptr<weld::ComboBox> ScSpecialFilterDlg::m_xLbCopyArea
private

Definition at line 215 of file filtdlg.hxx.

Referenced by Init().

◆ m_xLbFilterArea

std::unique_ptr<weld::ComboBox> ScSpecialFilterDlg::m_xLbFilterArea
private

Definition at line 205 of file filtdlg.hxx.

Referenced by Init().

◆ m_xRbCopyArea

std::unique_ptr<formula::RefButton> ScSpecialFilterDlg::m_xRbCopyArea
private

Definition at line 217 of file filtdlg.hxx.

Referenced by Init(), RefInputHdl(), and ScSpecialFilterDlg().

◆ m_xRbFilterArea

std::unique_ptr<formula::RefButton> ScSpecialFilterDlg::m_xRbFilterArea
private

Definition at line 207 of file filtdlg.hxx.

Referenced by RefInputHdl(), and ScSpecialFilterDlg().

◆ nWhichQuery

const sal_uInt16 ScSpecialFilterDlg::nWhichQuery
private

Definition at line 195 of file filtdlg.hxx.

Referenced by GetOutputItem(), and Init().

◆ pDoc

ScDocument* ScSpecialFilterDlg::pDoc
private

Definition at line 199 of file filtdlg.hxx.

Referenced by Init().

◆ pOptionsMgr

std::unique_ptr<ScFilterOptionsMgr> ScSpecialFilterDlg::pOptionsMgr
private

Definition at line 193 of file filtdlg.hxx.

Referenced by Init(), and ~ScSpecialFilterDlg().

◆ pOutItem

std::unique_ptr<ScQueryItem> ScSpecialFilterDlg::pOutItem
private

Definition at line 197 of file filtdlg.hxx.

Referenced by GetOutputItem(), and ~ScSpecialFilterDlg().

◆ pViewData

ScViewData* ScSpecialFilterDlg::pViewData
private

Definition at line 198 of file filtdlg.hxx.

Referenced by Close(), and Init().

◆ theQueryData

const ScQueryParam ScSpecialFilterDlg::theQueryData
private

Definition at line 196 of file filtdlg.hxx.

Referenced by Init().


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