LibreOffice Module editeng (master) 1
Public Member Functions | Private Attributes | List of all members
SvxUnoTextField Class Referencefinal

#include <unofield.hxx>

Inheritance diagram for SvxUnoTextField:
[legend]
Collaboration diagram for SvxUnoTextField:
[legend]

Public Member Functions

 SvxUnoTextField (sal_Int32 nServiceId) noexcept
 
 SvxUnoTextField (css::uno::Reference< css::text::XTextRange > xAnchor, const OUString &rPresentation, const SvxFieldData *pFieldData) noexcept
 
virtual ~SvxUnoTextField () noexcept override
 
std::unique_ptr< SvxFieldDataCreateFieldData () const noexcept
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) 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 OUString SAL_CALL getPresentation (sal_Bool bShowCommand) override
 
virtual void SAL_CALL attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor () 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::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL disposing () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from cppu::OComponentHelper
 OComponentHelper (::osl::Mutex &rMutex)
 
virtual ~OComponentHelper () SAL_OVERRIDE
 
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< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE=0
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual void SAL_CALL dispose () SAL_OVERRIDE
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) 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 > ()
 

Private Attributes

css::uno::Reference< css::text::XTextRange > mxAnchor
 
const SfxItemPropertySetmpPropSet
 
sal_Int32 mnServiceId
 
std::unique_ptr< SvxUnoFieldData_ImplmpImpl
 
css::uno::Sequence< css::uno::Type > maTypeSequence
 

Additional Inherited Members

virtual void SAL_CALL disposing ()
 
- 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::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 44 of file unofield.hxx.

Constructor & Destructor Documentation

◆ SvxUnoTextField() [1/2]

SvxUnoTextField::SvxUnoTextField ( sal_Int32  nServiceId)
noexcept

Definition at line 226 of file unofield.cxx.

References FullName, ImplGetFieldItemPropertySet(), Repr, Standard, StdSmall, and Value.

◆ SvxUnoTextField() [2/2]

SvxUnoTextField::SvxUnoTextField ( css::uno::Reference< css::text::XTextRange >  xAnchor,
const OUString &  rPresentation,
const SvxFieldData pFieldData 
)
noexcept

◆ ~SvxUnoTextField()

SvxUnoTextField::~SvxUnoTextField ( )
overridevirtualnoexcept

Definition at line 384 of file unofield.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL SvxUnoTextField::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OComponentHelper.

Definition at line 572 of file unofield.cxx.

◆ addEventListener()

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

Reimplemented from cppu::OComponentHelper.

Definition at line 655 of file unofield.cxx.

◆ addPropertyChangeListener()

void SAL_CALL SvxUnoTextField::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 776 of file unofield.cxx.

◆ addVetoableChangeListener()

void SAL_CALL SvxUnoTextField::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 778 of file unofield.cxx.

◆ attach()

void SAL_CALL SvxUnoTextField::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
overridevirtual

Definition at line 633 of file unofield.cxx.

References CreateFieldData(), and pData.

◆ CreateFieldData()

std::unique_ptr< SvxFieldData > SvxUnoTextField::CreateFieldData ( ) const
noexcept

◆ dispose()

void SAL_CALL SvxUnoTextField::dispose ( void  )
overridevirtual

Reimplemented from cppu::OComponentHelper.

Definition at line 650 of file unofield.cxx.

◆ disposing()

void SvxUnoTextField::disposing ( )
overridevirtual

Reimplemented from cppu::OComponentHelper.

Definition at line 782 of file unofield.cxx.

◆ getAnchor()

uno::Reference< text::XTextRange > SAL_CALL SvxUnoTextField::getAnchor ( )
overridevirtual

Definition at line 644 of file unofield.cxx.

References mxAnchor.

◆ getImplementationId()

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

Implements cppu::OComponentHelper.

Definition at line 562 of file unofield.cxx.

◆ getImplementationName()

OUString SAL_CALL SvxUnoTextField::getImplementationName ( )
overridevirtual

Definition at line 788 of file unofield.cxx.

◆ getPresentation()

OUString SAL_CALL SvxUnoTextField::getPresentation ( sal_Bool  bShowCommand)
overridevirtual

Definition at line 583 of file unofield.cxx.

References mnServiceId, and mpImpl.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL SvxUnoTextField::getPropertySetInfo ( )
overridevirtual

Definition at line 667 of file unofield.cxx.

References SfxItemPropertySet::getPropertySetInfo(), and mpPropSet.

◆ getPropertyValue()

uno::Any SAL_CALL SvxUnoTextField::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SvxUnoTextField::getSupportedServiceNames ( )
overridevirtual

Definition at line 793 of file unofield.cxx.

References aSeq, and mnServiceId.

◆ getTypes()

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

◆ queryAggregation()

uno::Any SAL_CALL SvxUnoTextField::queryAggregation ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OComponentHelper.

Definition at line 531 of file unofield.cxx.

References QUERYINT.

◆ queryInterface()

uno::Any SAL_CALL SvxUnoTextField::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OComponentHelper.

Definition at line 567 of file unofield.cxx.

◆ release()

void SAL_CALL SvxUnoTextField::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OComponentHelper.

Definition at line 577 of file unofield.cxx.

◆ removeEventListener()

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

Reimplemented from cppu::OComponentHelper.

Definition at line 660 of file unofield.cxx.

◆ removePropertyChangeListener()

void SAL_CALL SvxUnoTextField::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 777 of file unofield.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL SvxUnoTextField::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 779 of file unofield.cxx.

◆ setPropertyValue()

void SAL_CALL SvxUnoTextField::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ supportsService()

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

Definition at line 873 of file unofield.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ maTypeSequence

css::uno::Sequence< css::uno::Type > SvxUnoTextField::maTypeSequence
private

Definition at line 54 of file unofield.hxx.

Referenced by getTypes().

◆ mnServiceId

sal_Int32 SvxUnoTextField::mnServiceId
private

◆ mpImpl

std::unique_ptr<SvxUnoFieldData_Impl> SvxUnoTextField::mpImpl
private

Definition at line 53 of file unofield.hxx.

Referenced by CreateFieldData(), getPresentation(), getPropertyValue(), and setPropertyValue().

◆ mpPropSet

const SfxItemPropertySet* SvxUnoTextField::mpPropSet
private

Definition at line 51 of file unofield.hxx.

Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().

◆ mxAnchor

css::uno::Reference< css::text::XTextRange > SvxUnoTextField::mxAnchor
private

Definition at line 50 of file unofield.hxx.

Referenced by getAnchor(), getPropertyValue(), and setPropertyValue().


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