LibreOffice Module package (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
OStorage Class Referencefinal

#include <xstorage.hxx>

Inheritance diagram for OStorage:
[legend]
Collaboration diagram for OStorage:
[legend]

Public Member Functions

 OStorage (css::uno::Reference< css::io::XInputStream > const &xInputStream, sal_Int32 nMode, const css::uno::Sequence< css::beans::PropertyValue > &xProperties, css::uno::Reference< css::uno::XComponentContext > const &xContext, sal_Int32 nStorageType)
 
 OStorage (css::uno::Reference< css::io::XStream > const &xStream, sal_Int32 nMode, const css::uno::Sequence< css::beans::PropertyValue > &xProperties, css::uno::Reference< css::uno::XComponentContext > const &xContext, sal_Int32 nStorageType)
 
 OStorage (OStorage_Impl *pImpl, bool bReadOnlyWrap)
 
virtual ~OStorage () override
 
void InternalDispose (bool bNotifyImpl)
 
void ChildIsDisposed (const css::uno::Reference< css::uno::XInterface > &xChild)
 
sal_Int32 GetRefCount_Impl () const
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual void SAL_CALL copyToStorage (const css::uno::Reference< css::embed::XStorage > &xDest) override
 
virtual css::uno::Reference< css::io::XStream > SAL_CALL openStreamElement (const OUString &aStreamName, sal_Int32 nOpenMode) override
 
virtual css::uno::Reference< css::io::XStream > SAL_CALL openEncryptedStreamElement (const OUString &aStreamName, sal_Int32 nOpenMode, const OUString &aPass) override
 
virtual css::uno::Reference< css::embed::XStorage > SAL_CALL openStorageElement (const OUString &aStorName, sal_Int32 nStorageMode) override
 
virtual css::uno::Reference< css::io::XStream > SAL_CALL cloneStreamElement (const OUString &aStreamName) override
 
virtual css::uno::Reference< css::io::XStream > SAL_CALL cloneEncryptedStreamElement (const OUString &aStreamName, const OUString &aPass) override
 
virtual void SAL_CALL copyLastCommitTo (const css::uno::Reference< css::embed::XStorage > &xTargetStorage) override
 
virtual void SAL_CALL copyStorageElementLastCommitTo (const OUString &aStorName, const css::uno::Reference< css::embed::XStorage > &xTargetStorage) override
 
virtual sal_Bool SAL_CALL isStreamElement (const OUString &aElementName) override
 
virtual sal_Bool SAL_CALL isStorageElement (const OUString &aElementName) override
 
virtual void SAL_CALL removeElement (const OUString &aElementName) override
 
virtual void SAL_CALL renameElement (const OUString &rEleName, const OUString &rNewName) override
 
virtual void SAL_CALL copyElementTo (const OUString &aElementName, const css::uno::Reference< css::embed::XStorage > &xDest, const OUString &aNewName) override
 
virtual void SAL_CALL moveElementTo (const OUString &aElementName, const css::uno::Reference< css::embed::XStorage > &xDest, const OUString &rNewName) override
 
virtual css::uno::Reference< css::io::XStream > SAL_CALL openEncryptedStream (const OUString &sStreamName, ::sal_Int32 nOpenMode, const css::uno::Sequence< css::beans::NamedValue > &aEncryptionData) override
 
virtual css::uno::Reference< css::io::XStream > SAL_CALL cloneEncryptedStream (const OUString &sStreamName, const css::uno::Sequence< css::beans::NamedValue > &aEncryptionData) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getPlainRawStreamElement (const OUString &sStreamName) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getRawEncrStreamElement (const OUString &sStreamName) override
 
virtual void SAL_CALL insertRawEncrStreamElement (const OUString &aStreamName, const css::uno::Reference< css::io::XInputStream > &xInStream) override
 
virtual void SAL_CALL commit () override
 
virtual void SAL_CALL revert () override
 
virtual void SAL_CALL addTransactionListener (const css::uno::Reference< css::embed::XTransactionListener > &aListener) override
 
virtual void SAL_CALL removeTransactionListener (const css::uno::Reference< css::embed::XTransactionListener > &aListener) override
 
virtual sal_Bool SAL_CALL isModified () override
 
virtual void SAL_CALL setModified (sal_Bool bModified) override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL setEncryptionPassword (const OUString &aPass) override
 
virtual void SAL_CALL removeEncryption () override
 
virtual void SAL_CALL setEncryptionData (const css::uno::Sequence< css::beans::NamedValue > &aEncryptionData) override
 
virtual sal_Bool SAL_CALL hasEncryptionData () override
 
virtual void SAL_CALL setEncryptionAlgorithms (const css::uno::Sequence< css::beans::NamedValue > &aAlgorithms) override
 
virtual void SAL_CALL setGpgProperties (const css::uno::Sequence< css::uno::Sequence< css::beans::NamedValue > > &aCryptProps) override
 
virtual css::uno::Sequence< css::beans::NamedValue > SAL_CALL getEncryptionAlgorithms () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL insertRawNonEncrStreamElementDirect (const OUString &sStreamName, const css::uno::Reference< css::io::XInputStream > &xInStream) override
 
virtual void SAL_CALL insertStreamElementDirect (const OUString &sStreamName, const css::uno::Reference< css::io::XInputStream > &xInStream, const css::uno::Sequence< css::beans::PropertyValue > &aProps) override
 
virtual void SAL_CALL copyElementDirectlyTo (const OUString &sSourceName, const css::uno::Reference< css::embed::XOptimizedStorage > &xTargetStorage, const OUString &sTargetName) override
 
virtual void SAL_CALL writeAndAttachToStream (const css::uno::Reference< css::io::XStream > &xStream) override
 
virtual void SAL_CALL attachToURL (const OUString &sURL, sal_Bool bReadOnly) override
 
virtual css::uno::Any SAL_CALL getElementPropertyValue (const OUString &sElementName, const OUString &sPropertyName) override
 
virtual void SAL_CALL copyStreamElementData (const OUString &sStreamName, const css::uno::Reference< css::io::XStream > &xTargetStream) override
 
virtual sal_Bool SAL_CALL hasByID (const OUString &sID) override
 
virtual OUString SAL_CALL getTargetByID (const OUString &sID) override
 
virtual OUString SAL_CALL getTypeByID (const OUString &sID) override
 
virtual css::uno::Sequence< css::beans::StringPair > SAL_CALL getRelationshipByID (const OUString &sID) override
 
virtual css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > SAL_CALL getRelationshipsByType (const OUString &sType) override
 
virtual css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > SAL_CALL getAllRelationships () override
 
virtual void SAL_CALL insertRelationshipByID (const OUString &sID, const css::uno::Sequence< css::beans::StringPair > &aEntry, sal_Bool bReplace) override
 
virtual void SAL_CALL removeRelationshipByID (const OUString &sID) override
 
virtual void SAL_CALL insertRelationships (const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > &aEntries, sal_Bool bReplace) override
 
virtual void SAL_CALL clearRelationships () override
 
virtual css::uno::Reference< css::embed::XExtendedStorageStream > SAL_CALL openStreamElementByHierarchicalName (const OUString &sStreamPath, ::sal_Int32 nOpenMode) override
 
virtual css::uno::Reference< css::embed::XExtendedStorageStream > SAL_CALL openEncryptedStreamElementByHierarchicalName (const OUString &sStreamName, ::sal_Int32 nOpenMode, const OUString &sPassword) override
 
virtual void SAL_CALL removeStreamElementByHierarchicalName (const OUString &sElementPath) override
 
virtual css::uno::Reference< css::embed::XExtendedStorageStream > SAL_CALL openEncryptedStreamByHierarchicalName (const OUString &sStreamName, ::sal_Int32 nOpenMode, const css::uno::Sequence< css::beans::NamedValue > &aEncryptionData) override
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Private Member Functions

SotElement_ImplOpenStreamElement_Impl (const OUString &aStreamName, sal_Int32 nOpenMode, bool bEncr)
 
void BroadcastModifiedIfNecessary ()
 
void BroadcastTransaction (sal_Int8 nMessage)
 
void MakeLinkToSubComponent_Impl (const css::uno::Reference< css::lang::XComponent > &xComponent)
 

Private Attributes

OStorage_Implm_pImpl
 
rtl::Reference< comphelper::RefCountedMutexm_xSharedMutex
 
comphelper::OMultiTypeInterfaceContainerHelper2 m_aListenersContainer
 
::std::optional< ::cppu::OTypeCollectionm_oTypeCollection
 
bool m_bReadOnlyWrap
 
::rtl::Reference< OChildDispListener_Implm_pSubElDispListener
 
::std::vector< css::uno::WeakReference< css::lang::XComponent > > m_aOpenSubComponentsVector
 
::rtl::Reference< OHierarchyHolder_Implm_rHierarchyHolder
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 268 of file xstorage.hxx.

Constructor & Destructor Documentation

◆ OStorage() [1/3]

OStorage::OStorage ( css::uno::Reference< css::io::XInputStream > const &  xInputStream,
sal_Int32  nMode,
const css::uno::Sequence< css::beans::PropertyValue > &  xProperties,
css::uno::Reference< css::uno::XComponentContext > const &  xContext,
sal_Int32  nStorageType 
)

Referenced by openStorageElement().

◆ OStorage() [2/3]

OStorage::OStorage ( css::uno::Reference< css::io::XStream > const &  xStream,
sal_Int32  nMode,
const css::uno::Sequence< css::beans::PropertyValue > &  xProperties,
css::uno::Reference< css::uno::XComponentContext > const &  xContext,
sal_Int32  nStorageType 
)

◆ OStorage() [3/3]

OStorage::OStorage ( OStorage_Impl pImpl,
bool  bReadOnlyWrap 
)

◆ ~OStorage()

OStorage::~OStorage ( )
overridevirtual

Member Function Documentation

◆ acquire()

void SAL_CALL OStorage::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 2071 of file xstorage.cxx.

◆ addEventListener()

void SAL_CALL OStorage::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

◆ addModifyListener()

void SAL_CALL OStorage::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

◆ addPropertyChangeListener()

void SAL_CALL OStorage::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 4500 of file xstorage.cxx.

References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.

◆ addTransactionListener()

void SAL_CALL OStorage::addTransactionListener ( const css::uno::Reference< css::embed::XTransactionListener > &  aListener)
overridevirtual

◆ addVetoableChangeListener()

void SAL_CALL OStorage::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 4530 of file xstorage.cxx.

References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.

◆ attachToURL()

void SAL_CALL OStorage::attachToURL ( const OUString &  sURL,
sal_Bool  bReadOnly 
)
overridevirtual

◆ BroadcastModifiedIfNecessary()

void OStorage::BroadcastModifiedIfNecessary ( )
private

◆ BroadcastTransaction()

void OStorage::BroadcastTransaction ( sal_Int8  nMessage)
private

◆ ChildIsDisposed()

void OStorage::ChildIsDisposed ( const css::uno::Reference< css::uno::XInterface > &  xChild)

Definition at line 1863 of file xstorage.cxx.

References m_aOpenSubComponentsVector.

Referenced by OChildDispListener_Impl::disposing().

◆ clearRelationships()

void SAL_CALL OStorage::clearRelationships ( )
overridevirtual

◆ cloneEncryptedStream()

uno::Reference< io::XStream > SAL_CALL OStorage::cloneEncryptedStream ( const OUString &  sStreamName,
const css::uno::Sequence< css::beans::NamedValue > &  aEncryptionData 
)
overridevirtual

◆ cloneEncryptedStreamElement()

uno::Reference< io::XStream > SAL_CALL OStorage::cloneEncryptedStreamElement ( const OUString &  aStreamName,
const OUString &  aPass 
)
overridevirtual

◆ cloneStreamElement()

uno::Reference< io::XStream > SAL_CALL OStorage::cloneStreamElement ( const OUString &  aStreamName)
overridevirtual

◆ commit()

void SAL_CALL OStorage::commit ( )
overridevirtual

◆ copyElementDirectlyTo()

void SAL_CALL OStorage::copyElementDirectlyTo ( const OUString &  sSourceName,
const css::uno::Reference< css::embed::XOptimizedStorage > &  xTargetStorage,
const OUString &  sTargetName 
)
overridevirtual

◆ copyElementTo()

void SAL_CALL OStorage::copyElementTo ( const OUString &  aElementName,
const css::uno::Reference< css::embed::XStorage > &  xDest,
const OUString &  aNewName 
)
overridevirtual

◆ copyLastCommitTo()

void SAL_CALL OStorage::copyLastCommitTo ( const css::uno::Reference< css::embed::XStorage > &  xTargetStorage)
overridevirtual

◆ copyStorageElementLastCommitTo()

void SAL_CALL OStorage::copyStorageElementLastCommitTo ( const OUString &  aStorName,
const css::uno::Reference< css::embed::XStorage > &  xTargetStorage 
)
overridevirtual

◆ copyStreamElementData()

void SAL_CALL OStorage::copyStreamElementData ( const OUString &  sStreamName,
const css::uno::Reference< css::io::XStream > &  xTargetStream 
)
overridevirtual

◆ copyToStorage()

void SAL_CALL OStorage::copyToStorage ( const css::uno::Reference< css::embed::XStorage > &  xDest)
overridevirtual

◆ dispose()

void SAL_CALL OStorage::dispose ( void  )
overridevirtual

◆ getAllRelationships()

uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OStorage::getAllRelationships ( )
overridevirtual

◆ getByName()

uno::Any SAL_CALL OStorage::getByName ( const OUString &  aName)
overridevirtual

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL OStorage::getElementNames ( )
overridevirtual

◆ getElementPropertyValue()

uno::Any SAL_CALL OStorage::getElementPropertyValue ( const OUString &  sElementName,
const OUString &  sPropertyName 
)
overridevirtual

◆ getElementType()

uno::Type SAL_CALL OStorage::getElementType ( )
overridevirtual

Definition at line 3874 of file xstorage.cxx.

References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.

◆ getEncryptionAlgorithms()

uno::Sequence< beans::NamedValue > SAL_CALL OStorage::getEncryptionAlgorithms ( )
overridevirtual

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL OStorage::getImplementationId ( )
overridevirtual

Definition at line 2147 of file xstorage.cxx.

References comphelper::UnoIdInit::getSeq().

◆ getPlainRawStreamElement()

uno::Reference< io::XInputStream > SAL_CALL OStorage::getPlainRawStreamElement ( const OUString &  sStreamName)
overridevirtual

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL OStorage::getPropertySetInfo ( )
overridevirtual

Definition at line 4293 of file xstorage.cxx.

References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.

◆ getPropertyValue()

uno::Any SAL_CALL OStorage::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getRawEncrStreamElement()

uno::Reference< io::XInputStream > SAL_CALL OStorage::getRawEncrStreamElement ( const OUString &  sStreamName)
overridevirtual

◆ GetRefCount_Impl()

sal_Int32 OStorage::GetRefCount_Impl ( ) const
inline

Definition at line 321 of file xstorage.hxx.

References cppu::OWeakObject::m_refCount.

Referenced by OStorage_Impl::SetReadOnlyWrap().

◆ getRelationshipByID()

uno::Sequence< beans::StringPair > SAL_CALL OStorage::getRelationshipByID ( const OUString &  sID)
overridevirtual

◆ getRelationshipsByType()

uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OStorage::getRelationshipsByType ( const OUString &  sType)
overridevirtual

◆ getTargetByID()

OUString SAL_CALL OStorage::getTargetByID ( const OUString &  sID)
overridevirtual

◆ getTypeByID()

OUString SAL_CALL OStorage::getTypeByID ( const OUString &  sID)
overridevirtual

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL OStorage::getTypes ( )
overridevirtual

◆ hasByID()

sal_Bool SAL_CALL OStorage::hasByID ( const OUString &  sID)
overridevirtual

◆ hasByName()

sal_Bool SAL_CALL OStorage::hasByName ( const OUString &  aName)
overridevirtual

◆ hasElements()

sal_Bool SAL_CALL OStorage::hasElements ( )
overridevirtual

◆ hasEncryptionData()

sal_Bool SAL_CALL OStorage::hasEncryptionData ( )
overridevirtual

Definition at line 4103 of file xstorage.cxx.

References OStorage_Impl::m_bHasCommonEncryptionData, m_pImpl, and m_xSharedMutex.

◆ insertRawEncrStreamElement()

void SAL_CALL OStorage::insertRawEncrStreamElement ( const OUString &  aStreamName,
const css::uno::Reference< css::io::XInputStream > &  xInStream 
)
overridevirtual

◆ insertRawNonEncrStreamElementDirect()

void SAL_CALL OStorage::insertRawNonEncrStreamElementDirect ( const OUString &  sStreamName,
const css::uno::Reference< css::io::XInputStream > &  xInStream 
)
overridevirtual

Definition at line 4890 of file xstorage.cxx.

References THROW_WHERE.

◆ insertRelationshipByID()

void SAL_CALL OStorage::insertRelationshipByID ( const OUString &  sID,
const css::uno::Sequence< css::beans::StringPair > &  aEntry,
sal_Bool  bReplace 
)
overridevirtual

◆ insertRelationships()

void SAL_CALL OStorage::insertRelationships ( const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > &  aEntries,
sal_Bool  bReplace 
)
overridevirtual

◆ insertStreamElementDirect()

void SAL_CALL OStorage::insertStreamElementDirect ( const OUString &  sStreamName,
const css::uno::Reference< css::io::XInputStream > &  xInStream,
const css::uno::Sequence< css::beans::PropertyValue > &  aProps 
)
overridevirtual

◆ InternalDispose()

void OStorage::InternalDispose ( bool  bNotifyImpl)

◆ isModified()

sal_Bool SAL_CALL OStorage::isModified ( )
overridevirtual

Definition at line 3677 of file xstorage.cxx.

References OStorage_Impl::m_bIsModified, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.

◆ isStorageElement()

sal_Bool SAL_CALL OStorage::isStorageElement ( const OUString &  aElementName)
overridevirtual

◆ isStreamElement()

sal_Bool SAL_CALL OStorage::isStreamElement ( const OUString &  aElementName)
overridevirtual

◆ MakeLinkToSubComponent_Impl()

void OStorage::MakeLinkToSubComponent_Impl ( const css::uno::Reference< css::lang::XComponent > &  xComponent)
private

◆ moveElementTo()

void SAL_CALL OStorage::moveElementTo ( const OUString &  aElementName,
const css::uno::Reference< css::embed::XStorage > &  xDest,
const OUString &  rNewName 
)
overridevirtual

◆ openEncryptedStream()

uno::Reference< io::XStream > SAL_CALL OStorage::openEncryptedStream ( const OUString &  sStreamName,
::sal_Int32  nOpenMode,
const css::uno::Sequence< css::beans::NamedValue > &  aEncryptionData 
)
overridevirtual

◆ openEncryptedStreamByHierarchicalName()

uno::Reference< embed::XExtendedStorageStream > SAL_CALL OStorage::openEncryptedStreamByHierarchicalName ( const OUString &  sStreamName,
::sal_Int32  nOpenMode,
const css::uno::Sequence< css::beans::NamedValue > &  aEncryptionData 
)
overridevirtual

◆ openEncryptedStreamElement()

uno::Reference< io::XStream > SAL_CALL OStorage::openEncryptedStreamElement ( const OUString &  aStreamName,
sal_Int32  nOpenMode,
const OUString &  aPass 
)
overridevirtual

◆ openEncryptedStreamElementByHierarchicalName()

uno::Reference< embed::XExtendedStorageStream > SAL_CALL OStorage::openEncryptedStreamElementByHierarchicalName ( const OUString &  sStreamName,
::sal_Int32  nOpenMode,
const OUString &  sPassword 
)
overridevirtual

◆ openStorageElement()

uno::Reference< embed::XStorage > SAL_CALL OStorage::openStorageElement ( const OUString &  aStorName,
sal_Int32  nStorageMode 
)
overridevirtual

◆ openStreamElement()

uno::Reference< io::XStream > SAL_CALL OStorage::openStreamElement ( const OUString &  aStreamName,
sal_Int32  nOpenMode 
)
overridevirtual

◆ OpenStreamElement_Impl()

SotElement_Impl * OStorage::OpenStreamElement_Impl ( const OUString &  aStreamName,
sal_Int32  nOpenMode,
bool  bEncr 
)
private

◆ openStreamElementByHierarchicalName()

uno::Reference< embed::XExtendedStorageStream > SAL_CALL OStorage::openStreamElementByHierarchicalName ( const OUString &  sStreamPath,
::sal_Int32  nOpenMode 
)
overridevirtual

◆ queryInterface()

uno::Any SAL_CALL OStorage::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ release()

void SAL_CALL OStorage::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 2076 of file xstorage.cxx.

◆ removeElement()

void SAL_CALL OStorage::removeElement ( const OUString &  aElementName)
overridevirtual

◆ removeEncryption()

void SAL_CALL OStorage::removeEncryption ( )
overridevirtual

◆ removeEventListener()

void SAL_CALL OStorage::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

◆ removeModifyListener()

void SAL_CALL OStorage::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  aListener)
overridevirtual

