LibreOffice Module sd (master) 1
|
#include <Ruler.hxx>
Public Member Functions | |
Ruler (DrawViewShell &rViewSh, vcl::Window *pParent, ::sd::Window *pWin, SvxRulerSupportFlags nRulerFlags, SfxBindings &rBindings, WinBits nWinStyle) | |
virtual | ~Ruler () override |
virtual void | dispose () override |
void | SetNullOffset (const Point &rOffset) |
bool | IsHorizontal () const |
Public Member Functions inherited from SvxRuler | |
SvxRuler (vcl::Window *pParent, vcl::Window *pEditWin, SvxRulerSupportFlags nRulerFlags, SfxBindings &rBindings, WinBits nWinStyle) | |
virtual | ~SvxRuler () override |
virtual void | dispose () override |
void | SetDefTabDist (tools::Long) |
void | SetNullOffsetLogic (tools::Long lOff) |
void | SetActive (bool bOn=true) |
void | ForceUpdate () |
void | SetTabsRelativeToIndent (bool bRel) |
void | SetValues (RulerChangeType type, tools::Long value) |
tools::Long | GetPageWidth () const |
Private Member Functions | |
virtual void | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual void | Command (const CommandEvent &rCEvt) override |
virtual void | ExtraDown () override |
Private Attributes | |
DrawViewShell * | pDrViewShell |
std::unique_ptr< RulerCtrlItem > | pCtrlItem |
bool | bHorz |
Additional Inherited Members | |
Protected Member Functions inherited from SvxRuler | |
virtual void | Command (const CommandEvent &rCEvt) override |
virtual void | Click () override |
virtual bool | StartDrag () override |
virtual void | Drag () override |
virtual void | EndDrag () override |
virtual void | ExtraDown () override |
virtual void | MouseMove (const MouseEvent &rMEvt) override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | Update () |
bool | IsActLastColumn (bool bForceDontConsiderHidden=false, sal_uInt16 nAct=USHRT_MAX) const |
bool | IsActFirstColumn (bool bForceDontConsiderHidden=false, sal_uInt16 nAct=USHRT_MAX) const |
sal_uInt16 | GetActLeftColumn (bool bForceDontConsiderHidden=false, sal_uInt16 nAct=USHRT_MAX) const |
sal_uInt16 | GetActRightColumn (bool bForceDontConsiderHidden=false, sal_uInt16 nAct=USHRT_MAX) const |
tools::Long | CalcPropMaxRight (sal_uInt16 nCol=USHRT_MAX) const |
Ruler::Ruler | ( | DrawViewShell & | rViewSh, |
vcl::Window * | pParent, | ||
::sd::Window * | pWin, | ||
SvxRulerSupportFlags | nRulerFlags, | ||
SfxBindings & | rBindings, | ||
WinBits | nWinStyle | ||
) |
Definition at line 72 of file sdruler.cxx.
References bHorz, SfxBindings::EnterRegistrations(), HID_SD_RULER_HORIZONTAL, HID_SD_RULER_VERTICAL, SfxBindings::LeaveRegistrations(), pCtrlItem, SetHelpId(), and WB_HSCROLL.
|
overridevirtual |
Definition at line 92 of file sdruler.cxx.
|
overrideprivatevirtual |
Reimplemented from SvxRuler.
Definition at line 131 of file sdruler.cxx.
References SvxRuler::Command(), CommandEvent::GetCommand(), sd::ViewShell::GetView(), SdrObjEditView::IsTextEdit(), and pDrViewShell.
|
overridevirtual |
Reimplemented from SvxRuler.
Definition at line 97 of file sdruler.cxx.
References SvxRuler::dispose(), SfxBindings::EnterRegistrations(), SfxBindings::LeaveRegistrations(), and pCtrlItem.
|
overrideprivatevirtual |
Reimplemented from SvxRuler.
Definition at line 140 of file sdruler.cxx.
References SvxRuler::ExtraDown(), sd::ViewShell::GetView(), SdrObjEditView::IsTextEdit(), and pDrViewShell.
|
inline |
Definition at line 46 of file Ruler.hxx.
References bHorz.
Referenced by sd::DrawViewShell::StartRulerDrag().
|
overrideprivatevirtual |
Definition at line 106 of file sdruler.cxx.
References eType, MouseEvent::GetClicks(), MouseEvent::GetPosPixel(), sd::ViewShell::GetView(), MouseEvent::IsLeft(), SdrObjEditView::IsTextEdit(), pDrViewShell, and sd::DrawViewShell::StartRulerDrag().
void Ruler::SetNullOffset | ( | const Point & | rOffset | ) |
Definition at line 121 of file sdruler.cxx.
References bHorz, SvxRuler::SetNullOffsetLogic(), Point::X(), and Point::Y().
Referenced by sd::RulerCtrlItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 53 of file Ruler.hxx.
Referenced by IsHorizontal(), Ruler(), and SetNullOffset().
|
private |
|
private |
Definition at line 51 of file Ruler.hxx.
Referenced by Command(), ExtraDown(), and MouseButtonDown().