LibreOffice Module embedserv (master) 1
Macros | Functions | Variables
ed_ipersiststr.cxx File Reference
#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>
Include dependency graph for ed_ipersiststr.cxx:

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"
 

Macro Definition Documentation

◆ EXT_STREAM_LENGTH

#define EXT_STREAM_LENGTH   4

Definition at line 49 of file ed_ipersiststr.cxx.

Function Documentation

◆ copyXTempOutToIStream()

static HRESULT copyXTempOutToIStream ( uno::Reference< io::XOutputStream > const &  xTempOut,
IStream *  pStream 
)
static

Definition at line 116 of file ed_ipersiststr.cxx.

References aBuffer, hr, and nConstBufferSize.

Referenced by EmbedDocument_Impl::Save().

◆ createTempXInStreamFromIStream()

static uno::Reference< io::XInputStream > createTempXInStreamFromIStream ( uno::Reference< lang::XMultiServiceFactory > const &  xFactory,
IStream *  pStream 
)
static

◆ STDMETHODIMP_()

COM_DECLSPEC_NOTHROW STDMETHODIMP_ ( ULONG  )

Definition at line 338 of file ed_ipersiststr.cxx.

References EmbedDocument_Impl::m_refCount.

Variable Documentation

◆ aExtentStreamName

const wchar_t aExtentStreamName[] = L"properties_stream"

◆ aOfficeEmbedStreamName

const wchar_t aOfficeEmbedStreamName[] = L"package_stream"