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

#include <mgetempl.hxx>

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

Public Member Functions

 SfxManageStyleSheetPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rAttrSet)
 
virtual ~SfxManageStyleSheetPage () 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 ()
 
- 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
 

Private Member Functions

 DECL_LINK (GetFocusHdl, weld::Widget &, void)
 
 DECL_LINK (LoseFocusHdl, weld::Widget &, void)
 
 DECL_LINK (EditStyleSelectHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (EditStyleHdl_Impl, weld::Button &, void)
 
 DECL_LINK (EditLinkStyleSelectHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (EditLinkStyleHdl_Impl, weld::Button &, void)
 
void UpdateName_Impl (weld::ComboBox *, const OUString &rNew)
 
void SetDescriptionText_Impl ()
 
virtual bool FillItemSet (SfxItemSet *) override
 
virtual void Reset (const SfxItemSet *) override
 
virtual void ActivatePage (const SfxItemSet &) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *) override
 

Static Private Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static bool Execute_Impl (sal_uInt16 nId, const OUString &rStr, sal_uInt16 nFamily)
 

Private Attributes

SfxStyleSheetBasepStyle
 
std::optional< SfxStyleFamiliesmxFamilies
 
const SfxStyleFamilyItempItem
 
OUString aBuf
 
bool bModified
 
OUString aName
 
OUString aFollow
 
OUString aParent
 
SfxStyleSearchBits nFlags
 
std::unique_ptr< weld::Entrym_xName
 
std::unique_ptr< weld::CheckButtonm_xAutoCB
 
std::unique_ptr< weld::Labelm_xFollowFt
 
std::unique_ptr< weld::ComboBoxm_xFollowLb
 
std::unique_ptr< weld::Buttonm_xEditStyleBtn
 
std::unique_ptr< weld::Labelm_xBaseFt
 
std::unique_ptr< weld::ComboBoxm_xBaseLb
 
std::unique_ptr< weld::Buttonm_xEditLinkStyleBtn
 
std::unique_ptr< weld::Labelm_xFilterFt
 
std::unique_ptr< weld::ComboBoxm_xFilterLb
 
std::unique_ptr< weld::Labelm_xDescFt
 

Friends

class SfxStyleDialogController
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxTabPage
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 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
 
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
 
- 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 39 of file mgetempl.hxx.

Constructor & Destructor Documentation

◆ SfxManageStyleSheetPage()

SfxManageStyleSheetPage::SfxManageStyleSheetPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)

◆ ~SfxManageStyleSheetPage()

SfxManageStyleSheetPage::~SfxManageStyleSheetPage ( )
overridevirtual

Definition at line 256 of file mgetempl.cxx.

References mxFamilies, pItem, and pStyle.

Member Function Documentation

◆ ActivatePage()

void SfxManageStyleSheetPage::ActivatePage ( const SfxItemSet rSet)
overrideprivatevirtual

◆ Create()

std::unique_ptr< SfxTabPage > SfxManageStyleSheetPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
staticprivate

Definition at line 531 of file mgetempl.cxx.

Referenced by SfxStyleDialogController::SfxStyleDialogController().

◆ DeactivatePage()

DeactivateRC SfxManageStyleSheetPage::DeactivatePage ( SfxItemSet pItemSet)
overrideprivatevirtual

◆ DECL_LINK() [1/6]

SfxManageStyleSheetPage::DECL_LINK ( EditLinkStyleHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/6]

SfxManageStyleSheetPage::DECL_LINK ( EditLinkStyleSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/6]

SfxManageStyleSheetPage::DECL_LINK ( EditStyleHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/6]

SfxManageStyleSheetPage::DECL_LINK ( EditStyleSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/6]

