LibreOffice Module vcl (master)
1
|
#include <imapcirc.hxx>
Public Member Functions | |
IMapCircleObject () | |
IMapCircleObject (const Point &rCenter, sal_uLong 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_uLong | GetRadius (bool bPixelCoords=true) const |
void | Scale (const Fraction &rFractX, const Fraction &rFracY) |
bool | IsEqual (const IMapCircleObject &rEqObj) |
void | WriteCERN (SvStream &rOStm) const |
void | WriteNCSA (SvStream &rOStm) const |
![]() | |
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 |
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) |
Private Member Functions | |
void | ImpConstruct (const Point &rCenter, sal_uLong 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 | |
![]() | |
void | AppendCERNURL (OStringBuffer &rBuf) const |
void | AppendNCSAURL (OStringBuffer &rBuf) const |
![]() | |
static void | AppendCERNCoords (OStringBuffer &rBuf, const Point &rPoint100) |
static void | AppendNCSACoords (OStringBuffer &rBuf, const Point &rPoint100) |
![]() | |
sal_uInt16 | nReadVersion |
Definition at line 29 of file imapcirc.hxx.
|
inline |
Definition at line 42 of file imapcirc.hxx.
IMapCircleObject::IMapCircleObject | ( | const Point & | rCenter, |
sal_uLong | 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 238 of file imap.cxx.
References ImpConstruct().
Point IMapCircleObject::GetCenter | ( | bool | bPixelCoords = true | ) | const |
Definition at line 333 of file imap.cxx.
References aCenter, Application::GetDefaultDevice(), OutputDevice::LogicToPixel(), and Point.
sal_uLong IMapCircleObject::GetRadius | ( | bool | bPixelCoords = true | ) | const |
Definition at line 345 of file imap.cxx.
References Application::GetDefaultDevice(), OutputDevice::LogicToPixel(), and nRadius.
|
overridevirtual |
Definition at line 251 of file imap.cxx.
References aCenter, Application::GetDefaultDevice(), nRadius, and OutputDevice::PixelToLogic().
Referenced by IMapCircleObject().
bool IMapCircleObject::IsEqual | ( | const IMapCircleObject & | rEqObj | ) |
Definition at line 375 of file imap.cxx.
References aCenter, IMapObject::IsEqual(), and nRadius.
|
overridevirtual |
Implements IMapObject.
Definition at line 289 of file imap.cxx.
References aCenter, nRadius, tools::GenericTypeSerializer::readPoint(), and SvStream::ReadUInt32().
Definition at line 357 of file imap.cxx.
References aCenter, Fraction::GetDenominator(), nRadius, and SCALEPOINT.
Definition at line 93 of file imap2.cxx.
References aCenter, IMapObject::AppendCERNCoords(), IMapObject::AppendCERNURL(), nRadius, and SvStream::WriteLine().
Implements IMapObject.
Definition at line 274 of file imap.cxx.
References aCenter, nRadius, tools::GenericTypeSerializer::writePoint(), and SvStream::WriteUInt32().
Definition at line 105 of file imap2.cxx.
References aCenter, IMapObject::AppendNCSACoords(), IMapObject::AppendNCSAURL(), nRadius, Point, and SvStream::WriteLine().
|
private |
Definition at line 31 of file imapcirc.hxx.
Referenced by GetCenter(), ImpConstruct(), IsEqual(), IsHit(), ReadIMapObject(), Scale(), WriteCERN(), WriteIMapObject(), and WriteNCSA().
|
private |
Definition at line 32 of file imapcirc.hxx.
Referenced by GetRadius(), ImpConstruct(), IsEqual(), IsHit(), ReadIMapObject(), Scale(), WriteCERN(), WriteIMapObject(), and WriteNCSA().