LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
SvxRuler Class Reference

#include <ruler.hxx>

Inheritance diagram for SvxRuler:
[legend]
Collaboration diagram for SvxRuler:
[legend]

Public Member Functions

 SvxRuler (vcl::Window *pParent, vcl::Window *pEditWin, SvxRulerSupportFlags nRulerFlags, SfxBindings &rBindings, WinBits nWinStyle)
 
virtual ~SvxRuler () override
 
virtual void dispose () override
 
void SetDefTabDist (long)
 
void SetNullOffsetLogic (long lOff)
 
void SetActive (bool bOn=true)
 
void ForceUpdate ()
 
void SetTabsRelativeToIndent (bool bRel)
 
void SetValues (RulerChangeType type, long value)
 
long GetPageWidth () const
 
- Public Member Functions inherited from Ruler
 Ruler (vcl::Window *pParent, WinBits nWinStyle=WB_STDRULER)
 
virtual ~Ruler () override
 
virtual void MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual void Tracking (const TrackingEvent &rTEvt) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void Resize () override
 
virtual void StateChanged (StateChangedType nStateChange) override
 
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
 
void DoubleClick ()
 
void Activate () override
 
void Deactivate () override
 
void SetWinPos (long nOff, long nWidth=0)
 
long GetWinOffset () const
 
void SetPagePos (long nOff=0, long nWidth=0)
 
long GetPageOffset () const
 
void SetBorderPos (long nOff=0)
 
long GetBorderOffset () const
 
const tools::RectangleGetExtraRect () const
 
void SetUnit (FieldUnit eNewUnit)
 
FieldUnit GetUnit () const
 
void SetZoom (const Fraction &rNewZoom)
 
void SetExtraType (RulerExtra eNewExtraType, sal_uInt16 nStyle=0)
 
bool StartDocDrag (const MouseEvent &rMEvt, RulerType eDragType)
 
RulerType GetDragType () const
 
long GetDragPos () const
 
sal_uInt16 GetDragAryPos () const
 
RulerDragSize GetDragSize () const
 
bool IsDragDelete () const
 
bool IsDragCanceled () const
 
sal_uInt16 GetDragModifier () const
 
bool IsDrag () const
 
void CancelDrag ()
 
long GetClickPos () const
 
RulerType GetClickType () const
 
const RulerSelectionGetHoverSelection () const
 
RulerType GetType (const Point &rPos, sal_uInt16 *pAryPos=nullptr)
 
void SetNullOffset (long nPos)
 
long GetNullOffset () const
 
void SetMargin1 ()
 
void SetMargin1 (long nPos, RulerMarginStyle nMarginStyle=RulerMarginStyle::Sizeable)
 
long GetMargin1 () const
 
void SetMargin2 ()
 
void SetMargin2 (long nPos, RulerMarginStyle nMarginStyle=RulerMarginStyle::Sizeable)
 
long GetMargin2 () const
 
void SetLeftFrameMargin (long nPos)
 
void SetRightFrameMargin (long nPos)
 
void SetLines (sal_uInt32 n=0, const RulerLine *pLineAry=nullptr)
 
void SetBorders (sal_uInt32 n=0, const RulerBorder *pBrdAry=nullptr)
 
void SetIndents (sal_uInt32 n=0, const RulerIndent *pIndentAry=nullptr)
 
void SetTabs (sal_uInt32 n=0, const RulerTab *pTabAry=nullptr)
 
void SetStyle (WinBits nStyle)
 
WinBits GetStyle () const
 
void SetDoubleClickHdl (const Link< Ruler *, void > &rLink)
 
void SetTextRTL (bool bRTL)
 
bool GetTextRTL () const
 
void SetCharWidth (long nWidth)
 
void SetLineHeight (long nHeight)
 
void DrawTicks ()
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Protected Member Functions

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
 
long CalcPropMaxRight (sal_uInt16 nCol=USHRT_MAX) const
 
- Protected Member Functions inherited from Ruler
long GetRulerVirHeight () const
 
