LibreOffice Module sot (master) 1
Classes | Namespaces | Macros | Typedefs | Functions | Variables
ucbstorage.cxx File Reference
#include <com/sun/star/io/NotConnectedException.hpp>
#include <com/sun/star/io/BufferSizeExceededException.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <ucbhelper/content.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/ucb/NameClash.hpp>
#include <unotools/tempfile.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/ucb/InsertCommandArgument.hpp>
#include <com/sun/star/ucb/ResultSetException.hpp>
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/ucb/CommandAbortedException.hpp>
#include <com/sun/star/datatransfer/DataFlavor.hpp>
#include <com/sun/star/ucb/ContentInfo.hpp>
#include <com/sun/star/ucb/ContentInfoAttribute.hpp>
#include <com/sun/star/beans/Property.hpp>
#include <com/sun/star/packages/manifest/ManifestWriter.hpp>
#include <com/sun/star/packages/manifest/ManifestReader.hpp>
#include <com/sun/star/ucb/InteractiveIOException.hpp>
#include <com/sun/star/ucb/ContentCreationException.hpp>
#include <memory>
#include <optional>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <sal/log.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/ref.hxx>
#include <tools/debug.hxx>
#include <unotools/streamwrap.hxx>
#include <unotools/ucbhelper.hxx>
#include <tools/urlobj.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertyvalue.hxx>
#include <cppuhelper/implbase.hxx>
#include <ucbhelper/commandenvironment.hxx>
#include <sot/stg.hxx>
#include <sot/storinfo.hxx>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
#include <comphelper/classids.hxx>
#include <mutex>
#include <utility>
#include <vector>
Include dependency graph for ucbstorage.cxx:

Go to the source code of this file.

Classes

class  UCBStorageStream_Impl
 
class  UCBStorage_Impl
 
struct  UCBStorageElement_Impl
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::ucb
 

Macros

#define COMMIT_RESULT_FAILURE   0
 
#define COMMIT_RESULT_NOTHING_TO_DO   1
 
#define COMMIT_RESULT_SUCCESS   2
 

Typedefs

typedef ::cppu::WeakImplHelper< XInputStream, XSeekable > FileInputStreamWrapper_Base
 
typedef tools::SvRef< UCBStorageStream_ImplUCBStorageStream_ImplRef
 
typedef std::vector< std::unique_ptr< UCBStorageElement_Impl > > UCBStorageElementList_Impl
 
typedef tools::SvRef< UCBStorage_ImplUCBStorage_ImplRef
 

Functions

static SotClipboardFormatId GetFormatId_Impl (const SvGlobalName &aName)
 
static SvGlobalName GetClassId_Impl (SotClipboardFormatId nFormat)
 
static OUString Find_Impl (const Sequence< Sequence< PropertyValue > > &rSequence, std::u16string_view rPath)
 

Variables

static int nOpenFiles =0
 
static int nOpenStreams =0
 

Macro Definition Documentation

◆ COMMIT_RESULT_FAILURE

#define COMMIT_RESULT_FAILURE   0

Definition at line 302 of file ucbstorage.cxx.

◆ COMMIT_RESULT_NOTHING_TO_DO

#define COMMIT_RESULT_NOTHING_TO_DO   1

Definition at line 303 of file ucbstorage.cxx.

◆ COMMIT_RESULT_SUCCESS

#define COMMIT_RESULT_SUCCESS   2

Definition at line 304 of file ucbstorage.cxx.

Typedef Documentation

◆ FileInputStreamWrapper_Base

typedef ::cppu::WeakImplHelper< XInputStream, XSeekable > FileInputStreamWrapper_Base

Definition at line 86 of file ucbstorage.cxx.

◆ UCBStorage_ImplRef

Definition at line 524 of file ucbstorage.cxx.

◆ UCBStorageElementList_Impl

typedef std::vector<std::unique_ptr<UCBStorageElement_Impl> > UCBStorageElementList_Impl

Definition at line 450 of file ucbstorage.cxx.

◆ UCBStorageStream_ImplRef

Definition at line 447 of file ucbstorage.cxx.

Function Documentation

◆ Find_Impl()

static OUString Find_Impl ( const Sequence< Sequence< PropertyValue > > &  rSequence,
std::u16string_view  rPath 
)
static

Definition at line 1797 of file ucbstorage.cxx.

Referenced by UCBStorage_Impl::SetProps().

◆ GetClassId_Impl()

static SvGlobalName GetClassId_Impl ( SotClipboardFormatId  nFormat)
static

◆ GetFormatId_Impl()

static SotClipboardFormatId GetFormatId_Impl ( const SvGlobalName aName)
static

Variable Documentation

◆ nOpenFiles

int nOpenFiles =0
static

◆ nOpenStreams

int nOpenStreams =0
static

Definition at line 83 of file ucbstorage.cxx.

Referenced by UCBStorage_Impl::Commit(), and UCBStorageStream_Impl::Free().