◆ removePropertyChangeListener()

void SAL_CALL OStorage::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 4515 of file xstorage.cxx.

References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.

◆ removeRelationshipByID()

void SAL_CALL OStorage::removeRelationshipByID ( const OUString &  sID)
overridevirtual

◆ removeStreamElementByHierarchicalName()

void SAL_CALL OStorage::removeStreamElementByHierarchicalName ( const OUString &  sElementPath)
overridevirtual

◆ removeTransactionListener()

void SAL_CALL OStorage::removeTransactionListener ( const css::uno::Reference< css::embed::XTransactionListener > &  aListener)
overridevirtual

◆ removeVetoableChangeListener()

void SAL_CALL OStorage::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 4545 of file xstorage.cxx.

References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.

◆ renameElement()

void SAL_CALL OStorage::renameElement ( const OUString &  rEleName,
const OUString &  rNewName 
)
overridevirtual

◆ revert()

void SAL_CALL OStorage::revert ( )
overridevirtual

◆ setEncryptionAlgorithms()

void SAL_CALL OStorage::setEncryptionAlgorithms ( const css::uno::Sequence< css::beans::NamedValue > &  aAlgorithms)
overridevirtual

◆ setEncryptionData()

void SAL_CALL OStorage::setEncryptionData ( const css::uno::Sequence< css::beans::NamedValue > &  aEncryptionData)
overridevirtual

◆ setEncryptionPassword()

void SAL_CALL OStorage::setEncryptionPassword ( const OUString &  aPass)
overridevirtual

◆ setGpgProperties()

void SAL_CALL OStorage::setGpgProperties ( const css::uno::Sequence< css::uno::Sequence< css::beans::NamedValue > > &  aCryptProps)
overridevirtual

◆ setModified()

void SAL_CALL OStorage::setModified ( sal_Bool  bModified)
overridevirtual

◆ setPropertyValue()

void SAL_CALL OStorage::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ writeAndAttachToStream()

void SAL_CALL OStorage::writeAndAttachToStream ( const css::uno::Reference< css::io::XStream > &  xStream)
overridevirtual

Member Data Documentation

◆ m_aListenersContainer

comphelper::OMultiTypeInterfaceContainerHelper2 OStorage::m_aListenersContainer
private

◆ m_aOpenSubComponentsVector

::std::vector< css::uno::WeakReference< css::lang::XComponent > > OStorage::m_aOpenSubComponentsVector
private

Definition at line 287 of file xstorage.hxx.

Referenced by ChildIsDisposed(), InternalDispose(), and MakeLinkToSubComponent_Impl().

◆ m_bReadOnlyWrap

bool OStorage::m_bReadOnlyWrap
private