const MapModeGetCurrentMapMode () const
 
const RulerUnitDataGetCurrentRulerUnit () const
 

Private Types

enum  UpdateType {
  UpdateType::MoveLeft,
  UpdateType::MoveRight
}
 

Private Member Functions

void StartListening_Impl ()
 
long GetCorrectedDragPos (bool bLeft=true, bool bRight=true)
 
void DrawLine_Impl (long &lTabPos, int, bool Horizontal)
 
sal_uInt16 GetObjectBordersOff (sal_uInt16 nIdx) const
 
void UpdateFrame (const SvxLongLRSpaceItem *pItem)
 
void UpdateFrame (const SvxLongULSpaceItem *pItem)
 
void UpdateFrameMinMax (const SfxRectangleItem *pItem)
 
void UpdatePara (const SvxLRSpaceItem *pItem)
 
void UpdateParaBorder ()
 
void Update (const SvxTabStopItem *pItem)
 
void Update (const SvxPagePosSizeItem *pItem)
 
void Update (const SvxColumnItem *pItem, sal_uInt16 nSID)
 
void Update (const SvxObjectItem *pItem)
 
void Update (const SvxProtectItem *pItem)
 
void UpdateTextRTL (const SfxBoolItem *pItem)
 
void UpdatePara ()
 
void UpdateTabs ()
 
void UpdatePage ()
 
void UpdateFrame ()
 
void UpdateColumns ()
 
void UpdateObject ()
 
long MakePositionSticky (long rValue, long aPointOfReference, bool aSnapToFrameMargin=true) const
 
long PixelHAdjust (long lPos, long lPos2) const
 
long PixelVAdjust (long lPos, long lPos2) const
 
long PixelAdjust (long lPos, long lPos2) const
 
long ConvertHPosPixel (long lPos) const
 
long ConvertVPosPixel (long lPos) const
 
long ConvertHSizePixel (long lSize) const
 
long ConvertVSizePixel (long lSize) const
 
long ConvertPosPixel (long lPos) const
 
long ConvertSizePixel (long lSize) const
 
long ConvertHPosLogic (long lPos) const
 
long ConvertVPosLogic (long lPos) const
 
long ConvertHSizeLogic (long lSize) const
 
long ConvertVSizeLogic (long lSize) const
 
long ConvertPosLogic (long lPos) const
 
long ConvertSizeLogic (long lSize) const
 
long RoundToCurrentMapMode (long lValue) const
 
long GetFirstLineIndent () const
 
long GetLeftIndent () const
 
long GetRightIndent () const
 
long GetLogicRightIndent () const
 
long GetLeftFrameMargin () const
 
long GetRightFrameMargin () const
 
void CalcMinMax ()
 
void EvalModifier ()
 
void DragMargin1 ()
 
void AdjustMargin1 (long lDiff)
 
void DragMargin2 ()
 
void DragIndents ()
 
void DragTabs ()
 
void DragBorders ()
 
void DragObjectBorder ()
 
void ApplyMargins ()
 
void ApplyIndents ()
 
void ApplyTabs ()
 
void ApplyBorders ()
 
void ApplyObject ()
 
long GetFrameLeft () const
 
long GetLeftMin () const
 
long GetRightMax () const
 
 DECL_LINK (TabMenuSelect, Menu *, bool)
 
 DECL_LINK (MenuSelect, Menu *, bool)
 
void PrepareProportional_Impl (RulerType)
 
void UpdateParaContents_Impl (long lDiff, UpdateType)
 

Private Attributes

std::vector< std::unique_ptr< SvxRulerItem > > pCtrlItems
 
std::unique_ptr< SvxLongLRSpaceItemmxLRSpaceItem
 
std::unique_ptr< SfxRectangleItemmxMinMaxItem
 
std::unique_ptr< SvxLongULSpaceItemmxULSpaceItem
 
std::unique_ptr< SvxTabStopItemmxTabStopItem
 
