|
LibreOffice Module cui (master) 1
|
#include <cfg.hxx>
Public Member Functions | |
| SvxIconSelectorDialog (weld::Window *pWindow, css::uno::Reference< css::ui::XImageManager > xImageManager, css::uno::Reference< css::ui::XImageManager > xParentImageManager) | |
| virtual | ~SvxIconSelectorDialog () override |
| css::uno::Reference< css::graphic::XGraphic > | GetSelectedIcon () |
| DECL_LINK (SelectHdl, ValueSet *, void) | |
| DECL_LINK (ImportHdl, weld::Button &, void) | |
| DECL_LINK (DeleteHdl, weld::Button &, void) | |
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 | |
| bool | ReplaceGraphicItem (const OUString &aURL) |
| bool | ImportGraphic (const OUString &aURL) |
| void | ImportGraphics (const css::uno::Sequence< OUString > &aURLs) |
Private Attributes | |
| sal_Int32 | m_nExpectedSize |
| css::uno::Reference< css::ui::XImageManager > | m_xImageManager |
| css::uno::Reference< css::ui::XImageManager > | m_xParentImageManager |
| css::uno::Reference< css::ui::XImageManager > | m_xImportedImageManager |
| css::uno::Reference< css::graphic::XGraphicProvider > | m_xGraphProvider |
| std::vector< css::uno::Reference< css::graphic::XGraphic > > | m_aGraphics |
| std::unique_ptr< ValueSet > | m_xTbSymbol |
| std::unique_ptr< weld::CustomWeld > | m_xTbSymbolWin |
| std::unique_ptr< weld::Label > | m_xFtNote |
| std::unique_ptr< weld::Button > | m_xBtnImport |
| std::unique_ptr< weld::Button > | m_xBtnDelete |
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 |
| SvxIconSelectorDialog::SvxIconSelectorDialog | ( | weld::Window * | pWindow, |
| css::uno::Reference< css::ui::XImageManager > | xImageManager, | ||
| css::uno::Reference< css::ui::XImageManager > | xParentImageManager | ||
| ) |
Definition at line 2711 of file cfg.cxx.
References Image::GetBitmapEx(), SvxConfigPageHelper::GetImageType(), Size::Height(), i, comphelper::InitAnyPropertySequence(), BitmapEx::IsEmpty(), LINK, m_aGraphics, m_nExpectedSize, m_xBtnDelete, m_xBtnImport, m_xFtNote, m_xGraphProvider, m_xImageManager, m_xImportedImageManager, m_xParentImageManager, m_xTbSymbol, name, SvxConfigPageHelper::replaceSixteen(), WB_ITEMBORDER, WB_VSCROLL, and Size::Width().
|
overridevirtual |
| SvxIconSelectorDialog::DECL_LINK | ( | DeleteHdl | , |
| weld::Button & | , | ||
| void | |||
| ) |
| SvxIconSelectorDialog::DECL_LINK | ( | ImportHdl | , |
| weld::Button & | , | ||
| void | |||
| ) |
| SvxIconSelectorDialog::DECL_LINK | ( | SelectHdl | , |
| ValueSet * | , | ||
| void | |||
| ) |
| uno::Reference< graphic::XGraphic > SvxIconSelectorDialog::GetSelectedIcon | ( | ) |
Definition at line 2871 of file cfg.cxx.
References m_aGraphics, m_xTbSymbol, nId, and result.
Referenced by IMPL_LINK().
|
private |
Definition at line 3159 of file cfg.cxx.
References a, aURL, BitmapEx::AutoScaleBitmap(), Image::GetBitmapEx(), SvxConfigPageHelper::GetImageType(), Graphic::GetXGraphic(), m_aGraphics, m_nExpectedSize, m_xGraphProvider, m_xImportedImageManager, m_xTbSymbol, comphelper::makePropertyValue(), props, result, SAL_WARN, and TOOLS_WARN_EXCEPTION.
Referenced by ImportGraphics().
|
private |
Definition at line 3060 of file cfg.cxx.
References aIndex, SvxConfigPageHelper::GetImageType(), getLength(), i, ImportGraphic(), weld::GenericDialogController::m_xDialog, m_xImportedImageManager, ReplaceGraphicItem(), result, and weld::DialogController::run().
|
private |
Definition at line 2956 of file cfg.cxx.
References a, aURL, BitmapEx::AutoScaleBitmap(), Image::GetBitmapEx(), SvxConfigPageHelper::GetImageType(), Graphic::GetXGraphic(), m_aGraphics, m_nExpectedSize, m_xGraphProvider, m_xImportedImageManager, m_xTbSymbol, comphelper::makePropertyValue(), n, nCount, nId, nPos, and props.
Referenced by ImportGraphics().
|
private |
Definition at line 637 of file cfg.hxx.
Referenced by GetSelectedIcon(), ImportGraphic(), ReplaceGraphicItem(), and SvxIconSelectorDialog().
|
private |
Definition at line 623 of file cfg.hxx.
Referenced by ImportGraphic(), ReplaceGraphicItem(), and SvxIconSelectorDialog().
|
private |
Definition at line 643 of file cfg.hxx.
Referenced by SvxIconSelectorDialog().
|
private |
Definition at line 642 of file cfg.hxx.
Referenced by SvxIconSelectorDialog().
|
private |
Definition at line 641 of file cfg.hxx.
Referenced by SvxIconSelectorDialog().
|
private |
Definition at line 635 of file cfg.hxx.
Referenced by ImportGraphic(), ReplaceGraphicItem(), and SvxIconSelectorDialog().
|
private |
Definition at line 626 of file cfg.hxx.
Referenced by SvxIconSelectorDialog().
|
private |
Definition at line 632 of file cfg.hxx.
Referenced by ImportGraphic(), ImportGraphics(), ReplaceGraphicItem(), and SvxIconSelectorDialog().
|
private |
Definition at line 629 of file cfg.hxx.
Referenced by SvxIconSelectorDialog().
|
private |
Definition at line 639 of file cfg.hxx.
Referenced by GetSelectedIcon(), ImportGraphic(), ReplaceGraphicItem(), and SvxIconSelectorDialog().
|
private |