20#ifndef INCLUDED_OOX_OLE_OLEOBJECTHELPER_HXX
21#define INCLUDED_OOX_OLE_OLEOBJECTHELPER_HXX
23#include <com/sun/star/uno/Reference.hxx>
26#include <rtl/ustring.hxx>
30 namespace awt {
struct Size; }
31 namespace document {
class XEmbeddedObjectResolver; }
32 namespace frame {
class XModel; }
33 namespace lang {
class XMultiServiceFactory; }
61 const css::uno::Reference<css::lang::XMultiServiceFactory>& rxModelFactory,
62 css::uno::Reference<css::frame::XModel>
xModel);
68 const css::awt::Size& rObjSize );
71 css::uno::Reference<css::frame::XModel>
m_xModel;
72 css::uno::Reference< css::document::XEmbeddedObjectResolver >
mxResolver;
78 css::uno::Reference<css::frame::XModel>
const& xModel,
79 OUString
const& rObjectName, OUString
const* pOldObjectName,
80 OUString
const& rProgId);
A helper that maps property identifiers to property values.
Helper for OLE object handling.
css::uno::Reference< css::frame::XModel > m_xModel
bool importOleObject(PropertyMap &rPropMap, const OleObjectInfo &rOleObject, const css::awt::Size &rObjSize)
OleObjectHelper(const css::uno::Reference< css::lang::XMultiServiceFactory > &rxModelFactory, css::uno::Reference< css::frame::XModel > xModel)
css::uno::Reference< css::document::XEmbeddedObjectResolver > mxResolver
void SaveInteropProperties(uno::Reference< frame::XModel > const &xModel, OUString const &rObjectName, OUString const *const pOldObjectName, OUString const &rProgId)
css::uno::Sequence< sal_Int8 > StreamDataSequence
std::map< sal_Int32, STLPropertyMapEntry > PropertyMap
Contains generic information about an OLE object.
StreamDataSequence maEmbeddedData
Data of an embedded OLE object.
OUString maTargetLink
Path to external data for linked OLE object.
bool mbShowAsIcon
True = show as icon, false = show contents.
bool mbLinked
True = linked OLE object, false = embedded OLE object.
bool mbHasPicture
Ole object requires a picture element according to spec.>
Reference< XModel > xModel