std::unique_ptr< SvxLRSpaceItemmxParaItem
 
std::unique_ptr< SvxPagePosSizeItemmxPagePosItem
 
std::unique_ptr< SvxColumnItemmxColumnItem
 
std::unique_ptr< SvxObjectItemmxObjectItem
 
VclPtr< vcl::WindowpEditWin
 
std::unique_ptr< SvxRuler_ImplmxRulerImpl
 
bool bAppSetNullOffset:1
 
bool bHorz:1
 
long lLogicNullOffset
 
long lAppNullOffset
 
long lInitialDragPos
 
SvxRulerSupportFlags const nFlags
 
SvxRulerDragFlags nDragType
 
sal_uInt16 nDefTabType
 
sal_uInt16 nTabCount
 
sal_uInt16 nTabBufSize
 
long lDefTabDist
 
long lTabPos
 
std::vector< RulerTabmpTabs
 
std::vector< RulerIndentmpIndents
 
std::vector< RulerBordermpBorders
 
std::vector< RulerBordermpObjectBorders
 
SfxBindingspBindings
 
long nDragOffset
 
long nMaxLeft
 
long nMaxRight
 
bool bValid
 
bool bListening
 
bool bActive
 
bool mbCoarseSnapping
 
bool mbSnapping
 

Friends

class SvxRulerItem
 

Additional Inherited Members

- Static Public Member Functions inherited from Ruler
static void DrawTab (vcl::RenderContext &rRenderContext, const Color &rFillColor, const Point &rPos, sal_uInt16 nStyle)
 

Detailed Description

Definition at line 83 of file ruler.hxx.

Member Enumeration Documentation

enum SvxRuler::UpdateType
strongprivate
Enumerator
MoveLeft 
MoveRight 

Definition at line 224 of file ruler.hxx.

Constructor & Destructor Documentation

SvxRuler::SvxRuler ( vcl::Window pParent,
vcl::Window pEditWin,
SvxRulerSupportFlags  nRulerFlags,
SfxBindings rBindings,
WinBits  nWinStyle 
)
SvxRuler::~SvxRuler ( )
overridevirtual

Definition at line 285 of file svxruler.cxx.

Member Function Documentation

void SvxRuler::AdjustMargin1 ( long  lDiff)
private
void SvxRuler::ApplyBorders ( )
private
void SvxRuler::ApplyIndents ( )
private
void SvxRuler::ApplyMargins ( )
private
void SvxRuler::ApplyObject ( )
private
void SvxRuler::ApplyTabs ( )
private
void SvxRuler::CalcMinMax ( )
private
long SvxRuler::CalcPropMaxRight ( sal_uInt16  nCol = USHRT_MAX) const
protected
void SvxRuler::Click ( )
overrideprotectedvirtual
void SvxRuler::Command ( const CommandEvent rCEvt)
overrideprotectedvirtual
long SvxRuler::ConvertHPosLogic ( long  lPos) const
inlineprivate

Definition at line 376 of file svxruler.cxx.

References pEditWin, and OutputDevice::PixelToLogic().

Referenced by ApplyBorders(), ApplyMargins(), ApplyTabs(), Click(), and ConvertPosLogic().

long SvxRuler::ConvertHPosPixel ( long  lPos) const
private
long SvxRuler::ConvertHSizeLogic ( long  lSize) const
inlineprivate

Definition at line 386 of file svxruler.cxx.

References pEditWin, and OutputDevice::PixelToLogic().

Referenced by ConvertSizeLogic(), and DrawLine_Impl().

long SvxRuler::ConvertHSizePixel ( long  lSize) const
private

Definition at line 356 of file svxruler.cxx.

References OutputDevice::LogicToPixel(), and pEditWin.

Referenced by ConvertSizePixel(), and PixelHAdjust().

long SvxRuler::ConvertPosLogic ( long  lPos) const
inlineprivate

Definition at line 396 of file svxruler.cxx.

References bHorz, ConvertHPosLogic(), and ConvertVPosLogic().

