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

#include <tpdefaults.hxx>

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

Public Member Functions

 ScTpDefaultsOptions (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreSet)
 
virtual ~ScTpDefaultsOptions () override
 
virtual bool FillItemSet (SfxItemSet *rCoreSet) override
 
virtual void Reset (const SfxItemSet *rCoreSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) 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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rCoreSet)
 
- 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 CheckNumSheets ()
 
void CheckPrefix ()
 
void OnFocusPrefixInput ()
 
 DECL_LINK (NumModifiedHdl, weld::Entry &, void)
 
 DECL_LINK (PrefixModifiedHdl, weld::Entry &, void)
 
 DECL_LINK (PrefixEditOnFocusHdl, weld::Widget &, void)
 

Private Attributes

OUString maOldPrefixValue
 
std::unique_ptr< weld::SpinButtonm_xEdNSheets
 
std::unique_ptr< weld::Entrym_xEdSheetPrefix
 
std::unique_ptr< weld::CheckButtonm_xEdJumboSheets
 

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
 
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 14 of file tpdefaults.hxx.

Constructor & Destructor Documentation

◆ ScTpDefaultsOptions()

ScTpDefaultsOptions::ScTpDefaultsOptions ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rCoreSet 
)
explicit

Definition at line 19 of file tpdefaults.cxx.

References LINK, m_xEdJumboSheets, m_xEdNSheets, and m_xEdSheetPrefix.

◆ ~ScTpDefaultsOptions()

ScTpDefaultsOptions::~ScTpDefaultsOptions ( )
overridevirtual

Definition at line 34 of file tpdefaults.cxx.

Member Function Documentation

◆ CheckNumSheets()

void ScTpDefaultsOptions::CheckNumSheets ( )
private

Definition at line 87 of file tpdefaults.cxx.

References m_xEdNSheets, MAXINITTAB, and MININITTAB.

◆ CheckPrefix()

void ScTpDefaultsOptions::CheckPrefix ( )
private

◆ Create()

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

Definition at line 38 of file tpdefaults.cxx.

Referenced by ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DeactivatePage()

DeactivateRC ScTpDefaultsOptions::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 82 of file tpdefaults.cxx.

◆ DECL_LINK() [1/3]

ScTpDefaultsOptions::DECL_LINK ( NumModifiedHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [2/3]

ScTpDefaultsOptions::DECL_LINK ( PrefixEditOnFocusHdl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [3/3]

ScTpDefaultsOptions::DECL_LINK ( PrefixModifiedHdl  ,
weld::Entry ,
void   
)
private

◆ FillItemSet()

bool ScTpDefaultsOptions::FillItemSet ( SfxItemSet rCoreSet)
overridevirtual

◆ OnFocusPrefixInput()

void ScTpDefaultsOptions::OnFocusPrefixInput ( )
private

Definition at line 113 of file tpdefaults.cxx.

References m_xEdSheetPrefix, and maOldPrefixValue.

Referenced by CheckPrefix().

◆ Reset()

void ScTpDefaultsOptions::Reset ( const SfxItemSet rCoreSet)
overridevirtual

Member Data Documentation

◆ m_xEdJumboSheets

std::unique_ptr<weld::CheckButton> ScTpDefaultsOptions::m_xEdJumboSheets
private

Definition at line 40 of file tpdefaults.hxx.

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

◆ m_xEdNSheets

std::unique_ptr<weld::SpinButton> ScTpDefaultsOptions::m_xEdNSheets
private

Definition at line 38 of file tpdefaults.hxx.

Referenced by CheckNumSheets(), FillItemSet(), Reset(), and ScTpDefaultsOptions().

◆ m_xEdSheetPrefix

std::unique_ptr<weld::Entry> ScTpDefaultsOptions::m_xEdSheetPrefix
private

◆ maOldPrefixValue

OUString ScTpDefaultsOptions::maOldPrefixValue
private

Definition at line 36 of file tpdefaults.hxx.

Referenced by CheckPrefix(), and OnFocusPrefixInput().


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