SfxManageStyleSheetPage::DECL_LINK ( GetFocusHdl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [6/6]

SfxManageStyleSheetPage::DECL_LINK ( LoseFocusHdl  ,
weld::Widget ,
void   
)
private

◆ Execute_Impl()

bool SfxManageStyleSheetPage::Execute_Impl ( sal_uInt16  nId,
const OUString &  rStr,
sal_uInt16  nFamily 
)
staticprivate

◆ FillItemSet()

bool SfxManageStyleSheetPage::FillItemSet ( SfxItemSet rSet)
overrideprivatevirtual

◆ Reset()

void SfxManageStyleSheetPage::Reset ( const SfxItemSet )
overrideprivatevirtual

◆ SetDescriptionText_Impl()

void SfxManageStyleSheetPage::SetDescriptionText_Impl ( )
private

◆ UpdateName_Impl()

void SfxManageStyleSheetPage::UpdateName_Impl ( weld::ComboBox pBox,
const OUString &  rNew 
)
private

Friends And Related Function Documentation

◆ SfxStyleDialogController

friend class SfxStyleDialogController
friend

Definition at line 65 of file mgetempl.hxx.

Member Data Documentation

◆ aBuf

OUString SfxManageStyleSheetPage::aBuf
private

Definition at line 44 of file mgetempl.hxx.

Referenced by UpdateName_Impl().

◆ aFollow

OUString SfxManageStyleSheetPage::aFollow
private

Definition at line 49 of file mgetempl.hxx.

Referenced by Reset(), and SfxManageStyleSheetPage().

◆ aName

OUString SfxManageStyleSheetPage::aName
private

Definition at line 48 of file mgetempl.hxx.

Referenced by Reset(), and SfxManageStyleSheetPage().

◆ aParent

OUString SfxManageStyleSheetPage::aParent
private

Definition at line 50 of file mgetempl.hxx.

Referenced by Reset(), and SfxManageStyleSheetPage().

◆ bModified

bool SfxManageStyleSheetPage::bModified
private

Definition at line 45 of file mgetempl.hxx.

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

◆ m_xAutoCB

std::unique_ptr<weld::CheckButton> SfxManageStyleSheetPage::m_xAutoCB
private

Definition at line 54 of file mgetempl.hxx.

Referenced by ActivatePage(), FillItemSet(), and SfxManageStyleSheetPage().

◆ m_xBaseFt

std::unique_ptr<weld::Label> SfxManageStyleSheetPage::m_xBaseFt
private

Definition at line 58 of file mgetempl.hxx.

Referenced by Reset(), and SfxManageStyleSheetPage().

◆ m_xBaseLb

std::unique_ptr<weld::ComboBox> SfxManageStyleSheetPage::m_xBaseLb
private

Definition at line 59 of file mgetempl.hxx.

Referenced by DeactivatePage(), Reset(), and SfxManageStyleSheetPage().

◆ m_xDescFt

std::unique_ptr<weld::Label> SfxManageStyleSheetPage::m_xDescFt
private

Definition at line 63 of file mgetempl.hxx.

Referenced by SetDescriptionText_Impl().

◆ m_xEditLinkStyleBtn

std::unique_ptr<weld::Button> SfxManageStyleSheetPage::m_xEditLinkStyleBtn
private

Definition at line 60 of file mgetempl.hxx.

Referenced by Reset(), and SfxManageStyleSheetPage().

◆ m_xEditStyleBtn

std::unique_ptr<weld::Button> SfxManageStyleSheetPage::m_xEditStyleBtn
private

Definition at line 57 of file mgetempl.hxx.

Referenced by Reset(), and SfxManageStyleSheetPage().

◆ m_xFilterFt

std::unique_ptr<weld::Label> SfxManageStyleSheetPage::m_xFilterFt
private

Definition at line 61 of file mgetempl.hxx.

Referenced by SfxManageStyleSheetPage().

◆ m_xFilterLb

std::unique_ptr<weld::ComboBox> SfxManageStyleSheetPage::m_xFilterLb
private

Definition at line 62 of file mgetempl.hxx.

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

◆ m_xFollowFt

std::unique_ptr<weld::Label> SfxManageStyleSheetPage::m_xFollowFt
private

Definition at line 55 of file mgetempl.hxx.

Referenced by SfxManageStyleSheetPage().

◆ m_xFollowLb

std::unique_ptr<weld::ComboBox> SfxManageStyleSheetPage::m_xFollowLb
private

Definition at line 56 of file mgetempl.hxx.

Referenced by DeactivatePage(), Reset(), and SfxManageStyleSheetPage().

◆ m_xName

std::unique_ptr<weld::Entry> SfxManageStyleSheetPage::m_xName
private

Definition at line 53 of file mgetempl.hxx.

Referenced by ActivatePage(), DeactivatePage(), Reset(), and SfxManageStyleSheetPage().

◆ mxFamilies

std::optional<SfxStyleFamilies> SfxManageStyleSheetPage::mxFamilies
private

Definition at line 42 of file mgetempl.hxx.

Referenced by SfxManageStyleSheetPage(), and ~SfxManageStyleSheetPage().

◆ nFlags

SfxStyleSearchBits SfxManageStyleSheetPage::nFlags
private

Definition at line 51 of file mgetempl.hxx.

Referenced by Reset().

◆ pItem

const SfxStyleFamilyItem* SfxManageStyleSheetPage::pItem
private

◆ pStyle

SfxStyleSheetBase* SfxManageStyleSheetPage::pStyle
private

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