LibreOffice Module embedserv (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <embeddoc.hxx>
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/io/TempFile.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XLoadable.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <comphelper/processfactory.hxx>
#include <o3tl/char16_t2wchar_t.hxx>
#include <osl/mutex.hxx>
#include <osl/diagnose.h>
#include <sal/types.h>
#include "guid.hxx"
#include <string.h>
Go to the source code of this file.
Macros | |
#define | EXT_STREAM_LENGTH 4 |
Functions | |
static uno::Reference< io::XInputStream > | createTempXInStreamFromIStream (uno::Reference< lang::XMultiServiceFactory > const &xFactory, IStream *pStream) |
static HRESULT | copyXTempOutToIStream (uno::Reference< io::XOutputStream > const &xTempOut, IStream *pStream) |
COM_DECLSPEC_NOTHROW | STDMETHODIMP_ (ULONG) EmbedDocument_Impl |
Variables | |
const wchar_t | aOfficeEmbedStreamName [] = L"package_stream" |
const wchar_t | aExtentStreamName [] = L"properties_stream" |
#define EXT_STREAM_LENGTH 4 |
Definition at line 49 of file ed_ipersiststr.cxx.
|
static |
Definition at line 116 of file ed_ipersiststr.cxx.
References aBuffer, hr, and nConstBufferSize.
Referenced by EmbedDocument_Impl::Save().
|
static |
Definition at line 62 of file ed_ipersiststr.cxx.
References aBuffer, comphelper::getComponentContext(), hr, nConstBufferSize, and xFactory.
Referenced by EmbedDocument_Impl::Load().
COM_DECLSPEC_NOTHROW STDMETHODIMP_ | ( | ULONG | ) |
Definition at line 338 of file ed_ipersiststr.cxx.
References EmbedDocument_Impl::m_refCount.
const wchar_t aExtentStreamName[] = L"properties_stream" |
Definition at line 60 of file ed_ipersiststr.cxx.
Referenced by EmbedDocument_Impl::InitNew(), EmbedDocument_Impl::Load(), EmbedDocument_Impl::Save(), and EmbedDocument_Impl::SaveCompleted().
const wchar_t aOfficeEmbedStreamName[] = L"package_stream" |
Definition at line 59 of file ed_ipersiststr.cxx.
Referenced by EmbedDocument_Impl::InitNew(), EmbedDocument_Impl::Load(), EmbedDocument_Impl::Save(), and EmbedDocument_Impl::SaveCompleted().