LibreOffice Module vcl (master)
1
|
#include <imappoly.hxx>
Public Member Functions | |
IMapPolygonObject () | |
IMapPolygonObject (const tools::Polygon &rPoly, 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 |
tools::Polygon | GetPolygon (bool bPixelCoords=true) const |
bool | HasExtraEllipse () const |
const tools::Rectangle & | GetExtraEllipse () const |
void | SetExtraEllipse (const tools::Rectangle &rEllipse) |
void | Scale (const Fraction &rFractX, const Fraction &rFracY) |
bool | IsEqual (const IMapPolygonObject &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 | |
VCL_DLLPRIVATE void | ImpConstruct (const tools::Polygon &rPoly, bool bPixel) |
virtual void | WriteIMapObject (SvStream &rOStm) const override |
virtual void | ReadIMapObject (SvStream &rIStm) override |
Private Attributes | |
tools::Polygon | aPoly |
tools::Rectangle | aEllipse |
bool | bEllipse |
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 imappoly.hxx.
|
inline |
Definition at line 42 of file imappoly.hxx.
IMapPolygonObject::IMapPolygonObject | ( | const tools::Polygon & | rPoly, |
const OUString & | rURL, | ||
const OUString & | rAltText, | ||
const OUString & | rDesc, | ||
const OUString & | rTarget, | ||
const OUString & | rName, | ||
bool | bActive = true , |
||
bool | bPixelCoords = true |
||
) |
Definition at line 382 of file imap.cxx.
References ImpConstruct().
|
inline |
Definition at line 58 of file imappoly.hxx.
tools::Polygon IMapPolygonObject::GetPolygon | ( | bool | bPixelCoords = true | ) | const |
Definition at line 464 of file imap.cxx.
References aPoly, Application::GetDefaultDevice(), and OutputDevice::LogicToPixel().
|
overridevirtual |
|
inline |
Definition at line 57 of file imappoly.hxx.
|
private |
Definition at line 396 of file imap.cxx.
References aPoly, Application::GetDefaultDevice(), and OutputDevice::PixelToLogic().
Referenced by IMapPolygonObject().
bool IMapPolygonObject::IsEqual | ( | const IMapPolygonObject & | rEqObj | ) |
Definition at line 516 of file imap.cxx.
References aPoly, tools::Polygon::GetSize(), i, IMapObject::IsEqual(), and nCount.
|
overridevirtual |
Implements IMapObject.
Definition at line 459 of file imap.cxx.
References aPoly, and tools::Polygon::IsInside().
Implements IMapObject.
Definition at line 427 of file imap.cxx.
References aEllipse, aPoly, bEllipse, IMapObject::nReadVersion, SvStream::ReadCharAsBool(), ReadPolygon(), and tools::GenericTypeSerializer::readRectangle().
Definition at line 485 of file imap.cxx.
References aEllipse, aPoly, bEllipse, tools::Rectangle::BottomRight(), Fraction::GetDenominator(), tools::Polygon::GetSize(), i, nCount, Point, SCALEPOINT, and tools::Rectangle::TopLeft().
void IMapPolygonObject::SetExtraEllipse | ( | const tools::Rectangle & | rEllipse | ) |
Definition at line 116 of file imap2.cxx.
References aPoly, IMapObject::AppendCERNCoords(), IMapObject::AppendCERNURL(), tools::Polygon::GetSize(), i, nCount, and SvStream::WriteLine().
Implements IMapObject.
Definition at line 411 of file imap.cxx.
References aEllipse, aPoly, bEllipse, SvStream::WriteBool(), WritePolygon(), and tools::GenericTypeSerializer::writeRectangle().
Definition at line 129 of file imap2.cxx.
References aPoly, IMapObject::AppendNCSACoords(), IMapObject::AppendNCSAURL(), tools::Polygon::GetSize(), i, nCount, and SvStream::WriteLine().
|
private |
Definition at line 32 of file imappoly.hxx.
Referenced by ReadIMapObject(), Scale(), SetExtraEllipse(), and WriteIMapObject().
|
private |
Definition at line 31 of file imappoly.hxx.
Referenced by GetPolygon(), ImpConstruct(), IsEqual(), IsHit(), ReadIMapObject(), Scale(), SetExtraEllipse(), WriteCERN(), WriteIMapObject(), and WriteNCSA().
|
private |
Definition at line 33 of file imappoly.hxx.
Referenced by ReadIMapObject(), Scale(), SetExtraEllipse(), and WriteIMapObject().