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

#include <pfiltdlg.hxx>

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

Public Member Functions

 ScPivotFilterDlg (weld::Window *pParent, const SfxItemSet &rArgSet, SCTAB nSourceTab)
 
virtual ~ScPivotFilterDlg () override
 
const ScQueryItemGetOutputItem ()
 
- 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 Init (const SfxItemSet &rArgSet)
 
void FillFieldLists ()
 
void UpdateValueList (sal_uInt16 nList)
 
void ClearValueList (sal_uInt16 nList)
 
sal_uInt16 GetFieldSelPos (SCCOL nField)
 
 DECL_LINK (LbSelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (ValModifyHdl, weld::ComboBox &, void)
 
 DECL_LINK (CheckBoxHdl, weld::Toggleable &, void)
 

Private Attributes

const OUString aStrNone
 
const OUString aStrEmpty
 
const OUString aStrNotEmpty
 
const OUString aStrColumn
 
const sal_uInt16 nWhichQuery
 
const ScQueryParam theQueryData
 
std::unique_ptr< ScQueryItempOutItem
 
ScViewDatapViewData
 
ScDocumentpDoc
 
SCTAB nSrcTab
 
std::unique_ptr< weld::ComboBoxm_xLbField1
 
std::unique_ptr< weld::ComboBoxm_xLbCond1
 
std::unique_ptr< weld::ComboBoxm_xEdVal1
 
std::unique_ptr< weld::ComboBoxm_xLbConnect1
 
std::unique_ptr< weld::ComboBoxm_xLbField2
 
std::unique_ptr< weld::ComboBoxm_xLbCond2
 
std::unique_ptr< weld::ComboBoxm_xEdVal2
 
std::unique_ptr< weld::ComboBoxm_xLbConnect2
 
std::unique_ptr< weld::ComboBoxm_xLbField3
 
std::unique_ptr< weld::ComboBoxm_xLbCond3
 
std::unique_ptr< weld::ComboBoxm_xEdVal3
 
std::unique_ptr< weld::CheckButtonm_xBtnCase
 
std::unique_ptr< weld::CheckButtonm_xBtnRegExp
 
std::unique_ptr< weld::CheckButtonm_xBtnUnique
 
std::unique_ptr< weld::Labelm_xFtDbArea
 
weld::ComboBoxaValueEdArr [3]
 
weld::ComboBoxaFieldLbArr [3]
 
weld::ComboBoxaCondLbArr [3]
 
std::array< std::unique_ptr< ScFilterEntries >, MAXCOLCOUNTm_pEntryLists
 

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 34 of file pfiltdlg.hxx.

Constructor & Destructor Documentation

◆ ScPivotFilterDlg()

ScPivotFilterDlg::ScPivotFilterDlg ( weld::Window pParent,
const SfxItemSet rArgSet,
SCTAB  nSourceTab 
)

Definition at line 39 of file pfiltdlg.cxx.

References Get(), GetWhich, and Init().

◆ ~ScPivotFilterDlg()

ScPivotFilterDlg::~ScPivotFilterDlg ( )
overridevirtual

Definition at line 70 of file pfiltdlg.cxx.

Member Function Documentation

◆ ClearValueList()

void ScPivotFilterDlg::ClearValueList ( sal_uInt16  nList)
private

◆ DECL_LINK() [1/3]

ScPivotFilterDlg::DECL_LINK ( CheckBoxHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

ScPivotFilterDlg::DECL_LINK ( LbSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/3]

ScPivotFilterDlg::DECL_LINK ( ValModifyHdl  ,
weld::ComboBox ,
void   
)
private

◆ FillFieldLists()

void ScPivotFilterDlg::FillFieldLists ( )
private

◆ GetFieldSelPos()

sal_uInt16 ScPivotFilterDlg::GetFieldSelPos ( SCCOL  nField)
private

Definition at line 296 of file pfiltdlg.cxx.

References ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, and theQueryData.

Referenced by Init().

◆ GetOutputItem()

const ScQueryItem & ScPivotFilterDlg::GetOutputItem ( )

◆ Init()

void ScPivotFilterDlg::Init ( const SfxItemSet rArgSet)
private

◆ UpdateValueList()

void ScPivotFilterDlg::UpdateValueList ( sal_uInt16  nList)
private

Member Data Documentation

◆ aCondLbArr

weld::ComboBox* ScPivotFilterDlg::aCondLbArr[3]
private

Definition at line 76 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), and Init().

◆ aFieldLbArr

weld::ComboBox* ScPivotFilterDlg::aFieldLbArr[3]
private

Definition at line 75 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), Init(), and UpdateValueList().

