LibreOffice Module embeddedobj (master) 1
|
#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>
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) |
OUString GetNewFilledTempFile_Impl | ( | const uno::Reference< io::XInputStream > & | xInStream, |
const uno::Reference< uno::XComponentContext > & | xContext | ||
) |
Definition at line 110 of file olepersist.cxx.
References comphelper::OStorageHelper::CopyInputToOutput(), GetNewTempFileURL_Impl(), and KillFile_Impl().
Referenced by OwnView_Impl::OwnView_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().
bool KillFile_Impl | ( | const OUString & | aURL, |
const uno::Reference< uno::XComponentContext > & | xContext | ||
) |
Definition at line 62 of file olepersist.cxx.
References aURL.
Referenced by OleEmbeddedObject::breakLink(), OwnView_Impl::CreateNative(), GetNewFilledTempFile_Impl(), OleEmbeddedObject::TryToRetrieveCachedVisualRepresentation_Impl(), OleEmbeddedObject::~OleEmbeddedObject(), and OwnView_Impl::~OwnView_Impl().
|
static |
Definition at line 195 of file olepersist.cxx.
References xStream.
Referenced by OleEmbeddedObject::storeOwn(), and OleEmbeddedObject::StoreToLocation_Impl().