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

#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 SwFormatURLClone (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
T & StaticWhichCast (TypedWhichId< T > nId)
const T & StaticWhichCast (TypedWhichId< T > nId) const
T * DynamicWhichCast (TypedWhichId< T > nId)
const T * DynamicWhichCast (TypedWhichId< T > nId) const
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 void ScaleMetrics (tools::Long lMult, tools::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

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

- 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)

Detailed Description

Definition at line 33 of file fmturl.hxx.

Constructor & Destructor Documentation

SwFormatURL::SwFormatURL ( )

Definition at line 1791 of file atrfrm.cxx.

References false.

Referenced by Clone().

SwFormatURL::SwFormatURL ( const SwFormatURL rURL)

Definition at line 1797 of file atrfrm.cxx.

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

SwFormatURL::~SwFormatURL ( )

Definition at line 1808 of file atrfrm.cxx.

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 1830 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 503 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 1812 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 1841 of file atrfrm.cxx.

References m_pMap.

Referenced by SwHTMLParser::InsertImage().

void SwFormatURL::SetName ( const OUString &  rNm)

Definition at line 72 of file fmturl.hxx.

Referenced by PutValue().

void SwFormatURL::SetTargetFrameName ( const OUString &  rStr)

Definition at line 61 of file fmturl.hxx.

Referenced by PutValue(), and SwWW8FltControlStack::SetAttrInDoc().

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: