LibreOffice Module cui (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxIconSelectorDialog Class Reference

#include <cfg.hxx>

Inheritance diagram for SvxIconSelectorDialog:
[legend]
Collaboration diagram for SvxIconSelectorDialog:
[legend]

Public Member Functions

 SvxIconSelectorDialog (weld::Window *pWindow, const css::uno::Reference< css::ui::XImageManager > &rXImageManager, const css::uno::Reference< css::ui::XImageManager > &rXParentImageManager)
 
virtual ~SvxIconSelectorDialog () override
 
css::uno::Reference< css::graphic::XGraphic > GetSelectedIcon ()
 
 DECL_LINK (SelectHdl, SvtValueSet *, 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 OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
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

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< SvtValueSetm_xTbSymbol
 
std::unique_ptr< weld::CustomWeldm_xTbSymbolWin
 
std::unique_ptr< weld::Labelm_xFtNote
 
std::unique_ptr< weld::Buttonm_xBtnImport
 
std::unique_ptr< weld::Buttonm_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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 599 of file cfg.hxx.

Constructor & Destructor Documentation

SvxIconSelectorDialog::SvxIconSelectorDialog ( weld::Window pWindow,
const css::uno::Reference< css::ui::XImageManager > &  rXImageManager,
const css::uno::Reference< css::ui::XImageManager > &  rXParentImageManager 
)
SvxIconSelectorDialog::~SvxIconSelectorDialog ( )
overridevirtual

Definition at line 2815 of file cfg.cxx.

Member Function Documentation

SvxIconSelectorDialog::DECL_LINK ( SelectHdl  ,
SvtValueSet ,
void   
)
SvxIconSelectorDialog::DECL_LINK ( ImportHdl  ,
weld::Button ,
void   
)
SvxIconSelectorDialog::DECL_LINK ( DeleteHdl  ,
weld::Button ,
void   
)
uno::Reference< graphic::XGraphic > SvxIconSelectorDialog::GetSelectedIcon ( )

Definition at line 2819 of file cfg.cxx.

References m_aGraphics, m_xTbSymbol, nId, and result.

Referenced by IMPL_LINK().

bool SvxIconSelectorDialog::ImportGraphic ( const OUString &  aURL)
private
void SvxIconSelectorDialog::ImportGraphics ( const css::uno::Sequence< OUString > &  aURLs)
private
bool SvxIconSelectorDialog::ReplaceGraphicItem ( const OUString &  aURL)
private

Member Data Documentation

std::vector<css::uno::Reference<css::graphic::XGraphic> > SvxIconSelectorDialog::m_aGraphics
private

Definition at line 616 of file cfg.hxx.

Referenced by GetSelectedIcon(), ImportGraphic(), ReplaceGraphicItem(), and SvxIconSelectorDialog().

sal_Int32 SvxIconSelectorDialog::m_nExpectedSize
private

Definition at line 602 of file cfg.hxx.

Referenced by ImportGraphic(), ReplaceGraphicItem(), and SvxIconSelectorDialog().

std::unique_ptr<weld::Button> SvxIconSelectorDialog::m_xBtnDelete
private

Definition at line 622 of file cfg.hxx.

Referenced by SvxIconSelectorDialog().

std::unique_ptr<weld::Button> SvxIconSelectorDialog::m_xBtnImport
private

Definition at line 621 of file cfg.hxx.

Referenced by SvxIconSelectorDialog().

std::unique_ptr<weld::Label> SvxIconSelectorDialog::m_xFtNote
private

Definition at line 620 of file cfg.hxx.

Referenced by SvxIconSelectorDialog().

css::uno::Reference< css::graphic::XGraphicProvider > SvxIconSelectorDialog::m_xGraphProvider
private

Definition at line 614 of file cfg.hxx.

Referenced by ImportGraphic(), ReplaceGraphicItem(), and SvxIconSelectorDialog().

css::uno::Reference< css::ui::XImageManager > SvxIconSelectorDialog::m_xImageManager
private

Definition at line 605 of file cfg.hxx.

Referenced by SvxIconSelectorDialog().

css::uno::Reference< css::ui::XImageManager > SvxIconSelectorDialog::m_xImportedImageManager
private

Definition at line 611 of file cfg.hxx.

Referenced by ImportGraphic(), ImportGraphics(), ReplaceGraphicItem(), and SvxIconSelectorDialog().

css::uno::Reference< css::ui::XImageManager > SvxIconSelectorDialog::m_xParentImageManager
private

Definition at line 608 of file cfg.hxx.

Referenced by SvxIconSelectorDialog().

std::unique_ptr<SvtValueSet> SvxIconSelectorDialog::m_xTbSymbol
private

Definition at line 618 of file cfg.hxx.

Referenced by GetSelectedIcon(), ImportGraphic(), ReplaceGraphicItem(), and SvxIconSelectorDialog().

std::unique_ptr<weld::CustomWeld> SvxIconSelectorDialog::m_xTbSymbolWin
private

Definition at line 619 of file cfg.hxx.


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