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

#include <unotext.hxx>

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

Public Member Functions

 SvxUnoTextContent (const SvxUnoTextBase &rText, sal_Int32 nPara) noexcept
 
 SvxUnoTextContent (const SvxUnoTextContent &rContent) noexcept
 
virtual ~SvxUnoTextContent () noexcept override
 
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::Reference< css::text::XText > SAL_CALL getText () 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::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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 setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () 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::XText > mxParentText
 
sal_Int32 mnParagraph
 
const SvxUnoTextBasemrParentText
 
std::mutex maDisposeContainerMutex
 
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maDisposeListeners
 
bool mbDisposing
 

Friends

class SvxUnoTextContentEnumeration
 

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 522 of file unotext.hxx.

Constructor & Destructor Documentation

◆ SvxUnoTextContent() [1/2]

SvxUnoTextContent::SvxUnoTextContent ( const SvxUnoTextBase rText,
sal_Int32  nPara 
)
noexcept

Definition at line 120 of file unotext2.cxx.

◆ SvxUnoTextContent() [2/2]

SvxUnoTextContent::SvxUnoTextContent ( const SvxUnoTextContent rContent)
noexcept

Definition at line 129 of file unotext2.cxx.

◆ ~SvxUnoTextContent()

SvxUnoTextContent::~SvxUnoTextContent ( )
overridevirtualnoexcept

Definition at line 143 of file unotext2.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL SvxUnoTextContent::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakAggObject.

Definition at line 172 of file unotext2.cxx.

◆ addEventListener()

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

◆ attach()

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

Definition at line 214 of file unotext2.cxx.

◆ createEnumeration()

uno::Reference< container::XEnumeration > SAL_CALL SvxUnoTextContent::createEnumeration ( )
overridevirtual

Definition at line 259 of file unotext2.cxx.

References mnParagraph, and mrParentText.

◆ dispose()

void SAL_CALL SvxUnoTextContent::dispose ( void  )
overridevirtual

◆ getAnchor()

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

Definition at line 218 of file unotext2.cxx.

References mxParentText.

◆ getElementType()

uno::Type SAL_CALL SvxUnoTextContent::getElementType ( )
overridevirtual

Definition at line 268 of file unotext2.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationId()

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

Definition at line 201 of file unotext2.cxx.

◆ getImplementationName()

OUString SAL_CALL SvxUnoTextContent::getImplementationName ( )
overridevirtual

Definition at line 348 of file unotext2.cxx.

◆ getPropertyState()

beans::PropertyState SAL_CALL SvxUnoTextContent::getPropertyState ( const OUString &  PropertyName)
overridevirtual

Definition at line 331 of file unotext2.cxx.

References mnParagraph.

◆ getPropertyStates()

uno::Sequence< beans::PropertyState > SAL_CALL SvxUnoTextContent::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual

Definition at line 336 of file unotext2.cxx.

References mnParagraph.

◆ getPropertyValue()

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

Definition at line 297 of file unotext2.cxx.

References mnParagraph.

◆ getPropertyValues()

uno::Sequence< uno::Any > SAL_CALL SvxUnoTextContent::getPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Definition at line 308 of file unotext2.cxx.

References mnParagraph.

◆ getSupportedServiceNames()

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

Definition at line 353 of file unotext2.cxx.

References comphelper::concatSequences(), and u.

◆ getText()

uno::Reference< text::XText > SAL_CALL SvxUnoTextContent::getText ( )
overridevirtual

Definition at line 208 of file unotext2.cxx.

References mxParentText.

◆ getTypes()

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

Definition at line 184 of file unotext2.cxx.

References cppu::UnoType< typename T >::get().

◆ hasElements()

sal_Bool SAL_CALL SvxUnoTextContent::hasElements ( )
overridevirtual

Definition at line 273 of file unotext2.cxx.

References SvxTextForwarder::GetPortions(), and mnParagraph.

◆ queryAggregation()

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

Reimplemented from cppu::OWeakAggObject.

Definition at line 148 of file unotext2.cxx.

References QUERYINT.

◆ queryInterface()

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

Reimplemented from cppu::OWeakAggObject.

Definition at line 167 of file unotext2.cxx.

◆ release()

void SAL_CALL SvxUnoTextContent::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakAggObject.

Definition at line 177 of file unotext2.cxx.

◆ removeEventListener()

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

◆ setPropertyToDefault()

void SAL_CALL SvxUnoTextContent::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual

Definition at line 341 of file unotext2.cxx.

References mnParagraph.

◆ setPropertyValue()

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

Definition at line 292 of file unotext2.cxx.

References mnParagraph.

◆ setPropertyValues()

void SAL_CALL SvxUnoTextContent::setPropertyValues ( const css::uno::Sequence< OUString > &  aPropertyNames,
const css::uno::Sequence< css::uno::Any > &  aValues 
)
overridevirtual

Definition at line 303 of file unotext2.cxx.

References mnParagraph.

Friends And Related Function Documentation

◆ SvxUnoTextContentEnumeration

friend class SvxUnoTextContentEnumeration
friend

Definition at line 528 of file unotext.hxx.

Member Data Documentation

◆ maDisposeContainerMutex

std::mutex SvxUnoTextContent::maDisposeContainerMutex
private

Definition at line 535 of file unotext.hxx.

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

◆ maDisposeListeners

::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> SvxUnoTextContent::maDisposeListeners
private

Definition at line 536 of file unotext.hxx.

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

◆ mbDisposing

bool SvxUnoTextContent::mbDisposing
private

Definition at line 537 of file unotext.hxx.

Referenced by dispose().

◆ mnParagraph

sal_Int32 SvxUnoTextContent::mnParagraph
private

◆ mrParentText

const SvxUnoTextBase& SvxUnoTextContent::mrParentText
private

Definition at line 532 of file unotext.hxx.

Referenced by createEnumeration().

◆ mxParentText

css::uno::Reference< css::text::XText > SvxUnoTextContent::mxParentText
private

Definition at line 530 of file unotext.hxx.

Referenced by dispose(), getAnchor(), and getText().


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