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

#include <unoatxt.hxx>

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

Public Member Functions

 SwXAutoTextContainer ()
 
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 css::uno::Reference< css::text::XAutoTextGroup > SAL_CALL insertNewByName (const OUString &aGroupName) override
 
virtual void SAL_CALL removeByName (const OUString &aGroupName) 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
 

Private Member Functions

virtual ~SwXAutoTextContainer () override
 

Private Attributes

SwGlossariesm_pGlossaries
 

Detailed Description

Definition at line 49 of file unoatxt.hxx.

Constructor & Destructor Documentation

◆ ~SwXAutoTextContainer()

SwXAutoTextContainer::~SwXAutoTextContainer ( )
overrideprivatevirtual

Definition at line 67 of file unoatxt.cxx.

◆ SwXAutoTextContainer()

SwXAutoTextContainer::SwXAutoTextContainer ( )

Definition at line 61 of file unoatxt.cxx.

References GetGlossaries(), and m_pGlossaries.

Member Function Documentation

◆ getByIndex()

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

◆ getByName()

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

Definition at line 100 of file unoatxt.cxx.

References SwGlossaries::GetAutoTextGroup(), GroupName, hasByName(), and m_pGlossaries.

Referenced by getByIndex().

◆ getCount()

sal_Int32 SwXAutoTextContainer::getCount ( )
overridevirtual

◆ getElementNames()

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

◆ getElementType()

uno::Type SwXAutoTextContainer::getElementType ( )
overridevirtual

Definition at line 88 of file unoatxt.cxx.

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

◆ getImplementationName()

OUString SwXAutoTextContainer::getImplementationName ( )
overridevirtual

Definition at line 193 of file unoatxt.cxx.

◆ getSupportedServiceNames()

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

Definition at line 203 of file unoatxt.cxx.

◆ hasByName()

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

Definition at line 133 of file unoatxt.cxx.

References SwGlossaries::GetCompleteGroupName(), m_pGlossaries, and Name.

Referenced by getByName(), and insertNewByName().

◆ hasElements()

sal_Bool SwXAutoTextContainer::hasElements ( )
overridevirtual

Definition at line 94 of file unoatxt.cxx.

◆ insertNewByName()

uno::Reference< text::XAutoTextGroup > SwXAutoTextContainer::insertNewByName ( const OUString &  aGroupName)
overridevirtual

◆ removeByName()

void SwXAutoTextContainer::removeByName ( const OUString &  aGroupName)
overridevirtual

◆ supportsService()

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

Definition at line 198 of file unoatxt.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pGlossaries

SwGlossaries* SwXAutoTextContainer::m_pGlossaries
private

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