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

#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
 

Protected Member Functions

virtual ~SwXAutoTextContainer () override
 

Private Attributes

SwGlossariespGlossaries
 

Detailed Description

Definition at line 51 of file unoatxt.hxx.

Constructor & Destructor Documentation

SwXAutoTextContainer::~SwXAutoTextContainer ( )
overrideprotectedvirtual

Definition at line 72 of file unoatxt.cxx.

SwXAutoTextContainer::SwXAutoTextContainer ( )

Definition at line 66 of file unoatxt.cxx.

References GetGlossaries(), and pGlossaries.

Member Function Documentation

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

Definition at line 105 of file unoatxt.cxx.

References SwGlossaries::GetAutoTextGroup(), hasByName(), makeAny(), and pGlossaries.

Referenced by getByIndex().

sal_Int32 SwXAutoTextContainer::getCount ( )
overridevirtual

Definition at line 77 of file unoatxt.cxx.

References SwGlossaries::GetGroupCnt(), pGlossaries, and SAL_MAX_INT32.

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

Definition at line 93 of file unoatxt.cxx.

References cppu::UnoType< class >::get().

OUString SwXAutoTextContainer::getImplementationName ( )
overridevirtual

Definition at line 198 of file unoatxt.cxx.

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

Definition at line 208 of file unoatxt.cxx.

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

Definition at line 138 of file unoatxt.cxx.

References SwGlossaries::GetCompleteGroupName(), and pGlossaries.

Referenced by getByName(), and insertNewByName().

sal_Bool SwXAutoTextContainer::hasElements ( )
overridevirtual

Definition at line 99 of file unoatxt.cxx.

uno::Reference< text::XAutoTextGroup > SwXAutoTextContainer::insertNewByName ( const OUString &  aGroupName)
overridevirtual
void SwXAutoTextContainer::removeByName ( const OUString &  aGroupName)
overridevirtual
sal_Bool SwXAutoTextContainer::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 203 of file unoatxt.cxx.

References cppu::supportsService().

Member Data Documentation

SwGlossaries* SwXAutoTextContainer::pGlossaries
private

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