LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
SwFormatINetFormat Class Referencefinal

#include <fmtinfmt.hxx>

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

Public Member Functions

 SwFormatINetFormat (const OUString &rURL, const OUString &rTarget)
 
 SwFormatINetFormat (const SwFormatINetFormat &rAttr)
 
 SwFormatINetFormat ()
 For TypeInfo. More...
 
virtual ~SwFormatINetFormat () override
 
virtual bool operator== (const SfxPoolItem &) const override
 "Pure virtual methods" of SfxPoolItem. More...
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) 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 SwTextINetFormatGetTextINetFormat () const
 
const OUString & GetValue () const
 
const OUString & GetName () const
 
void SetName (const OUString &rNm)
 
const OUString & GetTargetFrame () const
 
void SetINetFormatAndId (const OUString &rNm, const sal_uInt16 nId)
 
const OUString & GetINetFormat () const
 
sal_uInt16 GetINetFormatId () const
 
void SetVisitedFormatAndId (const OUString &rNm, const sal_uInt16 nId)
 
const OUString & GetVisitedFormat () const
 
sal_uInt16 GetVisitedFormatId () const
 
void SetMacroTable (const SvxMacroTableDtor *pTable)
 Set a new MacroTable or clear the current one. More...
 
const SvxMacroTableDtorGetMacroTable () const
 
void SetMacro (SvMacroItemId nEvent, const SvxMacro &rMacro)
 Macro getter and setter. More...
 
const SvxMacroGetMacro (SvMacroItemId nEvent) 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 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 bool IsVoidItem () const
 
- Public Member Functions inherited from sw::BroadcasterMixin
 BroadcasterMixin ()=default
 
 BroadcasterMixin (BroadcasterMixin const &)=default
 
BroadcasterMixinoperator= (const BroadcasterMixin &)
 
SvtBroadcasterGetNotifier ()
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 

Private Attributes

OUString msURL
 URL. More...
 
OUString msTargetFrame
 Target frame for URL. More...
 
OUString msINetFormatName
 
OUString msVisitedFormatName
 
OUString msHyperlinkName
 Name of the link. More...
 
std::unique_ptr< SvxMacroTableDtormpMacroTable
 
SwTextINetFormatmpTextAttr
 My TextAttribute. More...
 
sal_uInt16 mnINetFormatId
 
sal_uInt16 mnVisitedFormatId
 

Friends

class SwTextINetFormat
 

Additional Inherited Members

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

Detailed Description

Definition at line 35 of file fmtinfmt.hxx.

Constructor & Destructor Documentation

SwFormatINetFormat::SwFormatINetFormat ( const OUString &  rURL,
const OUString &  rTarget 
)
SwFormatINetFormat::SwFormatINetFormat ( const SwFormatINetFormat rAttr)

Definition at line 181 of file fmtatr2.cxx.

References GetMacroTable(), GetValue, and mpMacroTable.

SwFormatINetFormat::SwFormatINetFormat ( )

For TypeInfo.

Definition at line 154 of file fmtatr2.cxx.

Referenced by Clone(), and CreateDefault().

SwFormatINetFormat::~SwFormatINetFormat ( )
overridevirtual

Definition at line 197 of file fmtatr2.cxx.

Member Function Documentation

SfxPoolItem * SwFormatINetFormat::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 228 of file fmtatr2.cxx.

References SwFormatINetFormat().

SfxPoolItem * SwFormatINetFormat::CreateDefault ( )
static

Definition at line 62 of file fmtatr2.cxx.

References SwFormatINetFormat().

const OUString& SwFormatINetFormat::GetINetFormat ( ) const
inline
sal_uInt16 SwFormatINetFormat::GetINetFormatId ( ) const
inline
const SvxMacro * SwFormatINetFormat::GetMacro ( SvMacroItemId  nEvent) const
const SvxMacroTableDtor* SwFormatINetFormat::GetMacroTable ( ) const
inline
const OUString& SwFormatINetFormat::GetName ( ) const
inline
bool SwFormatINetFormat::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper rIntl 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 124 of file attrdesc.cxx.

