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

#include <unoatxt.hxx>

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

Public Member Functions

 SwXAutoTextGroup (const OUString &rName, SwGlossaries *pGloss)
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
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 ()
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

Protected Member Functions

virtual ~SwXAutoTextGroup () override
 

Private Attributes

const SfxItemPropertySetpPropSet
 
SwGlossariespGlossaries
 
OUString sName
 
OUString m_sGroupName
 

Detailed Description

Definition at line 89 of file unoatxt.hxx.

Constructor & Destructor Documentation

SwXAutoTextGroup::~SwXAutoTextGroup ( )
overrideprotectedvirtual

Definition at line 243 of file unoatxt.cxx.

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

Definition at line 232 of file unoatxt.cxx.

References GLOS_DELIM, and sName.

Member Function Documentation

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

Definition at line 635 of file unoatxt.cxx.

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

Definition at line 645 of file unoatxt.cxx.

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

Definition at line 502 of file unoatxt.cxx.

References getByName(), SwGlossaries::GetGroupDoc(), m_sGroupName, and pGlossaries.

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

Definition at line 530 of file unoatxt.cxx.

References SwGlossaries::GetAutoTextEntry(), m_sGroupName, makeAny(), pGlossaries, and sName.

Referenced by getByIndex().

sal_Int32 SwXAutoTextGroup::getCount ( )
overridevirtual

Definition at line 493 of file unoatxt.cxx.

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

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

Definition at line 539 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), i, m_sGroupName, and pGlossaries.

uno::Type SwXAutoTextGroup::getElementType ( )
overridevirtual

Definition at line 514 of file unoatxt.cxx.

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

OUString SwXAutoTextGroup::getImplementationName ( )
overridevirtual

Definition at line 662 of file unoatxt.cxx.

OUString SwXAutoTextGroup::getName ( )
overridevirtual

Definition at line 445 of file unoatxt.cxx.

References sName.

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

Definition at line 576 of file unoatxt.cxx.

References SfxItemPropertySet::getPropertySetInfo(), and pPropSet.

uno::Any SwXAutoTextGroup::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
sal_Int64 SAL_CALL SwXAutoTextGroup::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

Definition at line 223 of file unoatxt.cxx.

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

Definition at line 672 of file unoatxt.cxx.

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

Definition at line 247 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), i, m_sGroupName, and pGlossaries.

const uno::Sequence< sal_Int8 > & SwXAutoTextGroup::getUnoTunnelId ( )
static

Definition at line 218 of file unoatxt.cxx.

References sw::proofreadingiterator::get().

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

Definition at line 555 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), i, m_sGroupName, and pGlossaries.

Referenced by insertNewByName(), and renameByName().

sal_Bool SwXAutoTextGroup::hasElements ( )
overridevirtual

Definition at line 520 of file unoatxt.cxx.

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

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

Definition at line 655 of file unoatxt.cxx.

References m_sGroupName, pGlossaries, and sName.

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

Definition at line 431 of file unoatxt.cxx.

References SwGlossaries::GetGroupDoc(), m_sGroupName, pGlossaries, and USHRT_MAX.

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

Definition at line 640 of file unoatxt.cxx.

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

Definition at line 650 of file unoatxt.cxx.

void SwXAutoTextGroup::renameByName ( const OUString &  aElementName,
const OUString &  aNewElementName,
const OUString &  aNewElementTitle 
)
overridevirtual
void SwXAutoTextGroup::setName ( const OUString &  Name_)
overridevirtual
void SwXAutoTextGroup::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
sal_Bool SwXAutoTextGroup::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 667 of file unoatxt.cxx.

References cppu::supportsService().

Member Data Documentation

OUString SwXAutoTextGroup::m_sGroupName
private
SwGlossaries* SwXAutoTextGroup::pGlossaries
private
const SfxItemPropertySet* SwXAutoTextGroup::pPropSet
private

Definition at line 99 of file unoatxt.hxx.

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

OUString SwXAutoTextGroup::sName
private

Definition at line 101 of file unoatxt.hxx.

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


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