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

#include <fmturl.hxx>

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

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

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 1685 of file atrfrm.cxx.

Referenced by Clone().

SwFormatURL::SwFormatURL ( const SwFormatURL rURL)

Definition at line 1691 of file atrfrm.cxx.

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

SwFormatURL::~SwFormatURL ( )
overridevirtual

Definition at line 1702 of file atrfrm.cxx.

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 1724 of file atrfrm.cxx.

References SwFormatURL().

Referenced by SwFrameURLPage::FillItemSet().

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

Definition at line 69 of file fmturl.hxx.

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

Reimplemented from SfxPoolItem.

Definition at line 503 of file attrdesc.cxx.

References m_sURL.

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

"Pure virtual methods" of SfxPoolItem.

Implements SfxPoolItem.

Definition at line 1706 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 
)
overridevirtual
bool SwFormatURL::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual
void SwFormatURL::SetMap ( const ImageMap pM)

Pointer will be copied.

Definition at line 1735 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)
inline

Definition at line 72 of file fmturl.hxx.

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

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

Member Data Documentation

bool SwFormatURL::m_bIsServerMap
private

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
private

ClientSide images.

Definition at line 39 of file fmturl.hxx.

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

OUString SwFormatURL::m_sName
private

Name of the anchor.

Definition at line 37 of file fmturl.hxx.

Referenced by operator==().

OUString SwFormatURL::m_sTargetFrameName
private

Target frame for URL.

Definition at line 35 of file fmturl.hxx.

Referenced by operator==().

OUString SwFormatURL::m_sURL
private

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: