|
LibreOffice Module sw (master) 1
|
Implement the XNameAccess for the AutoText events. More...
#include <unoatxt.hxx>
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 OUString SAL_CALL | getImplementationName () override=0 |
| 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... | |
| virtual void SAL_CALL | replaceByName (const OUString &rName, const css::uno::Any &rElement) override |
| virtual void | replaceByName (const SvMacroItemId nEvent, const SvxMacro &rMacro)=0 |
| virtual css::uno::Any SAL_CALL | getByName (const OUString &rName) override |
| virtual void | getByName (SvxMacro &rMacro, const SvMacroItemId nEvent)=0 |
Private Attributes | |
| SwXAutoTextEntry & | m_rAutoTextEntry |
Additional Inherited Members | |
Protected Member Functions inherited from SvBaseEventDescriptor | |
| virtual void | replaceByName (const SvMacroItemId nEvent, const SvxMacro &rMacro)=0 |
| virtual void | getByName (SvxMacro &rMacro, const SvMacroItemId nEvent)=0 |
| SvMacroItemId | mapNameToEventID (std::u16string_view rName) const |
| SvMacroItemId | getMacroID (std::u16string_view rName) const |
Protected Attributes inherited from SvBaseEventDescriptor | |
| const SvEventDescription * | mpSupportedMacroItems |
| sal_Int16 | mnMacroItems |
Implement the XNameAccess for the AutoText events.
Definition at line 225 of file unoatxt.hxx.
| SwAutoTextEventDescriptor::SwAutoTextEventDescriptor | ( | SwXAutoTextEntry & | rAutoText | ) |
Definition at line 900 of file unoatxt.cxx.
|
overridevirtual |
Definition at line 907 of file unoatxt.cxx.
|
privatevirtual |
Reimplemented from SvBaseEventDescriptor.
|
overrideprivatevirtual |
item ID of event
| nEvent | macro to be filled |
Implements SvBaseEventDescriptor.
Definition at line 949 of file unoatxt.cxx.
References SvxMacroTableDtor::Get(), SwXAutoTextEntry::GetEntryName(), SwXAutoTextEntry::GetGlossaries(), SwXAutoTextEntry::GetGroupName(), m_rAutoTextEntry, nIndex, and pGlossaries.
|
privatevirtual |
Implements SvBaseEventDescriptor.
|
overridevirtual |
Implements SvBaseEventDescriptor.
Definition at line 911 of file unoatxt.cxx.
|
privatevirtual |
Reimplemented from SvBaseEventDescriptor.
|
overrideprivatevirtual |
event (will be copied)
| rMacro | item ID of event |
Implements SvBaseEventDescriptor.
Definition at line 916 of file unoatxt.cxx.
References SwXAutoTextEntry::GetEntryName(), SwXAutoTextEntry::GetGlossaries(), SwXAutoTextEntry::GetGroupName(), SvxMacroTableDtor::Insert(), m_rAutoTextEntry, nIndex, and pGlossaries.
|
privatevirtual |
Implements SvBaseEventDescriptor.
|
private |
Definition at line 227 of file unoatxt.hxx.
Referenced by getByName(), and replaceByName().