LibreOffice Module extensions (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
pcr::ControlCharacterDialog Class Reference

#include <fontdialog.hxx>

Inheritance diagram for pcr::ControlCharacterDialog:
[legend]
Collaboration diagram for pcr::ControlCharacterDialog:
[legend]

Public Member Functions

 ControlCharacterDialog (weld::Window *pParent, const SfxItemSet &rCoreSet)
 
virtual ~ControlCharacterDialog () override
 
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
 
virtual ~SfxTabDialogController () override
 
void AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
 
void AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId)
 
void AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
 
void AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
 
void RemoveTabPage (const OUString &rName)
 
void SetCurPageId (const OUString &rName)
 
void ShowPage (const OUString &rName)
 
OUString GetCurPageId () const
 
SfxTabPageGetCurTabPage () const
 
const WhichRangesContainerGetInputRanges (const SfxItemPool &)
 
void SetInputSet (const SfxItemSet *pInSet)
 
const SfxItemSetGetOutputItemSet () const
 
virtual weld::ButtonGetOKButton () const override
 
weld::ButtonGetCancelButton () const
 
weld::ButtonGetUserButton () const
 
weld::ButtonGetStandardButton () const
 
weld::ButtonGetApplyButton () const
 
weld::ButtonGetResetButton () const
 
void RemoveResetButton ()
 
void RemoveStandardButton ()
 
virtual short run () override
 
virtual const SfxItemSetGetExampleSet () const override
 
void SetApplyHandler (const Link< weld::Button &, void > &_rHdl)
 
bool Apply ()
 
void Applied ()
 
std::vector< OUString > getAllPageUIXMLDescriptions () const
 
bool selectPageByUIXMLDescription (const OUString &rUIXMLDescription)
 
BitmapEx createScreenshot () const
 
OUString GetScreenshotId () const
 
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual weld::ButtonGetOKButton () const=0
 
virtual const SfxItemSetGetExampleSet () const=0
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 
virtual bool CloseOnHide () const
 

Static Public Member Functions

static void createItemSet (std::unique_ptr< SfxItemSet > &_rpSet, rtl::Reference< SfxItemPool > &_rpPool, std::vector< SfxPoolItem * > *&_rpDefaults)
 creates an item set to be used with this dialog More...
 
static void destroyItemSet (std::unique_ptr< SfxItemSet > &_rpSet, rtl::Reference< SfxItemPool > &_rpPool, std::vector< SfxPoolItem * > *&_rpDefaults)
 destroys an item previously created with <method>createItemSet</method> More...
 
static void translatePropertiesToItems (const css::uno::Reference< css::beans::XPropertySet > &_rxModel, SfxItemSet *_pSet)
 fills the given item set with values obtained from the given property set More...
 
static void translateItemsToProperties (const SfxItemSet &_rSet, const css::uno::Reference< css::beans::XPropertySet > &_rxModel)
 fills the given property set with values obtained from the given item set More...
 
static void translateItemsToProperties (const SfxItemSet &_rSet, std::vector< css::beans::NamedValue > &_out_properties)
 fills the given property set with values obtained from the given item set More...
 
- Static Public Member Functions inherited from SfxTabDialogController
static bool runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
 

Protected Member Functions

virtual void PageCreated (const OUString &rId, SfxTabPage &rPage) override
 
- Protected Member Functions inherited from SfxTabDialogController
 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void)
 
virtual short Ok ()
 
virtual void RefreshInputSet ()
 
virtual SfxItemSetCreateInputItemSet (const OUString &rName)
 
virtual void PageCreated (const OUString &rName, SfxTabPage &rPage)
 
virtual void ActivatePage (const OUString &rPage)
 
bool DeactivatePage (std::u16string_view aPage)
 
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (std::u16string_view rPageId) const
 
bool PrepareLeaveCurrentPage ()
 
void SavePosAndId ()
 

Additional Inherited Members

- Protected Attributes inherited from SfxTabDialogController
std::unique_ptr< weld::Notebookm_xTabCtrl
 
std::unique_ptr< SfxItemSetm_xExampleSet
 

Detailed Description

Definition at line 32 of file fontdialog.hxx.

Constructor & Destructor Documentation

◆ ControlCharacterDialog()

pcr::ControlCharacterDialog::ControlCharacterDialog ( weld::Window pParent,
const SfxItemSet rCoreSet 
)

◆ ~ControlCharacterDialog()

pcr::ControlCharacterDialog::~ControlCharacterDialog ( )
overridevirtual

Definition at line 209 of file fontdialog.cxx.

Member Function Documentation

◆ createItemSet()

void pcr::ControlCharacterDialog::createItemSet ( std::unique_ptr< SfxItemSet > &  _rpSet,
rtl::Reference< SfxItemPool > &  _rpPool,
std::vector< SfxPoolItem * > *&  _rpDefaults 
)
static

◆ destroyItemSet()

void pcr::ControlCharacterDialog::destroyItemSet ( std::unique_ptr< SfxItemSet > &  _rpSet,
rtl::Reference< SfxItemPool > &  _rpPool,
std::vector< SfxPoolItem * > *&  _rpDefaults 
)
static

destroys an item previously created with <method>createItemSet</method>

Definition at line 565 of file fontdialog.cxx.

References pcr::FontItemIds::CFID_FONTLIST, and SvxFontListItem::GetFontList().

Referenced by pcr::OControlFontDialog::~OControlFontDialog().

◆ PageCreated()

void pcr::ControlCharacterDialog::PageCreated ( const OUString &  rId,
SfxTabPage rPage 
)
overrideprotectedvirtual

◆ translateItemsToProperties() [1/2]

static void pcr::ControlCharacterDialog::translateItemsToProperties ( const SfxItemSet _rSet,
const css::uno::Reference< css::beans::XPropertySet > &  _rxModel 
)
static

fills the given property set with values obtained from the given item set

Referenced by pcr::OControlFontDialog::executedDialog().

◆ translateItemsToProperties() [2/2]

static void pcr::ControlCharacterDialog::translateItemsToProperties ( const SfxItemSet _rSet,
std::vector< css::beans::NamedValue > &  _out_properties 
)
static

fills the given property set with values obtained from the given item set

◆ translatePropertiesToItems()

void pcr::ControlCharacterDialog::translatePropertiesToItems ( const css::uno::Reference< css::beans::XPropertySet > &  _rxModel,
SfxItemSet _pSet 
)
static

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