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:
Collaboration diagram for ScTpDefaultsOptions:

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 DeferResetToFirstActivation ()
bool HasExchangeSupport () const
void SetExchangeSupport ()
virtual void ActivatePage (const SfxItemSet &)
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
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 ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rCoreSet 

Definition at line 18 of file tpdefaults.cxx.

References LINK, m_xEdJumboSheets, m_xEdNSheets, and m_xEdSheetPrefix.

ScTpDefaultsOptions::~ScTpDefaultsOptions ( )

Definition at line 31 of file tpdefaults.cxx.

Member Function Documentation

void ScTpDefaultsOptions::CheckNumSheets ( )

Definition at line 84 of file tpdefaults.cxx.

References m_xEdNSheets, MAXINITTAB, and MININITTAB.

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

Definition at line 35 of file tpdefaults.cxx.

Referenced by ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc().

DeactivateRC ScTpDefaultsOptions::DeactivatePage ( SfxItemSet pSet)

Reimplemented from SfxTabPage.

Definition at line 79 of file tpdefaults.cxx.

ScTpDefaultsOptions::DECL_LINK ( NumModifiedHdl  ,
weld::Entry ,
ScTpDefaultsOptions::DECL_LINK ( PrefixModifiedHdl  ,
weld::Entry ,
ScTpDefaultsOptions::DECL_LINK ( PrefixEditOnFocusHdl  ,
weld::Widget ,
bool ScTpDefaultsOptions::FillItemSet ( SfxItemSet rCoreSet)
void ScTpDefaultsOptions::OnFocusPrefixInput ( )

Definition at line 110 of file tpdefaults.cxx.

References m_xEdSheetPrefix, and maOldPrefixValue.

Referenced by CheckPrefix().

void ScTpDefaultsOptions::Reset ( const SfxItemSet rCoreSet)

Member Data Documentation

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

Definition at line 40 of file tpdefaults.hxx.

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

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

Definition at line 38 of file tpdefaults.hxx.

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

std::unique_ptr<weld::Entry> ScTpDefaultsOptions::m_xEdSheetPrefix
OUString ScTpDefaultsOptions::maOldPrefixValue

Definition at line 36 of file tpdefaults.hxx.

Referenced by CheckPrefix(), and OnFocusPrefixInput().

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