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
 
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)
 

Static Public Member Functions

static std::unique_ptr< AnchorOverlayObjectCreateAnchorOverlayObject (SwView const &rDocView, const SwRect &aAnchorRect, 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 ()
 
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
 

Detailed Description

Definition at line 40 of file AnchorOverlayObject.hxx.

Constructor & Destructor Documentation

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 210 of file AnchorOverlayObject.cxx.

References All.

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

Member Function Documentation

static std::unique_ptr<AnchorOverlayObject> sw::sidebarwindows::AnchorOverlayObject::CreateAnchorOverlayObject ( SwView const &  rDocView,
const SwRect aAnchorRect,
long  aPageBorder,
const Point aLineStart,
const Point aLineEnd,
const Color aColorAnchor 
)
static
drawinglayer::primitive2d::Primitive2DContainer sw::sidebarwindows::AnchorOverlayObject::createOverlayObjectPrimitive2DSequence ( )
overrideprivatevirtual
AnchorState sw::sidebarwindows::AnchorOverlayObject::GetAnchorState ( ) const
inline

Definition at line 76 of file AnchorOverlayObject.hxx.

References mAnchorState.

Referenced by createOverlayObjectPrimitive2DSequence().

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

Definition at line 53 of file AnchorOverlayObject.hxx.

References maFifthPosition.

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

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

Definition at line 52 of file AnchorOverlayObject.hxx.

References maFourthPosition.

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

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

Definition at line 73 of file AnchorOverlayObject.hxx.

References mbLineSolid.

Referenced by createOverlayObjectPrimitive2DSequence(), and setLineSolid().

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

Definition at line 50 of file AnchorOverlayObject.hxx.

References maSecondPosition.

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

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

Definition at line 55 of file AnchorOverlayObject.hxx.

References maSeventhPosition.

Referenced by implEnsureGeometry(), and SetAllPosition().

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

Definition at line 51 of file AnchorOverlayObject.hxx.

References maThirdPosition.

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

void sw::sidebarwindows::AnchorOverlayObject::implEnsureGeometry ( )
private
void sw::sidebarwindows::AnchorOverlayObject::implResetGeometry ( )
private
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 
)
void sw::sidebarwindows::AnchorOverlayObject::SetAnchorState ( const AnchorState  aState)
void sw::sidebarwindows::AnchorOverlayObject::setLineSolid ( const bool  bNew)
void sw::sidebarwindows::AnchorOverlayObject::SetSeventhPosition ( const basegfx::B2DPoint rNew)
void sw::sidebarwindows::AnchorOverlayObject::SetSixthPosition ( const basegfx::B2DPoint rNew)
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

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

Definition at line 88 of file AnchorOverlayObject.hxx.

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

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

Definition at line 87 of file AnchorOverlayObject.hxx.

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

basegfx::B2DPolygon sw::sidebarwindows::AnchorOverlayObject::maLine
private
basegfx::B2DPolygon sw::sidebarwindows::AnchorOverlayObject::maLineTop
private
AnchorState sw::sidebarwindows::AnchorOverlayObject::mAnchorState
private

Definition at line 103 of file AnchorOverlayObject.hxx.

Referenced by GetAnchorState(), and SetAnchorState().

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

Definition at line 85 of file AnchorOverlayObject.hxx.

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

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

Definition at line 90 of file AnchorOverlayObject.hxx.

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

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

Definition at line 89 of file AnchorOverlayObject.hxx.

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

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

Definition at line 86 of file AnchorOverlayObject.hxx.

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

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

Definition at line 105 of file AnchorOverlayObject.hxx.

Referenced by getLineSolid(), and setLineSolid().


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