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 (OUString aTit, const OUString &rMsg, const Color &rColor, vcl::Font aFont)
 
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
 
bool isHighContrastSelection () 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)
 
virtual void Trigger (sal_uInt32 nTime)=0
 

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 ()
 
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence ()
 
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
 
bool mbHighContrastSelection
 

Detailed Description

Definition at line 44 of file overlayobject.hxx.

Constructor & Destructor Documentation

◆ ScOverlayHint()

ScOverlayHint::ScOverlayHint ( OUString  aTit,
const OUString &  rMsg,
const Color rColor,
vcl::Font  aFont 
)

Definition at line 41 of file hintwin.cxx.

References convertLineEnd(), LINEEND_CR, and MapPixel.

Member Function Documentation

◆ createOverlayObjectPrimitive2DSequence()

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

Reimplemented from sdr::overlay::OverlayObject.

Definition at line 162 of file hintwin.cxx.

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

◆ createOverlaySequence()

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

◆ GetSizePixel()

Size ScOverlayHint::GetSizePixel ( ) const

◆ SetPos()

void ScOverlayHint::SetPos ( const Point rPos,
const MapMode rMode 
)

Definition at line 175 of file hintwin.cxx.

References m_aMapMode, m_nLeft, m_nTop, Point::X(), and Point::Y().

Referenced by ScTabView::TestHintWindow().

Member Data Documentation

◆ m_aMapMode

MapMode ScOverlayHint::m_aMapMode
private

Definition at line 60 of file overlayobject.hxx.

Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().

◆ m_aMessage

const OUString ScOverlayHint::m_aMessage
private

Definition at line 58 of file overlayobject.hxx.

Referenced by createOverlaySequence().

◆ m_aTextFont

const vcl::Font ScOverlayHint::m_aTextFont
private

Definition at line 59 of file overlayobject.hxx.

Referenced by createOverlaySequence().

◆ m_aTitle

const OUString ScOverlayHint::m_aTitle
private

Definition at line 57 of file overlayobject.hxx.

Referenced by createOverlaySequence().

◆ m_nLeft

sal_Int32 ScOverlayHint::m_nLeft
private

Definition at line 61 of file overlayobject.hxx.

Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().

◆ m_nTop

sal_Int32 ScOverlayHint::m_nTop
private

Definition at line 62 of file overlayobject.hxx.

Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().


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