LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::overlay::OverlayRanges Class Referencefinal

#include <OverlayRanges.hxx>

Inheritance diagram for sw::overlay::OverlayRanges:
[legend]
Collaboration diagram for sw::overlay::OverlayRanges:
[legend]

Public Member Functions

virtual ~OverlayRanges () override
 
const std::vector< basegfx::B2DRange > & getRanges () const
 
void setRanges (std::vector< basegfx::B2DRange > &&rNew)
 
void ShowSolidBorder ()
 
void HideSolidBorder ()
 
- 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
 

Static Public Member Functions

static std::unique_ptr< OverlayRangesCreateOverlayRange (SwView const &rDocView, const Color &rColor, std::vector< basegfx::B2DRange > &&rRanges, const bool bShowSolidBorder)
 

Private Member Functions

 OverlayRanges (const Color &rColor, std::vector< basegfx::B2DRange > &&rRanges, const bool bShowSolidBorder)
 
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence () override
 

Private Attributes

std::vector< basegfx::B2DRangemaRanges
 
bool mbShowSolidBorder
 

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 32 of file OverlayRanges.hxx.

Constructor & Destructor Documentation

◆ ~OverlayRanges()

sw::overlay::OverlayRanges::~OverlayRanges ( )
overridevirtual

◆ OverlayRanges()

sw::overlay::OverlayRanges::OverlayRanges ( const Color rColor,
std::vector< basegfx::B2DRange > &&  rRanges,
const bool  bShowSolidBorder 
)
private

Definition at line 127 of file OverlayRanges.cxx.

References sdr::overlay::OverlayObject::allowAntiAliase().

Member Function Documentation

◆ createOverlayObjectPrimitive2DSequence()

drawinglayer::primitive2d::Primitive2DContainer sw::overlay::OverlayRanges::createOverlayObjectPrimitive2DSequence ( )
overrideprivatevirtual

◆ CreateOverlayRange()

std::unique_ptr< OverlayRanges > sw::overlay::OverlayRanges::CreateOverlayRange ( SwView const &  rDocView,
const Color rColor,
std::vector< basegfx::B2DRange > &&  rRanges,
const bool  bShowSolidBorder 
)
static

◆ getRanges()

const std::vector< basegfx::B2DRange > & sw::overlay::OverlayRanges::getRanges ( ) const
inline

Definition at line 44 of file OverlayRanges.hxx.

References maRanges.

Referenced by createOverlayObjectPrimitive2DSequence().

◆ HideSolidBorder()

void sw::overlay::OverlayRanges::HideSolidBorder ( )

◆ setRanges()

void sw::overlay::OverlayRanges::setRanges ( std::vector< basegfx::B2DRange > &&  rNew)

Definition at line 147 of file OverlayRanges.cxx.

References maRanges, and sdr::overlay::OverlayObject::objectChange().

◆ ShowSolidBorder()

void sw::overlay::OverlayRanges::ShowSolidBorder ( )

Member Data Documentation

◆ maRanges

std::vector< basegfx::B2DRange > sw::overlay::OverlayRanges::maRanges
private

Definition at line 65 of file OverlayRanges.hxx.

Referenced by createOverlayObjectPrimitive2DSequence(), getRanges(), and setRanges().

◆ mbShowSolidBorder

bool sw::overlay::OverlayRanges::mbShowSolidBorder
private

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