LibreOffice Module sc (master) 1
|
#include <overlayobject.hxx>
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 |
OverlayManager * | getOverlayManager () 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::B2DRange & | getBaseRange () const |
const Color & | getBaseColor () const |
void | setBaseColor (Color aNew) |
const basegfx::B2DVector & | getOffset () 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::Primitive2DContainer & | getPrimitive2DSequence () 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 |
Definition at line 44 of file overlayobject.hxx.
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.
|
overridevirtual |
Reimplemented from sdr::overlay::OverlayObject.
Definition at line 162 of file hintwin.cxx.
References createOverlaySequence(), m_aMapMode, m_nLeft, and m_nTop.
|
private |
Definition at line 52 of file hintwin.cxx.
References Point::AdjustY(), aSeq, basegfx::utils::createPolygonFromRect(), basegfx::utils::createScaleTranslateB2DHomMatrix(), basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), FontMetric::GetAscent(), sdr::overlay::OverlayObject::getBaseColor(), Color::getBColor(), Application::GetDefaultDevice(), drawinglayer::primitive2d::getFontAttributeFromVclFont(), OutputDevice::GetFontMetric(), vcl::Font::GetFontSize(), StyleSettings::GetLabelTextColor(), FontMetric::GetLineHeight(), OutputDevice::GetMapMode(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), Application::GetSettings(), AllSettings::GetStyleSettings(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Size::Height(), HINT_INDENT, HINT_LINESPACE, HINT_MARGIN, m_aMessage, m_aTextFont, m_aTitle, nIndex, OutputDevice::PixelToLogic(), SAL_WARN, vcl::Font::SetFontSize(), OutputDevice::SetMapMode(), vcl::Font::SetWeight(), WEIGHT_BOLD, Size::Width(), Point::X(), and Point::Y().
Referenced by createOverlayObjectPrimitive2DSequence(), and GetSizePixel().
Size ScOverlayHint::GetSizePixel | ( | ) | const |
Definition at line 168 of file hintwin.cxx.
References createOverlaySequence(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), and basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth().
Referenced by ScTabView::TestHintWindow().
Definition at line 175 of file hintwin.cxx.
References m_aMapMode, m_nLeft, m_nTop, Point::X(), and Point::Y().
Referenced by ScTabView::TestHintWindow().
|
private |
Definition at line 60 of file overlayobject.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().
|
private |
Definition at line 58 of file overlayobject.hxx.
Referenced by createOverlaySequence().
|
private |
Definition at line 59 of file overlayobject.hxx.
Referenced by createOverlaySequence().
|
private |
Definition at line 57 of file overlayobject.hxx.
Referenced by createOverlaySequence().
|
private |
Definition at line 61 of file overlayobject.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().
|
private |
Definition at line 62 of file overlayobject.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), and SetPos().