Referenced by ApplyBorders(), ApplyIndents(), and ApplyObject().

long SvxRuler::ConvertPosPixel ( long  lPos) const
private

Definition at line 366 of file svxruler.cxx.

References bHorz, ConvertHPosPixel(), and ConvertVPosPixel().

Referenced by CalcMinMax(), UpdateColumns(), and UpdateObject().

long SvxRuler::ConvertSizeLogic ( long  lSize) const
inlineprivate

Definition at line 401 of file svxruler.cxx.

References bHorz, ConvertHSizeLogic(), and ConvertVSizeLogic().

Referenced by ApplyBorders().

long SvxRuler::ConvertSizePixel ( long  lSize) const
private
long SvxRuler::ConvertVPosLogic ( long  lPos) const
inlineprivate

Definition at line 381 of file svxruler.cxx.

References pEditWin, and OutputDevice::PixelToLogic().

Referenced by ApplyMargins(), and ConvertPosLogic().

long SvxRuler::ConvertVPosPixel ( long  lPos) const
private

Definition at line 351 of file svxruler.cxx.

References OutputDevice::LogicToPixel(), and pEditWin.

Referenced by ConvertPosPixel(), and UpdateFrame().

long SvxRuler::ConvertVSizeLogic ( long  lSize) const
inlineprivate

Definition at line 391 of file svxruler.cxx.

References pEditWin, and OutputDevice::PixelToLogic().

Referenced by ConvertSizeLogic(), and DrawLine_Impl().

long SvxRuler::ConvertVSizePixel ( long  lSize) const
private

Definition at line 361 of file svxruler.cxx.

References OutputDevice::LogicToPixel(), and pEditWin.

Referenced by ConvertSizePixel(), and PixelVAdjust().

SvxRuler::DECL_LINK ( TabMenuSelect  ,
Menu ,
bool   
)
private
SvxRuler::DECL_LINK ( MenuSelect  ,
Menu ,
bool   
)
private
void SvxRuler::dispose ( void  )
overridevirtual
void SvxRuler::Drag ( )
overrideprotectedvirtual
void SvxRuler::DragBorders ( )
private
void SvxRuler::DragIndents ( )
private
void SvxRuler::DragMargin1 ( )
private
void SvxRuler::DragMargin2 ( )
private
void SvxRuler::DragObjectBorder ( )
private
void SvxRuler::DragTabs ( )
private
void SvxRuler::DrawLine_Impl ( long &  lTabPos,
int  nNew,
bool  Horizontal 
)
private
void SvxRuler::EndDrag ( )
overrideprotectedvirtual
void SvxRuler::EvalModifier ( )
private
void SvxRuler::ExtraDown ( )
overrideprotectedvirtual
void SvxRuler::ForceUpdate ( )
inline

Definition at line 272 of file ruler.hxx.

References Update.

sal_uInt16 SvxRuler::GetActLeftColumn ( bool  bForceDontConsiderHidden = false,
sal_uInt16  nAct = USHRT_MAX 
) const
protected
sal_uInt16 SvxRuler::GetActRightColumn ( bool  bForceDontConsiderHidden = false,
sal_uInt16  nAct = USHRT_MAX 
) const
protected
long SvxRuler::GetCorrectedDragPos ( bool  bLeft = true,
bool  bRight = true 
)
private
long SvxRuler::GetFirstLineIndent ( ) const
private

Definition at line 1175 of file svxruler.cxx.

References Ruler::GetMargin1(), INDENT_FIRST_LINE, mpIndents, and mxParaItem.

Referenced by CalcMinMax(), and Click().

long SvxRuler::GetFrameLeft ( ) const
inlineprivate
long SvxRuler::GetLeftFrameMargin ( ) const
private
long SvxRuler::GetLeftIndent ( ) const
private

Definition at line 1181 of file svxruler.cxx.

References Ruler::GetMargin1(), INDENT_LEFT_MARGIN, mpIndents, and mxParaItem.

Referenced by ApplyTabs(), CalcMinMax(), and Click().

long SvxRuler::GetLeftMin ( ) const
inlineprivate

Definition at line 1217 of file svxruler.cxx.

References bHorz, DBG_ASSERT, and mxMinMaxItem.

Referenced by CalcMinMax().

long SvxRuler::GetLogicRightIndent ( ) const
private

Definition at line 1193 of file svxruler.cxx.

References GetRightFrameMargin(), and mxParaItem.

Referenced by CalcMinMax().

sal_uInt16 SvxRuler::GetObjectBordersOff ( sal_uInt16  nIdx) const
inlineprivate

Definition at line 430 of file svxruler.cxx.

References bHorz.

Referenced by AdjustMargin1(), DragObjectBorder(), and UpdateObject().

long SvxRuler::GetPageWidth ( ) const

Definition at line 1160 of file svxruler.cxx.

References bHorz, and mxPagePosItem.

Referenced by ApplyMargins(), and CalcMinMax().

long SvxRuler::GetRightFrameMargin ( ) const
private
long SvxRuler::GetRightIndent ( ) const
private

Definition at line 1187 of file svxruler.cxx.

References Ruler::GetMargin2(), INDENT_RIGHT_MARGIN, mpIndents, and mxParaItem.

Referenced by CalcMinMax(), and Click().

long SvxRuler::GetRightMax ( ) const
inlineprivate

Definition at line 1230 of file svxruler.cxx.

References bHorz, DBG_ASSERT, and mxMinMaxItem.

Referenced by CalcMinMax().

bool SvxRuler::IsActFirstColumn ( bool  bForceDontConsiderHidden = false,
sal_uInt16  nAct = USHRT_MAX 
) const
protected

Definition at line 3423 of file svxruler.cxx.

References GetActLeftColumn(), and USHRT_MAX.

Referenced by AdjustMargin1(), and ApplyIndents().

bool SvxRuler::IsActLastColumn ( bool  bForceDontConsiderHidden = false,
sal_uInt16  nAct = USHRT_MAX 
) const
protected

Definition at line 3416 of file svxruler.cxx.

References GetActRightColumn(), and USHRT_MAX.

Referenced by ApplyIndents(), CalcMinMax(), DragMargin2(), and GetRightFrameMargin().

long SvxRuler::MakePositionSticky ( long  rValue,
long  aPointOfReference,
bool  aSnapToFrameMargin = true 
) const
private
void SvxRuler::MouseMove ( const MouseEvent rMEvt)
overrideprotectedvirtual
void SvxRuler::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprotectedvirtual

Reimplemented from SfxListener.

Definition at line 3243 of file svxruler.cxx.

References bActive, bListening, bValid, SfxListener::EndListening(), SfxHint::GetId(), pBindings, and Update().

long SvxRuler::PixelAdjust ( long  lPos,
long  lPos2 
) const
private

Definition at line 422 of file svxruler.cxx.

References ConvertSizePixel().

Referenced by ApplyObject().

long SvxRuler::PixelHAdjust ( long  lPos,
long  lPos2 
) const
private

Definition at line 406 of file svxruler.cxx.

References ConvertHSizePixel().

Referenced by ApplyBorders(), ApplyMargins(), and ApplyTabs().

long SvxRuler::PixelVAdjust ( long  lPos,
long  lPos2 
) const
private

Definition at line 414 of file svxruler.cxx.

References ConvertVSizePixel().

Referenced by ApplyMargins().

void SvxRuler::PrepareProportional_Impl ( RulerType  eType)
private
long SvxRuler::RoundToCurrentMapMode ( long  lValue) const
private
void SvxRuler::SetActive ( bool  bOn = true)
void SvxRuler::SetDefTabDist ( long  inDefTabDist)

Definition at line 966 of file svxruler.cxx.

References lAppNullOffset, lDefTabDist, LONG_MAX, UpdateFrame(), and UpdateTabs().

