|
LibreOffice Module svtools (master) 1
|
#include <unoevent.hxx>
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) | |
| SvDetachedEventDescriptor & | operator= (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 SvEventDescription * | mpSupportedMacroItems |
| last element is 0, 0 More... | |
| sal_Int16 | mnMacroItems |
Definition at line 246 of file unoevent.hxx.
| SvMacroTableEventDescriptor::SvMacroTableEventDescriptor | ( | const SvEventDescription * | pSupportedMacroItems | ) |
Definition at line 411 of file unoevent.cxx.
| SvMacroTableEventDescriptor::SvMacroTableEventDescriptor | ( | const SvxMacroTableDtor & | aFmt, |
| const SvEventDescription * | pSupportedMacroItems | ||
| ) |
Definition at line 416 of file unoevent.cxx.
References SvxMacroTableDtor::Get(), i, SvEventDescription::mnEvent, SvBaseEventDescriptor::mpSupportedMacroItems, and SvDetachedEventDescriptor::replaceByName().
|
overridevirtual |
Definition at line 431 of file unoevent.cxx.
| void SvMacroTableEventDescriptor::copyMacrosIntoTable | ( | SvxMacroTableDtor & | aFmt | ) |
Definition at line 435 of file unoevent.cxx.
References SvDetachedEventDescriptor::getByName(), SvDetachedEventDescriptor::hasById(), i, SvxMacroTableDtor::Insert(), SvEventDescription::mnEvent, and SvBaseEventDescriptor::mpSupportedMacroItems.