23#include <svx/svxids.hrc>
49 SvMacroItemId::SwStartInsGlossary );
51 SvMacroItemId::SwEndInsGlossary);
58 SvMacroItemId::OnImageLoadError);
60 SvMacroItemId::OnImageLoadCancel);
62 SvMacroItemId::OnImageLoadDone);
71 SvMacroItemId::SwFrmKeyInputAlpha );
73 SvMacroItemId::SwFrmKeyInputNoAlpha );
75 SvMacroItemId::SwFrmResize );
77 SvMacroItemId::SwFrmMove );
85 SvMacroItemId::SwObjectSelect );
91 SvMacroItemId::OnMouseOver );
93 SvMacroItemId::OnClick);
95 SvMacroItemId::OnMouseOut);
104 std::optional<SvxMacroTableDtor>& rpINetItem )
110 rpINetItem.emplace();
120 if ( pMacroDlg && pMacroDlg->Execute() ==
RET_OK )
122 const SfxItemSet* pOutSet = pMacroDlg->GetOutputItemSet();
125 rpINetItem.emplace(pItem->GetMacroTable());
void AddEvent(const OUString &, const OUString &, SvMacroItemId)
const css::uno::Reference< css::frame::XFrame > & GetFrameInterface() const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
static SAL_WARN_UNUSED_RESULT SfxObjectShell * Current()
SfxFrame & GetFrame() const
SfxViewFrame & GetViewFrame() const
virtual VclPtr< SfxAbstractDialog > CreateEventConfigDialog(weld::Widget *pParent, const SfxItemSet &rAttr, const css::uno::Reference< css::frame::XFrame > &rFrame)=0
static SvxAbstractDialogFactory * Create()
void SetMacroTable(const SvxMacroTableDtor &rTbl)
static SfxEventNamesItem AddEvents(DlgEventType eType)
static bool INetFormatDlg(weld::Window *pParent, SwWrtShell &rSh, std::optional< SvxMacroTableDtor > &rpINetItem)
const SfxItemPool & GetAttrPool() const
Used by the UI to modify the document model.
const SwView & GetView() const
constexpr TypedWhichId< SvxMacroItem > RES_FRMMACRO(114)
OUString SwResId(TranslateId aId)
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)