LibreOffice Module ucb (master) 1
|
#include <tdoc_stgelems.hxx>
Public Member Functions | |
Storage (const css::uno::Reference< css::uno::XComponentContext > &rxContext, rtl::Reference< StorageElementFactory > xFactory, const OUString &rUri, const css::uno::Reference< css::embed::XStorage > &xParentStorage, const css::uno::Reference< css::embed::XStorage > &xStorageToWrap) | |
virtual | ~Storage () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) 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 | 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 > &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 | 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 &aPassword) override |
virtual css::uno::Reference< css::embed::XStorage > SAL_CALL | openStorageElement (const OUString &aStorName, sal_Int32 nOpenMode) 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 &aPassword) 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 &aEleName, const OUString &aNewName) 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 void SAL_CALL | commit () override |
virtual void SAL_CALL | revert () override |
Public Member Functions inherited from tdoc_ucp::ParentStorageHolder | |
ParentStorageHolder (css::uno::Reference< css::embed::XStorage > xParentStorage, const OUString &rUri) | |
bool | isParentARootStorage () const |
const css::uno::Reference< css::embed::XStorage > & | getParentStorage () const |
void | setParentStorage (const css::uno::Reference< css::embed::XStorage > &xStg) |
Private Attributes | |
rtl::Reference< StorageElementFactory > | m_xFactory |
css::uno::Reference< css::uno::XAggregation > | m_xAggProxy |
css::uno::Reference< css::embed::XStorage > | m_xWrappedStorage |
css::uno::Reference< css::embed::XTransactedObject > | m_xWrappedTransObj |
css::uno::Reference< css::lang::XComponent > | m_xWrappedComponent |
css::uno::Reference< css::lang::XTypeProvider > | m_xWrappedTypeProv |
bool | m_bIsDocumentStorage |
StorageElementFactory::StorageMap::iterator | m_aContainerIt |
Friends | |
class | StorageElementFactory |
Definition at line 72 of file tdoc_stgelems.hxx.
Storage::Storage | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
rtl::Reference< StorageElementFactory > | xFactory, | ||
const OUString & | rUri, | ||
const css::uno::Reference< css::embed::XStorage > & | xParentStorage, | ||
const css::uno::Reference< css::embed::XStorage > & | xStorageToWrap | ||
) |
Definition at line 62 of file tdoc_stgelems.cxx.
References m_refCount, m_xAggProxy, m_xWrappedComponent, m_xWrappedStorage, m_xWrappedTypeProv, m_xWrappedTypeProv, TOOLS_WARN_EXCEPTION, and xFactory.
|
overridevirtual |
Definition at line 118 of file tdoc_stgelems.cxx.
References m_bIsDocumentStorage, m_xAggProxy, m_xWrappedComponent, and TOOLS_WARN_EXCEPTION.
|
overridevirtualnoexcept |
Definition at line 164 of file tdoc_stgelems.cxx.
References m_refCount.
|
overridevirtual |
Definition at line 215 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 317 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 309 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 398 of file tdoc_stgelems.cxx.
References tdoc_ucp::ParentStorageHolder::getParentStorage(), tdoc_ucp::ParentStorageHolder::isParentARootStorage(), and m_xWrappedTransObj.
|
overridevirtual |
Definition at line 375 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 327 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 335 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 274 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 207 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 250 of file tdoc_stgelems.cxx.
References aName, and m_xWrappedStorage.
|
overridevirtual |
Definition at line 257 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 233 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 197 of file tdoc_stgelems.cxx.
|
overridevirtual |
Definition at line 190 of file tdoc_stgelems.cxx.
References m_xWrappedTypeProv.
|
overridevirtual |
Definition at line 264 of file tdoc_stgelems.cxx.
References aName, and m_xWrappedStorage.
|
overridevirtual |
Definition at line 240 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 352 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 344 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 385 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 290 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 301 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 282 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 150 of file tdoc_stgelems.cxx.
References uno::Any::hasValue(), and m_xAggProxy.
|
overridevirtualnoexcept |
Definition at line 172 of file tdoc_stgelems.cxx.
References m_refCount, and m_xFactory.
|
overridevirtual |
Definition at line 360 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 222 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 367 of file tdoc_stgelems.cxx.
References m_xWrappedStorage.
|
overridevirtual |
Definition at line 427 of file tdoc_stgelems.cxx.
References tdoc_ucp::ParentStorageHolder::getParentStorage(), tdoc_ucp::ParentStorageHolder::isParentARootStorage(), and m_xWrappedTransObj.
|
friend |
Definition at line 179 of file tdoc_stgelems.hxx.
|
private |
Definition at line 177 of file tdoc_stgelems.hxx.
Referenced by tdoc_ucp::StorageElementFactory::releaseElement().
|
private |
Definition at line 175 of file tdoc_stgelems.hxx.
Referenced by ~Storage().
|
private |
Definition at line 170 of file tdoc_stgelems.hxx.
Referenced by queryInterface(), Storage(), and ~Storage().
|
private |
Definition at line 169 of file tdoc_stgelems.hxx.
Referenced by release().
|
private |
Definition at line 173 of file tdoc_stgelems.hxx.
Referenced by Storage(), and ~Storage().
|
private |
Definition at line 171 of file tdoc_stgelems.hxx.
Referenced by addEventListener(), cloneEncryptedStreamElement(), cloneStreamElement(), copyElementTo(), copyLastCommitTo(), copyStorageElementLastCommitTo(), copyToStorage(), dispose(), getByName(), getElementNames(), getElementType(), hasByName(), hasElements(), isStorageElement(), isStreamElement(), moveElementTo(), openEncryptedStreamElement(), openStorageElement(), openStreamElement(), removeElement(), removeEventListener(), renameElement(), and Storage().
|
private |
Definition at line 172 of file tdoc_stgelems.hxx.
|
private |
Definition at line 174 of file tdoc_stgelems.hxx.
Referenced by getTypes(), and Storage().