LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScTpSubTotalOptions Class Referencefinal

#include <tpsubt.hxx>

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

Public Member Functions

 ScTpSubTotalOptions (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rArgSet)
 
virtual ~ScTpSubTotalOptions () override
 
virtual bool FillItemSet (SfxItemSet *rArgSet) override
 
virtual void Reset (const SfxItemSet *rArgSet) override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rArgSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

void Init ()
 
void FillUserSortListBox ()
 
 DECL_LINK (CheckHdl, weld::Button &, void)
 

Private Attributes

ScViewDatapViewData
 
ScDocumentpDoc
 
const sal_uInt16 nWhichSubTotals
 
const ScSubTotalParamrSubTotalData
 
std::unique_ptr< weld::CheckButtonm_xBtnPagebreak
 
std::unique_ptr< weld::CheckButtonm_xBtnCase
 
std::unique_ptr< weld::CheckButtonm_xBtnSort
 
std::unique_ptr< weld::Labelm_xFlSort
 
std::unique_ptr< weld::RadioButtonm_xBtnAscending
 
std::unique_ptr< weld::RadioButtonm_xBtnDescending
 
std::unique_ptr< weld::CheckButtonm_xBtnFormats
 
std::unique_ptr< weld::CheckButtonm_xBtnUserDef
 
std::unique_ptr< weld::ComboBoxm_xLbUserDef
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 114 of file tpsubt.hxx.

Constructor & Destructor Documentation

ScTpSubTotalOptions::ScTpSubTotalOptions ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rArgSet 
)

Definition at line 417 of file tpsubt.cxx.

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

ScTpSubTotalOptions::~ScTpSubTotalOptions ( )
overridevirtual

Definition at line 441 of file tpsubt.cxx.

Member Function Documentation

std::unique_ptr< SfxTabPage > ScTpSubTotalOptions::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rArgSet 
)
static

Definition at line 461 of file tpsubt.cxx.

Referenced by ScSubTotalDlg::ScSubTotalDlg().

ScTpSubTotalOptions::DECL_LINK ( CheckHdl  ,
weld::Button ,
void   
)
private
bool ScTpSubTotalOptions::FillItemSet ( SfxItemSet rArgSet)
overridevirtual
void ScTpSubTotalOptions::FillUserSortListBox ( )
private

Definition at line 519 of file tpsubt.cxx.

References ScGlobal::GetUserList(), i, m_xLbUserDef, nCount, and ScUserList::size().

Referenced by Init().

void ScTpSubTotalOptions::Init ( void  )
private
void ScTpSubTotalOptions::Reset ( const SfxItemSet rArgSet)
overridevirtual

Member Data Documentation

std::unique_ptr<weld::RadioButton> ScTpSubTotalOptions::m_xBtnAscending
private

Definition at line 141 of file tpsubt.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 138 of file tpsubt.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<weld::RadioButton> ScTpSubTotalOptions::m_xBtnDescending
private

Definition at line 142 of file tpsubt.hxx.

Referenced by Reset().

std::unique_ptr<weld::CheckButton> ScTpSubTotalOptions::m_xBtnFormats
private

Definition at line 143 of file tpsubt.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<weld::CheckButton> ScTpSubTotalOptions::m_xBtnPagebreak
private

Definition at line 137 of file tpsubt.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<weld::CheckButton> ScTpSubTotalOptions::m_xBtnSort
private

Definition at line 139 of file tpsubt.hxx.

Referenced by FillItemSet(), Init(), and Reset().

std::unique_ptr<weld::CheckButton> ScTpSubTotalOptions::m_xBtnUserDef
private

Definition at line 144 of file tpsubt.hxx.

Referenced by FillItemSet(), Init(), and Reset().

std::unique_ptr<weld::Label> ScTpSubTotalOptions::m_xFlSort
private

Definition at line 140 of file tpsubt.hxx.

std::unique_ptr<weld::ComboBox> ScTpSubTotalOptions::m_xLbUserDef
private

Definition at line 145 of file tpsubt.hxx.

Referenced by FillItemSet(), FillUserSortListBox(), and Reset().

const sal_uInt16 ScTpSubTotalOptions::nWhichSubTotals
private

Definition at line 134 of file tpsubt.hxx.

Referenced by FillItemSet(), and Init().

ScDocument* ScTpSubTotalOptions::pDoc
private

Definition at line 133 of file tpsubt.hxx.

Referenced by Init().

ScViewData* ScTpSubTotalOptions::pViewData
private

Definition at line 132 of file tpsubt.hxx.

Referenced by Init().

const ScSubTotalParam& ScTpSubTotalOptions::rSubTotalData
private

Definition at line 135 of file tpsubt.hxx.

Referenced by Reset().


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