LibreOffice Module ucb (master) 1
Public Member Functions | Private Attributes | List of all members
tdoc_ucp::OutputStream Class Reference

#include <tdoc_stgelems.hxx>

Inheritance diagram for tdoc_ucp::OutputStream:
[legend]
Collaboration diagram for tdoc_ucp::OutputStream:
[legend]

Public Member Functions

 OutputStream (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const OUString &rUri, const css::uno::Reference< css::embed::XStorage > &xParentStorage, const css::uno::Reference< css::io::XOutputStream > &xStreamToWrap)
 
virtual ~OutputStream () 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 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 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 Attributes

css::uno::Reference< css::uno::XAggregation > m_xAggProxy
 
css::uno::Reference< css::io::XOutputStream > m_xWrappedStream
 
css::uno::Reference< css::lang::XComponent > m_xWrappedComponent
 
css::uno::Reference< css::lang::XTypeProvider > m_xWrappedTypeProv
 

Detailed Description

Definition at line 186 of file tdoc_stgelems.hxx.

Constructor & Destructor Documentation

◆ OutputStream()

tdoc_ucp::OutputStream::OutputStream ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const OUString &  rUri,
const css::uno::Reference< css::embed::XStorage > &  xParentStorage,
const css::uno::Reference< css::io::XOutputStream > &  xStreamToWrap 
)

◆ ~OutputStream()

OutputStream::~OutputStream ( )
overridevirtual

Definition at line 507 of file tdoc_stgelems.cxx.

References m_xAggProxy.

Member Function Documentation

◆ addEventListener()

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

Definition at line 597 of file tdoc_stgelems.cxx.

References m_xWrappedComponent.

◆ closeOutput()

void SAL_CALL OutputStream::closeOutput ( )
overridevirtual

◆ dispose()

void SAL_CALL OutputStream::dispose ( void  )
overridevirtual

◆ flush()

void SAL_CALL OutputStream::flush ( )
overridevirtual

Definition at line 562 of file tdoc_stgelems.cxx.

References m_xWrappedStream.

◆ getImplementationId()

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

Definition at line 543 of file tdoc_stgelems.cxx.

◆ getTypes()

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

Definition at line 536 of file tdoc_stgelems.cxx.

References m_xWrappedTypeProv.

◆ queryInterface()

virtual css::uno::Any SAL_CALL tdoc_ucp::OutputStream::queryInterface ( const css::uno::Type &  aType)
overridevirtual

◆ removeEventListener()

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

Definition at line 606 of file tdoc_stgelems.cxx.

References m_xWrappedComponent.

◆ writeBytes()

virtual void SAL_CALL tdoc_ucp::OutputStream::writeBytes ( const css::uno::Sequence< sal_Int8 > &  aData)
overridevirtual

Member Data Documentation

◆ m_xAggProxy

css::uno::Reference< css::uno::XAggregation > tdoc_ucp::OutputStream::m_xAggProxy
private

Definition at line 227 of file tdoc_stgelems.hxx.

Referenced by ~OutputStream().

◆ m_xWrappedComponent

css::uno::Reference< css::lang::XComponent > tdoc_ucp::OutputStream::m_xWrappedComponent
private

Definition at line 231 of file tdoc_stgelems.hxx.

Referenced by addEventListener(), dispose(), and removeEventListener().

◆ m_xWrappedStream

css::uno::Reference< css::io::XOutputStream > tdoc_ucp::OutputStream::m_xWrappedStream
private

Definition at line 229 of file tdoc_stgelems.hxx.

Referenced by closeOutput(), and flush().

◆ m_xWrappedTypeProv

css::uno::Reference< css::lang::XTypeProvider > tdoc_ucp::OutputStream::m_xWrappedTypeProv
private

Definition at line 233 of file tdoc_stgelems.hxx.

Referenced by getTypes().


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