◆ aStrColumn

const OUString ScPivotFilterDlg::aStrColumn
private

Definition at line 46 of file pfiltdlg.hxx.

Referenced by FillFieldLists().

◆ aStrEmpty

const OUString ScPivotFilterDlg::aStrEmpty
private

Definition at line 44 of file pfiltdlg.hxx.

Referenced by ClearValueList(), GetOutputItem(), Init(), and UpdateValueList().

◆ aStrNone

const OUString ScPivotFilterDlg::aStrNone
private

Definition at line 43 of file pfiltdlg.hxx.

Referenced by FillFieldLists().

◆ aStrNotEmpty

const OUString ScPivotFilterDlg::aStrNotEmpty
private

Definition at line 45 of file pfiltdlg.hxx.

Referenced by ClearValueList(), GetOutputItem(), Init(), and UpdateValueList().

◆ aValueEdArr

weld::ComboBox* ScPivotFilterDlg::aValueEdArr[3]
private

Definition at line 74 of file pfiltdlg.hxx.

Referenced by ClearValueList(), GetOutputItem(), Init(), and UpdateValueList().

◆ m_pEntryLists

std::array<std::unique_ptr<ScFilterEntries>, MAXCOLCOUNT> ScPivotFilterDlg::m_pEntryLists
private

Definition at line 78 of file pfiltdlg.hxx.

Referenced by UpdateValueList().

◆ m_xBtnCase

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

Definition at line 69 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), Init(), and UpdateValueList().

◆ m_xBtnRegExp

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

Definition at line 70 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), and Init().

◆ m_xBtnUnique

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

Definition at line 71 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), and Init().

◆ m_xEdVal1

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xEdVal1
private

Definition at line 57 of file pfiltdlg.hxx.

Referenced by Init().

◆ m_xEdVal2

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xEdVal2
private

Definition at line 62 of file pfiltdlg.hxx.

Referenced by Init().

◆ m_xEdVal3

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xEdVal3
private

Definition at line 67 of file pfiltdlg.hxx.

Referenced by Init().

◆ m_xFtDbArea

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

Definition at line 72 of file pfiltdlg.hxx.

Referenced by Init().

◆ m_xLbCond1

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xLbCond1
private

Definition at line 56 of file pfiltdlg.hxx.

Referenced by Init().

◆ m_xLbCond2

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xLbCond2
private

Definition at line 61 of file pfiltdlg.hxx.

Referenced by Init().

◆ m_xLbCond3

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xLbCond3
private

Definition at line 66 of file pfiltdlg.hxx.

Referenced by Init().

◆ m_xLbConnect1

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xLbConnect1
private

Definition at line 59 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), and Init().

◆ m_xLbConnect2

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xLbConnect2
private

Definition at line 64 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), and Init().

◆ m_xLbField1

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xLbField1
private

Definition at line 55 of file pfiltdlg.hxx.

Referenced by FillFieldLists(), and Init().

◆ m_xLbField2

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xLbField2
private

Definition at line 60 of file pfiltdlg.hxx.

Referenced by FillFieldLists(), and Init().

◆ m_xLbField3

std::unique_ptr<weld::ComboBox> ScPivotFilterDlg::m_xLbField3
private

Definition at line 65 of file pfiltdlg.hxx.

Referenced by FillFieldLists(), and Init().

◆ nSrcTab

SCTAB ScPivotFilterDlg::nSrcTab
private

Definition at line 53 of file pfiltdlg.hxx.

Referenced by FillFieldLists(), Init(), and UpdateValueList().

◆ nWhichQuery

const sal_uInt16 ScPivotFilterDlg::nWhichQuery
private

Definition at line 48 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), and Init().

◆ pDoc

ScDocument* ScPivotFilterDlg::pDoc
private

Definition at line 52 of file pfiltdlg.hxx.

Referenced by FillFieldLists(), Init(), and UpdateValueList().

◆ pOutItem

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

Definition at line 50 of file pfiltdlg.hxx.

Referenced by GetOutputItem().

◆ pViewData

ScViewData* ScPivotFilterDlg::pViewData
private

Definition at line 51 of file pfiltdlg.hxx.

Referenced by GetOutputItem(), and Init().

◆ theQueryData

const ScQueryParam ScPivotFilterDlg::theQueryData
private

Definition at line 49 of file pfiltdlg.hxx.

Referenced by FillFieldLists(), GetFieldSelPos(), GetOutputItem(), Init(), and UpdateValueList().


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