LibreOffice Module forms (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
frm::OFormattedFieldWrapper Class Referencefinal

#include <FormattedFieldWrapper.hxx>

Inheritance diagram for frm::OFormattedFieldWrapper:
[legend]
Collaboration diagram for frm::OFormattedFieldWrapper:
[legend]

Public Member Functions

virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual OUString SAL_CALL getServiceName () override
 
virtual void SAL_CALL write (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream) override
 
virtual void SAL_CALL read (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream) override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
- Public Member Functions inherited from cppu::WeakAggImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_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 > ()
 

Static Public Member Functions

static css::uno::Reference< css::uno::XInterface > createFormattedFieldWrapper (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory, bool bActAsFormatted, OUString const &implementationName)
 

Private Member Functions

 OFormattedFieldWrapper (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory, OUString const &implementationName)
 
virtual ~OFormattedFieldWrapper () override
 
void ensureAggregate ()
 ensure we're in a defined state, which means a FormattedModel OR an EditModel More...
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_implementationName
 
css::uno::Reference< css::uno::XAggregation > m_xAggregate
 
rtl::Reference< OEditModelm_pEditPart
 
css::uno::Reference< css::io::XPersistObject > m_xFormattedPart
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 42 of file FormattedFieldWrapper.hxx.

Constructor & Destructor Documentation

◆ OFormattedFieldWrapper()

OFormattedFieldWrapper::OFormattedFieldWrapper ( const css::uno::Reference< css::uno::XComponentContext > &  _rxFactory,
OUString const &  implementationName 
)
private

Definition at line 47 of file FormattedFieldWrapper.cxx.

References implementationName, and m_xContext.

Referenced by createClone(), and createFormattedFieldWrapper().

◆ ~OFormattedFieldWrapper()

OFormattedFieldWrapper::~OFormattedFieldWrapper ( )
overrideprivatevirtual

Definition at line 121 of file FormattedFieldWrapper.cxx.

References m_xAggregate.

Member Function Documentation

◆ createClone()

Reference< XCloneable > SAL_CALL OFormattedFieldWrapper::createClone ( )
overridevirtual

◆ createFormattedFieldWrapper()

css::uno::Reference< css::uno::XInterface > OFormattedFieldWrapper::createFormattedFieldWrapper ( const css::uno::Reference< css::uno::XComponentContext > &  _rxFactory,
bool  bActAsFormatted,
OUString const &  implementationName 
)
static

◆ ensureAggregate()

void OFormattedFieldWrapper::ensureAggregate ( )
private

ensure we're in a defined state, which means a FormattedModel OR an EditModel

Definition at line 307 of file FormattedFieldWrapper.cxx.

References DBG_ASSERT, FRM_SUN_COMPONENT_TEXTFIELD, cppu::OWeakObject::m_refCount, m_xAggregate, and m_xContext.

Referenced by createClone(), queryAggregation(), and write().

◆ getImplementationName()

OUString SAL_CALL OFormattedFieldWrapper::getImplementationName ( )
overridevirtual

Definition at line 179 of file FormattedFieldWrapper.cxx.

References m_implementationName.

◆ getServiceName()

OUString SAL_CALL OFormattedFieldWrapper::getServiceName ( )
overridevirtual

Definition at line 173 of file FormattedFieldWrapper.cxx.

References FRM_COMPONENT_EDIT.

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL OFormattedFieldWrapper::getSupportedServiceNames ( )
overridevirtual

Definition at line 189 of file FormattedFieldWrapper.cxx.

References DBG_ASSERT, and m_xAggregate.

◆ queryAggregation()

Any SAL_CALL OFormattedFieldWrapper::queryAggregation ( const css::uno::Type &  _rType)
overridevirtual

◆ read()

void SAL_CALL OFormattedFieldWrapper::read ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream)
overridevirtual

◆ supportsService()

sal_Bool SAL_CALL OFormattedFieldWrapper::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 184 of file FormattedFieldWrapper.cxx.

References cppu::supportsService().

◆ write()

void SAL_CALL OFormattedFieldWrapper::write ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream)
overridevirtual

Member Data Documentation

◆ m_implementationName

OUString frm::OFormattedFieldWrapper::m_implementationName
private

Definition at line 45 of file FormattedFieldWrapper.hxx.

Referenced by createClone(), and getImplementationName().

◆ m_pEditPart

rtl::Reference< OEditModel > frm::OFormattedFieldWrapper::m_pEditPart
private

Definition at line 49 of file FormattedFieldWrapper.hxx.

Referenced by createClone(), read(), and write().

◆ m_xAggregate

css::uno::Reference< css::uno::XAggregation> frm::OFormattedFieldWrapper::m_xAggregate
private

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext> frm::OFormattedFieldWrapper::m_xContext
private

Definition at line 44 of file FormattedFieldWrapper.hxx.

Referenced by createClone(), ensureAggregate(), and read().

◆ m_xFormattedPart

css::uno::Reference< css::io::XPersistObject> frm::OFormattedFieldWrapper::m_xFormattedPart
private

Definition at line 51 of file FormattedFieldWrapper.hxx.

Referenced by read(), and write().


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