23 #include <svx/svxids.hrc>
31 #include <strings.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();
112 aItem.SetMacroTable( *rpINetItem );
120 if ( pMacroDlg && pMacroDlg->Execute() ==
RET_OK )
125 rpINetItem.emplace(pItem->GetMacroTable());
SfxViewFrame * GetViewFrame() const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
virtual const SfxItemSet * GetOutputItemSet() const =0
static SvxAbstractDialogFactory * Create()
virtual VclPtr< SfxAbstractDialog > CreateEventConfigDialog(weld::Widget *pParent, const SfxItemSet &rAttr, const css::uno::Reference< css::frame::XFrame > &rFrame)=0
static SfxObjectShell * Current()
Used by the UI to modify the document model.
OUString SwResId(TranslateId aId)
const SwView & GetView() const
SfxFrame & GetFrame() const
static SfxEventNamesItem AddEvents(DlgEventType eType)
const SfxItemPool & GetAttrPool() const
void AddEvent(const OUString &, const OUString &, SvMacroItemId)
constexpr TypedWhichId< SvxMacroItem > RES_FRMMACRO(108)
sal_uInt16 GetHtmlMode(const SwDocShell *pShell)
const css::uno::Reference< css::frame::XFrame > & GetFrameInterface() const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
static bool INetFormatDlg(weld::Window *pParent, SwWrtShell &rSh, std::optional< SvxMacroTableDtor > &rpINetItem)