20#ifndef INCLUDED_SVX_XMLEOHLP_HXX
21#define INCLUDED_SVX_XMLEOHLP_HXX
24#include <com/sun/star/document/XEmbeddedObjectResolver.hpp>
25#include <com/sun/star/container/XNameAccess.hpp>
26#include <com/sun/star/embed/XEmbeddedObject.hpp>
27#include <com/sun/star/embed/XStorage.hpp>
57 std::optional<std::map< OUString, rtl::Reference<OutputStorageWrapper_Impl> >>
61 const OUString& rURLStr,
62 OUString& rContainerStorageName,
63 OUString& rObjectStorageName,
64 bool bInternalToExternal,
65 bool *pGraphicRepl=
nullptr,
66 bool *pOasisFormat=
nullptr )
const;
68 SVX_DLLPRIVATE css::uno::Reference < css::embed::XStorage >
const & ImplGetContainerStorage(
69 const OUString& rStorageName );
72 const OUString& rContainerStorageName,
78 const OUString& rURLStr );
80 SVX_DLLPRIVATE css::uno::Reference< css::io::XInputStream > ImplGetReplacementImage(
81 const css::uno::Reference< css::embed::XEmbeddedObject >& xObj );
85 void Init(
const css::uno::Reference < css::embed::XStorage >&,
89 virtual void disposing(std::unique_lock<std::mutex>&)
override;
97 const css::uno::Reference < css::embed::XStorage >&,
105 virtual OUString SAL_CALL resolveEmbeddedObjectURL(
const OUString& aURL )
override;
108 virtual css::uno::Any SAL_CALL getByName(
const OUString& aName )
override;
109 virtual css::uno::Sequence< OUString > SAL_CALL getElementNames( )
override;
110 virtual sal_Bool SAL_CALL hasByName(
const OUString& aName )
override;
113 virtual css::uno::Type SAL_CALL getElementType( )
override;
114 virtual sal_Bool SAL_CALL hasElements( )
override;
117 static void splitObjectURL(
const OUString& aURLNoPar,
118 OUString& rContainerStorageName,
119 OUString& rObjectStorageName);
OUString maCurContainerStorageName
static rtl::Reference< SvXMLEmbeddedObjectHelper > Create(const css::uno::Reference< css::embed::XStorage > &, ::comphelper::IEmbeddedHelper &rDocPersist, SvXMLEmbeddedObjectHelperMode eCreateMode)
css::uno::Reference< css::embed::XStorage > mxRootStorage
::comphelper::IEmbeddedHelper * mpDocPersist
std::optional< std::map< OUString, rtl::Reference< OutputStorageWrapper_Impl > > > mxStreamMap
css::uno::Reference< css::embed::XStorage > mxTempStorage
SvXMLEmbeddedObjectHelperMode meCreateMode
css::uno::Reference< css::embed::XStorage > mxContainerStorage
virtual void disposing(std::unique_lock< std::mutex > &)
class SvxPropertySetInfoPool
#define SVXCORE_DLLPUBLIC
SvXMLEmbeddedObjectHelperMode