|
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 |
| 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 | |
| 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 | |
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 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 376 of file imap.cxx.
References ImpConstruct(), and rTarget.
|
inline |
Definition at line 58 of file imappoly.hxx.
| tools::Polygon IMapPolygonObject::GetPolygon | ( | bool | bPixelCoords = true | ) | const |
Definition at line 458 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 390 of file imap.cxx.
References aPoly, Application::GetDefaultDevice(), and OutputDevice::PixelToLogic().
Referenced by IMapPolygonObject().
| bool IMapObject::IsEqual | ( | const IMapObject & | rEqObj | ) | const |
| bool IMapPolygonObject::IsEqual | ( | const IMapPolygonObject & | rEqObj | ) |
Definition at line 510 of file imap.cxx.
References aPoly, tools::Polygon::GetSize(), i, IMapObject::IsEqual(), and nCount.
Referenced by ImageMap::operator==().
|
overridevirtual |
Implements IMapObject.
Definition at line 453 of file imap.cxx.
References aPoly, and tools::Polygon::Contains().
|
overrideprivatevirtual |
Implements IMapObject.
Definition at line 421 of file imap.cxx.
References aEllipse, aPoly, bEllipse, IMapObject::nReadVersion, SvStream::ReadCharAsBool(), ReadPolygon(), and tools::GenericTypeSerializer::readRectangle().
Definition at line 479 of file imap.cxx.
References aEllipse, aPoly, bEllipse, tools::Rectangle::BottomRight(), Fraction::GetDenominator(), tools::Polygon::GetSize(), i, nCount, SCALEPOINT, and tools::Rectangle::TopLeft().
| void IMapPolygonObject::SetExtraEllipse | ( | const tools::Rectangle & | rEllipse | ) |
| void IMapPolygonObject::WriteCERN | ( | SvStream & | rOStm | ) | const |
Definition at line 116 of file imap2.cxx.
References aPoly, IMapObject::AppendCERNCoords(), IMapObject::AppendCERNURL(), tools::Polygon::GetSize(), i, nCount, and SvStream::WriteLine().
|
overrideprivatevirtual |
Implements IMapObject.
Definition at line 405 of file imap.cxx.
References aEllipse, aPoly, bEllipse, SvStream::WriteBool(), WritePolygon(), and tools::GenericTypeSerializer::writeRectangle().
| void IMapPolygonObject::WriteNCSA | ( | SvStream & | rOStm | ) | const |
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().