LibreOffice Module package (master) 1
|
#include <xstorage.hxx>
Public Types | |
typedef std::vector< StorageHolder_Impl > | StorageHoldersType |
Public Member Functions | |
bool | HasModifiedListener () const |
OStorage_Impl (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_Impl (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_Impl (OStorage_Impl *pParent, sal_Int32 nMode, css::uno::Reference< css::container::XNameContainer > const &xPackageFolder, css::uno::Reference< css::lang::XSingleServiceFactory > xPackage, css::uno::Reference< css::uno::XComponentContext > const &xContext, sal_Int32 nStorageType) | |
~OStorage_Impl () | |
void | SetReadOnlyWrap (OStorage &aStorage) |
void | RemoveReadOnlyWrap (const OStorage &aStorage) |
void | OpenOwnPackage () |
void | ReadContents () |
void | ReadRelInfoIfNecessary () |
bool | HasChildren () |
void | GetStorageProperties () |
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > | GetAllRelationshipsIfAny () |
void | CopyLastCommitTo (const css::uno::Reference< css::embed::XStorage > &xNewStor) |
void | InsertIntoPackageFolder (const OUString &aName, const css::uno::Reference< css::container::XNameContainer > &xParentPackageFolder) |
void | Commit () |
void | Revert () |
::comphelper::SequenceAsHashMap | GetCommonRootEncryptionData () |
void | CopyToStorage (const css::uno::Reference< css::embed::XStorage > &xDest, bool bDirect) |
void | CopyStorageElement (SotElement_Impl *pElement, const css::uno::Reference< css::embed::XStorage > &xDest, const OUString &aName, bool bDirect) |
SotElement_Impl * | FindElement (const OUString &rName) |
SotElement_Impl * | InsertStream (const OUString &aName, bool bEncr) |
void | InsertRawStream (const OUString &aName, const css::uno::Reference< css::io::XInputStream > &xInStream) |
std::unique_ptr< OStorage_Impl > | CreateNewStorageImpl (sal_Int32 nStorageMode) |
SotElement_Impl * | InsertStorage (const OUString &aName, sal_Int32 nStorageMode) |
SotElement_Impl * | InsertElement (const OUString &aName, bool bIsStorage) |
void | OpenSubStorage (SotElement_Impl *pElement, sal_Int32 nStorageMode) |
void | OpenSubStream (SotElement_Impl *pElement) |
css::uno::Sequence< OUString > | GetElementNames () |
void | RemoveElement (OUString const &rName, SotElement_Impl *pElement) |
void | CloneStreamElement (const OUString &aStreamName, bool bPassProvided, const ::comphelper::SequenceAsHashMap &aEncryptionData, css::uno::Reference< css::io::XStream > &xTargetStream) |
void | RemoveStreamRelInfo (std::u16string_view aOriginalName) |
void | CreateRelStorage () |
void | CommitStreamRelInfo (std::u16string_view rName, SotElement_Impl const *pStreamElement) |
css::uno::Reference< css::io::XInputStream > | GetRelInfoStreamForName (std::u16string_view aName) |
void | CommitRelInfo (const css::uno::Reference< css::container::XNameContainer > &xNewPackageFolder) |
Static Public Member Functions | |
static void | ClearElement (SotElement_Impl *pElement) |
static void | completeStorageStreamCopy_Impl (const css::uno::Reference< css::io::XStream > &xSource, const css::uno::Reference< css::io::XStream > &xDest, sal_Int32 nStorageType, const css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > &aRelInfo) |
Public Attributes | |
rtl::Reference< comphelper::RefCountedMutex > | m_xMutex |
OStorage * | m_pAntiImpl |
StorageHoldersType | m_aReadOnlyWrapVector |
sal_Int32 | m_nStorageMode |
bool | m_bIsModified |
bool | m_bBroadcastModified |
bool | m_bCommited |
bool | m_bIsRoot |
bool | m_bListCreated |
oslInterlockedCount | m_nModifiedListenerCount |
Count of registered modification listeners. More... | |
std::unordered_map< OUString, std::vector< SotElement_Impl * > > | m_aChildrenMap |
std::vector< SotElement_Impl * > | m_aDeletedVector |
css::uno::Reference< css::container::XNameContainer > | m_xPackageFolder |
css::uno::Reference< css::lang::XSingleServiceFactory > | m_xPackage |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::io::XInputStream > | m_xInputStream |
css::uno::Reference< css::io::XStream > | m_xStream |
css::uno::Sequence< css::beans::PropertyValue > | m_xProperties |
bool | m_bHasCommonEncryptionData |
::comphelper::SequenceAsHashMap | m_aCommonEncryptionData |
OStorage_Impl * | m_pParent |
bool | m_bControlMediaType |
OUString | m_aMediaType |
bool | m_bMTFallbackUsed |
bool | m_bControlVersion |
OUString | m_aVersion |
rtl::Reference< SwitchablePersistenceStream > | m_pSwitchStream |
sal_Int32 | m_nStorageType |
SotElement_Impl * | m_pRelStorElement |
css::uno::Reference< css::embed::XStorage > | m_xRelStorage |
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > | m_aRelInfo |
css::uno::Reference< css::io::XInputStream > | m_xNewRelInfoStream |
sal_Int16 | m_nRelInfoStatus |
Definition at line 108 of file xstorage.hxx.
typedef std::vector<StorageHolder_Impl> OStorage_Impl::StorageHoldersType |
Definition at line 110 of file xstorage.hxx.
OStorage_Impl::OStorage_Impl | ( | 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 CreateNewStorageImpl(), and OpenSubStorage().
OStorage_Impl::OStorage_Impl | ( | 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_Impl::OStorage_Impl | ( | OStorage_Impl * | pParent, |
sal_Int32 | nMode, | ||
css::uno::Reference< css::container::XNameContainer > const & | xPackageFolder, | ||
css::uno::Reference< css::lang::XSingleServiceFactory > | xPackage, | ||
css::uno::Reference< css::uno::XComponentContext > const & | xContext, | ||
sal_Int32 | nStorageType | ||
) |
OStorage_Impl::~OStorage_Impl | ( | ) |
Definition at line 250 of file xstorage.cxx.
References OStorage::InternalDispose(), m_aChildrenMap, m_aDeletedVector, m_aReadOnlyWrapVector, m_bIsRoot, m_nStorageType, m_pAntiImpl, m_pParent, m_pRelStorElement, m_xInputStream, m_xMutex, m_xPackage, m_xPackageFolder, m_xProperties, m_xStream, SAL_WARN_IF, and TOOLS_INFO_EXCEPTION.
|
static |
Definition at line 1512 of file xstorage.cxx.
References SotElement_Impl::m_xStorage, and SotElement_Impl::m_xStream.
Referenced by RemoveElement(), and Revert().
void OStorage_Impl::CloneStreamElement | ( | const OUString & | aStreamName, |
bool | bPassProvided, | ||
const ::comphelper::SequenceAsHashMap & | aEncryptionData, | ||
css::uno::Reference< css::io::XStream > & | xTargetStream | ||
) |
css::embed::InvalidStorageException | |
css::lang::IllegalArgumentException | |
css::packages::WrongPasswordException | |
css::packages::NoEncryptionException | |
css::container::NoSuchElementException | |
css::io::IOException | |
css::embed::StorageWrappedTargetException | |
css::uno::RuntimeException |
Definition at line 1518 of file xstorage.cxx.
References FindElement(), SotElement_Impl::m_bIsStorage, SotElement_Impl::m_xStream, OpenSubStream(), and THROW_WHERE.
Referenced by OStorage::cloneEncryptedStream(), OStorage::cloneStreamElement(), and OStorage::copyStreamElementData().
void OStorage_Impl::Commit | ( | ) |
Definition at line 940 of file xstorage.cxx.
References aSeq, CommitRelInfo(), CommitStreamRelInfo(), ex, exceptionToString(), cppu::getCaughtException(), m_aChildrenMap, m_aDeletedVector, m_aMediaType, m_aVersion, m_bCommited, m_bIsModified, m_bIsRoot, m_bMTFallbackUsed, m_nStorageMode, m_nStorageType, m_xInputStream, m_xMutex, m_xPackage, m_xPackageFolder, m_xStream, OpenSubStream(), ReadContents(), RemoveStreamRelInfo(), SAL_INFO, SAL_WARN_IF, and THROW_WHERE.
Referenced by OStorage::commit().
void OStorage_Impl::CommitRelInfo | ( | const css::uno::Reference< css::container::XNameContainer > & | xNewPackageFolder | ) |
Definition at line 1635 of file xstorage.cxx.
References comphelper::OStorageHelper::CopyInputToOutput(), CreateRelStorage(), m_aRelInfo, m_nRelInfoStatus, m_nStorageType, m_pRelStorElement, m_xContext, m_xNewRelInfoStream, m_xRelStorage, SotElement_Impl::m_xStorage, RELINFO_BROKEN, RELINFO_CHANGED, RELINFO_CHANGED_BROKEN, RELINFO_CHANGED_STREAM, RELINFO_CHANGED_STREAM_READ, RELINFO_NO_INIT, RELINFO_READ, RemoveStreamRelInfo(), and THROW_WHERE.
Referenced by Commit().
void OStorage_Impl::CommitStreamRelInfo | ( | std::u16string_view | rName, |
SotElement_Impl const * | pStreamElement | ||
) |
Definition at line 1592 of file xstorage.cxx.
References CreateRelStorage(), SotElement_Impl::m_aOriginalName, m_nStorageType, m_xRelStorage, SotElement_Impl::m_xStream, SAL_WARN_IF, and THROW_WHERE.
Referenced by Commit().
|
static |
Definition at line 73 of file xstorage.cxx.
References aPropNames, comphelper::OStorageHelper::CopyInputToOutput(), and THROW_WHERE.
Referenced by CopyStorageElement().
void OStorage_Impl::CopyLastCommitTo | ( | const css::uno::Reference< css::embed::XStorage > & | xNewStor | ) |
Definition at line 909 of file xstorage.cxx.
References CopyToStorage(), m_nStorageType, m_xContext, m_xMutex, m_xPackage, m_xPackageFolder, SAL_WARN_IF, and THROW_WHERE.
Referenced by OStorage::copyLastCommitTo().
void OStorage_Impl::CopyStorageElement | ( | SotElement_Impl * | pElement, |
const css::uno::Reference< css::embed::XStorage > & | xDest, | ||
const OUString & | aName, | ||
bool | bDirect | ||
) |
Definition at line 691 of file xstorage.cxx.
References aName, completeStorageStreamCopy_Impl(), GetAllRelationshipsIfAny(), GetCommonRootEncryptionData(), SotElement_Impl::m_bIsStorage, m_nStorageType, m_xMutex, SotElement_Impl::m_xStorage, SotElement_Impl::m_xStream, OpenSubStorage(), OpenSubStream(), package::PackageEncryptionDataLessOrEqual(), SAL_WARN, SAL_WARN_IF, THROW_WHERE, and TOOLS_INFO_EXCEPTION.
Referenced by OStorage::copyElementDirectlyTo(), OStorage::copyElementTo(), CopyToStorage(), and OStorage::moveElementTo().
void OStorage_Impl::CopyToStorage | ( | const css::uno::Reference< css::embed::XStorage > & | xDest, |
bool | bDirect | ||
) |
Definition at line 605 of file xstorage.cxx.
References CopyStorageElement(), ENCRYPTION_ALGORITHMS_PROPERTY, GetAllRelationshipsIfAny(), GetCommonRootEncryptionData(), m_aChildrenMap, m_aMediaType, m_aVersion, m_nStorageType, m_xMutex, m_xPackage, m_xPackageFolder, ReadContents(), THROW_WHERE, and TOOLS_INFO_EXCEPTION.
Referenced by CopyLastCommitTo(), and OStorage::copyToStorage().
std::unique_ptr< OStorage_Impl > OStorage_Impl::CreateNewStorageImpl | ( | sal_Int32 | nStorageMode | ) |
Definition at line 1341 of file xstorage.cxx.
References aSeq, m_nStorageType, m_xContext, m_xPackage, OStorage_Impl(), SAL_WARN_IF, and THROW_WHERE.
Referenced by CreateRelStorage(), and InsertStorage().
void OStorage_Impl::CreateRelStorage | ( | ) |
Definition at line 1567 of file xstorage.cxx.
References CreateNewStorageImpl(), m_nStorageType, m_pRelStorElement, m_xRelStorage, SotElement_Impl::m_xStorage, OpenSubStorage(), and THROW_WHERE.
Referenced by CommitRelInfo(), CommitStreamRelInfo(), and ReadContents().
SotElement_Impl * OStorage_Impl::FindElement | ( | const OUString & | rName | ) |
Definition at line 1258 of file xstorage.cxx.
References m_aChildrenMap, m_xMutex, ReadContents(), and SAL_WARN_IF.
Referenced by CloneStreamElement(), OStorage::copyElementDirectlyTo(), OStorage::copyElementTo(), OStorage::copyStorageElementLastCommitTo(), OStorage::getByName(), OStorage::getElementPropertyValue(), OStorage::getPlainRawStreamElement(), OStorage::getRawEncrStreamElement(), OStorage::hasByName(), InsertElement(), OStorage::insertRawEncrStreamElement(), OStorage::insertStreamElementDirect(), OStorage::isStorageElement(), OStorage::isStreamElement(), OStorage::moveElementTo(), OStorage::openStorageElement(), OStorage::OpenStreamElement_Impl(), OStorage::removeElement(), and OStorage::renameElement().
uno::Sequence< uno::Sequence< beans::StringPair > > OStorage_Impl::GetAllRelationshipsIfAny | ( | ) |
Definition at line 894 of file xstorage.cxx.
References m_aRelInfo, m_nRelInfoStatus, m_nStorageType, ReadRelInfoIfNecessary(), RELINFO_CHANGED, RELINFO_CHANGED_STREAM_READ, RELINFO_READ, and THROW_WHERE.
Referenced by CopyStorageElement(), CopyToStorage(), and OStorage::getAllRelationships().
comphelper::SequenceAsHashMap OStorage_Impl::GetCommonRootEncryptionData | ( | ) |
css::packages::NoEncryptionException |
Definition at line 1235 of file xstorage.cxx.
References GetCommonRootEncryptionData(), m_aCommonEncryptionData, m_bHasCommonEncryptionData, m_bIsRoot, m_nStorageType, m_pParent, m_xMutex, and THROW_WHERE.
Referenced by CopyStorageElement(), CopyToStorage(), OWriteStream_Impl::GetCommonRootEncryptionData(), and GetCommonRootEncryptionData().
uno::Sequence< OUString > OStorage_Impl::GetElementNames | ( | ) |
Definition at line 1455 of file xstorage.cxx.
References m_aChildrenMap, m_xMutex, and ReadContents().
Referenced by OStorage::getElementNames().
uno::Reference< io::XInputStream > OStorage_Impl::GetRelInfoStreamForName | ( | std::u16string_view | aName | ) |
Definition at line 1614 of file xstorage.cxx.
References aName, m_nStorageType, m_xRelStorage, ReadContents(), and xStream.
Referenced by OpenSubStream(), and ReadRelInfoIfNecessary().
void OStorage_Impl::GetStorageProperties | ( | ) |
Definition at line 463 of file xstorage.cxx.
References m_aMediaType, m_aVersion, m_bControlMediaType, m_bControlVersion, m_bMTFallbackUsed, m_nStorageType, m_xPackage, m_xPackageFolder, MEDIATYPE_FALLBACK_USED_PROPERTY, sMediaType, and u.
Referenced by ReadContents(), and Revert().
bool OStorage_Impl::HasChildren | ( | ) |
Definition at line 455 of file xstorage.cxx.
References m_aChildrenMap, m_xMutex, and ReadContents().
Referenced by OStorage::hasElements().
|
inline |
Definition at line 128 of file xstorage.hxx.
References m_nModifiedListenerCount, and m_pAntiImpl.
Referenced by OWriteStream::ModifyParentUnlockMutex_Impl().
SotElement_Impl * OStorage_Impl::InsertElement | ( | const OUString & | aName, |
bool | bIsStorage | ||
) |
Definition at line 1373 of file xstorage.cxx.
References aName, FindElement(), m_aChildrenMap, m_aDeletedVector, SotElement_Impl::m_bIsStorage, m_xMutex, OpenSubStorage(), OpenSubStream(), and SAL_WARN_IF.
Referenced by InsertRawStream(), InsertStorage(), and InsertStream().
void OStorage_Impl::InsertIntoPackageFolder | ( | const OUString & | aName, |
const css::uno::Reference< css::container::XNameContainer > & | xParentPackageFolder | ||
) |
Definition at line 928 of file xstorage.cxx.
References aName, m_bCommited, m_xMutex, m_xPackageFolder, and SAL_WARN_IF.
void OStorage_Impl::InsertRawStream | ( | const OUString & | aName, |
const css::uno::Reference< css::io::XInputStream > & | xInStream | ||
) |
Definition at line 1306 of file xstorage.cxx.
References aName, aSeq, GetSeekableTempCopy(), InsertElement(), m_aChildrenMap, m_bBroadcastModified, m_bIsModified, m_nStorageType, m_xContext, m_xPackage, SotElement_Impl::m_xStream, SAL_WARN_IF, and THROW_WHERE.
Referenced by OStorage::insertRawEncrStreamElement().
SotElement_Impl * OStorage_Impl::InsertStorage | ( | const OUString & | aName, |
sal_Int32 | nStorageMode | ||
) |
Definition at line 1362 of file xstorage.cxx.
References aName, CreateNewStorageImpl(), InsertElement(), m_aChildrenMap, and SotElement_Impl::m_xStorage.
Referenced by OStorage::openStorageElement().
SotElement_Impl * OStorage_Impl::InsertStream | ( | const OUString & | aName, |
bool | bEncr | ||
) |
Definition at line 1276 of file xstorage.cxx.
References aName, aSeq, InsertElement(), m_aChildrenMap, m_bBroadcastModified, m_bIsModified, m_nStorageType, m_xContext, m_xPackage, SotElement_Impl::m_xStream, SAL_WARN_IF, and THROW_WHERE.
Referenced by OStorage::OpenStreamElement_Impl().
void OStorage_Impl::OpenOwnPackage | ( | ) |
Definition at line 368 of file xstorage.cxx.
References aArguments, m_bIsRoot, m_nStorageMode, m_nStorageType, m_xContext, m_xInputStream, m_xMutex, m_xPackage, m_xPackageFolder, m_xProperties, m_xStream, SAL_WARN_IF, and THROW_WHERE.
Referenced by ReadContents().
void OStorage_Impl::OpenSubStorage | ( | SotElement_Impl * | pElement, |
sal_Int32 | nStorageMode | ||
) |
Definition at line 1411 of file xstorage.cxx.
References SotElement_Impl::m_aOriginalName, SotElement_Impl::m_bIsInserted, SotElement_Impl::m_bIsStorage, m_nStorageType, m_xContext, m_xMutex, m_xPackage, m_xPackageFolder, SotElement_Impl::m_xStorage, OStorage_Impl(), SAL_WARN_IF, and THROW_WHERE.
Referenced by CopyStorageElement(), OStorage::copyStorageElementLastCommitTo(), CreateRelStorage(), OStorage::getElementPropertyValue(), InsertElement(), and OStorage::openStorageElement().
void OStorage_Impl::OpenSubStream | ( | SotElement_Impl * | pElement | ) |
Definition at line 1432 of file xstorage.cxx.
References GetRelInfoStreamForName(), SotElement_Impl::m_aOriginalName, SotElement_Impl::m_bIsInserted, SotElement_Impl::m_bIsStorage, m_nStorageType, m_xContext, m_xMutex, m_xPackage, m_xPackageFolder, SotElement_Impl::m_xStream, SAL_WARN_IF, and THROW_WHERE.
Referenced by CloneStreamElement(), Commit(), CopyStorageElement(), OStorage::getPlainRawStreamElement(), OStorage::getRawEncrStreamElement(), InsertElement(), and OStorage::OpenStreamElement_Impl().
void OStorage_Impl::ReadContents | ( | ) |
Definition at line 533 of file xstorage.cxx.
References aName, CreateRelStorage(), GetStorageProperties(), m_aChildrenMap, m_aRelInfo, m_bIsRoot, m_bListCreated, m_nRelInfoStatus, m_nStorageMode, m_nStorageType, m_pRelStorElement, m_xMutex, m_xNewRelInfoStream, m_xPackageFolder, OpenOwnPackage(), RELINFO_CHANGED, SAL_WARN, SAL_WARN_IF, THROW_WHERE, and TOOLS_WARN_EXCEPTION.
Referenced by Commit(), CopyToStorage(), FindElement(), GetElementNames(), OStorage::getEncryptionAlgorithms(), OStorage::getPropertyValue(), GetRelInfoStreamForName(), HasChildren(), OStorage::removeEncryption(), OStorage::setEncryptionAlgorithms(), OStorage::setEncryptionData(), and OStorage::setGpgProperties().
void OStorage_Impl::ReadRelInfoIfNecessary | ( | ) |
Definition at line 489 of file xstorage.cxx.
References GetRelInfoStreamForName(), m_aRelInfo, m_nRelInfoStatus, m_nStorageType, m_xContext, m_xNewRelInfoStream, RELINFO_CHANGED_BROKEN, RELINFO_CHANGED_STREAM, RELINFO_CHANGED_STREAM_READ, RELINFO_NO_INIT, RELINFO_READ, TOOLS_INFO_EXCEPTION, and u.
Referenced by GetAllRelationshipsIfAny().
void OStorage_Impl::RemoveElement | ( | OUString const & | rName, |
SotElement_Impl * | pElement | ||
) |
Definition at line 1481 of file xstorage.cxx.
References ClearElement(), m_aChildrenMap, SotElement_Impl::m_bIsInserted, SotElement_Impl::m_bIsRemoved, SotElement_Impl::m_xStorage, SotElement_Impl::m_xStream, and THROW_WHERE.
Referenced by OStorage::moveElementTo(), OStorage::openStorageElement(), and OStorage::removeElement().
void OStorage_Impl::RemoveReadOnlyWrap | ( | const OStorage & | aStorage | ) |
Definition at line 346 of file xstorage.cxx.
References m_aReadOnlyWrapVector, and TOOLS_INFO_EXCEPTION.
Referenced by OStorage::InternalDispose().
void OStorage_Impl::RemoveStreamRelInfo | ( | std::u16string_view | aOriginalName | ) |
Definition at line 1553 of file xstorage.cxx.
References m_nStorageType, and m_xRelStorage.
Referenced by Commit(), and CommitRelInfo().
void OStorage_Impl::Revert | ( | ) |
Definition at line 1181 of file xstorage.cxx.
References ClearElement(), GetStorageProperties(), m_aChildrenMap, m_aDeletedVector, m_aRelInfo, m_bControlMediaType, m_bControlVersion, m_nRelInfoStatus, m_nStorageMode, m_nStorageType, m_xMutex, m_xNewRelInfoStream, and RELINFO_NO_INIT.
Referenced by OStorage::InternalDispose(), and OStorage::revert().
void OStorage_Impl::SetReadOnlyWrap | ( | OStorage & | aStorage | ) |
Definition at line 339 of file xstorage.cxx.
References OStorage::GetRefCount_Impl(), and m_aReadOnlyWrapVector.
std::unordered_map<OUString, std::vector<SotElement_Impl*> > OStorage_Impl::m_aChildrenMap |
Definition at line 133 of file xstorage.hxx.
Referenced by Commit(), CopyToStorage(), FindElement(), GetElementNames(), HasChildren(), InsertElement(), InsertRawStream(), InsertStorage(), InsertStream(), ReadContents(), RemoveElement(), OStorage::renameElement(), Revert(), OStorage::revert(), and ~OStorage_Impl().
::comphelper::SequenceAsHashMap OStorage_Impl::m_aCommonEncryptionData |
Definition at line 146 of file xstorage.hxx.
Referenced by GetCommonRootEncryptionData(), OStorage::removeEncryption(), and OStorage::setEncryptionData().
std::vector< SotElement_Impl* > OStorage_Impl::m_aDeletedVector |
Definition at line 134 of file xstorage.hxx.
Referenced by Commit(), InsertElement(), Revert(), and ~OStorage_Impl().
OUString OStorage_Impl::m_aMediaType |
Definition at line 152 of file xstorage.hxx.
Referenced by Commit(), CopyToStorage(), OStorage::getPropertyValue(), GetStorageProperties(), and OStorage::setPropertyValue().
StorageHoldersType OStorage_Impl::m_aReadOnlyWrapVector |
Definition at line 115 of file xstorage.hxx.
Referenced by RemoveReadOnlyWrap(), SetReadOnlyWrap(), and ~OStorage_Impl().
css::uno::Sequence< css::uno::Sequence< css::beans::StringPair > > OStorage_Impl::m_aRelInfo |
Definition at line 165 of file xstorage.hxx.
Referenced by OStorage::clearRelationships(), CommitRelInfo(), GetAllRelationshipsIfAny(), OStorage::insertRelationshipByID(), ReadContents(), ReadRelInfoIfNecessary(), OStorage::removeRelationshipByID(), Revert(), and OStorage::setPropertyValue().
OUString OStorage_Impl::m_aVersion |
Definition at line 156 of file xstorage.hxx.
Referenced by Commit(), CopyToStorage(), OStorage::getPropertyValue(), GetStorageProperties(), and OStorage::setPropertyValue().
bool OStorage_Impl::m_bBroadcastModified |
Definition at line 119 of file xstorage.hxx.
Referenced by OStorage::BroadcastModifiedIfNecessary(), InsertRawStream(), InsertStream(), OStorage::moveElementTo(), OStorage::removeElement(), OStorage::renameElement(), OStorage::revert(), OStorage::setModified(), and OStorage::setPropertyValue().
bool OStorage_Impl::m_bCommited |
Definition at line 121 of file xstorage.hxx.
Referenced by Commit(), and InsertIntoPackageFolder().
bool OStorage_Impl::m_bControlMediaType |
Definition at line 151 of file xstorage.hxx.
Referenced by GetStorageProperties(), Revert(), and OStorage::setPropertyValue().
bool OStorage_Impl::m_bControlVersion |
Definition at line 155 of file xstorage.hxx.
Referenced by GetStorageProperties(), Revert(), and OStorage::setPropertyValue().
bool OStorage_Impl::m_bHasCommonEncryptionData |
Definition at line 145 of file xstorage.hxx.
Referenced by GetCommonRootEncryptionData(), OWriteStream::hasEncryptionData(), OStorage::hasEncryptionData(), OStorage::removeEncryption(), and OStorage::setEncryptionData().
bool OStorage_Impl::m_bIsModified |
Definition at line 118 of file xstorage.hxx.
Referenced by Commit(), OWriteStream_Impl::GetStream_Impl(), InsertRawStream(), InsertStream(), OStorage::isModified(), OWriteStream::ModifyParentUnlockMutex_Impl(), OStorage::moveElementTo(), OStorage::removeElement(), OStorage::renameElement(), OStorage::revert(), OStorage::setModified(), and OStorage::setPropertyValue().
bool OStorage_Impl::m_bIsRoot |
Definition at line 123 of file xstorage.hxx.
Referenced by OStorage::attachToURL(), Commit(), GetCommonRootEncryptionData(), OStorage::getEncryptionAlgorithms(), OStorage::getPropertyValue(), OStorage::getTypes(), OStorage::InternalDispose(), OpenOwnPackage(), OStorage::queryInterface(), ReadContents(), OStorage::removeEncryption(), OStorage::setEncryptionAlgorithms(), OStorage::setEncryptionData(), OStorage::setGpgProperties(), OStorage::setPropertyValue(), OStorage::writeAndAttachToStream(), and ~OStorage_Impl().
bool OStorage_Impl::m_bListCreated |
Definition at line 124 of file xstorage.hxx.
Referenced by ReadContents(), and OStorage::revert().
bool OStorage_Impl::m_bMTFallbackUsed |
Definition at line 153 of file xstorage.hxx.
Referenced by Commit(), OStorage::getPropertyValue(), and GetStorageProperties().
oslInterlockedCount OStorage_Impl::m_nModifiedListenerCount |
Count of registered modification listeners.
Definition at line 127 of file xstorage.hxx.
Referenced by OStorage::addModifyListener(), HasModifiedListener(), OStorage::InternalDispose(), and OStorage::removeModifyListener().
sal_Int16 OStorage_Impl::m_nRelInfoStatus |
Definition at line 167 of file xstorage.hxx.
Referenced by OStorage::clearRelationships(), CommitRelInfo(), GetAllRelationshipsIfAny(), OStorage::insertRelationshipByID(), ReadContents(), ReadRelInfoIfNecessary(), OStorage::removeRelationshipByID(), Revert(), and OStorage::setPropertyValue().
sal_Int32 OStorage_Impl::m_nStorageMode |
Definition at line 117 of file xstorage.hxx.
Referenced by Commit(), OStorage::getPropertyValue(), OStorage::insertRawEncrStreamElement(), OStorage::moveElementTo(), OStorage::openEncryptedStreamByHierarchicalName(), OpenOwnPackage(), OStorage::openStorageElement(), OStorage::OpenStreamElement_Impl(), OStorage::openStreamElementByHierarchicalName(), OStorage::OStorage(), ReadContents(), OStorage::removeElement(), OStorage::removeStreamElementByHierarchicalName(), OStorage::renameElement(), and Revert().
sal_Int32 OStorage_Impl::m_nStorageType |
Definition at line 160 of file xstorage.hxx.
Referenced by OStorage::clearRelationships(), OStorage::cloneStreamElement(), Commit(), CommitRelInfo(), CommitStreamRelInfo(), OStorage::copyElementDirectlyTo(), OStorage::copyElementTo(), CopyLastCommitTo(), CopyStorageElement(), OStorage::copyStorageElementLastCommitTo(), OStorage::copyStreamElementData(), CopyToStorage(), CreateNewStorageImpl(), CreateRelStorage(), OStorage::getAllRelationships(), GetAllRelationshipsIfAny(), OStorage::getByName(), GetCommonRootEncryptionData(), OStorage::getElementPropertyValue(), OStorage::getEncryptionAlgorithms(), OStorage::getPlainRawStreamElement(), OStorage::getPropertyValue(), OStorage::getRawEncrStreamElement(), OStorage::getRelationshipByID(), OStorage::getRelationshipsByType(), GetRelInfoStreamForName(), GetStorageProperties(), OStorage::getTargetByID(), OStorage::getTypeByID(), OStorage::getTypes(), OStorage::hasByID(), OStorage::hasByName(), OStorage::insertRawEncrStreamElement(), InsertRawStream(), OStorage::insertRelationshipByID(), OStorage::insertRelationships(), InsertStream(), OStorage::insertStreamElementDirect(), OStorage::isStorageElement(), OStorage::isStreamElement(), OStorage::moveElementTo(), OStorage::openEncryptedStreamByHierarchicalName(), OpenOwnPackage(), OStorage::openStorageElement(), OStorage::openStreamElement(), OpenSubStorage(), OpenSubStream(), OStorage::queryInterface(), ReadContents(), ReadRelInfoIfNecessary(), OStorage::removeElement(), OStorage::removeEncryption(), OStorage::removeRelationshipByID(), RemoveStreamRelInfo(), OStorage::renameElement(), Revert(), OStorage::setEncryptionAlgorithms(), OStorage::setEncryptionData(), OStorage::setGpgProperties(), OStorage::setPropertyValue(), and ~OStorage_Impl().
OStorage* OStorage_Impl::m_pAntiImpl |
Definition at line 114 of file xstorage.hxx.
Referenced by OStorage::commit(), HasModifiedListener(), OStorage::InternalDispose(), OWriteStream::ModifyParentUnlockMutex_Impl(), OStorage::OStorage(), and ~OStorage_Impl().
OStorage_Impl* OStorage_Impl::m_pParent |
Definition at line 149 of file xstorage.hxx.
Referenced by OStorage::commit(), GetCommonRootEncryptionData(), and ~OStorage_Impl().
SotElement_Impl* OStorage_Impl::m_pRelStorElement |
Definition at line 163 of file xstorage.hxx.
Referenced by CommitRelInfo(), CreateRelStorage(), ReadContents(), and ~OStorage_Impl().
rtl::Reference<SwitchablePersistenceStream> OStorage_Impl::m_pSwitchStream |
Definition at line 158 of file xstorage.hxx.
Referenced by OStorage::attachToURL(), and OStorage::writeAndAttachToStream().
css::uno::Reference< css::uno::XComponentContext > OStorage_Impl::m_xContext |
Definition at line 139 of file xstorage.hxx.
Referenced by OStorage::attachToURL(), CommitRelInfo(), CopyLastCommitTo(), CreateNewStorageImpl(), InsertRawStream(), InsertStream(), OpenOwnPackage(), OpenSubStorage(), OpenSubStream(), and ReadRelInfoIfNecessary().
css::uno::Reference< css::io::XInputStream > OStorage_Impl::m_xInputStream |
Definition at line 142 of file xstorage.hxx.
Referenced by Commit(), OpenOwnPackage(), and ~OStorage_Impl().
rtl::Reference<comphelper::RefCountedMutex> OStorage_Impl::m_xMutex |
Definition at line 112 of file xstorage.hxx.
Referenced by Commit(), CopyLastCommitTo(), CopyStorageElement(), CopyToStorage(), FindElement(), GetCommonRootEncryptionData(), GetElementNames(), HasChildren(), InsertElement(), InsertIntoPackageFolder(), OpenOwnPackage(), OpenSubStorage(), OpenSubStream(), OStorage::OStorage(), ReadContents(), Revert(), and ~OStorage_Impl().
css::uno::Reference< css::io::XInputStream > OStorage_Impl::m_xNewRelInfoStream |
Definition at line 166 of file xstorage.hxx.
Referenced by OStorage::clearRelationships(), CommitRelInfo(), OStorage::insertRelationshipByID(), ReadContents(), ReadRelInfoIfNecessary(), OStorage::removeRelationshipByID(), Revert(), and OStorage::setPropertyValue().
css::uno::Reference< css::lang::XSingleServiceFactory > OStorage_Impl::m_xPackage |
Definition at line 138 of file xstorage.hxx.
Referenced by Commit(), CopyLastCommitTo(), CopyToStorage(), CreateNewStorageImpl(), OStorage::getEncryptionAlgorithms(), OStorage::getPropertyValue(), GetStorageProperties(), InsertRawStream(), InsertStream(), OpenOwnPackage(), OpenSubStorage(), OpenSubStream(), OStorage::removeEncryption(), OStorage::setEncryptionAlgorithms(), OStorage::setEncryptionData(), OStorage::setGpgProperties(), and ~OStorage_Impl().
css::uno::Reference< css::container::XNameContainer > OStorage_Impl::m_xPackageFolder |
Definition at line 136 of file xstorage.hxx.
Referenced by Commit(), CopyLastCommitTo(), CopyToStorage(), GetStorageProperties(), InsertIntoPackageFolder(), OpenOwnPackage(), OpenSubStorage(), OpenSubStream(), ReadContents(), and ~OStorage_Impl().
css::uno::Sequence< css::beans::PropertyValue > OStorage_Impl::m_xProperties |
Definition at line 144 of file xstorage.hxx.
Referenced by OStorage::getPropertyValue(), OpenOwnPackage(), and ~OStorage_Impl().
css::uno::Reference< css::embed::XStorage > OStorage_Impl::m_xRelStorage |
Definition at line 164 of file xstorage.hxx.
Referenced by CommitRelInfo(), CommitStreamRelInfo(), CreateRelStorage(), GetRelInfoStreamForName(), and RemoveStreamRelInfo().
css::uno::Reference< css::io::XStream > OStorage_Impl::m_xStream |
Definition at line 143 of file xstorage.hxx.
Referenced by Commit(), OpenOwnPackage(), and ~OStorage_Impl().