LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
SfxTabPage Class Reference

#include <tabdlg.hxx>

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

Public Member Functions

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 ()
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetHelpId (const OUString &rHelpId)
 
OUString GetHelpId () const
 

Static Public Member Functions

static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
template<class T >
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Protected Member Functions

 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
 
template<class T >
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
template<class T >
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Private Attributes

const SfxItemSetmpSet
 
OUString maUserString
 
bool mbHasExchangeSupport
 
std::unordered_map< OUString, css::uno::Any > maAdditionalProperties
 
std::unique_ptr< TabPageImplmpImpl
 

Friends

class SfxTabDialog
 
class SfxTabDialogController
 

Additional Inherited Members

- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 185 of file tabdlg.hxx.

Constructor & Destructor Documentation

◆ SfxTabPage()

SfxTabPage::SfxTabPage ( weld::Container pPage,
weld::DialogController pController,
const OUString &  rUIXMLDescription,
const OUString &  rID,
const SfxItemSet rAttrSet 
)
protected

Definition at line 140 of file tabdlg.cxx.

References isActive(), BuilderPage::m_pDialogController, and mpImpl.

◆ ~SfxTabPage()

SfxTabPage::~SfxTabPage ( )
overridevirtual

Definition at line 151 of file tabdlg.cxx.

References BuilderPage::m_xBuilder, BuilderPage::m_xContainer, and mpImpl.

Member Function Documentation

◆ ActivatePage()

void SfxTabPage::ActivatePage ( const SfxItemSet )
virtual

Reimplemented in SfxManageStyleSheetPage.

Definition at line 175 of file tabdlg.cxx.

◆ ChangesApplied()

void SfxTabPage::ChangesApplied ( )
virtual

Definition at line 274 of file tabdlg.cxx.

◆ DeactivatePage()

DeactivateRC SfxTabPage::DeactivatePage ( SfxItemSet pSet)
virtual

◆ DeferResetToFirstActivation()

bool SfxTabPage::DeferResetToFirstActivation ( )
virtual

Definition at line 173 of file tabdlg.cxx.

◆ FillItemSet()

bool SfxTabPage::FillItemSet ( SfxItemSet )
virtual

◆ FillUserData()

void SfxTabPage::FillUserData ( )
virtual

Definition at line 207 of file tabdlg.cxx.

◆ getAdditionalProperties()

std::unordered_map< OUString, css::uno::Any > & SfxTabPage::getAdditionalProperties ( )
inline

Definition at line 279 of file tabdlg.hxx.

◆ GetConfigId()

OUString SfxTabPage::GetConfigId ( ) const
inline

Definition at line 274 of file tabdlg.hxx.

◆ GetDialogController()

SfxOkDialogController * SfxTabPage::GetDialogController ( ) const
protected

Definition at line 284 of file tabdlg.cxx.

References mpImpl.

Referenced by SfxDocumentPage::ImplUpdateSignatures().

◆ GetDialogExampleSet()

const SfxItemSet * SfxTabPage::GetDialogExampleSet ( ) const

◆ GetFrame()

css::uno::Reference< css::frame::XFrame > SfxTabPage::GetFrame ( ) const

Definition at line 133 of file tabdlg.cxx.

References mpImpl.

◆ GetFrameWeld()

weld::Window * SfxTabPage::GetFrameWeld ( ) const

◆ GetHelpId()

OUString SfxTabPage::GetHelpId ( ) const

Definition at line 289 of file tabdlg.cxx.

References BuilderPage::m_xContainer.

◆ GetItem() [1/2]

const SfxPoolItem * SfxTabPage::GetItem ( const SfxItemSet rSet,
sal_uInt16  nSlot,
bool  bDeep = true 
)
static

◆ GetItem() [2/2]

template<class T >
static const T * SfxTabPage::GetItem ( const SfxItemSet rSet,
TypedWhichId< T >  nSlot,
bool  bDeep = true 
)
inlinestatic

Definition at line 263 of file tabdlg.hxx.

References GetItem(), and rSet.

◆ GetItemSet()

const SfxItemSet & SfxTabPage::GetItemSet ( ) const
inline

