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

Implement the XNameAccess for the AutoText events. More...

#include <unoatxt.hxx>

Inheritance diagram for SwAutoTextEventDescriptor:
Collaboration diagram for SwAutoTextEventDescriptor:

Public Member Functions

 SwAutoTextEventDescriptor (SwXAutoTextEntry &rAutoText)
virtual ~SwAutoTextEventDescriptor () override
virtual OUString SAL_CALL getImplementationName () override
- Public Member Functions inherited from SvBaseEventDescriptor
 SvBaseEventDescriptor (const SvEventDescription *pSupportedMacroItems)
virtual ~SvBaseEventDescriptor () override
virtual void SAL_CALL replaceByName (const OUString &rName, const css::uno::Any &rElement) override
virtual css::uno::Any SAL_CALL getByName (const OUString &rName) override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
virtual sal_Bool SAL_CALL hasByName (const OUString &rName) override
virtual css::uno::Type SAL_CALL getElementType () override
virtual sal_Bool SAL_CALL hasElements () override
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override

Private Member Functions

virtual void replaceByName (const SvMacroItemId nEvent, const SvxMacro &rMacro) override
 event (will be copied) More...
virtual void getByName (SvxMacro &rMacro, const SvMacroItemId nEvent) override
 item ID of event More...

Private Attributes


Additional Inherited Members

- Protected Member Functions inherited from SvBaseEventDescriptor
SvMacroItemId mapNameToEventID (std::u16string_view rName) const
SvMacroItemId getMacroID (std::u16string_view rName) const
- Protected Attributes inherited from SvBaseEventDescriptor
const SvEventDescriptionmpSupportedMacroItems
sal_Int16 mnMacroItems

Detailed Description

Implement the XNameAccess for the AutoText events.

Definition at line 238 of file unoatxt.hxx.

Constructor & Destructor Documentation

SwAutoTextEventDescriptor::SwAutoTextEventDescriptor ( SwXAutoTextEntry rAutoText)

Definition at line 922 of file unoatxt.cxx.

SwAutoTextEventDescriptor::~SwAutoTextEventDescriptor ( )

Definition at line 929 of file unoatxt.cxx.

Member Function Documentation

void SwAutoTextEventDescriptor::getByName ( SvxMacro rMacro,
const SvMacroItemId  nEvent 
OUString SwAutoTextEventDescriptor::getImplementationName ( )

Implements SvBaseEventDescriptor.

Definition at line 933 of file unoatxt.cxx.

void SwAutoTextEventDescriptor::replaceByName ( const SvMacroItemId  nEvent,
const SvxMacro rMacro 

Member Data Documentation

SwXAutoTextEntry& SwAutoTextEventDescriptor::m_rAutoTextEntry

Definition at line 240 of file unoatxt.hxx.

Referenced by getByName(), and replaceByName().

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