References GetValue.

const OUString& SwFormatINetFormat::GetTargetFrame ( ) const
inline
const SwTextINetFormat* SwFormatINetFormat::GetTextINetFormat ( ) const
inline
const OUString& SwFormatINetFormat::GetValue ( ) const
inline
const OUString& SwFormatINetFormat::GetVisitedFormat ( ) const
inline
sal_uInt16 SwFormatINetFormat::GetVisitedFormatId ( ) const
inline

Definition at line 125 of file fmtinfmt.hxx.

References mnVisitedFormatId.

Referenced by SwTextShell::ExecCharAttrArgs(), and SwTextINetFormat::GetCharFormat().

bool SwFormatINetFormat::operator== ( const SfxPoolItem rAttr) const
overridevirtual
bool SwFormatINetFormat::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual
bool SwFormatINetFormat::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual
void SwFormatINetFormat::SetINetFormatAndId ( const OUString &  rNm,
const sal_uInt16  nId 
)
inline
void SwFormatINetFormat::SetMacro ( SvMacroItemId  nEvent,
const SvxMacro rMacro 
)

Macro getter and setter.

Definition at line 248 of file fmtatr2.cxx.

References mpMacroTable.

Referenced by SwHyperlinkEventDescriptor::copyMacrosIntoINetFormat(), and SwTextShell::InsertHyperlink().

void SwFormatINetFormat::SetMacroTable ( const SvxMacroTableDtor pTable)

Set a new MacroTable or clear the current one.

Definition at line 233 of file fmtatr2.cxx.

References mpMacroTable.

Referenced by SwHTMLParser::NewAnchor().

void SwFormatINetFormat::SetName ( const OUString &  rNm)
inline
void SwFormatINetFormat::SetVisitedFormatAndId ( const OUString &  rNm,
const sal_uInt16  nId 
)
inline

Friends And Related Function Documentation

friend class SwTextINetFormat
friend

Definition at line 39 of file fmtinfmt.hxx.

Member Data Documentation

sal_uInt16 SwFormatINetFormat::mnINetFormatId
private

Definition at line 48 of file fmtinfmt.hxx.

Referenced by GetINetFormatId(), operator==(), PutValue(), QueryValue(), and SwFormatINetFormat().

sal_uInt16 SwFormatINetFormat::mnVisitedFormatId
private

Definition at line 49 of file fmtinfmt.hxx.

Referenced by GetVisitedFormatId(), operator==(), PutValue(), QueryValue(), and SwFormatINetFormat().

std::unique_ptr<SvxMacroTableDtor> SwFormatINetFormat::mpMacroTable
private

Definition at line 46 of file fmtinfmt.hxx.

Referenced by GetMacro(), operator==(), SetMacro(), SetMacroTable(), and SwFormatINetFormat().

SwTextINetFormat* SwFormatINetFormat::mpTextAttr
private

My TextAttribute.

Definition at line 47 of file fmtinfmt.hxx.

Referenced by GetTextINetFormat(), and SwTextINetFormat::SwTextINetFormat().

OUString SwFormatINetFormat::msHyperlinkName
private

Name of the link.

Definition at line 45 of file fmtinfmt.hxx.

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

OUString SwFormatINetFormat::msINetFormatName
private

Definition at line 43 of file fmtinfmt.hxx.

Referenced by GetINetFormat(), operator==(), PutValue(), QueryValue(), and SwFormatINetFormat().

OUString SwFormatINetFormat::msTargetFrame
private

Target frame for URL.

Definition at line 42 of file fmtinfmt.hxx.

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

OUString SwFormatINetFormat::msURL
private

URL.

Definition at line 41 of file fmtinfmt.hxx.

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

OUString SwFormatINetFormat::msVisitedFormatName
private

Definition at line 44 of file fmtinfmt.hxx.

Referenced by GetVisitedFormat(), operator==(), PutValue(), QueryValue(), and SwFormatINetFormat().


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