◆ m_oTypeCollection

::std::optional< ::cppu::OTypeCollection> OStorage::m_oTypeCollection
private

Definition at line 284 of file xstorage.hxx.

Referenced by getTypes().

◆ m_pImpl

OStorage_Impl* OStorage::m_pImpl
private

Definition at line 281 of file xstorage.hxx.

Referenced by addEventListener(), addModifyListener(), addPropertyChangeListener(), addTransactionListener(), addVetoableChangeListener(), attachToURL(), BroadcastModifiedIfNecessary(), BroadcastTransaction(), clearRelationships(), cloneEncryptedStream(), cloneStreamElement(), commit(), copyElementDirectlyTo(), copyElementTo(), copyLastCommitTo(), copyStorageElementLastCommitTo(), copyStreamElementData(), copyToStorage(), dispose(), getAllRelationships(), getByName(), getElementNames(), getElementPropertyValue(), getElementType(), getEncryptionAlgorithms(), getPlainRawStreamElement(), getPropertySetInfo(), getPropertyValue(), getRawEncrStreamElement(), getRelationshipByID(), getRelationshipsByType(), getTargetByID(), getTypeByID(), getTypes(), hasByID(), hasByName(), hasElements(), hasEncryptionData(), insertRawEncrStreamElement(), insertRelationshipByID(), insertRelationships(), insertStreamElementDirect(), InternalDispose(), isModified(), isStorageElement(), isStreamElement(), moveElementTo(), openEncryptedStream(), openEncryptedStreamByHierarchicalName(), openStorageElement(), openStreamElement(), OpenStreamElement_Impl(), openStreamElementByHierarchicalName(), OStorage(), queryInterface(), removeElement(), removeEncryption(), removeEventListener(), removeModifyListener(), removePropertyChangeListener(), removeRelationshipByID(), removeStreamElementByHierarchicalName(), removeTransactionListener(), removeVetoableChangeListener(), renameElement(), revert(), setEncryptionAlgorithms(), setEncryptionData(), setGpgProperties(), setModified(), setPropertyValue(), writeAndAttachToStream(), and ~OStorage().

◆ m_pSubElDispListener

::rtl::Reference<OChildDispListener_Impl> OStorage::m_pSubElDispListener
private

Definition at line 286 of file xstorage.hxx.

Referenced by InternalDispose(), and MakeLinkToSubComponent_Impl().

◆ m_rHierarchyHolder

::rtl::Reference< OHierarchyHolder_Impl > OStorage::m_rHierarchyHolder
private

◆ m_xSharedMutex

rtl::Reference<comphelper::RefCountedMutex> OStorage::m_xSharedMutex
private

Definition at line 282 of file xstorage.hxx.

Referenced by addEventListener(), addModifyListener(), addPropertyChangeListener(), addTransactionListener(), addVetoableChangeListener(), attachToURL(), clearRelationships(), cloneEncryptedStream(), cloneStreamElement(), commit(), copyElementDirectlyTo(), copyElementTo(), copyLastCommitTo(), copyStorageElementLastCommitTo(), copyStreamElementData(), copyToStorage(), dispose(), getAllRelationships(), getByName(), getElementNames(), getElementPropertyValue(), getElementType(), getEncryptionAlgorithms(), getPlainRawStreamElement(), getPropertySetInfo(), getPropertyValue(), getRawEncrStreamElement(), getRelationshipByID(), getRelationshipsByType(), getTargetByID(), getTypeByID(), getTypes(), hasByID(), hasByName(), hasElements(), hasEncryptionData(), insertRawEncrStreamElement(), insertRelationshipByID(), insertRelationships(), insertStreamElementDirect(), isModified(), isStorageElement(), isStreamElement(), moveElementTo(), openEncryptedStream(), openEncryptedStreamByHierarchicalName(), openStorageElement(), openStreamElement(), OpenStreamElement_Impl(), openStreamElementByHierarchicalName(), removeElement(), removeEncryption(), removeEventListener(), removeModifyListener(), removePropertyChangeListener(), removeRelationshipByID(), removeStreamElementByHierarchicalName(), removeTransactionListener(), removeVetoableChangeListener(), renameElement(), revert(), setEncryptionAlgorithms(), setEncryptionData(), setGpgProperties(), setModified(), setPropertyValue(), writeAndAttachToStream(), and ~OStorage().


The documentation for this class was generated from the following files: