LibreOffice Module embeddedobj (master) 1
Functions
olepersist.cxx File Reference
#include <oleembobj.hxx>
#include "olepersist.hxx"
#include <com/sun/star/embed/EmbedStates.hpp>
#include <com/sun/star/embed/EmbedVerbs.hpp>
#include <com/sun/star/embed/EntryInitModes.hpp>
#include <com/sun/star/embed/WrongStateException.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/EmbedUpdateModes.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/XOptimizedStorage.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/io/TempFile.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/io/XTruncate.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/packages/WrongPasswordException.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <com/sun/star/io/IOException.hpp>
#include <comphelper/storagehelper.hxx>
#include <comphelper/mimeconfighelper.hxx>
#include <comphelper/classids.hxx>
#include <osl/diagnose.h>
#include <osl/thread.hxx>
#include <rtl/ref.hxx>
#include <sal/log.hxx>
#include <closepreventer.hxx>
Include dependency graph for olepersist.cxx:

Go to the source code of this file.

Functions

bool KillFile_Impl (const OUString &aURL, const uno::Reference< uno::XComponentContext > &xContext)
 
OUString GetNewTempFileURL_Impl (const uno::Reference< uno::XComponentContext > &xContext)
 
OUString GetNewFilledTempFile_Impl (const uno::Reference< io::XInputStream > &xInStream, const uno::Reference< uno::XComponentContext > &xContext)
 
static void LetCommonStoragePassBeUsed_Impl (const uno::Reference< io::XStream > &xStream)
 

Function Documentation

◆ GetNewFilledTempFile_Impl()

OUString GetNewFilledTempFile_Impl ( const uno::Reference< io::XInputStream > &  xInStream,
const uno::Reference< uno::XComponentContext > &  xContext 
)

◆ GetNewTempFileURL_Impl()

OUString GetNewTempFileURL_Impl ( const uno::Reference< uno::XComponentContext > &  xContext)

Definition at line 85 of file olepersist.cxx.

References SAL_WARN_IF.

Referenced by OleComponent::CreateNewIStorage_Impl(), and GetNewFilledTempFile_Impl().

◆ KillFile_Impl()

bool KillFile_Impl ( const OUString &  aURL,
const uno::Reference< uno::XComponentContext > &  xContext 
)

◆ LetCommonStoragePassBeUsed_Impl()

static void LetCommonStoragePassBeUsed_Impl ( const uno::Reference< io::XStream > &  xStream)
static

Definition at line 195 of file olepersist.cxx.

References xStream.

Referenced by OleEmbeddedObject::storeOwn(), and OleEmbeddedObject::StoreToLocation_Impl().