19#ifndef INCLUDED_SVL_MACITEM_HXX
20#define INCLUDED_SVL_MACITEM_HXX
24#include <rtl/ustring.hxx>
52 SvxMacro( OUString aMacName,
const OUString &rLanguage);
54 SvxMacro( OUString aMacName, OUString aLibName,
63 bool HasMacro()
const {
return !aMacName.isEmpty(); }
68 : aMacName(
std::move( _aMacName )), aLibName(
std::move( _aLibName )),
eType( eTyp )
74#define SVX_MACROTBL_VERSION31 0
75#define SVX_MACROTBL_VERSION40 1
91 bool empty()
const {
return aSvxMacroTable.empty(); }
Base class for providers of defaults of SfxPoolItems.
SvxMacroTableDtor aMacroTable
const SvxMacro & GetMacro(SvMacroItemId nEvent) const
const SvxMacroTableDtor & GetMacroTable() const
SvxMacroItem(const SvxMacroItem &)=default
bool HasMacro(SvMacroItemId nEvent) const
SvxMacroItem(const sal_uInt16 nId)
void SetMacroTable(const SvxMacroTableDtor &rTbl)
SvxMacroTable aSvxMacroTable
SvxMacroTableDtor(const SvxMacroTableDtor &rCpy)
bool IsKeyValid(SvMacroItemId nEvent) const
const SvxMacro * Get(SvMacroItemId nEvent) const
SvxMacro(OUString aMacName, const OUString &rLanguage)
const OUString & GetMacName() const
ScriptType GetScriptType() const
const OUString & GetLibName() const
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
std::map< SvMacroItemId, SvxMacro > SvxMacroTable
constexpr OUStringLiteral SVX_MACRO_LANGUAGE_JAVASCRIPT
constexpr OUStringLiteral SVX_MACRO_LANGUAGE_STARBASIC
constexpr OUStringLiteral SVX_MACRO_LANGUAGE_SF
SVXCORE_DLLPUBLIC MSO_SPT Get(const OUString &)
LanguageType GetLanguage(SfxItemSet const &aSet, sal_uInt16 nLangWhichId)
css::uno::Reference< css::animations::XAnimationNode > Clone(const css::uno::Reference< css::animations::XAnimationNode > &xSourceNode, const SdPage *pSource=nullptr, const SdPage *pTarget=nullptr)
constexpr bool operator==(TypedWhichId< T > const &lhs, TypedWhichId< T > rhs)