LibreOffice Module vcl (master) 1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
IMapObject Class Referenceabstract

#include <imapobj.hxx>

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

Public Member Functions

 IMapObject ()
 
 IMapObject (const OUString &rURL, const OUString &rAltText, const OUString &rDesc, const OUString &rTarget, const OUString &rName, bool bActive)
 
virtual ~IMapObject ()
 
 IMapObject (IMapObject const &)=default
 
 IMapObject (IMapObject &&)=default
 
IMapObjectoperator= (IMapObject const &)=default
 
IMapObjectoperator= (IMapObject &&)=default
 
virtual IMapObjectType GetType () const =0
 
virtual bool IsHit (const Point &rPoint) const =0
 
void Write (SvStream &rOStm) const
 
void Read (SvStream &rIStm)
 
const OUString & GetURL () const
 
void SetURL (const OUString &rURL)
 
const OUString & GetAltText () const
 
void SetAltText (const OUString &rAltText)
 
const OUString & GetDesc () const
 
void SetDesc (const OUString &rDesc)
 
const OUString & GetTarget () const
 
void SetTarget (const OUString &rTarget)
 
const OUString & GetName () const
 
void SetName (const OUString &rName)
 
bool IsActive () const
 
void SetActive (bool bSetActive)
 
bool IsEqual (const IMapObject &rEqObj) const
 
const SvxMacroTableDtorGetMacroTable () const
 
void SetMacroTable (const SvxMacroTableDtor &rTbl)
 

Protected Member Functions

virtual void WriteIMapObject (SvStream &rOStm) const =0
 
virtual void ReadIMapObject (SvStream &rIStm)=0
 
void AppendCERNURL (OStringBuffer &rBuf) const
 
void AppendNCSAURL (OStringBuffer &rBuf) const
 

Static Protected Member Functions

static void AppendCERNCoords (OStringBuffer &rBuf, const Point &rPoint100)
 
static void AppendNCSACoords (OStringBuffer &rBuf, const Point &rPoint100)
 

Protected Attributes

sal_uInt16 nReadVersion
 

Private Attributes

OUString aURL
 
OUString aAltText
 
OUString aDesc
 
OUString aTarget
 
OUString aName
 
SvxMacroTableDtor aEventList
 
bool bActive
 

Friends

class ImageMap
 

Detailed Description

Definition at line 55 of file imapobj.hxx.

Constructor & Destructor Documentation

◆ IMapObject() [1/4]

IMapObject::IMapObject ( )

Definition at line 48 of file imap.cxx.

◆ IMapObject() [2/4]

IMapObject::IMapObject ( const OUString &  rURL,
const OUString &  rAltText,
const OUString &  rDesc,
const OUString &  rTarget,
const OUString &  rName,
bool  bActive 
)

Definition at line 54 of file imap.cxx.

References aName, aURL, and rTarget.

◆ ~IMapObject()

virtual IMapObject::~IMapObject ( )
inlinevirtual

Definition at line 89 of file imapobj.hxx.

◆ IMapObject() [3/4]

IMapObject::IMapObject ( IMapObject const &  )
default

◆ IMapObject() [4/4]

IMapObject::IMapObject ( IMapObject &&  )
default

Member Function Documentation

◆ AppendCERNCoords()

void IMapObject::AppendCERNCoords ( OStringBuffer &  rBuf,
const Point rPoint100 
)
staticprotected

◆ AppendCERNURL()

void IMapObject::AppendCERNURL ( OStringBuffer &  rBuf) const
protected

◆ AppendNCSACoords()

void IMapObject::AppendNCSACoords ( OStringBuffer &  rBuf,
const Point rPoint100 
)
staticprotected

◆ AppendNCSAURL()

void IMapObject::AppendNCSAURL ( OStringBuffer &  rBuf) const
protected

◆ GetAltText()

const OUString & IMapObject::GetAltText ( ) const
inline

Definition at line 105 of file imapobj.hxx.

References aAltText.

◆ GetDesc()

const OUString & IMapObject::GetDesc ( ) const
inline

Definition at line 108 of file imapobj.hxx.

References aDesc.

◆ GetMacroTable()

const SvxMacroTableDtor & IMapObject::GetMacroTable ( ) const
inline

Definition at line 123 of file imapobj.hxx.

References aEventList.

◆ GetName()

const OUString & IMapObject::GetName ( ) const
inline

Definition at line 114 of file imapobj.hxx.

References aName.

◆ GetTarget()

const OUString & IMapObject::GetTarget ( ) const
inline

Definition at line 111 of file imapobj.hxx.

References aTarget.

◆ GetType()

virtual IMapObjectType IMapObject::GetType ( ) const
pure virtual

◆ GetURL()

const OUString & IMapObject::GetURL ( ) const
inline

Definition at line 102 of file imapobj.hxx.

References aURL.

◆ IsActive()

bool IMapObject::IsActive ( ) const
inline

Definition at line 117 of file imapobj.hxx.

References bActive.

Referenced by ImageMap::GetHitIMapObject().

◆ IsEqual()

bool IMapObject::IsEqual ( const IMapObject rEqObj) const

◆ IsHit()

virtual bool IMapObject::IsHit ( const Point rPoint) const
pure virtual

◆ operator=() [1/2]

IMapObject & IMapObject::operator= ( IMapObject &&  )
default

◆ operator=() [2/2]

IMapObject & IMapObject::operator= ( IMapObject const &  )
default

◆ Read()

void IMapObject::Read ( SvStream rIStm)

◆ ReadIMapObject()

virtual void IMapObject::ReadIMapObject ( SvStream rIStm)
protectedpure virtual

Implemented in IMapCircleObject, IMapPolygonObject, and IMapRectangleObject.

Referenced by Read().

◆ SetActive()

void IMapObject::SetActive ( bool  bSetActive)
inline

Definition at line 118 of file imapobj.hxx.

References bActive.

◆ SetAltText()

void IMapObject::SetAltText ( const OUString &  rAltText)
inline

Definition at line 106 of file imapobj.hxx.

References aAltText.

◆ SetDesc()

void IMapObject::SetDesc ( const OUString &  rDesc)
inline

Definition at line 109 of file imapobj.hxx.

References aDesc.

◆ SetMacroTable()

void IMapObject::SetMacroTable ( const SvxMacroTableDtor rTbl)
inline

Definition at line 124 of file imapobj.hxx.

References aEventList.

◆ SetName()

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

Definition at line 115 of file imapobj.hxx.

References aName.

◆ SetTarget()

void IMapObject::SetTarget ( const OUString &  rTarget)
inline

Definition at line 112 of file imapobj.hxx.

References aTarget, and rTarget.

◆ SetURL()

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

Definition at line 103 of file imapobj.hxx.

References aURL.

◆ Write()

void IMapObject::Write ( SvStream rOStm) const

◆ WriteIMapObject()

virtual void IMapObject::WriteIMapObject ( SvStream rOStm) const
protectedpure virtual

Implemented in IMapCircleObject, IMapPolygonObject, and IMapRectangleObject.

Referenced by Write().

Friends And Related Function Documentation

◆ ImageMap

friend class ImageMap
friend

Definition at line 57 of file imapobj.hxx.

Member Data Documentation

◆ aAltText

OUString IMapObject::aAltText
private

Definition at line 60 of file imapobj.hxx.

Referenced by GetAltText(), IsEqual(), Read(), SetAltText(), and Write().

◆ aDesc

OUString IMapObject::aDesc
private

Definition at line 61 of file imapobj.hxx.

Referenced by GetDesc(), IsEqual(), and SetDesc().

◆ aEventList

SvxMacroTableDtor IMapObject::aEventList
private

Definition at line 64 of file imapobj.hxx.

Referenced by GetMacroTable(), Read(), SetMacroTable(), and Write().

◆ aName

OUString IMapObject::aName
private

Definition at line 63 of file imapobj.hxx.

Referenced by GetName(), IsEqual(), SetName(), and Write().

◆ aTarget

OUString IMapObject::aTarget
private

Definition at line 62 of file imapobj.hxx.

Referenced by GetTarget(), IsEqual(), Read(), SetTarget(), and Write().

◆ aURL

OUString IMapObject::aURL
private

Definition at line 59 of file imapobj.hxx.

Referenced by AppendCERNURL(), AppendNCSAURL(), GetURL(), IsEqual(), Read(), SetURL(), and Write().

◆ bActive

bool IMapObject::bActive
private

Definition at line 65 of file imapobj.hxx.

Referenced by IsActive(), IsEqual(), Read(), SetActive(), and Write().

◆ nReadVersion

sal_uInt16 IMapObject::nReadVersion
protected

Definition at line 68 of file imapobj.hxx.

Referenced by Read(), and IMapPolygonObject::ReadIMapObject().


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