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
 
virtual css::uno::Reference< css::io::XInputStream > GetIconIfIconified (OUString *pGraphicMediaType)
 
void SetHelpId (const OUString &rHelpId)
 
virtual bool IsCreateNew () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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

 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (BrowseHdl, weld::Button &, void)
 
 DECL_LINK (RadioHdl, weld::Toggleable &, 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 OUString &rID, 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 48 of file insdlg.hxx.

Constructor & Destructor Documentation

◆ SvInsertOleDlg()

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

Definition at line 130 of file insdlg.cxx.

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

Member Function Documentation

◆ DECL_LINK() [1/3]

SvInsertOleDlg::DECL_LINK ( BrowseHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/3]

SvInsertOleDlg::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [3/3]

SvInsertOleDlg::DECL_LINK ( RadioHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetIconIfIconified()

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 362 of file insdlg.cxx.

References m_aIconMediaType, and m_aIconMetaFile.

◆ IsCreateNew()

bool SvInsertOleDlg::IsCreateNew ( ) const
inlineoverrideprivatevirtual

Reimplemented from InsertObjectDialog_Impl.

Definition at line 68 of file insdlg.hxx.

References m_xRbNewObject.

Referenced by run().

◆ run()

short SvInsertOleDlg::run ( )
overridevirtual

Member Data Documentation

◆ m_aIconMediaType

OUString SvInsertOleDlg::m_aIconMediaType
private

Definition at line 53 of file insdlg.hxx.

Referenced by GetIconIfIconified(), and run().

◆ m_aIconMetaFile

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

Definition at line 52 of file insdlg.hxx.

Referenced by GetIconIfIconified(), and run().

◆ m_pServers

const SvObjectServerList* SvInsertOleDlg::m_pServers
private

Definition at line 50 of file insdlg.hxx.

Referenced by run().

◆ m_xBtnFilepath

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

Definition at line 61 of file insdlg.hxx.

Referenced by SvInsertOleDlg().

◆ m_xCbAsIcon

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

Definition at line 63 of file insdlg.hxx.

Referenced by run().

◆ m_xCbFilelink

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

Definition at line 62 of file insdlg.hxx.

Referenced by run().

◆ m_xEdFilepath

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

Definition at line 60 of file insdlg.hxx.

Referenced by run().

◆ m_xFileFrame

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

Definition at line 59 of file insdlg.hxx.

◆ m_xLbObjecttype

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

Definition at line 58 of file insdlg.hxx.

Referenced by run(), and SvInsertOleDlg().

◆ m_xObjectTypeFrame

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

Definition at line 57 of file insdlg.hxx.

◆ m_xRbNewObject

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

Definition at line 55 of file insdlg.hxx.

Referenced by IsCreateNew(), and SvInsertOleDlg().

◆ m_xRbObjectFromfile

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

Definition at line 56 of file insdlg.hxx.

Referenced by SvInsertOleDlg().


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