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 sal_uInt16 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 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 50 of file imapobj.hxx.

Constructor & Destructor Documentation

IMapObject::IMapObject ( )

Definition at line 48 of file imap.cxx.

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.

virtual IMapObject::~IMapObject ( )
inlinevirtual

Definition at line 84 of file imapobj.hxx.

IMapObject::IMapObject ( IMapObject const &  )
default
IMapObject::IMapObject ( IMapObject &&  )
default

Member Function Documentation

void IMapObject::AppendCERNCoords ( OStringBuffer &  rBuf,
const Point rPoint100 
)
staticprotected
void IMapObject::AppendCERNURL ( OStringBuffer &  rBuf) const
protected
void IMapObject::AppendNCSACoords ( OStringBuffer &  rBuf,
const Point rPoint100 
)
staticprotected
void IMapObject::AppendNCSAURL ( OStringBuffer &  rBuf) const
protected
const OUString& IMapObject::GetAltText ( ) const
inline

Definition at line 100 of file imapobj.hxx.

References aAltText.

const OUString& IMapObject::GetDesc ( ) const
inline

Definition at line 103 of file imapobj.hxx.

References aDesc.

const SvxMacroTableDtor& IMapObject::GetMacroTable ( ) const
inline

Definition at line 118 of file imapobj.hxx.

References aEventList.

const OUString& IMapObject::GetName ( ) const
inline

Definition at line 109 of file imapobj.hxx.

References aName.

const OUString& IMapObject::GetTarget ( ) const
inline

Definition at line 106 of file imapobj.hxx.

References aTarget.

virtual sal_uInt16 IMapObject::GetType ( ) const
pure virtual
const OUString& IMapObject::GetURL ( ) const
inline

Definition at line 97 of file imapobj.hxx.

References aURL.

bool IMapObject::IsActive ( ) const
inline

Definition at line 112 of file imapobj.hxx.

References bActive.

Referenced by ImageMap::GetHitIMapObject().

bool IMapObject::IsEqual ( const IMapObject rEqObj)
virtual bool IMapObject::IsHit ( const Point rPoint) const
pure virtual
IMapObject& IMapObject::operator= ( IMapObject const &  )
default
IMapObject& IMapObject::operator= ( IMapObject &&  )
default
void IMapObject::Read ( SvStream rIStm)
virtual void IMapObject::ReadIMapObject ( SvStream rIStm)
protectedpure virtual

Implemented in IMapPolygonObject, IMapCircleObject, and IMapRectangleObject.

Referenced by Read().

void IMapObject::SetActive ( bool  bSetActive)
inline

Definition at line 113 of file imapobj.hxx.

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

Definition at line 101 of file imapobj.hxx.

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

Definition at line 104 of file imapobj.hxx.

void IMapObject::SetMacroTable ( const SvxMacroTableDtor rTbl)
inline

Definition at line 119 of file imapobj.hxx.

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

Definition at line 110 of file imapobj.hxx.

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

Definition at line 107 of file imapobj.hxx.

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

Definition at line 98 of file imapobj.hxx.

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

Implemented in IMapPolygonObject, IMapCircleObject, and IMapRectangleObject.

Referenced by Write().

Friends And Related Function Documentation

friend class ImageMap
friend

Definition at line 52 of file imapobj.hxx.

Member Data Documentation

OUString IMapObject::aAltText
private

Definition at line 55 of file imapobj.hxx.

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

OUString IMapObject::aDesc
private

Definition at line 56 of file imapobj.hxx.

Referenced by GetDesc(), and IsEqual().

SvxMacroTableDtor IMapObject::aEventList
private

Definition at line 59 of file imapobj.hxx.

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

OUString IMapObject::aName
private

Definition at line 58 of file imapobj.hxx.

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

OUString IMapObject::aTarget
private

Definition at line 57 of file imapobj.hxx.

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

OUString IMapObject::aURL
private

Definition at line 54 of file imapobj.hxx.

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

bool IMapObject::bActive
private

Definition at line 60 of file imapobj.hxx.

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

sal_uInt16 IMapObject::nReadVersion
protected

Definition at line 63 of file imapobj.hxx.

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


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