LibreOffice Module package (master) 1
|
#include <xstorage.hxx>
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_Impl * | OpenStreamElement_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_Impl * | m_pImpl |
rtl::Reference< comphelper::RefCountedMutex > | m_xSharedMutex |
comphelper::OMultiTypeInterfaceContainerHelper2 | m_aListenersContainer |
::std::optional< ::cppu::OTypeCollection > | m_oTypeCollection |
bool | m_bReadOnlyWrap |
::rtl::Reference< OChildDispListener_Impl > | m_pSubElDispListener |
::std::vector< css::uno::WeakReference< css::lang::XComponent > > | m_aOpenSubComponentsVector |
::rtl::Reference< OHierarchyHolder_Impl > | m_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 |
Definition at line 268 of file xstorage.hxx.
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::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 | ( | OStorage_Impl * | pImpl, |
bool | bReadOnlyWrap | ||
) |
Definition at line 1759 of file xstorage.cxx.
References m_bReadOnlyWrap, OStorage_Impl::m_nStorageMode, OStorage_Impl::m_pAntiImpl, m_pImpl, m_pImpl, and OStorage_Impl::m_xMutex.
|
overridevirtual |
Definition at line 1776 of file xstorage.cxx.
References dispose(), m_pImpl, cppu::OWeakObject::m_refCount, m_xSharedMutex, and TOOLS_INFO_EXCEPTION.
|
overridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 2071 of file xstorage.cxx.
|
overridevirtual |
Definition at line 3949 of file xstorage.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::addInterface(), m_aListenersContainer, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 3715 of file xstorage.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::addInterface(), m_aListenersContainer, OStorage_Impl::m_nModifiedListenerCount, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4500 of file xstorage.cxx.
References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 3644 of file xstorage.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::addInterface(), m_aListenersContainer, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4530 of file xstorage.cxx.
References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 5114 of file xstorage.cxx.
References bReadOnly, exceptionToString(), OStorage_Impl::m_bIsRoot, m_pImpl, OStorage_Impl::m_pSwitchStream, OStorage_Impl::m_xContext, m_xSharedMutex, SAL_INFO, THROW_WHERE, TOOLS_INFO_EXCEPTION, and xStream.
|
private |
Definition at line 1878 of file xstorage.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::getContainer(), comphelper::OInterfaceIteratorHelper2::hasMoreElements(), m_aListenersContainer, OStorage_Impl::m_bBroadcastModified, m_bReadOnlyWrap, m_pImpl, comphelper::OInterfaceIteratorHelper2::next(), SAL_INFO, SAL_WARN_IF, and THROW_WHERE.
Referenced by moveElementTo(), openEncryptedStream(), openStreamElement(), removeElement(), renameElement(), setModified(), and setPropertyValue().
|
private |
Definition at line 1909 of file xstorage.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::getContainer(), comphelper::OInterfaceIteratorHelper2::hasMoreElements(), m_aListenersContainer, m_bReadOnlyWrap, m_pImpl, comphelper::OInterfaceIteratorHelper2::next(), SAL_INFO, SAL_WARN_IF, STOR_MESS_COMMITTED, STOR_MESS_PRECOMMIT, STOR_MESS_PREREVERT, STOR_MESS_REVERTED, and THROW_WHERE.
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().
|
overridevirtual |
Definition at line 4871 of file xstorage.cxx.
References OStorage_Impl::m_aRelInfo, OStorage_Impl::m_nRelInfoStatus, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xNewRelInfoStream, m_xSharedMutex, RELINFO_CHANGED, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 3183 of file xstorage.cxx.
References OStorage_Impl::CloneStreamElement(), exceptionToString(), m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
Referenced by cloneEncryptedStreamElement().
|
overridevirtual |
Definition at line 2492 of file xstorage.cxx.
References cloneEncryptedStream(), and comphelper::OStorageHelper::CreatePackageEncryptionData().
|
overridevirtual |
Definition at line 2427 of file xstorage.cxx.
References OStorage_Impl::CloneStreamElement(), exceptionToString(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3520 of file xstorage.cxx.
References BroadcastTransaction(), OStorage_Impl::Commit(), exceptionToString(), m_bReadOnlyWrap, OStorage_Impl::m_pAntiImpl, m_pImpl, OStorage_Impl::m_pParent, m_xSharedMutex, SAL_INFO, setModified(), STOR_MESS_COMMITTED, STOR_MESS_PRECOMMIT, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 4974 of file xstorage.cxx.
References OStorage_Impl::CopyStorageElement(), exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 2920 of file xstorage.cxx.
References OStorage_Impl::CopyStorageElement(), exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 2499 of file xstorage.cxx.
References OStorage_Impl::CopyLastCommitTo(), exceptionToString(), m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 2551 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), SotElement_Impl::m_bIsStorage, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStorage, OStorage_Impl::OpenSubStorage(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 5269 of file xstorage.cxx.
References OStorage_Impl::CloneStreamElement(), exceptionToString(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, SAL_WARN_IF, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 2154 of file xstorage.cxx.
References OStorage_Impl::CopyToStorage(), exceptionToString(), m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3919 of file xstorage.cxx.
References exceptionToString(), InternalDispose(), m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
Referenced by ~OStorage().
|
overridevirtual |
Definition at line 4697 of file xstorage.cxx.
References OStorage_Impl::GetAllRelationshipsIfAny(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
Referenced by getRelationshipByID(), getRelationshipsByType(), insertRelationshipByID(), insertRelationships(), and removeRelationshipByID().
|
overridevirtual |
Definition at line 3749 of file xstorage.cxx.
References aName, exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), SotElement_Impl::m_bIsStorage, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, openStorageElement(), openStreamElement(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3805 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::GetElementNames(), m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 5183 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), SotElement_Impl::m_bIsStorage, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStorage, OStorage_Impl::OpenSubStorage(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3874 of file xstorage.cxx.
References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4232 of file xstorage.cxx.
References ENCRYPTION_ALGORITHMS_PROPERTY, exceptionToString(), OStorage_Impl::m_bIsRoot, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xPackage, m_xSharedMutex, OStorage_Impl::ReadContents(), SAL_INFO, SAL_WARN_IF, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 2147 of file xstorage.cxx.
References comphelper::UnoIdInit::getSeq().
|
overridevirtual |
Definition at line 3253 of file xstorage.cxx.
References comphelper::OStorageHelper::CopyInputToOutput(), exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStream, OStorage_Impl::OpenSubStream(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 4293 of file xstorage.cxx.
References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4406 of file xstorage.cxx.
References ENCRYPTION_GPG_PROPERTIES, exceptionToString(), HAS_ENCRYPTED_ENTRIES_PROPERTY, HAS_NONENCRYPTED_ENTRIES_PROPERTY, IS_INCONSISTENT_PROPERTY, OStorage_Impl::m_aMediaType, OStorage_Impl::m_aVersion, OStorage_Impl::m_bIsRoot, OStorage_Impl::m_bMTFallbackUsed, OStorage_Impl::m_nStorageMode, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xPackage, OStorage_Impl::m_xProperties, m_xSharedMutex, MEDIATYPE_FALLBACK_USED_PROPERTY, OStorage_Impl::ReadContents(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3343 of file xstorage.cxx.
References comphelper::OStorageHelper::CopyInputToOutput(), exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStream, OStorage_Impl::OpenSubStream(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
inline |
Definition at line 321 of file xstorage.hxx.
References cppu::OWeakObject::m_refCount.
Referenced by OStorage_Impl::SetReadOnlyWrap().
|
overridevirtual |
Definition at line 4642 of file xstorage.cxx.
References aSeq, getAllRelationships(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
Referenced by getTargetByID(), getTypeByID(), and hasByID().
|
overridevirtual |
Definition at line 4668 of file xstorage.cxx.
References aSeq, comphelper::containerToSequence(), getAllRelationships(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, sType, and THROW_WHERE.
|
overridevirtual |
Definition at line 4600 of file xstorage.cxx.
References aSeq, getRelationshipByID(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4621 of file xstorage.cxx.
References aSeq, getRelationshipByID(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 2082 of file xstorage.cxx.
References OStorage_Impl::m_bIsRoot, OStorage_Impl::m_nStorageType, m_oTypeCollection, m_pImpl, and m_xSharedMutex.
|
overridevirtual |
Definition at line 4564 of file xstorage.cxx.
References getRelationshipByID(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3835 of file xstorage.cxx.
References aName, exceptionToString(), OStorage_Impl::FindElement(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3888 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::HasChildren(), m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 4103 of file xstorage.cxx.
References OStorage_Impl::m_bHasCommonEncryptionData, m_pImpl, and m_xSharedMutex.
|
overridevirtual |
Definition at line 3442 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::FindElement(), OStorage_Impl::InsertRawStream(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageMode, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 4890 of file xstorage.cxx.
References THROW_WHERE.
|
overridevirtual |
Definition at line 4734 of file xstorage.cxx.
References aSeq, comphelper::containerToSequence(), getAllRelationships(), OStorage_Impl::m_aRelInfo, OStorage_Impl::m_nRelInfoStatus, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xNewRelInfoStream, m_xSharedMutex, RELINFO_CHANGED, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4818 of file xstorage.cxx.
References aEntries, aSeq, getAllRelationships(), OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4899 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), m_bReadOnlyWrap, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStream, OpenStreamElement_Impl(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
void OStorage::InternalDispose | ( | bool | bNotifyImpl | ) |
Definition at line 1792 of file xstorage.cxx.
References comphelper::OMultiTypeInterfaceContainerHelper2::disposeAndClear(), m_aListenersContainer, m_aOpenSubComponentsVector, OStorage_Impl::m_bIsRoot, m_bReadOnlyWrap, OStorage_Impl::m_nModifiedListenerCount, OStorage_Impl::m_pAntiImpl, m_pImpl, m_pSubElDispListener, OStorage_Impl::RemoveReadOnlyWrap(), OStorage_Impl::Revert(), and TOOLS_INFO_EXCEPTION.
Referenced by dispose(), and OStorage_Impl::~OStorage_Impl().
|
overridevirtual |
Definition at line 3677 of file xstorage.cxx.
References OStorage_Impl::m_bIsModified, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 2687 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), SotElement_Impl::m_bIsStorage, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 2629 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), SotElement_Impl::m_bIsStorage, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
private |
Definition at line 1995 of file xstorage.cxx.
References m_aOpenSubComponentsVector, m_pSubElDispListener, and THROW_WHERE.
Referenced by openEncryptedStream(), openStorageElement(), and openStreamElement().
|
overridevirtual |
Definition at line 3001 of file xstorage.cxx.
References BroadcastModifiedIfNecessary(), OStorage_Impl::CopyStorageElement(), exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_bBroadcastModified, OStorage_Impl::m_bIsModified, OStorage_Impl::m_nStorageMode, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, OStorage_Impl::RemoveElement(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3098 of file xstorage.cxx.
References BroadcastModifiedIfNecessary(), exceptionToString(), m_bReadOnlyWrap, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStream, MakeLinkToSubComponent_Impl(), OpenStreamElement_Impl(), SAL_INFO, SAL_WARN_IF, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
Referenced by openEncryptedStreamElement().
|
overridevirtual |
Definition at line 5430 of file xstorage.cxx.
References OHierarchyHolder_Impl::GetListPathFromString(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageMode, OStorage_Impl::m_nStorageType, m_pImpl, m_rHierarchyHolder, m_xSharedMutex, SotElement_Impl::m_xStream, OpenStreamElement_Impl(), SAL_INFO, and THROW_WHERE.
Referenced by openEncryptedStreamElementByHierarchicalName().
|
overridevirtual |
Definition at line 2289 of file xstorage.cxx.
References comphelper::OStorageHelper::CreatePackageEncryptionData(), and openEncryptedStream().
|
overridevirtual |
Definition at line 5398 of file xstorage.cxx.
References comphelper::OStorageHelper::CreatePackageEncryptionData(), and openEncryptedStreamByHierarchicalName().
|
overridevirtual |
Definition at line 2295 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::FindElement(), OStorage_Impl::InsertStorage(), comphelper::OStorageHelper::IsValidZipEntryFileName(), SotElement_Impl::m_bIsStorage, m_bReadOnlyWrap, OStorage_Impl::m_nStorageMode, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStorage, MakeLinkToSubComponent_Impl(), OStorage_Impl::OpenSubStorage(), OStorage(), OStorage_Impl::RemoveElement(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
Referenced by getByName().
|
overridevirtual |
Definition at line 2206 of file xstorage.cxx.
References BroadcastModifiedIfNecessary(), exceptionToString(), comphelper::OStorageHelper::IsValidZipEntryFileName(), m_bReadOnlyWrap, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStream, MakeLinkToSubComponent_Impl(), OpenStreamElement_Impl(), SAL_INFO, SAL_WARN_IF, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
Referenced by getByName().
|
private |
Definition at line 1957 of file xstorage.cxx.
References OStorage_Impl::FindElement(), OStorage_Impl::InsertStream(), SotElement_Impl::m_bIsStorage, m_bReadOnlyWrap, OStorage_Impl::m_nStorageMode, m_pImpl, m_xSharedMutex, SotElement_Impl::m_xStream, OStorage_Impl::OpenSubStream(), SAL_WARN_IF, and THROW_WHERE.
Referenced by insertStreamElementDirect(), openEncryptedStream(), openEncryptedStreamByHierarchicalName(), openStreamElement(), and openStreamElementByHierarchicalName().
|
overridevirtual |
Definition at line 5340 of file xstorage.cxx.
References OHierarchyHolder_Impl::GetListPathFromString(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageMode, m_pImpl, m_rHierarchyHolder, m_xSharedMutex, SotElement_Impl::m_xStream, OpenStreamElement_Impl(), SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Definition at line 2012 of file xstorage.cxx.
References uno::Any::hasValue(), OStorage_Impl::m_bIsRoot, OStorage_Impl::m_nStorageType, and m_pImpl.
|
overridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Definition at line 2076 of file xstorage.cxx.
|
overridevirtual |
Definition at line 2745 of file xstorage.cxx.
References BroadcastModifiedIfNecessary(), exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_bBroadcastModified, OStorage_Impl::m_bIsModified, OStorage_Impl::m_nStorageMode, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, OStorage_Impl::RemoveElement(), SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3986 of file xstorage.cxx.
References comphelper::SequenceAsHashMap::clear(), exceptionToString(), OStorage_Impl::m_aCommonEncryptionData, OStorage_Impl::m_bHasCommonEncryptionData, OStorage_Impl::m_bIsRoot, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xPackage, m_xSharedMutex, OStorage_Impl::ReadContents(), SAL_INFO, SAL_WARN_IF, STORAGE_ENCRYPTION_KEYS_PROPERTY, THROW_WHERE, TOOLS_INFO_EXCEPTION, and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Definition at line 3964 of file xstorage.cxx.
References m_aListenersContainer, m_pImpl, m_xSharedMutex, comphelper::OMultiTypeInterfaceContainerHelper2::removeInterface(), SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 3731 of file xstorage.cxx.
References m_aListenersContainer, OStorage_Impl::m_nModifiedListenerCount, m_pImpl, m_xSharedMutex, comphelper::OMultiTypeInterfaceContainerHelper2::removeInterface(), SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4515 of file xstorage.cxx.
References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4784 of file xstorage.cxx.
References aSeq, getAllRelationships(), OStorage_Impl::m_aRelInfo, OStorage_Impl::m_nRelInfoStatus, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xNewRelInfoStream, m_xSharedMutex, RELINFO_CHANGED, comphelper::removeElementAt(), SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 5403 of file xstorage.cxx.
References OHierarchyHolder_Impl::GetListPathFromString(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_nStorageMode, m_pImpl, m_rHierarchyHolder, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 3658 of file xstorage.cxx.
References m_aListenersContainer, m_pImpl, m_xSharedMutex, comphelper::OMultiTypeInterfaceContainerHelper2::removeInterface(), SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4545 of file xstorage.cxx.
References m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 2822 of file xstorage.cxx.
References BroadcastModifiedIfNecessary(), exceptionToString(), OStorage_Impl::FindElement(), comphelper::OStorageHelper::IsValidZipEntryFileName(), OStorage_Impl::m_aChildrenMap, OStorage_Impl::m_bBroadcastModified, OStorage_Impl::m_bIsModified, OStorage_Impl::m_nStorageMode, OStorage_Impl::m_nStorageType, m_pImpl, m_xSharedMutex, SAL_INFO, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 3576 of file xstorage.cxx.
References BroadcastTransaction(), exceptionToString(), OStorage_Impl::m_aChildrenMap, OStorage_Impl::m_bBroadcastModified, OStorage_Impl::m_bIsModified, OStorage_Impl::m_bListCreated, m_bReadOnlyWrap, m_pImpl, m_xSharedMutex, OStorage_Impl::Revert(), SAL_INFO, setModified(), STOR_MESS_PREREVERT, STOR_MESS_REVERTED, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 4112 of file xstorage.cxx.
References ENCRYPTION_ALGORITHMS_PROPERTY, exceptionToString(), OStorage_Impl::m_bIsRoot, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xPackage, m_xSharedMutex, OStorage_Impl::ReadContents(), SAL_INFO, SAL_WARN_IF, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
|
overridevirtual |
Definition at line 4047 of file xstorage.cxx.
References exceptionToString(), comphelper::SequenceAsHashMap::getAsConstNamedValueList(), OStorage_Impl::m_aCommonEncryptionData, OStorage_Impl::m_bHasCommonEncryptionData, OStorage_Impl::m_bIsRoot, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xPackage, m_xSharedMutex, OStorage_Impl::ReadContents(), SAL_INFO, SAL_WARN_IF, STORAGE_ENCRYPTION_KEYS_PROPERTY, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
Referenced by setEncryptionPassword().
|
overridevirtual |
Definition at line 3981 of file xstorage.cxx.
References comphelper::OStorageHelper::CreatePackageEncryptionData(), and setEncryptionData().
|
overridevirtual |
Definition at line 4172 of file xstorage.cxx.
References ENCRYPTION_GPG_PROPERTIES, exceptionToString(), OStorage_Impl::m_bIsRoot, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xPackage, m_xSharedMutex, OStorage_Impl::ReadContents(), SAL_INFO, SAL_WARN_IF, and THROW_WHERE.
|
overridevirtual |
Definition at line 3690 of file xstorage.cxx.
References BroadcastModifiedIfNecessary(), OStorage_Impl::m_bBroadcastModified, OStorage_Impl::m_bIsModified, m_bReadOnlyWrap, m_pImpl, m_xSharedMutex, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 4307 of file xstorage.cxx.
References BroadcastModifiedIfNecessary(), ENCRYPTION_GPG_PROPERTIES, HAS_ENCRYPTED_ENTRIES_PROPERTY, HAS_NONENCRYPTED_ENTRIES_PROPERTY, IS_INCONSISTENT_PROPERTY, OStorage_Impl::m_aMediaType, OStorage_Impl::m_aRelInfo, OStorage_Impl::m_aVersion, OStorage_Impl::m_bBroadcastModified, OStorage_Impl::m_bControlMediaType, OStorage_Impl::m_bControlVersion, OStorage_Impl::m_bIsModified, OStorage_Impl::m_bIsRoot, m_bReadOnlyWrap, OStorage_Impl::m_nRelInfoStatus, OStorage_Impl::m_nStorageType, m_pImpl, OStorage_Impl::m_xNewRelInfoStream, m_xSharedMutex, MEDIATYPE_FALLBACK_USED_PROPERTY, RELINFO_CHANGED, RELINFO_CHANGED_STREAM, SAL_INFO, and THROW_WHERE.
|
overridevirtual |
Definition at line 5057 of file xstorage.cxx.
References exceptionToString(), OStorage_Impl::m_bIsRoot, m_pImpl, OStorage_Impl::m_pSwitchStream, m_xSharedMutex, SAL_INFO, THROW_WHERE, TOOLS_INFO_EXCEPTION, and xStream.
|
private |
Definition at line 283 of file xstorage.hxx.
Referenced by addEventListener(), addModifyListener(), addTransactionListener(), BroadcastModifiedIfNecessary(), BroadcastTransaction(), InternalDispose(), removeEventListener(), removeModifyListener(), and removeTransactionListener().
|
private |
Definition at line 287 of file xstorage.hxx.
Referenced by ChildIsDisposed(), InternalDispose(), and MakeLinkToSubComponent_Impl().
|
private |
Definition at line 285 of file xstorage.hxx.
Referenced by BroadcastModifiedIfNecessary(), BroadcastTransaction(), commit(), insertStreamElementDirect(), InternalDispose(), openEncryptedStream(), openStorageElement(), openStreamElement(), OpenStreamElement_Impl(), OStorage(), revert(), setModified(), and setPropertyValue().
|
private |
Definition at line 284 of file xstorage.hxx.
Referenced by getTypes().
|
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().
|
private |
Definition at line 286 of file xstorage.hxx.
Referenced by InternalDispose(), and MakeLinkToSubComponent_Impl().
|
private |
Definition at line 288 of file xstorage.hxx.
Referenced by openEncryptedStreamByHierarchicalName(), openStreamElementByHierarchicalName(), and removeStreamElementByHierarchicalName().
|
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().