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

#include <AnchorOverlayObject.hxx>

Inheritance diagram for sw::sidebarwindows::AnchorOverlayObject:
[legend]
Collaboration diagram for sw::sidebarwindows::AnchorOverlayObject:
[legend]

Public Member Functions

const basegfx::B2DPointGetSecondPosition () const
 
const basegfx::B2DPointGetThirdPosition () const
 
const basegfx::B2DPointGetFourthPosition () const
 
const basegfx::B2DPointGetFifthPosition () const
 
const basegfx::B2DPointGetSixthPosition () const
 
const basegfx::B2DPointGetSeventhPosition () const
 
void SetAllPosition (const basegfx::B2DPoint &rPoint1, const basegfx::B2DPoint &rPoint2, const basegfx::B2DPoint &rPoint3, const basegfx::B2DPoint &rPoint4, const basegfx::B2DPoint &rPoint5, const basegfx::B2DPoint &rPoint6, const basegfx::B2DPoint &rPoint7)
 
void SetTriPosition (const basegfx::B2DPoint &rPoint1, const basegfx::B2DPoint &rPoint2, const basegfx::B2DPoint &rPoint3, const basegfx::B2DPoint &rPoint4, const basegfx::B2DPoint &rPoint5)
 
void SetSixthPosition (const basegfx::B2DPoint &rNew)
 
void SetSeventhPosition (const basegfx::B2DPoint &rNew)
 
void setLineSolid (const bool bNew)
 
bool getLineSolid () const
 
void SetAnchorState (const AnchorState aState)
 
AnchorState GetAnchorState () const
 
virtual ~AnchorOverlayObject () override
 
- Public Member Functions inherited from sdr::overlay::OverlayObjectWithBasePosition
 OverlayObjectWithBasePosition (const basegfx::B2DPoint &rBasePos, Color aBaseColor)
 
virtual ~OverlayObjectWithBasePosition () override
 
const basegfx::B2DPointgetBasePosition () const
 
void setBasePosition (const basegfx::B2DPoint &rNew)
 
- 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< AnchorOverlayObjectCreateAnchorOverlayObject (SwView const &rDocView, const SwRect &aAnchorRect, tools::Long aPageBorder, const Point &aLineStart, const Point &aLineEnd, const Color &aColorAnchor)
 

Private Member Functions

void implEnsureGeometry ()
 
void implResetGeometry ()
 
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence () override
 
 AnchorOverlayObject (const basegfx::B2DPoint &rBasePos, const basegfx::B2DPoint &rSecondPos, const basegfx::B2DPoint &rThirdPos, const basegfx::B2DPoint &rFourthPos, const basegfx::B2DPoint &rFifthPos, const basegfx::B2DPoint &rSixthPos, const basegfx::B2DPoint &rSeventhPos, const Color &rBaseColor)
 

Private Attributes

basegfx::B2DPoint maSecondPosition
 
basegfx::B2DPoint maThirdPosition
 
basegfx::B2DPoint maFourthPosition
 
basegfx::B2DPoint maFifthPosition
 
basegfx::B2DPoint maSixthPosition
 
basegfx::B2DPoint maSeventhPosition
 
basegfx::B2DPolygon maTriangle
 
basegfx::B2DPolygon maLine
 
basegfx::B2DPolygon maLineTop
 
AnchorState mAnchorState
 
bool mbLineSolid: 1
 

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::OverlayObjectWithBasePosition
basegfx::B2DPoint maBasePosition
 
- 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 39 of file AnchorOverlayObject.hxx.

Constructor & Destructor Documentation

◆ AnchorOverlayObject()

sw::sidebarwindows::AnchorOverlayObject::AnchorOverlayObject ( const basegfx::B2DPoint rBasePos,
const basegfx::B2DPoint rSecondPos,
const basegfx::B2DPoint rThirdPos,
const basegfx::B2DPoint rFourthPos,
const basegfx::B2DPoint rFifthPos,
const basegfx::B2DPoint rSixthPos,
const basegfx::B2DPoint rSeventhPos,
const Color rBaseColor 
)
private

