LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScOverlayHint Class Reference

#include <overlayobject.hxx>

Inheritance diagram for ScOverlayHint:
[legend]
Collaboration diagram for ScOverlayHint:
[legend]

Public Member Functions

 ScOverlayHint (const OUString &rTit, const OUString &rMsg, const Color &rColor, const vcl::Font &rFont)
 
Size GetSizePixel () const
 
void SetPos (const Point &rPos, const MapMode &rMode)
 
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence () override
 
- Public Member Functions inherited from sdr::overlay::OverlayObject
 OverlayObject (Color aBaseColor)
 
virtual ~OverlayObject () override
 
OverlayManagergetOverlayManager () const
 
virtual drawinglayer::primitive2d::Primitive2DContainer getOverlayObjectPrimitive2DSequence () const
 
bool isVisible () const
 
void setVisible (bool bNew)
 
bool isHittable () const
 
void setHittable (bool bNew)
 
bool allowsAntiAliase () const
 
const basegfx::B2DRangegetBaseRange () const
 
const ColorgetBaseColor () const
 
void setBaseColor (Color aNew)
 
const basegfx::B2DVectorgetOffset () const
 
void setOffset (const basegfx::B2DVector &rOffset)
 
virtual void Trigger (sal_uInt32 nTime) override
 
bool allowsAnimation () const
 
virtual void stripeDefinitionHasChanged ()
 
- Public Member Functions inherited from sdr::animation::Event
SAL_DLLPRIVATE Event ()
 
virtual ~Event ()
 
SAL_DLLPRIVATE sal_uInt32 GetTime () const
 
void SetTime (sal_uInt32 nNew)
 

Private Member Functions

drawinglayer::primitive2d::Primitive2DContainer createOverlaySequence (sal_Int32 nLeft, sal_Int32 nTop, const MapMode &rMapMode, basegfx::B2DRange &rRange) const
 

Private Attributes

const OUString m_aTitle
 
const OUString m_aMessage
 
const vcl::Font m_aTextFont
 
MapMode m_aMapMode
 
sal_Int32 m_nLeft
 
sal_Int32 m_nTop
 

Additional Inherited Members

- Protected Member Functions inherited from sdr::overlay::OverlayObject
const drawinglayer::primitive2d::Primitive2DContainergetPrimitive2DSequence () const
 
void resetPrimitive2DSequence ()
 
void objectChange ()
 
void allowAntiAliase (bool bNew)
 
- Static Protected Member Functions inherited from sdr::overlay::OverlayObject
static sal_uInt32 impCheckBlinkTimeValueRange (sal_uInt64 nBlinkTime)
 
- Protected Attributes inherited from sdr::overlay::OverlayObject
basegfx::B2DRange maBaseRange
 
Color maBaseColor
 
bool mbIsVisible
 
bool mbIsHittable
 
bool mbAllowsAnimation
 
bool mbAllowsAntiAliase
 

Detailed Description

Definition at line 45 of file overlayobject.hxx.

Constructor & Destructor Documentation

ScOverlayHint::ScOverlayHint ( const OUString &  rTit,
const OUString &  rMsg,
const Color rColor,
const vcl::Font rFont 
)

Definition at line 39 of file hintwin.cxx.

References convertLineEnd(), LINEEND_CR, and MapPixel.

Member Function Documentation

drawinglayer::primitive2d::Primitive2DContainer ScOverlayHint::createOverlayObjectPrimitive2DSequence ( )
overridevirtual

Reimplemented from sdr::overlay::OverlayObject.

Definition at line 149 of file hintwin.cxx.

References createOverlaySequence(), m_aMapMode, m_nLeft, and m_nTop.

drawinglayer::primitive2d::Primitive2DContainer ScOverlayHint::createOverlaySequence ( sal_Int32  nLeft,
sal_Int32  nTop,
const MapMode rMapMode,
basegfx::B2DRange rRange 
) const
private
Size ScOverlayHint::GetSizePixel ( ) const
void ScOverlayHint::SetPos ( const Point rPos,
const MapMode rMode 
)

Definition at line 162 of file hintwin.cxx.

References m_aMapMode, m_nLeft, and m_nTop.

Referenced by ScTabView::TestHintWindow().

Member Data Documentation

MapMode ScOverlayHint::m_aMapMode
private

Definition at line 61 of file overlayobject.hxx.

Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().

const OUString ScOverlayHint::m_aMessage
private

Definition at line 59 of file overlayobject.hxx.

Referenced by createOverlaySequence().

const vcl::Font ScOverlayHint::m_aTextFont
private

Definition at line 60 of file overlayobject.hxx.

Referenced by createOverlaySequence().

const OUString ScOverlayHint::m_aTitle
private

Definition at line 58 of file overlayobject.hxx.

Referenced by createOverlaySequence().

sal_Int32 ScOverlayHint::m_nLeft
private

Definition at line 62 of file overlayobject.hxx.

Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().

sal_Int32 ScOverlayHint::m_nTop
private

Definition at line 63 of file overlayobject.hxx.

Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().


The documentation for this class was generated from the following files: