19#ifndef INCLUDED_SVX_RULER_HXX
20#define INCLUDED_SVX_RULER_HXX
132 void StartListening_Impl();
133 tools::Long GetCorrectedDragPos(
bool bLeft =
true,
bool bRight =
true );
134 void DrawLine_Impl(
tools::Long &lTabPos,
int,
bool Horizontal);
135 sal_uInt16 GetObjectBordersOff(sal_uInt16 nIdx)
const;
162 void UpdateColumns();
208 void DragObjectBorder();
221 void TabMenuSelect(std::u16string_view rIdent);
223 void PrepareProportional_Impl(
RulerType);
230 void UpdateParaContents_Impl(
tools::Long lDiff, UpdateType);
233 virtual void Command(
const CommandEvent& rCEvt )
override;
234 virtual void Click()
override;
236 virtual void Drag()
override;
237 virtual void EndDrag()
override;
245 bool IsActLastColumn(
246 bool bForceDontConsiderHidden =
false,
247 sal_uInt16 nAct=USHRT_MAX)
const;
248 bool IsActFirstColumn(
249 bool bForceDontConsiderHidden =
false,
250 sal_uInt16 nAct=USHRT_MAX)
const;
251 sal_uInt16 GetActLeftColumn(
252 bool bForceDontConsiderHidden =
false,
253 sal_uInt16 nAct=USHRT_MAX )
const;
254 sal_uInt16 GetActRightColumn (
255 bool bForceDontConsiderHidden =
false,
256 sal_uInt16 nAct=USHRT_MAX )
const;
257 tools::Long CalcPropMaxRight(sal_uInt16 nCol = USHRT_MAX)
const;
264 virtual void dispose()
override;
271 void SetActive(
bool bOn =
true);
279 void SetTabsRelativeToIndent(
bool bRel );
virtual void MouseMove(const MouseEvent &rMEvt) override
virtual void dispose() override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint)
std::unique_ptr< SvxLRSpaceItem > mxBorderItem
std::vector< RulerBorder > mpObjectBorders
tools::Long lLogicNullOffset
tools::Long lInitialDragPos
std::vector< RulerIndent > mpIndents
std::unique_ptr< SvxRuler_Impl > mxRulerImpl
std::unique_ptr< SvxColumnItem > mxColumnItem
std::unique_ptr< SvxObjectItem > mxObjectItem
std::unique_ptr< SvxLongLRSpaceItem > mxLRSpaceItem
SvxRulerDragFlags nDragType
std::unique_ptr< SfxRectangleItem > mxMinMaxItem
std::vector< RulerBorder > mpBorders
VclPtr< vcl::Window > pEditWin
std::unique_ptr< SvxPagePosSizeItem > mxPagePosItem
std::vector< RulerTab > mpTabs
std::unique_ptr< SvxTabStopItem > mxTabStopItem
std::unique_ptr< SvxLRSpaceItem > mxParaItem
std::vector< std::unique_ptr< SvxRulerItem > > pCtrlItems
std::unique_ptr< SvxLongULSpaceItem > mxULSpaceItem
tools::Long lAppNullOffset
SvxRulerSupportFlags nFlags
@ PARAGRAPH_MARGINS_VERTICAL
@ OBJECT_SIZE_PROPORTIONAL
@ OBJECT_LEFT_INDENT_ONLY