Definition at line 228 of file tabdlg.hxx.

Referenced by GetOldItem().

◆ GetOldItem() [1/2]

const SfxPoolItem * SfxTabPage::GetOldItem ( const SfxItemSet rSet,
sal_uInt16  nSlot,
bool  bDeep = true 
)
protected

◆ GetOldItem() [2/2]

template<class T >
const T * SfxTabPage::GetOldItem ( const SfxItemSet rSet,
TypedWhichId< T >  nSlot,
bool  bDeep = true 
)
inlineprotected

Definition at line 212 of file tabdlg.hxx.

References rSet.

◆ GetUserData()

const OUString & SfxTabPage::GetUserData ( ) const
inline

Definition at line 254 of file tabdlg.hxx.

◆ GetWhich() [1/2]

sal_uInt16 SfxTabPage::GetWhich ( sal_uInt16  nSlot,
bool  bDeep = true 
) const
inlineprotected

Definition at line 201 of file tabdlg.hxx.

References SfxItemSet::GetPool(), and SfxItemPool::GetWhich().

Referenced by GetOldItem().

◆ GetWhich() [2/2]

template<class T >
TypedWhichId< T > SfxTabPage::GetWhich ( TypedWhichId< T >  nSlot,
bool  bDeep = true 
) const
inlineprotected

Definition at line 206 of file tabdlg.hxx.

References GetWhich.

◆ HasExchangeSupport()

bool SfxTabPage::HasExchangeSupport ( ) const
inline

Definition at line 238 of file tabdlg.hxx.

◆ IsReadOnly()

bool SfxTabPage::IsReadOnly ( ) const
virtual

Definition at line 220 of file tabdlg.cxx.

◆ IsVisible()

bool SfxTabPage::IsVisible ( ) const
inline

Definition at line 275 of file tabdlg.hxx.

References m_xContainer.

◆ PageCreated()

void SfxTabPage::PageCreated ( const SfxAllItemSet aSet)
virtual

Definition at line 269 of file tabdlg.cxx.

References SAL_WARN.

◆ Reset()

void SfxTabPage::Reset ( const SfxItemSet )
virtual

◆ set_visible()

void SfxTabPage::set_visible ( bool  bVisible)
inline

Definition at line 223 of file tabdlg.hxx.

References bVisible, and m_xContainer.

◆ SetDialogController()

void SfxTabPage::SetDialogController ( SfxOkDialogController pDialog)

Definition at line 278 of file tabdlg.cxx.

References BuilderPage::m_pDialogController, and mpImpl.

◆ SetExchangeSupport()

void SfxTabPage::SetExchangeSupport ( )
inline

Definition at line 243 of file tabdlg.hxx.

Referenced by SfxManageStyleSheetPage::SfxManageStyleSheetPage().

◆ SetFrame()

void SfxTabPage::SetFrame ( const css::uno::Reference< css::frame::XFrame > &  xFrame)

Definition at line 127 of file tabdlg.cxx.

References mpImpl, and xFrame.

◆ SetUserData()

void SfxTabPage::SetUserData ( const OUString &  rString)
inline

Definition at line 250 of file tabdlg.hxx.

Friends And Related Function Documentation

◆ SfxTabDialog

friend class SfxTabDialog
friend

Definition at line 187 of file tabdlg.hxx.

◆ SfxTabDialogController

friend class SfxTabDialogController
friend

Definition at line 188 of file tabdlg.hxx.

Member Data Documentation

◆ maAdditionalProperties

std::unordered_map<OUString, css::uno::Any> SfxTabPage::maAdditionalProperties
private

Definition at line 194 of file tabdlg.hxx.

◆ maUserString

OUString SfxTabPage::maUserString
private

Definition at line 192 of file tabdlg.hxx.

◆ mbHasExchangeSupport

bool SfxTabPage::mbHasExchangeSupport
private

Definition at line 193 of file tabdlg.hxx.

◆ mpImpl

std::unique_ptr<TabPageImpl> SfxTabPage::mpImpl
private

◆ mpSet

const SfxItemSet* SfxTabPage::mpSet
private

Definition at line 191 of file tabdlg.hxx.


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