20#include <svx/svxids.hrc>
50 sTarget (
std::move(aTarget)),
52 sReplacementText (
std::move(aReplacementText)),
53 sIntName (
std::move(aIntName)),
54 nMacroEvents (nEvents)
67 assert(SfxPoolItem::operator==(rAttr));
83 return ( !pOther || pOther->
empty() );
90 return rOwn == rOther;
99 nSfxEvent = SvMacroItemId::OnMouseOver;
102 nSfxEvent = SvMacroItemId::OnClick;
105 nSfxEvent = SvMacroItemId::OnMouseOut;
124 nMemberId &= ~CONVERT_TWIPS;
127 case MID_HLINK_NAME :
130 case MID_HLINK_TEXT :
136 case MID_HLINK_TARGET:
140 rVal <<= static_cast<sal_Int32>(
eType);
142 case MID_HLINK_REPLACEMENTTEXT:
154 nMemberId &= ~CONVERT_TWIPS;
159 case MID_HLINK_NAME :
164 case MID_HLINK_TEXT :
174 case MID_HLINK_TARGET:
184 case MID_HLINK_REPLACEMENTTEXT:
static SfxPoolItem * CreateDefault()
virtual SvxHyperlinkItem * Clone(SfxItemPool *pPool=nullptr) const override
HyperDialogEvent nMacroEvents
void SetMacroTable(const SvxMacroTableDtor &rTbl)
SvxHyperlinkItem(TypedWhichId< SvxHyperlinkItem > _nWhich=SID_HYPERLINK_GETLINK)
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
virtual bool operator==(const SfxPoolItem &) const override
std::unique_ptr< SvxMacroTableDtor > pMacroTable
OUString sReplacementText
const SvxMacroTableDtor * GetMacroTable() const
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId) override
void SetMacro(HyperDialogEvent nEvent, const SvxMacro &rMacro)