LibreOffice Module vcl (master)
1
|
#include <imapobj.hxx>
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 | |
IMapObject & | operator= (IMapObject const &)=default |
IMapObject & | operator= (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 SvxMacroTableDtor & | GetMacroTable () 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 |
Definition at line 55 of file imapobj.hxx.
IMapObject::IMapObject | ( | const OUString & | rURL, |
const OUString & | rAltText, | ||
const OUString & | rDesc, | ||
const OUString & | rTarget, | ||
const OUString & | rName, | ||
bool | bActive | ||
) |
|
inlinevirtual |
Definition at line 89 of file imapobj.hxx.
|
default |
|
default |
Definition at line 39 of file imap2.cxx.
References Application::GetDefaultDevice(), and Point.
Referenced by IMapRectangleObject::WriteCERN(), IMapCircleObject::WriteCERN(), and IMapPolygonObject::WriteCERN().
|
protected |
Definition at line 60 of file imap2.cxx.
References aURL, OUStringToOString(), and URIHelper::simpleNormalizedMakeRelative().
Referenced by IMapRectangleObject::WriteCERN(), IMapCircleObject::WriteCERN(), and IMapPolygonObject::WriteCERN().
Definition at line 50 of file imap2.cxx.
References Application::GetDefaultDevice(), and Point.
Referenced by IMapRectangleObject::WriteNCSA(), IMapCircleObject::WriteNCSA(), and IMapPolygonObject::WriteNCSA().
|
protected |
Definition at line 65 of file imap2.cxx.
References aURL, OUStringToOString(), and URIHelper::simpleNormalizedMakeRelative().
Referenced by IMapRectangleObject::WriteNCSA(), IMapCircleObject::WriteNCSA(), and IMapPolygonObject::WriteNCSA().
|
inline |
Definition at line 105 of file imapobj.hxx.
References aAltText.
|
inline |
Definition at line 108 of file imapobj.hxx.
References aDesc.
|
inline |
Definition at line 123 of file imapobj.hxx.
References aEventList.
|
inline |
Definition at line 114 of file imapobj.hxx.
References aName.
|
inline |
Definition at line 111 of file imapobj.hxx.
References aTarget.
|
pure virtual |
Implemented in IMapCircleObject, IMapPolygonObject, and IMapRectangleObject.
Referenced by ImageMap::ImageMap(), ImageMap::ImpWriteCERN(), ImageMap::ImpWriteNCSA(), ImageMap::InsertIMapObject(), ImageMap::operator=(), ImageMap::operator==(), ImageMap::Scale(), and Write().
|
inline |
Definition at line 102 of file imapobj.hxx.
References aURL.
|
inline |
Definition at line 117 of file imapobj.hxx.
References bActive.
Referenced by ImageMap::GetHitIMapObject().
bool IMapObject::IsEqual | ( | const IMapObject & | rEqObj | ) |
Definition at line 126 of file imap.cxx.
References aAltText, aDesc, aName, aTarget, aURL, and bActive.
Referenced by IMapRectangleObject::IsEqual(), IMapCircleObject::IsEqual(), and IMapPolygonObject::IsEqual().
|
pure virtual |
Implemented in IMapCircleObject, IMapPolygonObject, and IMapRectangleObject.
|
default |
|
default |
Definition at line 96 of file imap.cxx.
References aAltText, aEventList, aName, aTarget, aURL, bActive, URIHelper::GetMaybeFileHdl(), nReadVersion, SvxMacroTableDtor::Read(), read_uInt16_lenPrefixed_uInt8s_ToOUString(), SvStream::ReadCharAsBool(), ReadIMapObject(), SvStream::ReadUInt16(), SvStream::SeekRel(), URIHelper::SmartRel2Abs(), INetURLObject::Unambiguous, and INetURLObject::WasEncoded.
Referenced by ImageMap::ImpReadImageMap().
Implemented in IMapPolygonObject, IMapCircleObject, and IMapRectangleObject.
Referenced by Read().
|
inline |
Definition at line 118 of file imapobj.hxx.
|
inline |
Definition at line 106 of file imapobj.hxx.
|
inline |
Definition at line 109 of file imapobj.hxx.
|
inline |
Definition at line 124 of file imapobj.hxx.
|
inline |
Definition at line 115 of file imapobj.hxx.
|
inline |
Definition at line 112 of file imapobj.hxx.
|
inline |
Definition at line 103 of file imapobj.hxx.
Definition at line 67 of file imap.cxx.
References aAltText, aEventList, aName, aTarget, aURL, bActive, GetType(), IMAP_OBJ_VERSION, OUStringToOString(), URIHelper::simpleNormalizedMakeRelative(), SvxMacroTableDtor::Write(), write_uInt16_lenPrefixed_uInt8s_FromOString(), write_uInt16_lenPrefixed_uInt8s_FromOUString(), SvStream::WriteBool(), WriteIMapObject(), and SvStream::WriteUInt16().
Implemented in IMapPolygonObject, IMapCircleObject, and IMapRectangleObject.
Referenced by Write().
|
friend |
Definition at line 57 of file imapobj.hxx.
|
private |
Definition at line 60 of file imapobj.hxx.
Referenced by GetAltText(), IsEqual(), Read(), and Write().
|
private |
Definition at line 61 of file imapobj.hxx.
|
private |
Definition at line 64 of file imapobj.hxx.
Referenced by GetMacroTable(), Read(), and Write().
|
private |
|
private |
Definition at line 62 of file imapobj.hxx.
Referenced by GetTarget(), IsEqual(), Read(), and Write().
|
private |
Definition at line 59 of file imapobj.hxx.
Referenced by AppendCERNURL(), AppendNCSAURL(), GetURL(), IsEqual(), Read(), and Write().
|
private |
Definition at line 65 of file imapobj.hxx.
Referenced by IsActive(), IsEqual(), Read(), and Write().
|
protected |
Definition at line 68 of file imapobj.hxx.
Referenced by Read(), and IMapPolygonObject::ReadIMapObject().