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

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

#include <unoatxt.hxx>

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

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
 

Protected 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...
 
- Protected Member Functions inherited from SvBaseEventDescriptor
SvMacroItemId mapNameToEventID (const OUString &rName) const
 
SvMacroItemId getMacroID (const OUString &rName) const
 

Private Attributes

SwXAutoTextEntryrAutoTextEntry
 

Additional Inherited Members

- Protected Attributes inherited from SvBaseEventDescriptor
const SvEventDescriptionmpSupportedMacroItems
 
sal_Int16 mnMacroItems
 

Detailed Description

Implement the XNameAccess for the AutoText events.

Definition at line 243 of file unoatxt.hxx.

Constructor & Destructor Documentation

SwAutoTextEventDescriptor::SwAutoTextEventDescriptor ( SwXAutoTextEntry rAutoText)

Definition at line 968 of file unoatxt.cxx.

SwAutoTextEventDescriptor::~SwAutoTextEventDescriptor ( )
overridevirtual

Definition at line 975 of file unoatxt.cxx.

Member Function Documentation

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

Implements SvBaseEventDescriptor.

Definition at line 979 of file unoatxt.cxx.

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

Member Data Documentation

SwXAutoTextEntry& SwAutoTextEventDescriptor::rAutoTextEntry
private

Definition at line 245 of file unoatxt.hxx.

Referenced by getByName(), and replaceByName().


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