LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::FontWorkGalleryDialog Class Referencefinal

#include <fontworkgallery.hxx>

Inheritance diagram for svx::FontWorkGalleryDialog:
[legend]
Collaboration diagram for svx::FontWorkGalleryDialog:
[legend]

Public Member Functions

 FontWorkGalleryDialog (weld::Window *pParent, SdrView &rView)
 
virtual ~FontWorkGalleryDialog () override
 
void SetSdrObjectRef (SdrModel *pModel)
 
SdrObjectGetSdrObjectRef ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void initFavorites (sal_uInt16 nThemeId)
 
void insertSelectedFontwork ()
 
void fillFavorites (sal_uInt16 nThemeId)
 
 DECL_DLLPRIVATE_LINK (DoubleClickFavoriteHdl, weld::IconView &, bool)
 
 DECL_DLLPRIVATE_LINK (ClickOKHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (QueryTooltipHandler, const weld::TreeIter &, OUString)
 

Private Attributes

sal_uInt16 mnThemeId
 
SdrViewmrSdrView
 
bool mbInsertIntoPage
 
rtl::Reference< SdrObjectmxSdrObject
 
SdrModelmpDestModel
 
std::vector< VclPtr< VirtualDevice > > maFavoritesHorizontal
 
std::map< OUString, OUString > maIdToTitleMap
 
std::unique_ptr< weld::IconViewmaCtlFavorites
 
std::unique_ptr< weld::ButtonmxOKButton
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 47 of file fontworkgallery.hxx.

Constructor & Destructor Documentation

◆ FontWorkGalleryDialog()

svx::FontWorkGalleryDialog::FontWorkGalleryDialog ( weld::Window pParent,
SdrView rView 
)

◆ ~FontWorkGalleryDialog()

svx::FontWorkGalleryDialog::~FontWorkGalleryDialog ( )
overridevirtual

Definition at line 76 of file fontworkgallery.cxx.

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK() [1/3]

svx::FontWorkGalleryDialog::DECL_DLLPRIVATE_LINK ( ClickOKHdl  ,
weld::Button ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/3]

svx::FontWorkGalleryDialog::DECL_DLLPRIVATE_LINK ( DoubleClickFavoriteHdl  ,
weld::IconView ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/3]

svx::FontWorkGalleryDialog::DECL_DLLPRIVATE_LINK ( QueryTooltipHandler  ,
const weld::TreeIter ,
OUString   
)
private

◆ fillFavorites()

void svx::FontWorkGalleryDialog::fillFavorites ( sal_uInt16  nThemeId)
private

◆ GetSdrObjectRef()

SdrObject * svx::FontWorkGalleryDialog::GetSdrObjectRef ( )
inline

Definition at line 77 of file fontworkgallery.hxx.

◆ initFavorites()

void svx::FontWorkGalleryDialog::initFavorites ( sal_uInt16  nThemeId)
private

◆ insertSelectedFontwork()

void svx::FontWorkGalleryDialog::insertSelectedFontwork ( )
private

◆ SetSdrObjectRef()

void svx::FontWorkGalleryDialog::SetSdrObjectRef ( SdrModel pModel)

Definition at line 146 of file fontworkgallery.cxx.

References mbInsertIntoPage, and mpDestModel.

Member Data Documentation

◆ maCtlFavorites

std::unique_ptr<weld::IconView> svx::FontWorkGalleryDialog::maCtlFavorites
private

◆ maFavoritesHorizontal

std::vector<VclPtr< VirtualDevice > > svx::FontWorkGalleryDialog::maFavoritesHorizontal
private

Definition at line 56 of file fontworkgallery.hxx.

Referenced by fillFavorites(), and initFavorites().

◆ maIdToTitleMap

std::map<OUString, OUString> svx::FontWorkGalleryDialog::maIdToTitleMap
private

Definition at line 58 of file fontworkgallery.hxx.

Referenced by fillFavorites().

◆ mbInsertIntoPage

bool svx::FontWorkGalleryDialog::mbInsertIntoPage
private

Definition at line 52 of file fontworkgallery.hxx.

Referenced by insertSelectedFontwork(), and SetSdrObjectRef().

◆ mnThemeId

sal_uInt16 svx::FontWorkGalleryDialog::mnThemeId
private

Definition at line 49 of file fontworkgallery.hxx.

Referenced by fillFavorites(), and insertSelectedFontwork().

◆ mpDestModel

SdrModel* svx::FontWorkGalleryDialog::mpDestModel
private

Definition at line 54 of file fontworkgallery.hxx.

Referenced by insertSelectedFontwork(), and SetSdrObjectRef().

◆ mrSdrView

SdrView& svx::FontWorkGalleryDialog::mrSdrView
private

Definition at line 50 of file fontworkgallery.hxx.

Referenced by insertSelectedFontwork().

◆ mxOKButton

std::unique_ptr<weld::Button> svx::FontWorkGalleryDialog::mxOKButton
private

Definition at line 61 of file fontworkgallery.hxx.

Referenced by FontWorkGalleryDialog().

◆ mxSdrObject

rtl::Reference<SdrObject> svx::FontWorkGalleryDialog::mxSdrObject
private

Definition at line 53 of file fontworkgallery.hxx.

Referenced by insertSelectedFontwork().


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