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 OString &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 OString &rHelpId)
 
OString 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)
 

Private Attributes

sal_uInt16 mnThemeId
 
SdrViewmrSdrView
 
bool mbInsertIntoPage
 
rtl::Reference< SdrObjectmxSdrObject
 
SdrModelmpDestModel
 
std::vector< VclPtr< VirtualDevice > > maFavoritesHorizontal
 
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 46 of file fontworkgallery.hxx.

Constructor & Destructor Documentation

◆ FontWorkGalleryDialog()

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

◆ ~FontWorkGalleryDialog()

svx::FontWorkGalleryDialog::~FontWorkGalleryDialog ( )
overridevirtual

Definition at line 75 of file fontworkgallery.cxx.

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK() [1/2]

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

◆ DECL_DLLPRIVATE_LINK() [2/2]

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

◆ fillFavorites()

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

Definition at line 121 of file fontworkgallery.cxx.

References maCtlFavorites, maFavoritesHorizontal, mnThemeId, and sId.

Referenced by FontWorkGalleryDialog().

◆ GetSdrObjectRef()

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

Definition at line 73 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 139 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 55 of file fontworkgallery.hxx.

Referenced by fillFavorites(), and initFavorites().

◆ mbInsertIntoPage

bool svx::FontWorkGalleryDialog::mbInsertIntoPage
private

Definition at line 51 of file fontworkgallery.hxx.

Referenced by insertSelectedFontwork(), and SetSdrObjectRef().

◆ mnThemeId

sal_uInt16 svx::FontWorkGalleryDialog::mnThemeId
private

Definition at line 48 of file fontworkgallery.hxx.

Referenced by fillFavorites(), and insertSelectedFontwork().

◆ mpDestModel

SdrModel* svx::FontWorkGalleryDialog::mpDestModel
private

Definition at line 53 of file fontworkgallery.hxx.

Referenced by insertSelectedFontwork(), and SetSdrObjectRef().

◆ mrSdrView

SdrView& svx::FontWorkGalleryDialog::mrSdrView
private

Definition at line 49 of file fontworkgallery.hxx.

Referenced by insertSelectedFontwork().

◆ mxOKButton

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

Definition at line 58 of file fontworkgallery.hxx.

Referenced by FontWorkGalleryDialog().

◆ mxSdrObject

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

Definition at line 52 of file fontworkgallery.hxx.

Referenced by insertSelectedFontwork().


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