LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SvxHyperlinkItem Class Reference

#include <hlnkitem.hxx>

Inheritance diagram for SvxHyperlinkItem:
[legend]
Collaboration diagram for SvxHyperlinkItem:
[legend]

Public Member Functions

 SvxHyperlinkItem (sal_uInt16 _nWhich=SID_HYPERLINK_GETLINK)
 
 SvxHyperlinkItem (const SvxHyperlinkItem &rHyperlinkItem)
 
 SvxHyperlinkItem (sal_uInt16 nWhich, const OUString &rName, const OUString &rURL, const OUString &rTarget, const OUString &rIntName, SvxLinkInsertMode eTyp, HyperDialogEvent nEvents, SvxMacroTableDtor const *pMacroTbl)
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SvxHyperlinkItemClone (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 SvxMacroTableDtorGetMacroTable () const
 
void SetMacroEvents (const HyperDialogEvent nEvents)
 
HyperDialogEvent GetMacroEvents () const
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (long lMult, long lDiv)
 
virtual bool HasMetrics () const
 
std::unique_ptr< SfxPoolItemCloneSetWhich (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 SfxPoolItemCreateDefault ()
 

Private Attributes

OUString sName
 
OUString sURL
 
OUString sTarget
 
SvxLinkInsertMode eType
 
OUString sIntName
 
std::unique_ptr< SvxMacroTableDtorpMacroTable
 
HyperDialogEvent nMacroEvents
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 

Detailed Description

Definition at line 48 of file hlnkitem.hxx.

Constructor & Destructor Documentation

SvxHyperlinkItem::SvxHyperlinkItem ( sal_uInt16  _nWhich = SID_HYPERLINK_GETLINK)
inline

Definition at line 63 of file hlnkitem.hxx.

References HLINK_DEFAULT, and NONE.

Referenced by Clone(), and CreateDefault().

SvxHyperlinkItem::SvxHyperlinkItem ( const SvxHyperlinkItem rHyperlinkItem)

Definition at line 30 of file hlnkitem.cxx.

References eType, GetMacroTable(), nMacroEvents, pMacroTable, sIntName, sName, sTarget, and sURL.

SvxHyperlinkItem::SvxHyperlinkItem ( sal_uInt16  nWhich,
const OUString &  rName,
const OUString &  rURL,
const OUString &  rTarget,
const OUString &  rIntName,
SvxLinkInsertMode  eTyp,
HyperDialogEvent  nEvents,
SvxMacroTableDtor const *  pMacroTbl 
)

Definition at line 45 of file hlnkitem.cxx.

References pMacroTable.

Member Function Documentation

SvxHyperlinkItem * SvxHyperlinkItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 60 of file hlnkitem.cxx.

References SvxHyperlinkItem().

SfxPoolItem * SvxHyperlinkItem::CreateDefault ( )
static

Definition at line 28 of file hlnkitem.cxx.

References SvxHyperlinkItem().

SvxLinkInsertMode SvxHyperlinkItem::GetInsertMode ( ) const
inline

Definition at line 89 of file hlnkitem.hxx.

References eType.

const OUString& SvxHyperlinkItem::GetIntName ( ) const
inline

Definition at line 83 of file hlnkitem.hxx.

HyperDialogEvent SvxHyperlinkItem::GetMacroEvents ( ) const
inline

Definition at line 98 of file hlnkitem.hxx.

const SvxMacroTableDtor* SvxHyperlinkItem::GetMacroTable ( ) const
inline

Definition at line 95 of file hlnkitem.hxx.

Referenced by SvxHyperlinkItem().

const OUString& SvxHyperlinkItem::GetName ( ) const
inline

Definition at line 77 of file hlnkitem.hxx.

References sName.

const OUString& SvxHyperlinkItem::GetTargetFrame ( ) const
inline

Definition at line 86 of file hlnkitem.hxx.

const OUString& SvxHyperlinkItem::GetURL ( ) const
inline

Definition at line 80 of file hlnkitem.hxx.

bool SvxHyperlinkItem::operator== ( const SfxPoolItem rAttr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 65 of file hlnkitem.cxx.

References SvxMacroTableDtor::empty(), eType, nMacroEvents, pMacroTable, sIntName, sName, sTarget, and sURL.

bool SvxHyperlinkItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 148 of file hlnkitem.cxx.

References aStr, CONVERT_TWIPS, eType, sIntName, sName, sTarget, and sURL.

bool SvxHyperlinkItem::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 120 of file hlnkitem.cxx.

References CONVERT_TWIPS, eType, sIntName, sName, sTarget, and sURL.

void SvxHyperlinkItem::SetInsertMode ( SvxLinkInsertMode  eNew)
inline

Definition at line 90 of file hlnkitem.hxx.

void SvxHyperlinkItem::SetIntName ( const OUString &  rIntName)
inline

Definition at line 84 of file hlnkitem.hxx.

void SvxHyperlinkItem::SetMacro ( HyperDialogEvent  nEvent,
const SvxMacro rMacro 
)

Definition at line 92 of file hlnkitem.cxx.

References MouseClickObject, MouseOutObject, MouseOverObject, and pMacroTable.

void SvxHyperlinkItem::SetMacroEvents ( const HyperDialogEvent  nEvents)
inline

Definition at line 97 of file hlnkitem.hxx.

void SvxHyperlinkItem::SetMacroTable ( const SvxMacroTableDtor rTbl)

Definition at line 115 of file hlnkitem.cxx.

References pMacroTable.

void SvxHyperlinkItem::SetName ( const OUString &  rName)
inline

Definition at line 78 of file hlnkitem.hxx.

void SvxHyperlinkItem::SetTargetFrame ( const OUString &  rTarget)
inline

Definition at line 87 of file hlnkitem.hxx.

void SvxHyperlinkItem::SetURL ( const OUString &  rURL)
inline

Definition at line 81 of file hlnkitem.hxx.

Member Data Documentation

SvxLinkInsertMode SvxHyperlinkItem::eType
private

Definition at line 53 of file hlnkitem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().

HyperDialogEvent SvxHyperlinkItem::nMacroEvents
private

Definition at line 58 of file hlnkitem.hxx.

Referenced by operator==(), and SvxHyperlinkItem().

std::unique_ptr<SvxMacroTableDtor> SvxHyperlinkItem::pMacroTable
private

Definition at line 56 of file hlnkitem.hxx.

Referenced by operator==(), SetMacro(), SetMacroTable(), and SvxHyperlinkItem().

OUString SvxHyperlinkItem::sIntName
private

Definition at line 55 of file hlnkitem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().

OUString SvxHyperlinkItem::sName
private

Definition at line 50 of file hlnkitem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().

OUString SvxHyperlinkItem::sTarget
private

Definition at line 52 of file hlnkitem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().

OUString SvxHyperlinkItem::sURL
private

Definition at line 51 of file hlnkitem.hxx.

Referenced by operator==(), PutValue(), QueryValue(), and SvxHyperlinkItem().


The documentation for this class was generated from the following files: