21#include <com/sun/star/uno/Reference.h>
22#include <com/sun/star/embed/XEmbeddedObject.hpp>
23#include <com/sun/star/embed/XStorage.hpp>
34 css::uno::Reference < css::embed::XEmbeddedObject >
m_xObj;
35 const css::uno::Reference < css::embed::XStorage >
m_xStorage;
39 const OUString& rUIXMLDescription,
const OUString& rID,
40 css::uno::Reference < css::embed::XStorage > xStorage);
42 const css::uno::Reference<css::embed::XEmbeddedObject>&
GetObject()
const {
return m_xObj; }
43 virtual css::uno::Reference<css::io::XInputStream>
GetIconIfIconified(OUString* pGraphicMediaType);
72 const css::uno::Reference < css::embed::XStorage >& xStorage,
74 virtual short run()
override;
77 css::uno::Reference< css::io::XInputStream >
GetIconIfIconified( OUString* pGraphicMediaType )
override;
108 const css::uno::Reference<css::embed::XStorage>& xStorage);
110 const css::uno::Reference<css::embed::XEmbeddedObject>& xObj);
111 virtual short run()
override;
void SetHelpId(const OUString &rHelpId)
virtual bool IsCreateNew() const
css::uno::Reference< css::embed::XEmbeddedObject > m_xObj
const css::uno::Reference< css::embed::XStorage > m_xStorage
const css::uno::Reference< css::embed::XEmbeddedObject > & GetObject() const
comphelper::EmbeddedObjectContainer aCnt
InsertObjectDialog_Impl(weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, css::uno::Reference< css::embed::XStorage > xStorage)
virtual css::uno::Reference< css::io::XInputStream > GetIconIfIconified(OUString *pGraphicMediaType)
std::unique_ptr< weld::Entry > m_xEdFilepath
std::unique_ptr< weld::RadioButton > m_xRbNewObject
bool IsCreateNew() const override
DECL_LINK(BrowseHdl, weld::Button &, void)
std::unique_ptr< weld::Frame > m_xObjectTypeFrame
std::unique_ptr< weld::Button > m_xBtnFilepath
const SvObjectServerList * m_pServers
std::unique_ptr< weld::CheckButton > m_xCbAsIcon
std::unique_ptr< weld::Frame > m_xFileFrame
DECL_LINK(DoubleClickHdl, weld::TreeView &, bool)
virtual short run() override
std::unique_ptr< weld::RadioButton > m_xRbObjectFromfile
std::unique_ptr< weld::CheckButton > m_xCbFilelink
DECL_LINK(RadioHdl, weld::Toggleable &, void)
std::unique_ptr< weld::TreeView > m_xLbObjecttype
SvInsertOleDlg(weld::Window *pParent, const css::uno::Reference< css::embed::XStorage > &xStorage, const SvObjectServerList *pServers)
css::uno::Reference< css::io::XInputStream > GetIconIfIconified(OUString *pGraphicMediaType) override
get replacement for the iconified embedded object and the mediatype of the replacement
css::uno::Sequence< sal_Int8 > m_aIconMetaFile
OUString m_aIconMediaType
std::shared_ptr< weld::Dialog > m_xDialog