LibreOffice Module sw (master) 1
|
#include <AnchorOverlayObject.hxx>
Static Public Member Functions | |
static std::unique_ptr< AnchorOverlayObject > | CreateAnchorOverlayObject (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) | |
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::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 |
Definition at line 39 of file AnchorOverlayObject.hxx.
|
private |
Definition at line 219 of file AnchorOverlayObject.cxx.
References All.
Referenced by CreateAnchorOverlayObject().
|
overridevirtual |
Definition at line 239 of file AnchorOverlayObject.cxx.
References sdr::overlay::OverlayObject::getOverlayManager(), and sdr::overlay::OverlayManager::remove().
|
static |
Definition at line 184 of file AnchorOverlayObject.cxx.
References AnchorOverlayObject(), SwRect::Bottom(), SwView::GetDrawView(), SdrPaintWindow::GetOverlayManager(), SdrPaintView::GetPaintWindow(), SwRect::Left(), Point::X(), and Point::Y().
|
overrideprivatevirtual |
Reimplemented from sdr::overlay::OverlayObject.
Definition at line 279 of file AnchorOverlayObject.cxx.
References sw::sidebarwindows::ANCHORLINE_WIDTH, GetAnchorState(), sdr::overlay::OverlayObject::getBaseColor(), getLineSolid(), implEnsureGeometry(), maLine, maLineTop, and maTriangle.
|
inline |
Definition at line 75 of file AnchorOverlayObject.hxx.
References mAnchorState.
Referenced by createOverlayObjectPrimitive2DSequence().
|
inline |
Definition at line 52 of file AnchorOverlayObject.hxx.
References maFifthPosition.
Referenced by implEnsureGeometry(), SetAllPosition(), and SetTriPosition().
|
inline |
Definition at line 51 of file AnchorOverlayObject.hxx.
References maFourthPosition.
Referenced by implEnsureGeometry(), SetAllPosition(), and SetTriPosition().
|
inline |
Definition at line 72 of file AnchorOverlayObject.hxx.
References mbLineSolid.
Referenced by createOverlayObjectPrimitive2DSequence(), and setLineSolid().
|
inline |
Definition at line 49 of file AnchorOverlayObject.hxx.
References maSecondPosition.
Referenced by implEnsureGeometry(), SetAllPosition(), and SetTriPosition().
|
inline |
Definition at line 54 of file AnchorOverlayObject.hxx.
References maSeventhPosition.
Referenced by implEnsureGeometry(), and SetAllPosition().
|
inline |
Definition at line 53 of file AnchorOverlayObject.hxx.
References maSixthPosition.
Referenced by SwPostItMgr::CorrectPositions(), implEnsureGeometry(), and SetAllPosition().
|
inline |
Definition at line 50 of file AnchorOverlayObject.hxx.
References maThirdPosition.
Referenced by implEnsureGeometry(), SetAllPosition(), and SetTriPosition().
|
private |
Definition at line 248 of file AnchorOverlayObject.cxx.
References basegfx::B2DPolygon::append(), basegfx::B2DPolygon::count(), sdr::overlay::OverlayObjectWithBasePosition::getBasePosition(), GetFifthPosition(), GetFourthPosition(), GetSecondPosition(), GetSeventhPosition(), GetSixthPosition(), GetThirdPosition(), maLine, maLineTop, maTriangle, and basegfx::B2DPolygon::setClosed().
Referenced by createOverlayObjectPrimitive2DSequence().
|
private |
Definition at line 272 of file AnchorOverlayObject.cxx.
References basegfx::B2DPolygon::clear(), maLine, maLineTop, and maTriangle.
Referenced by SetAllPosition(), SetSeventhPosition(), SetSixthPosition(), and SetTriPosition().
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 | ||
) |
Definition at line 296 of file AnchorOverlayObject.cxx.
References sdr::overlay::OverlayObjectWithBasePosition::getBasePosition(), GetFifthPosition(), GetFourthPosition(), GetSecondPosition(), GetSeventhPosition(), GetSixthPosition(), GetThirdPosition(), implResetGeometry(), sdr::overlay::OverlayObjectWithBasePosition::maBasePosition, maFifthPosition, maFourthPosition, maSecondPosition, maSeventhPosition, maSixthPosition, maThirdPosition, and sdr::overlay::OverlayObject::objectChange().
void sw::sidebarwindows::AnchorOverlayObject::SetAnchorState | ( | const AnchorState | aState | ) |
Definition at line 374 of file AnchorOverlayObject.cxx.
References mAnchorState, and sdr::overlay::OverlayObject::objectChange().
Referenced by sw::annotation::SwAnnotationWin::SetPosAndSize(), and sw::annotation::SwAnnotationWin::SetViewState().
void sw::sidebarwindows::AnchorOverlayObject::setLineSolid | ( | const bool | bNew | ) |
Definition at line 365 of file AnchorOverlayObject.cxx.
References getLineSolid(), mbLineSolid, and sdr::overlay::OverlayObject::objectChange().
Referenced by sw::annotation::SwAnnotationWin::SetViewState().
void sw::sidebarwindows::AnchorOverlayObject::SetSeventhPosition | ( | const basegfx::B2DPoint & | rNew | ) |
Definition at line 335 of file AnchorOverlayObject.cxx.
References implResetGeometry(), maSeventhPosition, and sdr::overlay::OverlayObject::objectChange().
void sw::sidebarwindows::AnchorOverlayObject::SetSixthPosition | ( | const basegfx::B2DPoint & | rNew | ) |
Definition at line 325 of file AnchorOverlayObject.cxx.
References implResetGeometry(), maSixthPosition, and sdr::overlay::OverlayObject::objectChange().
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 | ||
) |
Definition at line 345 of file AnchorOverlayObject.cxx.
References sdr::overlay::OverlayObjectWithBasePosition::getBasePosition(), GetFifthPosition(), GetFourthPosition(), GetSecondPosition(), GetThirdPosition(), implResetGeometry(), sdr::overlay::OverlayObjectWithBasePosition::maBasePosition, maFifthPosition, maFourthPosition, maSecondPosition, maThirdPosition, and sdr::overlay::OverlayObject::objectChange().
|
private |
Definition at line 87 of file AnchorOverlayObject.hxx.
Referenced by GetFifthPosition(), SetAllPosition(), and SetTriPosition().
|
private |
Definition at line 86 of file AnchorOverlayObject.hxx.
Referenced by GetFourthPosition(), SetAllPosition(), and SetTriPosition().
|
private |
Definition at line 100 of file AnchorOverlayObject.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), implEnsureGeometry(), and implResetGeometry().
|
private |
Definition at line 101 of file AnchorOverlayObject.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), implEnsureGeometry(), and implResetGeometry().
|
private |
Definition at line 102 of file AnchorOverlayObject.hxx.
Referenced by GetAnchorState(), and SetAnchorState().
|
private |
Definition at line 84 of file AnchorOverlayObject.hxx.
Referenced by GetSecondPosition(), SetAllPosition(), and SetTriPosition().
|
private |
Definition at line 89 of file AnchorOverlayObject.hxx.
Referenced by GetSeventhPosition(), SetAllPosition(), and SetSeventhPosition().
|
private |
Definition at line 88 of file AnchorOverlayObject.hxx.
Referenced by GetSixthPosition(), SetAllPosition(), and SetSixthPosition().
|
private |
Definition at line 85 of file AnchorOverlayObject.hxx.
Referenced by GetThirdPosition(), SetAllPosition(), and SetTriPosition().
|
private |
Definition at line 99 of file AnchorOverlayObject.hxx.
Referenced by createOverlayObjectPrimitive2DSequence(), implEnsureGeometry(), and implResetGeometry().
|
private |
Definition at line 104 of file AnchorOverlayObject.hxx.
Referenced by getLineSolid(), and setLineSolid().