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

#include <unoatxt.hxx>

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

Public Member Functions

 SwXAutoTextGroup (const OUString &rName, SwGlossaries *pGloss)
 
virtual css::uno::Sequence< OUString > SAL_CALL getTitles () override
 
virtual void SAL_CALL renameByName (const OUString &aElementName, const OUString &aNewElementName, const OUString &aNewElementTitle) override
 
virtual css::uno::Reference< css::text::XAutoTextEntry > SAL_CALL insertNewByName (const OUString &aName, const OUString &aTitle, const css::uno::Reference< css::text::XTextRange > &xTextRange) override
 
virtual void SAL_CALL removeByName (const OUString &aEntryName) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &Name_) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 nIndex) override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &Name) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &Name) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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 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
 
void Invalidate ()
 

Private Member Functions

virtual ~SwXAutoTextGroup () override
 

Private Attributes

const SfxItemPropertySetm_pPropSet
 
SwGlossariesm_pGlossaries
 
OUString m_sName
 
OUString m_sGroupName
 

Detailed Description

Definition at line 86 of file unoatxt.hxx.

Constructor & Destructor Documentation

◆ ~SwXAutoTextGroup()

SwXAutoTextGroup::~SwXAutoTextGroup ( )
overrideprivatevirtual

Definition at line 219 of file unoatxt.cxx.

◆ SwXAutoTextGroup()

SwXAutoTextGroup::SwXAutoTextGroup ( const OUString &  rName,
SwGlossaries pGloss 
)

Definition at line 208 of file unoatxt.cxx.

References GLOS_DELIM, and m_sName.

Member Function Documentation

◆ addPropertyChangeListener()

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

Definition at line 604 of file unoatxt.cxx.

◆ addVetoableChangeListener()

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

Definition at line 614 of file unoatxt.cxx.

◆ getByIndex()

uno::Any SwXAutoTextGroup::getByIndex ( sal_Int32  nIndex)
overridevirtual

◆ getByName()

uno::Any SwXAutoTextGroup::getByName ( const OUString &  Name)
overridevirtual

Definition at line 499 of file unoatxt.cxx.

References SwGlossaries::GetAutoTextEntry(), m_pGlossaries, m_sGroupName, and m_sName.

Referenced by getByIndex().

◆ getCount()

sal_Int32 SwXAutoTextGroup::getCount ( )
overridevirtual

Definition at line 460 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), m_pGlossaries, and m_sGroupName.

◆ getElementNames()

uno::Sequence< OUString > SwXAutoTextGroup::getElementNames ( )
overridevirtual

Definition at line 508 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), i, m_pGlossaries, m_sGroupName, and nCount.

◆ getElementType()

uno::Type SwXAutoTextGroup::getElementType ( )
overridevirtual

Definition at line 483 of file unoatxt.cxx.

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

◆ getImplementationName()

OUString SwXAutoTextGroup::getImplementationName ( )
overridevirtual

Definition at line 631 of file unoatxt.cxx.

◆ getName()

OUString SwXAutoTextGroup::getName ( )
overridevirtual

Definition at line 412 of file unoatxt.cxx.

References m_sName.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SwXAutoTextGroup::getPropertySetInfo ( )
overridevirtual

Definition at line 545 of file unoatxt.cxx.

References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.

◆ getPropertyValue()

uno::Any SwXAutoTextGroup::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SwXAutoTextGroup::getSupportedServiceNames ( )
overridevirtual

Definition at line 641 of file unoatxt.cxx.

◆ getTitles()

uno::Sequence< OUString > SwXAutoTextGroup::getTitles ( )
overridevirtual

Definition at line 223 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), i, m_pGlossaries, m_sGroupName, and nCount.

◆ hasByName()

sal_Bool SwXAutoTextGroup::hasByName ( const OUString &  Name)
overridevirtual

Definition at line 524 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), i, m_pGlossaries, m_sGroupName, and nCount.

Referenced by insertNewByName(), and renameByName().

◆ hasElements()

sal_Bool SwXAutoTextGroup::hasElements ( )
overridevirtual

Definition at line 489 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), m_pGlossaries, and m_sGroupName.

◆ insertNewByName()

uno::Reference< text::XAutoTextEntry > SwXAutoTextGroup::insertNewByName ( const OUString &  aName,
const OUString &  aTitle,
const css::uno::Reference< css::text::XTextRange > &  xTextRange 
)
overridevirtual

◆ Invalidate()

void SwXAutoTextGroup::Invalidate ( )

Definition at line 624 of file unoatxt.cxx.

References m_pGlossaries, m_sGroupName, and m_sName.

◆ removeByName()

void SwXAutoTextGroup::removeByName ( const OUString &  aEntryName)
overridevirtual

Definition at line 398 of file unoatxt.cxx.

References aEntryName, SwGlossaries::GetGroupDoc(), m_pGlossaries, and m_sGroupName.

◆ removePropertyChangeListener()

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

Definition at line 609 of file unoatxt.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 619 of file unoatxt.cxx.

◆ renameByName()

void SwXAutoTextGroup::renameByName ( const OUString &  aElementName,
const OUString &  aNewElementName,
const OUString &  aNewElementTitle 
)
overridevirtual

◆ setName()

void SwXAutoTextGroup::setName ( const OUString &  Name_)
overridevirtual

◆ setPropertyValue()

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

◆ supportsService()

sal_Bool SwXAutoTextGroup::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 636 of file unoatxt.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pGlossaries

SwGlossaries* SwXAutoTextGroup::m_pGlossaries
private

◆ m_pPropSet

const SfxItemPropertySet* SwXAutoTextGroup::m_pPropSet
private

Definition at line 95 of file unoatxt.hxx.

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

◆ m_sGroupName

OUString SwXAutoTextGroup::m_sGroupName
private

◆ m_sName

OUString SwXAutoTextGroup::m_sName
private

Definition at line 97 of file unoatxt.hxx.

Referenced by getByName(), getName(), insertNewByName(), Invalidate(), and setName().


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