LibreOffice Module ucb (master) 1
|
#include <tdoc_stgelems.hxx>
Public Member Functions | |
Stream (const css::uno::Reference< css::uno::XComponentContext > &rxContext, rtl::Reference< OfficeDocumentsManager > const &docsMgr, const OUString &rUri, const css::uno::Reference< css::embed::XStorage > &xParentStorage, const css::uno::Reference< css::io::XStream > &xStreamToWrap) | |
virtual | ~Stream () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getInputStream () override |
virtual css::uno::Reference< css::io::XOutputStream > SAL_CALL | getOutputStream () override |
virtual void SAL_CALL | writeBytes (const css::uno::Sequence< sal_Int8 > &aData) override |
virtual void SAL_CALL | flush () override |
virtual void SAL_CALL | closeOutput () override |
virtual void SAL_CALL | truncate () override |
virtual sal_Int32 SAL_CALL | readBytes (css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nBytesToRead) override |
virtual sal_Int32 SAL_CALL | readSomeBytes (css::uno::Sequence< sal_Int8 > &aData, sal_Int32 nMaxBytesToRead) override |
virtual void SAL_CALL | skipBytes (sal_Int32 nBytesToSkip) override |
virtual sal_Int32 SAL_CALL | available () override |
virtual void SAL_CALL | closeInput () 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 |
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 Member Functions | |
void | commitChanges () |
Private Attributes | |
rtl::Reference< OfficeDocumentsManager > | m_docsMgr |
OUString | m_uri |
css::uno::Reference< css::uno::XAggregation > | m_xAggProxy |
css::uno::Reference< css::io::XStream > | m_xWrappedStream |
css::uno::Reference< css::io::XOutputStream > | m_xWrappedOutputStream |
css::uno::Reference< css::io::XTruncate > | m_xWrappedTruncate |
css::uno::Reference< css::io::XInputStream > | m_xWrappedInputStream |
css::uno::Reference< css::lang::XComponent > | m_xWrappedComponent |
css::uno::Reference< css::lang::XTypeProvider > | m_xWrappedTypeProv |
Definition at line 246 of file tdoc_stgelems.hxx.
Stream::Stream | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
rtl::Reference< OfficeDocumentsManager > const & | docsMgr, | ||
const OUString & | rUri, | ||
const css::uno::Reference< css::embed::XStorage > & | xParentStorage, | ||
const css::uno::Reference< css::io::XStream > & | xStreamToWrap | ||
) |
Definition at line 617 of file tdoc_stgelems.cxx.
References getOutputStream(), m_refCount, m_xAggProxy, m_xWrappedComponent, m_xWrappedStream, m_xWrappedTypeProv, m_xWrappedTypeProv, and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Definition at line 676 of file tdoc_stgelems.cxx.
References m_xAggProxy.
|
overridevirtual |
Definition at line 844 of file tdoc_stgelems.cxx.
References m_xWrappedComponent.
|
overridevirtual |
Definition at line 816 of file tdoc_stgelems.cxx.
References m_xWrappedInputStream.
|
overridevirtual |
Definition at line 823 of file tdoc_stgelems.cxx.
References m_xWrappedInputStream.
|
overridevirtual |
Definition at line 761 of file tdoc_stgelems.cxx.
References commitChanges(), m_xWrappedOutputStream, and tdoc_ucp::ParentStorageHolder::setParentStorage().
|
private |
css::io::IOException |
Definition at line 862 of file tdoc_stgelems.cxx.
References tdoc_ucp::ParentStorageHolder::getParentStorage(), m_docsMgr, and m_uri.
Referenced by closeOutput(), flush(), truncate(), and writeBytes().
|
overridevirtual |
Definition at line 833 of file tdoc_stgelems.cxx.
References m_xWrappedComponent, and tdoc_ucp::ParentStorageHolder::setParentStorage().
|
overridevirtual |
Definition at line 750 of file tdoc_stgelems.cxx.
References commitChanges(), and m_xWrappedOutputStream.
|
overridevirtual |
Definition at line 712 of file tdoc_stgelems.cxx.
|
overridevirtual |
Definition at line 722 of file tdoc_stgelems.cxx.
|
overridevirtual |
Definition at line 729 of file tdoc_stgelems.cxx.
|
overridevirtual |
Definition at line 705 of file tdoc_stgelems.cxx.
References m_xWrappedTypeProv.
|
overridevirtual |
Definition at line 687 of file tdoc_stgelems.cxx.
References uno::Any::hasValue(), and m_xAggProxy.
|
overridevirtual |
Definition at line 793 of file tdoc_stgelems.cxx.
References aData, and m_xWrappedInputStream.
|
overridevirtual |
Definition at line 801 of file tdoc_stgelems.cxx.
References aData, and m_xWrappedInputStream.
|
overridevirtual |
Definition at line 852 of file tdoc_stgelems.cxx.
References m_xWrappedComponent.
|
overridevirtual |
Definition at line 809 of file tdoc_stgelems.cxx.
References m_xWrappedInputStream.
|
overridevirtual |
Definition at line 779 of file tdoc_stgelems.cxx.
References commitChanges(), and m_xWrappedTruncate.
|
overridevirtual |
Definition at line 739 of file tdoc_stgelems.cxx.
References aData, commitChanges(), and m_xWrappedOutputStream.
|
private |
Definition at line 321 of file tdoc_stgelems.hxx.
Referenced by commitChanges().
|
private |
Definition at line 322 of file tdoc_stgelems.hxx.
Referenced by commitChanges().
|
private |
Definition at line 324 of file tdoc_stgelems.hxx.
Referenced by queryInterface(), Stream(), and ~Stream().
|
private |
Definition at line 334 of file tdoc_stgelems.hxx.
Referenced by addEventListener(), dispose(), removeEventListener(), and Stream().
|
private |
Definition at line 332 of file tdoc_stgelems.hxx.
Referenced by available(), closeInput(), readBytes(), readSomeBytes(), and skipBytes().
|
private |
Definition at line 328 of file tdoc_stgelems.hxx.
Referenced by closeOutput(), flush(), and writeBytes().
|
private |
Definition at line 326 of file tdoc_stgelems.hxx.
Referenced by Stream().
|
private |
Definition at line 330 of file tdoc_stgelems.hxx.
Referenced by truncate().
|
private |
Definition at line 336 of file tdoc_stgelems.hxx.
Referenced by getTypes(), and Stream().