Definition at line 219 of file AnchorOverlayObject.cxx.

References All.

Referenced by CreateAnchorOverlayObject().

◆ ~AnchorOverlayObject()

sw::sidebarwindows::AnchorOverlayObject::~AnchorOverlayObject ( )
overridevirtual

Member Function Documentation

◆ CreateAnchorOverlayObject()

std::unique_ptr< AnchorOverlayObject > sw::sidebarwindows::AnchorOverlayObject::CreateAnchorOverlayObject ( SwView const &  rDocView,
const SwRect aAnchorRect,
tools::Long  aPageBorder,
const Point aLineStart,
const Point aLineEnd,
const Color aColorAnchor 
)
static

◆ createOverlayObjectPrimitive2DSequence()

drawinglayer::primitive2d::Primitive2DContainer sw::sidebarwindows::AnchorOverlayObject::createOverlayObjectPrimitive2DSequence ( )
overrideprivatevirtual

◆ GetAnchorState()

AnchorState sw::sidebarwindows::AnchorOverlayObject::GetAnchorState ( ) const
inline

Definition at line 75 of file AnchorOverlayObject.hxx.

References mAnchorState.

Referenced by createOverlayObjectPrimitive2DSequence().

◆ GetFifthPosition()

const basegfx::B2DPoint & sw::sidebarwindows::AnchorOverlayObject::GetFifthPosition ( ) const
inline

Definition at line 52 of file AnchorOverlayObject.hxx.

References maFifthPosition.

Referenced by implEnsureGeometry(), SetAllPosition(), and SetTriPosition().

◆ GetFourthPosition()

const basegfx::B2DPoint & sw::sidebarwindows::AnchorOverlayObject::GetFourthPosition ( ) const
inline

Definition at line 51 of file AnchorOverlayObject.hxx.

References maFourthPosition.

Referenced by implEnsureGeometry(), SetAllPosition(), and SetTriPosition().

◆ getLineSolid()

bool sw::sidebarwindows::AnchorOverlayObject::getLineSolid ( ) const
inline

Definition at line 72 of file AnchorOverlayObject.hxx.

References mbLineSolid.

Referenced by createOverlayObjectPrimitive2DSequence(), and setLineSolid().

◆ GetSecondPosition()

const basegfx::B2DPoint & sw::sidebarwindows::AnchorOverlayObject::GetSecondPosition ( ) const
inline

Definition at line 49 of file AnchorOverlayObject.hxx.

References maSecondPosition.

Referenced by implEnsureGeometry(), SetAllPosition(), and SetTriPosition().

◆ GetSeventhPosition()

const basegfx::B2DPoint & sw::sidebarwindows::AnchorOverlayObject::GetSeventhPosition ( ) const
inline

Definition at line 54 of file AnchorOverlayObject.hxx.

References maSeventhPosition.

Referenced by implEnsureGeometry(), and SetAllPosition().

◆ GetSixthPosition()

const basegfx::B2DPoint & sw::sidebarwindows::AnchorOverlayObject::GetSixthPosition ( ) const
inline

◆ GetThirdPosition()

const basegfx::B2DPoint & sw::sidebarwindows::AnchorOverlayObject::GetThirdPosition ( ) const
inline

Definition at line 50 of file AnchorOverlayObject.hxx.

References maThirdPosition.

Referenced by implEnsureGeometry(), SetAllPosition(), and SetTriPosition().

◆ implEnsureGeometry()

void sw::sidebarwindows::AnchorOverlayObject::implEnsureGeometry ( )
private

◆ implResetGeometry()

void sw::sidebarwindows::AnchorOverlayObject::implResetGeometry ( )
private

◆ SetAllPosition()

