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

#include <insdlg.hxx>

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

Public Member Functions

 SvInsertOleDlg (weld::Window *pParent, const css::uno::Reference< css::embed::XStorage > &xStorage, const SvObjectServerList *pServers)
 
virtual short run () override
 
css::uno::Reference< css::io::XInputStream > GetIconIfIconified (OUString *pGraphicMediaType) override
 get replacement for the iconified embedded object and the mediatype of the replacement More...
 
- Public Member Functions inherited from InsertObjectDialog_Impl
const css::uno::Reference< css::embed::XEmbeddedObject > & GetObject () const
 
void SetHelpId (const OString &rHelpId)
 
- 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
 
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

 DECL_LINK (DoubleClickHdl, weld::TreeView &, void)
 
 DECL_LINK (BrowseHdl, weld::Button &, void)
 
 DECL_LINK (RadioHdl, weld::Button &, void)
 
bool IsCreateNew () const override
 

Private Attributes

const SvObjectServerListm_pServers
 
css::uno::Sequence< sal_Int8m_aIconMetaFile
 
OUString m_aIconMediaType
 
std::unique_ptr< weld::RadioButtonm_xRbNewObject
 
std::unique_ptr< weld::RadioButtonm_xRbObjectFromfile
 
std::unique_ptr< weld::Framem_xObjectTypeFrame
 
std::unique_ptr< weld::TreeViewm_xLbObjecttype
 
std::unique_ptr< weld::Framem_xFileFrame
 
std::unique_ptr< weld::Entrym_xEdFilepath
 
std::unique_ptr< weld::Buttonm_xBtnFilepath
 
std::unique_ptr< weld::CheckButtonm_xCbFilelink
 
std::unique_ptr< weld::CheckButtonm_xCbAsIcon
 

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 Member Functions inherited from InsertObjectDialog_Impl
 InsertObjectDialog_Impl (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const css::uno::Reference< css::embed::XStorage > &xStorage)
 
- Protected Attributes inherited from InsertObjectDialog_Impl
css::uno::Reference< css::embed::XEmbeddedObject > m_xObj
 
const css::uno::Reference< css::embed::XStorage > m_xStorage
 
comphelper::EmbeddedObjectContainer aCnt
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 49 of file insdlg.hxx.

Constructor & Destructor Documentation

SvInsertOleDlg::SvInsertOleDlg ( weld::Window pParent,
const css::uno::Reference< css::embed::XStorage > &  xStorage,
const SvObjectServerList pServers 
)

Definition at line 121 of file insdlg.cxx.

References LINK, m_xBtnFilepath, m_xLbObjecttype, m_xRbNewObject, and m_xRbObjectFromfile.

Member Function Documentation

SvInsertOleDlg::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
void   
)
private
SvInsertOleDlg::DECL_LINK ( BrowseHdl  ,
weld::Button ,
void   
)
private
SvInsertOleDlg::DECL_LINK ( RadioHdl  ,
weld::Button ,
void   
)
private
uno::Reference< io::XInputStream > SvInsertOleDlg::GetIconIfIconified ( OUString *  pGraphicMediaType)
overridevirtual

get replacement for the iconified embedded object and the mediatype of the replacement

Reimplemented from InsertObjectDialog_Impl.

Definition at line 311 of file insdlg.cxx.

References m_aIconMediaType, and m_aIconMetaFile.

bool SvInsertOleDlg::IsCreateNew ( ) const
inlineoverrideprivatevirtual

Reimplemented from InsertObjectDialog_Impl.

Definition at line 69 of file insdlg.hxx.

Referenced by run().

short SvInsertOleDlg::run ( )
overridevirtual

Member Data Documentation

OUString SvInsertOleDlg::m_aIconMediaType
private

Definition at line 54 of file insdlg.hxx.

Referenced by GetIconIfIconified(), and run().

css::uno::Sequence< sal_Int8 > SvInsertOleDlg::m_aIconMetaFile
private

Definition at line 53 of file insdlg.hxx.

Referenced by GetIconIfIconified(), and run().

const SvObjectServerList* SvInsertOleDlg::m_pServers
private

Definition at line 51 of file insdlg.hxx.

Referenced by run().

std::unique_ptr<weld::Button> SvInsertOleDlg::m_xBtnFilepath
private

Definition at line 62 of file insdlg.hxx.

Referenced by SvInsertOleDlg().

std::unique_ptr<weld::CheckButton> SvInsertOleDlg::m_xCbAsIcon
private

Definition at line 64 of file insdlg.hxx.

Referenced by run().

std::unique_ptr<weld::CheckButton> SvInsertOleDlg::m_xCbFilelink
private

Definition at line 63 of file insdlg.hxx.

Referenced by run().

std::unique_ptr<weld::Entry> SvInsertOleDlg::m_xEdFilepath
private

Definition at line 61 of file insdlg.hxx.

Referenced by run().

std::unique_ptr<weld::Frame> SvInsertOleDlg::m_xFileFrame
private

Definition at line 60 of file insdlg.hxx.

std::unique_ptr<weld::TreeView> SvInsertOleDlg::m_xLbObjecttype
private

Definition at line 59 of file insdlg.hxx.

Referenced by run(), and SvInsertOleDlg().

std::unique_ptr<weld::Frame> SvInsertOleDlg::m_xObjectTypeFrame
private

Definition at line 58 of file insdlg.hxx.

std::unique_ptr<weld::RadioButton> SvInsertOleDlg::m_xRbNewObject
private

Definition at line 56 of file insdlg.hxx.

Referenced by SvInsertOleDlg().

std::unique_ptr<weld::RadioButton> SvInsertOleDlg::m_xRbObjectFromfile
private

Definition at line 57 of file insdlg.hxx.

Referenced by SvInsertOleDlg().


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