LibreOffice Module vcl (master) 1
|
#include <imapcirc.hxx>
Public Member Functions | |
IMapCircleObject () | |
IMapCircleObject (const Point &rCenter, sal_Int32 nRad, const OUString &rURL, const OUString &rAltText, const OUString &rDesc, const OUString &rTarget, const OUString &rName, bool bActive=true, bool bPixelCoords=true) | |
virtual IMapObjectType | GetType () const override |
virtual bool | IsHit (const Point &rPoint) const override |
Point | GetCenter (bool bPixelCoords=true) const |
sal_Int32 | GetRadius (bool bPixelCoords=true) const |
void | Scale (const Fraction &rFractX, const Fraction &rFracY) |
bool | IsEqual (const IMapCircleObject &rEqObj) const |
void | WriteCERN (SvStream &rOStm) const |
void | WriteNCSA (SvStream &rOStm) const |
bool | IsEqual (const IMapObject &rEqObj) const |
Public Member Functions inherited from IMapObject | |
IMapObject () | |
IMapObject (OUString aURL, OUString aAltText, OUString aDesc, OUString aTarget, OUString aName, 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 |
const SvxMacroTableDtor & | GetMacroTable () const |
void | SetMacroTable (const SvxMacroTableDtor &rTbl) |
Private Member Functions | |
void | ImpConstruct (const Point &rCenter, sal_Int32 nRad, bool bPixel) |
virtual void | WriteIMapObject (SvStream &rOStm) const override |
virtual void | ReadIMapObject (SvStream &rIStm) override |
Private Attributes | |
Point | aCenter |
sal_Int32 | nRadius |
Additional Inherited Members | |
Protected Member Functions inherited from IMapObject | |
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 inherited from IMapObject | |
static void | AppendCERNCoords (OStringBuffer &rBuf, const Point &rPoint100) |
static void | AppendNCSACoords (OStringBuffer &rBuf, const Point &rPoint100) |
Protected Attributes inherited from IMapObject | |
sal_uInt16 | nReadVersion |
Definition at line 28 of file imapcirc.hxx.
|
inline |
Definition at line 41 of file imapcirc.hxx.
IMapCircleObject::IMapCircleObject | ( | const Point & | rCenter, |
sal_Int32 | nRad, | ||
const OUString & | rURL, | ||
const OUString & | rAltText, | ||
const OUString & | rDesc, | ||
const OUString & | rTarget, | ||
const OUString & | rName, | ||
bool | bActive = true , |
||
bool | bPixelCoords = true |
||
) |
Definition at line 239 of file imap.cxx.
References ImpConstruct(), and rTarget.
Point IMapCircleObject::GetCenter | ( | bool | bPixelCoords = true | ) | const |
Definition at line 327 of file imap.cxx.
References aCenter, Application::GetDefaultDevice(), and OutputDevice::LogicToPixel().
sal_Int32 IMapCircleObject::GetRadius | ( | bool | bPixelCoords = true | ) | const |
Definition at line 339 of file imap.cxx.
References Application::GetDefaultDevice(), OutputDevice::LogicToPixel(), and nRadius.
|
overridevirtual |
|
private |
Definition at line 252 of file imap.cxx.
References aCenter, Application::GetDefaultDevice(), nRadius, and OutputDevice::PixelToLogic().
Referenced by IMapCircleObject().
bool IMapCircleObject::IsEqual | ( | const IMapCircleObject & | rEqObj | ) | const |
Definition at line 369 of file imap.cxx.
References aCenter, IMapObject::IsEqual(), and nRadius.
Referenced by ImageMap::operator==().
bool IMapObject::IsEqual | ( | const IMapObject & | rEqObj | ) | const |
Definition at line 120 of file imap.cxx.
References read_uInt16_lenPrefixed_uInt8s_ToOUString().
|
overridevirtual |
Implements IMapObject.
Definition at line 320 of file imap.cxx.
References aCenter, nRadius, Point::X(), and Point::Y().
|
overrideprivatevirtual |
Implements IMapObject.
Definition at line 290 of file imap.cxx.
References aCenter, nRadius, tools::GenericTypeSerializer::readPoint(), and SvStream::ReadUInt32().
Definition at line 351 of file imap.cxx.
References aCenter, Fraction::GetDenominator(), nRadius, and SCALEPOINT.
void IMapCircleObject::WriteCERN | ( | SvStream & | rOStm | ) | const |
Definition at line 94 of file imap2.cxx.
References aCenter, IMapObject::AppendCERNCoords(), IMapObject::AppendCERNURL(), nRadius, and SvStream::WriteLine().
|
overrideprivatevirtual |
Implements IMapObject.
Definition at line 275 of file imap.cxx.
References aCenter, nRadius, tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt32().
void IMapCircleObject::WriteNCSA | ( | SvStream & | rOStm | ) | const |
Definition at line 105 of file imap2.cxx.
References aCenter, IMapObject::AppendNCSACoords(), IMapObject::AppendNCSAURL(), nRadius, and SvStream::WriteLine().
|
private |
Definition at line 30 of file imapcirc.hxx.
Referenced by GetCenter(), ImpConstruct(), IsEqual(), IsHit(), ReadIMapObject(), Scale(), WriteCERN(), WriteIMapObject(), and WriteNCSA().
|
private |
Definition at line 31 of file imapcirc.hxx.
Referenced by GetRadius(), ImpConstruct(), IsEqual(), IsHit(), ReadIMapObject(), Scale(), WriteCERN(), WriteIMapObject(), and WriteNCSA().