void sw::sidebarwindows::AnchorOverlayObject::SetAllPosition ( const basegfx::B2DPoint rPoint1,
const basegfx::B2DPoint rPoint2,
const basegfx::B2DPoint rPoint3,
const basegfx::B2DPoint rPoint4,
const basegfx::B2DPoint rPoint5,
const basegfx::B2DPoint rPoint6,
const basegfx::B2DPoint rPoint7 
)

◆ SetAnchorState()

void sw::sidebarwindows::AnchorOverlayObject::SetAnchorState ( const AnchorState  aState)

◆ setLineSolid()

void sw::sidebarwindows::AnchorOverlayObject::setLineSolid ( const bool  bNew)

◆ SetSeventhPosition()

void sw::sidebarwindows::AnchorOverlayObject::SetSeventhPosition ( const basegfx::B2DPoint rNew)

◆ SetSixthPosition()

void sw::sidebarwindows::AnchorOverlayObject::SetSixthPosition ( const basegfx::B2DPoint rNew)

◆ SetTriPosition()

void sw::sidebarwindows::AnchorOverlayObject::SetTriPosition ( const basegfx::B2DPoint rPoint1,
const basegfx::B2DPoint rPoint2,
const basegfx::B2DPoint rPoint3,
const basegfx::B2DPoint rPoint4,
const basegfx::B2DPoint rPoint5 
)

Member Data Documentation

◆ maFifthPosition

basegfx::B2DPoint sw::sidebarwindows::AnchorOverlayObject::maFifthPosition
private

Definition at line 87 of file AnchorOverlayObject.hxx.

Referenced by GetFifthPosition(), SetAllPosition(), and SetTriPosition().

◆ maFourthPosition

basegfx::B2DPoint sw::sidebarwindows::AnchorOverlayObject::maFourthPosition
private

Definition at line 86 of file AnchorOverlayObject.hxx.

Referenced by GetFourthPosition(), SetAllPosition(), and SetTriPosition().

◆ maLine

basegfx::B2DPolygon sw::sidebarwindows::AnchorOverlayObject::maLine
private

◆ maLineTop

basegfx::B2DPolygon sw::sidebarwindows::AnchorOverlayObject::maLineTop
private

◆ mAnchorState

AnchorState sw::sidebarwindows::AnchorOverlayObject::mAnchorState
private

Definition at line 102 of file AnchorOverlayObject.hxx.

Referenced by GetAnchorState(), and SetAnchorState().

◆ maSecondPosition

basegfx::B2DPoint sw::sidebarwindows::AnchorOverlayObject::maSecondPosition
private

Definition at line 84 of file AnchorOverlayObject.hxx.

Referenced by GetSecondPosition(), SetAllPosition(), and SetTriPosition().

◆ maSeventhPosition

basegfx::B2DPoint sw::sidebarwindows::AnchorOverlayObject::maSeventhPosition
private

Definition at line 89 of file AnchorOverlayObject.hxx.

Referenced by GetSeventhPosition(), SetAllPosition(), and SetSeventhPosition().

◆ maSixthPosition

basegfx::B2DPoint sw::sidebarwindows::AnchorOverlayObject::maSixthPosition
private

Definition at line 88 of file AnchorOverlayObject.hxx.

Referenced by GetSixthPosition(), SetAllPosition(), and SetSixthPosition().

◆ maThirdPosition

basegfx::B2DPoint sw::sidebarwindows::AnchorOverlayObject::maThirdPosition
private

Definition at line 85 of file AnchorOverlayObject.hxx.

Referenced by GetThirdPosition(), SetAllPosition(), and SetTriPosition().

◆ maTriangle

basegfx::B2DPolygon sw::sidebarwindows::AnchorOverlayObject::maTriangle
private

◆ mbLineSolid

bool sw::sidebarwindows::AnchorOverlayObject::mbLineSolid
private

Definition at line 104 of file AnchorOverlayObject.hxx.

Referenced by getLineSolid(), and setLineSolid().


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