void SvxRuler::SetNullOffsetLogic ( long  lOff)
void SvxRuler::SetTabsRelativeToIndent ( bool  bRel)

Definition at line 3550 of file svxruler.cxx.

References mxRulerImpl.

void SvxRuler::SetValues ( RulerChangeType  type,
long  value 
)
bool SvxRuler::StartDrag ( )
overrideprotectedvirtual
void SvxRuler::StartListening_Impl ( )
private
void SvxRuler::Update ( const SvxTabStopItem pItem)
private

Definition at line 1100 of file svxruler.cxx.

References bActive, bHorz, mxTabStopItem, and StartListening_Impl().

Referenced by SvxRulerItem::StateChanged().

void SvxRuler::Update ( const SvxPagePosSizeItem pItem)
private

Definition at line 953 of file svxruler.cxx.

References bActive, mxPagePosItem, and StartListening_Impl().

void SvxRuler::Update ( const SvxColumnItem pItem,
sal_uInt16  nSID 
)
private
void SvxRuler::Update ( const SvxObjectItem pItem)
private

Definition at line 1119 of file svxruler.cxx.

References bActive, mxObjectItem, and StartListening_Impl().

void SvxRuler::Update ( const SvxProtectItem pItem)
private

Definition at line 686 of file svxruler.cxx.

References SvxProtectItem::Clone(), and mxRulerImpl.

void SvxRuler::Update ( )
protectedvirtual
void SvxRuler::UpdateColumns ( )
private
void SvxRuler::UpdateFrame ( const SvxLongLRSpaceItem pItem)
private

Definition at line 647 of file svxruler.cxx.

References bActive, mxLRSpaceItem, and StartListening_Impl().

Referenced by SvxRulerItem::StateChanged().

void SvxRuler::UpdateFrame ( const SvxLongULSpaceItem pItem)
private

Definition at line 673 of file svxruler.cxx.

References bActive, bHorz, mxULSpaceItem, and StartListening_Impl().

void SvxRuler::UpdateFrame ( )
private
void SvxRuler::UpdateFrameMinMax ( const SfxRectangleItem pItem)
private

Definition at line 660 of file svxruler.cxx.

References bActive, and mxMinMaxItem.

Referenced by SvxRulerItem::StateChanged().

void SvxRuler::UpdateObject ( )
private
void SvxRuler::UpdatePage ( )
private
void SvxRuler::UpdatePara ( const SvxLRSpaceItem pItem)
private

Definition at line 876 of file svxruler.cxx.

References bActive, mxParaItem, and StartListening_Impl().

Referenced by SvxRulerItem::StateChanged().

void SvxRuler::UpdatePara ( )
private
void SvxRuler::UpdateParaBorder ( )
private

Definition at line 889 of file svxruler.cxx.

References bActive, and StartListening_Impl().

Referenced by SvxRulerItem::StateChanged().

void SvxRuler::UpdateParaContents_Impl ( long  lDiff,
UpdateType  eType 
)
private
void SvxRuler::UpdateTabs ( )
private
void SvxRuler::UpdateTextRTL ( const SfxBoolItem pItem)
private

Definition at line 692 of file svxruler.cxx.

References bActive, bHorz, mxRulerImpl, Ruler::SetTextRTL(), and StartListening_Impl().

Referenced by SvxRulerItem::StateChanged().

Friends And Related Function Documentation

friend class SvxRulerItem
friend

Definition at line 85 of file ruler.hxx.

Referenced by SvxRuler().

Member Data Documentation

bool SvxRuler::bActive
private
bool SvxRuler::bAppSetNullOffset
private
bool SvxRuler::bHorz
private
bool SvxRuler::bListening
private

Definition at line 125 of file ruler.hxx.

Referenced by dispose(), Notify(), and StartListening_Impl().

bool SvxRuler::bValid
private

Definition at line 124 of file ruler.hxx.

Referenced by Notify(), StartDrag(), and StartListening_Impl().

long SvxRuler::lAppNullOffset
private
long SvxRuler::lDefTabDist
private

