LibreOffice Module svx (master)
1
|
#include <fontworkgallery.hxx>
Public Member Functions | |
FontWorkGalleryDialog (weld::Window *pParent, SdrView &rView) | |
virtual | ~FontWorkGalleryDialog () override |
void | SetSdrObjectRef (SdrModel *pModel) |
SdrObject * | GetSdrObjectRef () |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
const Dialog * | getConstDialog () 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 |
SdrView & | mrSdrView |
bool | mbInsertIntoPage |
SdrObject * | mppSdrObject |
SdrModel * | mpDestModel |
std::vector< VclPtr< VirtualDevice > > | maFavoritesHorizontal |
std::unique_ptr< weld::IconView > | maCtlFavorites |
std::unique_ptr< weld::Button > | mxOKButton |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 46 of file fontworkgallery.hxx.
svx::FontWorkGalleryDialog::FontWorkGalleryDialog | ( | weld::Window * | pParent, |
SdrView & | rView | ||
) |
Definition at line 56 of file fontworkgallery.cxx.
References fillFavorites(), GALLERY_THEME_FONTWORK, Size::Height(), initFavorites(), LINK, maCtlFavorites, mxOKButton, and Size::Width().
|
overridevirtual |
Definition at line 76 of file fontworkgallery.cxx.
|
private |
|
private |
|
private |
Definition at line 122 of file fontworkgallery.cxx.
References maCtlFavorites, maFavoritesHorizontal, mnThemeId, and sId.
Referenced by FontWorkGalleryDialog().
|
inline |
Definition at line 73 of file fontworkgallery.hxx.
|
private |
Definition at line 80 of file fontworkgallery.cxx.
References GalleryExplorer::BeginLocking(), COL_WHITE, VclPtr< reference_type >::Create(), OutputDevice::DrawBitmapEx(), OutputDevice::DrawCheckered(), GalleryExplorer::EndLocking(), OutputDevice::GetDPIScaleFactor(), GalleryExplorer::GetSdrObj(), GalleryExplorer::GetSdrObjCount(), BitmapEx::GetSizePixel(), BitmapEx::IsEmpty(), maFavoritesHorizontal, Point, BitmapEx::Scale(), and VirtualDevice::SetOutputSizePixel().
Referenced by FontWorkGalleryDialog().
|
private |
Definition at line 146 of file fontworkgallery.cxx.
References tools::Rectangle::Center(), SdrObject::CloneSdrObject(), convertTwipToMm100(), SfxViewShell::Current(), SdrObject::Free(), SfxItemPool::FreezeIdRanges(), SdrPaintView::GetFirstOutputDevice(), Size::getHeight(), SdrModel::GetItemPool(), SdrObject::GetLogicRect(), SfxViewShell::getLOKVisibleArea(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrModel::GetPage(), SdrPaintView::getSdrModelFromSdrView(), GalleryExplorer::GetSdrObj(), SdrPaintView::GetSdrPageView(), tools::Rectangle::getWidth(), Size::getWidth(), SdrEditView::InsertObjectAtView(), comphelper::LibreOfficeKit::isActive(), maCtlFavorites, SdrObject::MakeNameUnique(), mbInsertIntoPage, mnThemeId, mpDestModel, mppSdrObject, mrSdrView, Point, Size::setHeight(), SdrObject::SetLogicRect(), and Size::setWidth().
Definition at line 140 of file fontworkgallery.cxx.
References mbInsertIntoPage, and mpDestModel.
|
private |
Definition at line 57 of file fontworkgallery.hxx.
Referenced by fillFavorites(), FontWorkGalleryDialog(), and insertSelectedFontwork().
|
private |
Definition at line 55 of file fontworkgallery.hxx.
Referenced by fillFavorites(), and initFavorites().
|
private |
Definition at line 51 of file fontworkgallery.hxx.
Referenced by insertSelectedFontwork(), and SetSdrObjectRef().
|
private |
Definition at line 48 of file fontworkgallery.hxx.
Referenced by fillFavorites(), and insertSelectedFontwork().
|
private |
Definition at line 53 of file fontworkgallery.hxx.
Referenced by insertSelectedFontwork(), and SetSdrObjectRef().
|
private |
Definition at line 52 of file fontworkgallery.hxx.
Referenced by insertSelectedFontwork().
|
private |
Definition at line 49 of file fontworkgallery.hxx.
Referenced by insertSelectedFontwork().
|
private |
Definition at line 58 of file fontworkgallery.hxx.
Referenced by FontWorkGalleryDialog().