|
LibreOffice Module vcl (master) 1
|
#include <imaprect.hxx>
Public Member Functions | |
| IMapRectangleObject () | |
| IMapRectangleObject (const tools::Rectangle &rRect, 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::Rectangle | GetRectangle (bool bPixelCoords=true) const |
| void | Scale (const Fraction &rFractX, const Fraction &rFracY) |
| bool | IsEqual (const IMapRectangleObject &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 | |
| VCL_DLLPRIVATE void | ImpConstruct (const tools::Rectangle &rRect, bool bPixel) |
| virtual void | WriteIMapObject (SvStream &rOStm) const override |
| virtual void | ReadIMapObject (SvStream &rIStm) override |
Private Attributes | |
| tools::Rectangle | aRect |
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 imaprect.hxx.
|
inline |
Definition at line 40 of file imaprect.hxx.
| IMapRectangleObject::IMapRectangleObject | ( | const tools::Rectangle & | rRect, |
| const OUString & | rURL, | ||
| const OUString & | rAltText, | ||
| const OUString & | rDesc, | ||
| const OUString & | rTarget, | ||
| const OUString & | rName, | ||
| bool | bActive = true, |
||
| bool | bPixelCoords = true |
||
| ) |
Definition at line 137 of file imap.cxx.
References ImpConstruct(), and rTarget.
| tools::Rectangle IMapRectangleObject::GetRectangle | ( | bool | bPixelCoords = true | ) | const |
Definition at line 208 of file imap.cxx.
References aRect, Application::GetDefaultDevice(), and OutputDevice::LogicToPixel().
|
overridevirtual |
|
private |
Definition at line 150 of file imap.cxx.
References aRect, Application::GetDefaultDevice(), and OutputDevice::PixelToLogic().
Referenced by IMapRectangleObject().
| bool IMapObject::IsEqual | ( | const IMapObject & | rEqObj | ) | const |
| bool IMapRectangleObject::IsEqual | ( | const IMapRectangleObject & | rEqObj | ) | const |
Definition at line 234 of file imap.cxx.
References aRect, and IMapObject::IsEqual().
Referenced by ImageMap::operator==().
|
overridevirtual |
Implements IMapObject.
Definition at line 203 of file imap.cxx.
References aRect, and tools::Rectangle::Contains().
|
overrideprivatevirtual |
Implements IMapObject.
Definition at line 178 of file imap.cxx.
References aRect, and tools::GenericTypeSerializer::readRectangle().
Definition at line 220 of file imap.cxx.
References aRect, tools::Rectangle::BottomRight(), Fraction::GetDenominator(), SCALEPOINT, and tools::Rectangle::TopLeft().
| void IMapRectangleObject::WriteCERN | ( | SvStream & | rOStm | ) | const |
Definition at line 72 of file imap2.cxx.
References IMapObject::AppendCERNCoords(), IMapObject::AppendCERNURL(), aRect, tools::Rectangle::BottomRight(), tools::Rectangle::TopLeft(), and SvStream::WriteLine().
|
overrideprivatevirtual |
Implements IMapObject.
Definition at line 165 of file imap.cxx.
References aRect, and tools::GenericTypeSerializer::writeRectangle().
| void IMapRectangleObject::WriteNCSA | ( | SvStream & | rOStm | ) | const |
Definition at line 83 of file imap2.cxx.
References IMapObject::AppendNCSACoords(), IMapObject::AppendNCSAURL(), aRect, tools::Rectangle::BottomRight(), tools::Rectangle::TopLeft(), and SvStream::WriteLine().
|
private |
Definition at line 30 of file imaprect.hxx.
Referenced by GetRectangle(), ImpConstruct(), IsEqual(), IsHit(), ReadIMapObject(), Scale(), WriteCERN(), WriteIMapObject(), and WriteNCSA().