LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwFormatURL Class Reference

#include <fmturl.hxx>

Inheritance diagram for SwFormatURL:
Collaboration diagram for SwFormatURL:

Public Member Functions

 SwFormatURL ()
 SwFormatURL (const SwFormatURL &)
virtual ~SwFormatURL () 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
void SetTargetFrameName (const OUString &rStr)
void SetURL (const OUString &rURL, bool bServerMap)
void SetMap (const ImageMap *pM)
 Pointer will be copied. More...
const OUString & GetTargetFrameName () const
const OUString & GetURL () const
bool IsServerMap () const
const ImageMapGetMap () const
ImageMapGetMap ()
const OUString & GetName () const
void SetName (const OUString &rNm)
- 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 sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const
virtual void ScaleMetrics (long lMult, long lDiv)
virtual bool HasMetrics () const
virtual SfxPoolItemCreate (SvStream &, sal_uInt16 nItemVersion) const
virtual SvStreamStore (SvStream &, sal_uInt16 nItemVersion) 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

Private Attributes

OUString m_sTargetFrameName
 Target frame for URL. More...
OUString m_sURL
 Simple URL. More...
OUString m_sName
 Name of the anchor. More...
std::unique_ptr< ImageMapm_pMap
 ClientSide images. More...
bool m_bIsServerMap
 A ServerSideImageMap with the URL. More...

Additional Inherited Members

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

Detailed Description

Definition at line 33 of file fmturl.hxx.

Constructor & Destructor Documentation

SwFormatURL::SwFormatURL ( )

Definition at line 1734 of file atrfrm.cxx.

Referenced by Clone().

SwFormatURL::SwFormatURL ( const SwFormatURL rURL)

Definition at line 1740 of file atrfrm.cxx.

References GetMap(), m_pMap, m_sName, and m_sURL.

SwFormatURL::~SwFormatURL ( )

Definition at line 1751 of file atrfrm.cxx.

Member Function Documentation

SfxPoolItem * SwFormatURL::Clone ( SfxItemPool pPool = nullptr) const

Implements SfxPoolItem.

Definition at line 1773 of file atrfrm.cxx.

References SwFormatURL().

Referenced by SwFrameURLPage::FillItemSet().

const ImageMap* SwFormatURL::GetMap ( ) const
ImageMap* SwFormatURL::GetMap ( )

Definition at line 69 of file fmturl.hxx.

const OUString& SwFormatURL::GetName ( ) const
bool SwFormatURL::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper rIntl 
) const

Reimplemented from SfxPoolItem.

Definition at line 508 of file attrdesc.cxx.

References m_sURL.

const OUString& SwFormatURL::GetTargetFrameName ( ) const
const OUString& SwFormatURL::GetURL ( ) const
bool SwFormatURL::IsServerMap ( ) const
bool SwFormatURL::operator== ( const SfxPoolItem rAttr) const

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 1755 of file atrfrm.cxx.

References GetMap(), GetName(), GetTargetFrameName(), GetURL(), IsServerMap(), m_bIsServerMap, m_pMap, m_sName, m_sTargetFrameName, and m_sURL.

bool SwFormatURL::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
bool SwFormatURL::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
void SwFormatURL::SetMap ( const ImageMap pM)

Pointer will be copied.

Definition at line 1784 of file atrfrm.cxx.

References m_pMap.

Referenced by SwBaseShell::Execute(), SwHTMLParser::InsertImage(), SwTransferable::PasteGrf(), and SwWW8ImplReader::Read_GrafLayer().

void SwFormatURL::SetName ( const OUString &  rNm)

Definition at line 72 of file fmturl.hxx.

Referenced by PutValue(), and SwWW8ImplReader::Read_GrafLayer().

void SwFormatURL::SetTargetFrameName ( const OUString &  rStr)
void SwFormatURL::SetURL ( const OUString &  rURL,
bool  bServerMap 

Member Data Documentation

bool SwFormatURL::m_bIsServerMap

A ServerSideImageMap with the URL.

Definition at line 41 of file fmturl.hxx.

Referenced by operator==(), PutValue(), and SetURL().

std::unique_ptr<ImageMap> SwFormatURL::m_pMap

ClientSide images.

Definition at line 39 of file fmturl.hxx.

Referenced by operator==(), PutValue(), QueryValue(), SetMap(), and SwFormatURL().

OUString SwFormatURL::m_sName

Name of the anchor.

Definition at line 37 of file fmturl.hxx.

Referenced by operator==().

OUString SwFormatURL::m_sTargetFrameName

Target frame for URL.

Definition at line 35 of file fmturl.hxx.

Referenced by operator==().

OUString SwFormatURL::m_sURL

Simple URL.

Definition at line 36 of file fmturl.hxx.

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

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