LibreOffice Module svtools (master) 1
Public Member Functions | List of all members
SvMacroTableEventDescriptor Class Referencefinal

#include <unoevent.hxx>

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

Public Member Functions

 SvMacroTableEventDescriptor (const SvEventDescription *pSupportedMacroItems)
 
 SvMacroTableEventDescriptor (const SvxMacroTableDtor &aFmt, const SvEventDescription *pSupportedMacroItems)
 
virtual ~SvMacroTableEventDescriptor () override
 
void copyMacrosIntoTable (SvxMacroTableDtor &aFmt)
 
- Public Member Functions inherited from SvDetachedEventDescriptor
 SvDetachedEventDescriptor (const SvEventDescription *pSupportedMacroItems)
 
SvDetachedEventDescriptoroperator= (SvDetachedEventDescriptor const &)=delete
 
 SvDetachedEventDescriptor (SvDetachedEventDescriptor const &)=delete
 
virtual ~SvDetachedEventDescriptor () override
 
virtual OUString SAL_CALL getImplementationName () override
 must be implemented in subclass More...
 
- 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
 calls replaceByName(const sal_uInt16, const SvxMacro&) More...
 
virtual css::uno::Any SAL_CALL getByName (const OUString &rName) override
 calls getByName(sal_uInt16) More...
 
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 OUString SAL_CALL getImplementationName () override=0
 must be implemented in subclass More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Additional Inherited Members

- Protected Member Functions inherited from SvDetachedEventDescriptor
sal_Int16 getIndex (const SvMacroItemId nID) const
 
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...
 
bool hasById (const SvMacroItemId nEvent) const
 do we have an event? return true: we have a macro for the event return false: no macro; getByName() will return an empty macro More...
 
virtual void SAL_CALL replaceByName (const OUString &rName, const css::uno::Any &rElement) override
 calls replaceByName(const sal_uInt16, const SvxMacro&) More...
 
virtual void replaceByName (const SvMacroItemId nEvent, const SvxMacro &rMacro)=0
 Must be implemented in subclass. More...
 
virtual css::uno::Any SAL_CALL getByName (const OUString &rName) override
 calls getByName(sal_uInt16) More...
 
virtual void getByName (SvxMacro &rMacro, const SvMacroItemId nEvent)=0
 Must be implemented in subclass. More...
 
- Protected Member Functions inherited from SvBaseEventDescriptor
virtual void replaceByName (const SvMacroItemId nEvent, const SvxMacro &rMacro)=0
 Must be implemented in subclass. More...
 
virtual void getByName (SvxMacro &rMacro, const SvMacroItemId nEvent)=0
 Must be implemented in subclass. More...
 
SvMacroItemId mapNameToEventID (std::u16string_view rName) const
 convert an API event name to the event ID as used by SvxMacroItem More...
 
SvMacroItemId getMacroID (std::u16string_view rName) const
 get the event ID for the name; return 0 if not supported More...
 
- Protected Attributes inherited from SvBaseEventDescriptor
const SvEventDescriptionmpSupportedMacroItems
 last element is 0, 0 More...
 
sal_Int16 mnMacroItems
 

Detailed Description

Definition at line 246 of file unoevent.hxx.

Constructor & Destructor Documentation

◆ SvMacroTableEventDescriptor() [1/2]

SvMacroTableEventDescriptor::SvMacroTableEventDescriptor ( const SvEventDescription pSupportedMacroItems)

Definition at line 411 of file unoevent.cxx.

◆ SvMacroTableEventDescriptor() [2/2]

SvMacroTableEventDescriptor::SvMacroTableEventDescriptor ( const SvxMacroTableDtor aFmt,
const SvEventDescription pSupportedMacroItems 
)

◆ ~SvMacroTableEventDescriptor()

SvMacroTableEventDescriptor::~SvMacroTableEventDescriptor ( )
overridevirtual

Definition at line 431 of file unoevent.cxx.

Member Function Documentation

◆ copyMacrosIntoTable()

void SvMacroTableEventDescriptor::copyMacrosIntoTable ( SvxMacroTableDtor aFmt)

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