LibreOffice Module svx (master) 1
|
#include <hlnkitem.hxx>
Public Member Functions | |
SvxHyperlinkItem (TypedWhichId< SvxHyperlinkItem > _nWhich=SID_HYPERLINK_GETLINK) | |
SvxHyperlinkItem (const SvxHyperlinkItem &rHyperlinkItem) | |
SvxHyperlinkItem (TypedWhichId< SvxHyperlinkItem > nWhich, OUString aName, OUString aURL, OUString aTarget, OUString aIntName, SvxLinkInsertMode eTyp, HyperDialogEvent nEvents, SvxMacroTableDtor const *pMacroTbl, OUString aReplacementText=OUString()) | |
virtual bool | operator== (const SfxPoolItem &) const override |
virtual SvxHyperlinkItem * | Clone (SfxItemPool *pPool=nullptr) const override |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override |
const OUString & | GetName () const |
void | SetName (const OUString &rName) |
const OUString & | GetURL () const |
void | SetURL (const OUString &rURL) |
const OUString & | GetIntName () const |
void | SetIntName (const OUString &rIntName) |
const OUString & | GetTargetFrame () const |
void | SetTargetFrame (const OUString &rTarget) |
SvxLinkInsertMode | GetInsertMode () const |
void | SetInsertMode (SvxLinkInsertMode eNew) |
void | SetMacro (HyperDialogEvent nEvent, const SvxMacro &rMacro) |
void | SetMacroTable (const SvxMacroTableDtor &rTbl) |
const SvxMacroTableDtor * | GetMacroTable () const |
void | SetMacroEvents (const HyperDialogEvent nEvents) |
HyperDialogEvent | GetMacroEvents () const |
const OUString & | GetReplacementText () const |
void | SetReplacementText (const OUString &rReplacementText) |
Public Member Functions inherited from SfxPoolItem | |
void | AddRef (sal_uInt32 n=1) const |
virtual | ~SfxPoolItem () |
void | SetWhich (sal_uInt16 nId) |
sal_uInt16 | Which () const |
T & | StaticWhichCast (TypedWhichId< T > nId) |
const T & | StaticWhichCast (TypedWhichId< T > nId) const |
T * | DynamicWhichCast (TypedWhichId< T > nId) |
const T * | DynamicWhichCast (TypedWhichId< T > nId) const |
virtual bool | operator== (const SfxPoolItem &) const=0 |
bool | operator!= (const SfxPoolItem &rItem) const |
virtual bool | operator< (const SfxPoolItem &) const |
virtual bool | IsSortable () const |
virtual bool | HasLookup () const |
virtual lookup_iterator | Lookup (lookup_iterator, lookup_iterator end) const |
virtual bool | GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const |
virtual void | ScaleMetrics (tools::Long lMult, tools::Long lDiv) |
virtual bool | HasMetrics () const |
virtual bool | QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const |
virtual bool | PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) |
virtual SfxPoolItem * | Clone (SfxItemPool *pPool=nullptr) const=0 |
std::unique_ptr< SfxPoolItem > | CloneSetWhich (sal_uInt16 nNewWhich) const |
std::unique_ptr< T > | CloneSetWhich (TypedWhichId< T > nId) const |
sal_uInt32 | GetRefCount () const |
SfxItemKind | GetKind () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
virtual boost::property_tree::ptree | dumpAsJSON () const |
virtual bool | IsVoidItem () const |
Static Public Member Functions | |
static SfxPoolItem * | CreateDefault () |
Private Attributes | |
OUString | sName |
OUString | sURL |
OUString | sTarget |
SvxLinkInsertMode | eType |
OUString | sReplacementText |
OUString | sIntName |
std::unique_ptr< SvxMacroTableDtor > | pMacroTable |
HyperDialogEvent | nMacroEvents |
Additional Inherited Members | |
Public Types inherited from SfxPoolItem | |
typedef std::vector< SfxPoolItem * >::const_iterator | lookup_iterator |
Protected Member Functions inherited from SfxPoolItem | |
SfxPoolItem (sal_uInt16 nWhich=0) | |
SfxPoolItem (const SfxPoolItem &rCopy) | |
Definition at line 49 of file hlnkitem.hxx.
|
inline |
Definition at line 65 of file hlnkitem.hxx.
References eType, HLINK_DEFAULT, and NONE.
Referenced by Clone(), and CreateDefault().
SvxHyperlinkItem::SvxHyperlinkItem | ( | const SvxHyperlinkItem & | rHyperlinkItem | ) |
Definition at line 28 of file hlnkitem.cxx.
References eType, GetMacroTable(), nMacroEvents, pMacroTable, sIntName, sName, sReplacementText, sTarget, and sURL.
SvxHyperlinkItem::SvxHyperlinkItem | ( | TypedWhichId< SvxHyperlinkItem > | nWhich, |
OUString | aName, | ||
OUString | aURL, | ||
OUString | aTarget, | ||
OUString | aIntName, | ||
SvxLinkInsertMode | eTyp, | ||
HyperDialogEvent | nEvents, | ||
SvxMacroTableDtor const * | pMacroTbl, | ||
OUString | aReplacementText = OUString() |
||
) |
Definition at line 44 of file hlnkitem.cxx.
References aName, aURL, and pMacroTable.
|
overridevirtual |
|
static |
Definition at line 26 of file hlnkitem.cxx.
References SvxHyperlinkItem().
|
inline |
Definition at line 92 of file hlnkitem.hxx.
References eType.
|
inline |
Definition at line 86 of file hlnkitem.hxx.
|
inline |
Definition at line 101 of file hlnkitem.hxx.
|
inline |
Definition at line 98 of file hlnkitem.hxx.
Referenced by SvxHyperlinkItem().
|
inline |
Definition at line 80 of file hlnkitem.hxx.
References sName.
|
inline |
Definition at line 103 of file hlnkitem.hxx.
|
inline |
Definition at line 89 of file hlnkitem.hxx.
|
inline |
Definition at line 83 of file hlnkitem.hxx.
|
overridevirtual |
Implements SfxPoolItem.
Definition at line 65 of file hlnkitem.cxx.
References SvxMacroTableDtor::empty(), eType, nMacroEvents, pMacroTable, sIntName, sName, sReplacementText, sTarget, and sURL.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 152 of file hlnkitem.cxx.
References aStr, eType, sIntName, sName, sReplacementText, sTarget, and sURL.
|
overridevirtual |
Reimplemented from SfxPoolItem.
Definition at line 121 of file hlnkitem.cxx.
References eType, sIntName, sName, sReplacementText, sTarget, and sURL.
|
inline |
Definition at line 93 of file hlnkitem.hxx.
References eType.
|
inline |
Definition at line 87 of file hlnkitem.hxx.
void SvxHyperlinkItem::SetMacro | ( | HyperDialogEvent | nEvent, |
const SvxMacro & | rMacro | ||
) |
Definition at line 93 of file hlnkitem.cxx.
References MouseClickObject, MouseOutObject, MouseOverObject, and pMacroTable.
|
inline |
Definition at line 100 of file hlnkitem.hxx.
void SvxHyperlinkItem::SetMacroTable | ( | const SvxMacroTableDtor & | rTbl | ) |
Definition at line 116 of file hlnkitem.cxx.
References pMacroTable.
|
inline |
Definition at line 81 of file hlnkitem.hxx.
References sName.
|
inline |
Definition at line 104 of file hlnkitem.hxx.
|
inline |
Definition at line 90 of file hlnkitem.hxx.
References rTarget.
|
inline |
Definition at line 84 of file hlnkitem.hxx.
|
private |
Definition at line 54 of file hlnkitem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().
|
private |
Definition at line 60 of file hlnkitem.hxx.
Referenced by operator==(), and SvxHyperlinkItem().
|
private |
Definition at line 58 of file hlnkitem.hxx.
Referenced by operator==(), SetMacro(), SetMacroTable(), and SvxHyperlinkItem().
|
private |
Definition at line 57 of file hlnkitem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().
|
private |
Definition at line 51 of file hlnkitem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().
|
private |
Definition at line 55 of file hlnkitem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().
|
private |
Definition at line 53 of file hlnkitem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().
|
private |
Definition at line 52 of file hlnkitem.hxx.
Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().