Definition at line 112 of file ruler.hxx.

Referenced by SetDefTabDist(), and UpdateTabs().

long SvxRuler::lInitialDragPos
private

Definition at line 106 of file ruler.hxx.

Referenced by EndDrag(), and StartDrag().

long SvxRuler::lLogicNullOffset
private
long SvxRuler::lTabPos
private
bool SvxRuler::mbCoarseSnapping
private

Definition at line 128 of file ruler.hxx.

Referenced by EndDrag(), EvalModifier(), and MakePositionSticky().

bool SvxRuler::mbSnapping
private

Definition at line 129 of file ruler.hxx.

Referenced by ApplyIndents(), EndDrag(), EvalModifier(), and MakePositionSticky().

std::vector<RulerBorder> SvxRuler::mpBorders
private
std::vector<RulerIndent> SvxRuler::mpIndents
private
std::vector<RulerBorder> SvxRuler::mpObjectBorders
private

Definition at line 118 of file ruler.hxx.

Referenced by AdjustMargin1(), ApplyObject(), DragObjectBorder(), SvxRuler(), and UpdateObject().

std::vector<RulerTab> SvxRuler::mpTabs
private
std::unique_ptr<SvxColumnItem> SvxRuler::mxColumnItem
private
std::unique_ptr<SvxLongLRSpaceItem> SvxRuler::mxLRSpaceItem
private
std::unique_ptr<SfxRectangleItem> SvxRuler::mxMinMaxItem
private

Definition at line 90 of file ruler.hxx.

Referenced by CalcMinMax(), GetLeftMin(), GetRightMax(), and UpdateFrameMinMax().

std::unique_ptr<SvxObjectItem> SvxRuler::mxObjectItem
private
std::unique_ptr<SvxPagePosSizeItem> SvxRuler::mxPagePosItem
private
std::unique_ptr<SvxLRSpaceItem> SvxRuler::mxParaItem
private
std::unique_ptr<SvxRuler_Impl> SvxRuler::mxRulerImpl
private
std::unique_ptr<SvxTabStopItem> SvxRuler::mxTabStopItem
private

Definition at line 92 of file ruler.hxx.

Referenced by AdjustMargin1(), ApplyMargins(), ApplyTabs(), Click(), ExtraDown(), Update(), and UpdateTabs().

std::unique_ptr<SvxLongULSpaceItem> SvxRuler::mxULSpaceItem
private
sal_uInt16 SvxRuler::nDefTabType
private

Definition at line 109 of file ruler.hxx.

Referenced by Click(), ExtraDown(), and SvxRuler().

long SvxRuler::nDragOffset
private

Definition at line 121 of file ruler.hxx.

Referenced by CalcMinMax(), DragBorders(), and StartDrag().

SvxRulerDragFlags SvxRuler::nDragType
private
SvxRulerSupportFlags const SvxRuler::nFlags
private

Definition at line 107 of file ruler.hxx.

Referenced by Click(), Command(), ExtraDown(), SvxRuler(), and Update().

long SvxRuler::nMaxLeft
private

Definition at line 122 of file ruler.hxx.

Referenced by ApplyMargins(), CalcMinMax(), and GetCorrectedDragPos().

long SvxRuler::nMaxRight
private

Definition at line 123 of file ruler.hxx.

Referenced by ApplyMargins(), ApplyTabs(), CalcMinMax(), DragTabs(), and GetCorrectedDragPos().

sal_uInt16 SvxRuler::nTabBufSize
private

Definition at line 111 of file ruler.hxx.

Referenced by UpdateTabs().

sal_uInt16 SvxRuler::nTabCount
private
SfxBindings* SvxRuler::pBindings
private
std::vector<std::unique_ptr<SvxRulerItem> > SvxRuler::pCtrlItems
private

Definition at line 87 of file ruler.hxx.

Referenced by dispose(), EndDrag(), SetActive(), and SvxRuler().

VclPtr<vcl::Window> SvxRuler::pEditWin
private

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