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
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
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
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

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::Toggleable &, void)
 

Private Attributes

ScViewDatapViewData
 
ScDocumentpDoc
 
const TypedWhichId< ScSubTotalItemnWhichSubTotals
 
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 OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > 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 112 of file tpsubt.hxx.

Constructor & Destructor Documentation

◆ ScTpSubTotalOptions()

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

Definition at line 438 of file tpsubt.cxx.

References Get(), GetWhich, Init(), m_xBtnUserDef, m_xLbUserDef, and ScResId().

◆ ~ScTpSubTotalOptions()

ScTpSubTotalOptions::~ScTpSubTotalOptions ( )
overridevirtual

Definition at line 462 of file tpsubt.cxx.

Member Function Documentation

◆ Create()

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

Definition at line 481 of file tpsubt.cxx.

Referenced by ScSubTotalDlg::ScSubTotalDlg().

◆ DECL_LINK()

ScTpSubTotalOptions::DECL_LINK ( CheckHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool ScTpSubTotalOptions::FillItemSet ( SfxItemSet rArgSet)
overridevirtual

◆ FillUserSortListBox()

void ScTpSubTotalOptions::FillUserSortListBox ( )
private

Definition at line 538 of file tpsubt.cxx.

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

Referenced by Init().

◆ Init()

void ScTpSubTotalOptions::Init ( void  )
private

◆ Reset()

void ScTpSubTotalOptions::Reset ( const SfxItemSet rArgSet)
overridevirtual

Member Data Documentation

◆ m_xBtnAscending

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

Definition at line 139 of file tpsubt.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xBtnCase

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

Definition at line 136 of file tpsubt.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xBtnDescending

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

Definition at line 140 of file tpsubt.hxx.

Referenced by Reset().

◆ m_xBtnFormats

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

Definition at line 141 of file tpsubt.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xBtnPagebreak

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

Definition at line 135 of file tpsubt.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xBtnSort

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

Definition at line 137 of file tpsubt.hxx.

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

◆ m_xBtnUserDef

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

Definition at line 142 of file tpsubt.hxx.

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

◆ m_xFlSort

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

Definition at line 138 of file tpsubt.hxx.

◆ m_xLbUserDef

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

Definition at line 143 of file tpsubt.hxx.

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

◆ nWhichSubTotals

const TypedWhichId<ScSubTotalItem> ScTpSubTotalOptions::nWhichSubTotals
private

Definition at line 132 of file tpsubt.hxx.

Referenced by FillItemSet(), and Init().

◆ pDoc

ScDocument* ScTpSubTotalOptions::pDoc
private

Definition at line 131 of file tpsubt.hxx.

Referenced by Init().

◆ pViewData

ScViewData* ScTpSubTotalOptions::pViewData
private

Definition at line 130 of file tpsubt.hxx.

Referenced by Init().

◆ rSubTotalData

const ScSubTotalParam& ScTpSubTotalOptions::rSubTotalData
private

Definition at line 133 of file tpsubt.hxx.

Referenced by Reset().


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