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 *)
 
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
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &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 OString &rHelpId)
 
OString 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 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)
 
template<class T >
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Private Attributes

const SfxItemSetpSet
 
OUString aUserString
 
bool bHasExchangeSupport
 
std::unique_ptr< TabPageImplpImpl
 

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 174 of file tabdlg.hxx.

Constructor & Destructor Documentation

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

Definition at line 138 of file tabdlg.cxx.

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

SfxTabPage::~SfxTabPage ( )
overridevirtual

Definition at line 149 of file tabdlg.cxx.

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

Member Function Documentation

void SfxTabPage::ActivatePage ( const SfxItemSet )
virtual

Reimplemented in SfxManageStyleSheetPage.

Definition at line 171 of file tabdlg.cxx.

void SfxTabPage::ChangesApplied ( )
virtual

Definition at line 270 of file tabdlg.cxx.

DeactivateRC SfxTabPage::DeactivatePage ( SfxItemSet pSet)
virtual
bool SfxTabPage::FillItemSet ( SfxItemSet )
virtual
void SfxTabPage::FillUserData ( )
virtual

Definition at line 203 of file tabdlg.cxx.

OString SfxTabPage::GetConfigId ( ) const
inline

Definition at line 238 of file tabdlg.hxx.

References BuilderPage::GetHelpId().

SfxOkDialogController * SfxTabPage::GetDialogController ( ) const
protected

Definition at line 280 of file tabdlg.cxx.

References pImpl.

Referenced by SfxDocumentPage::ImplUpdateSignatures().

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

Definition at line 131 of file tabdlg.cxx.

References pImpl.

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

Definition at line 285 of file tabdlg.cxx.

References BuilderPage::m_xContainer.

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

Definition at line 227 of file tabdlg.hxx.

References GetItem().

const SfxItemSet& SfxTabPage::GetItemSet ( ) const
inline

Definition at line 207 of file tabdlg.hxx.

Referenced by GetOldItem().

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

Definition at line 191 of file tabdlg.hxx.

const OUString& SfxTabPage::GetUserData ( ) const
inline

Definition at line 221 of file tabdlg.hxx.

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

Definition at line 188 of file tabdlg.hxx.

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

Referenced by GetOldItem().

bool SfxTabPage::HasExchangeSupport ( ) const
inline

Definition at line 212 of file tabdlg.hxx.

bool SfxTabPage::IsReadOnly ( ) const
virtual

Definition at line 216 of file tabdlg.cxx.

bool SfxTabPage::IsVisible ( ) const
inline

Definition at line 239 of file tabdlg.hxx.

References m_xContainer.

void SfxTabPage::PageCreated ( const SfxAllItemSet aSet)
virtual

Definition at line 265 of file tabdlg.cxx.

References SAL_WARN.

void SfxTabPage::Reset ( const SfxItemSet )
virtual
void SfxTabPage::set_visible ( bool  bVisible)
inline

Definition at line 202 of file tabdlg.hxx.

References m_xContainer.

void SfxTabPage::SetDialogController ( SfxOkDialogController pDialog)

Definition at line 274 of file tabdlg.cxx.

References BuilderPage::m_pDialogController, and pImpl.

void SfxTabPage::SetExchangeSupport ( )
inline

Definition at line 214 of file tabdlg.hxx.

Referenced by SfxManageStyleSheetPage::SfxManageStyleSheetPage().

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

Definition at line 125 of file tabdlg.cxx.

References pImpl.

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

Definition at line 219 of file tabdlg.hxx.

Friends And Related Function Documentation

friend class SfxTabDialog
friend

Definition at line 176 of file tabdlg.hxx.

friend class SfxTabDialogController
friend

Definition at line 177 of file tabdlg.hxx.

Member Data Documentation

OUString SfxTabPage::aUserString
private

Definition at line 181 of file tabdlg.hxx.

bool SfxTabPage::bHasExchangeSupport
private

Definition at line 182 of file tabdlg.hxx.

std::unique_ptr< TabPageImpl > SfxTabPage::pImpl
private
const SfxItemSet* SfxTabPage::pSet
private

Definition at line 180 of file tabdlg.hxx.


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