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 () |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 |
SdrView & | mrSdrView |
bool | mbInsertIntoPage |
rtl::Reference< SdrObject > | mxSdrObject |
SdrModel * | mpDestModel |
std::vector< VclPtr< VirtualDevice > > | maFavoritesHorizontal |
std::map< OUString, OUString > | maIdToTitleMap |
std::unique_ptr< weld::IconView > | maCtlFavorites |
std::unique_ptr< weld::Button > | mxOKButton |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 47 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 |
|
private |
Definition at line 122 of file fontworkgallery.cxx.
References GalleryExplorer::FillObjListTitle(), maCtlFavorites, maFavoritesHorizontal, maIdToTitleMap, mnThemeId, and sId.
Referenced by FontWorkGalleryDialog().
|
inline |
Definition at line 77 of file fontworkgallery.hxx.
|
private |
Definition at line 80 of file fontworkgallery.cxx.
References GalleryExplorer::BeginLocking(), COL_WHITE(), VclPtr< class reference_type >::Create(), GalleryExplorer::EndLocking(), GalleryExplorer::GetSdrObj(), GalleryExplorer::GetSdrObjCount(), BitmapEx::GetSizePixel(), BitmapEx::IsEmpty(), maFavoritesHorizontal, and BitmapEx::Scale().
Referenced by FontWorkGalleryDialog().
|
private |
Definition at line 152 of file fontworkgallery.cxx.
References Point::AdjustX(), Point::AdjustY(), tools::Rectangle::Center(), SdrObject::CloneSdrObject(), convertTwipToMm100(), SfxViewShell::Current(), SfxItemPool::FreezeIdRanges(), SdrPaintView::GetFirstOutputDevice(), Size::getHeight(), SdrModel::GetItemPool(), SfxViewShell::getLOKVisibleArea(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), tools::Rectangle::getOpenWidth(), OutputDevice::GetOutputSizePixel(), SdrModel::GetPage(), SdrPaintView::getSdrModelFromSdrView(), GalleryExplorer::GetSdrObj(), SdrPaintView::GetSdrPageView(), tools::Rectangle::GetSize(), Size::getWidth(), Point::getX(), Point::getY(), SdrEditView::InsertObjectAtView(), comphelper::LibreOfficeKit::isActive(), maCtlFavorites, mbInsertIntoPage, mnThemeId, mpDestModel, mrSdrView, mxSdrObject, OutputDevice::PixelToLogic(), Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), Point::X(), and Point::Y().
void svx::FontWorkGalleryDialog::SetSdrObjectRef | ( | SdrModel * | pModel | ) |
Definition at line 146 of file fontworkgallery.cxx.
References mbInsertIntoPage, and mpDestModel.
|
private |
Definition at line 60 of file fontworkgallery.hxx.
Referenced by fillFavorites(), FontWorkGalleryDialog(), and insertSelectedFontwork().
|
private |
Definition at line 56 of file fontworkgallery.hxx.
Referenced by fillFavorites(), and initFavorites().
|
private |
Definition at line 58 of file fontworkgallery.hxx.
Referenced by fillFavorites().
|
private |
Definition at line 52 of file fontworkgallery.hxx.
Referenced by insertSelectedFontwork(), and SetSdrObjectRef().
|
private |
Definition at line 49 of file fontworkgallery.hxx.
Referenced by fillFavorites(), and insertSelectedFontwork().
|
private |
Definition at line 54 of file fontworkgallery.hxx.
Referenced by insertSelectedFontwork(), and SetSdrObjectRef().
|
private |
Definition at line 50 of file fontworkgallery.hxx.
Referenced by insertSelectedFontwork().
|
private |
Definition at line 61 of file fontworkgallery.hxx.
Referenced by FontWorkGalleryDialog().
|
private |
Definition at line 53 of file fontworkgallery.hxx.
Referenced by insertSelectedFontwork().