19#ifndef INCLUDED_SW_INC_CRSTATE_HXX
20#define INCLUDED_SW_INC_CRSTATE_HXX
22#include <com/sun/star/text/HoriOrientation.hpp>
Of course Writer needs its own rectangles.
@ TabSpace
fill with spaces and tabs
SwSPExtendRange
SwSpecialPos.
@ SetOnlyText
stay with the cursor inside text
@ RightMargin
at right margin
@ LeftMargin
at left margin
@ TableSel
not in repeated headlines
SwRect aPortion
Position and size of the multi portion.
SwRect aLine
Position and size of the line.
SwRect aPortion2
needed for nested multi portions
MultiPortionType nMultiType
Multiportion type.
SwFillCursorPos * m_pFill
for automatic filling with tabs etc
bool m_bPosCorr
Point had to be corrected.
bool m_bInNumPortion
point is in number portion #i23726#
bool m_bFootnoteNoInfo
recognized footnote numbering
int m_nInNumPortionOffset
distance from number portion's start
bool m_b2Lines
Check 2line portions and fill p2Lines.
SwCursorMoveState(SwFillCursorPos *pInitFill)
sal_uInt8 m_nCursorBidiLevel
bool m_bNoScroll
No scrolling of undersized textframes.
bool m_bRealHeight
should the real height be calculated?
SwCursorMoveState(CursorMoveState eSt=CursorMoveState::NONE)
std::unique_ptr< Sw2LinesPos > m_p2Lines
for selections inside/around 2line portions
SwSpecialPos * m_pSpecialPos
for positions inside fields
bool m_bRealWidth
Calculation of the width required.
bool m_bFieldInfo
should be fields recognized?
bool m_bInFrontOfLabel
cursor in front of label
bool m_bFillRet
only used temporary in FillMode
Point m_aRealHeight
contains then the position/height of the cursor
bool m_bPosMatchesBounds
GetModelPositionForViewPoint should not return the next position if screen position is inside second ...
bool m_bExactOnly
let GetModelPositionForViewPoint look for exact matches only, i.e.
bool m_bSetInReadOnly
ReadOnly areas may be entered.
sal_uInt16 nColumnCnt
number of necessary column breaks
SwFillMode eMode
desired fill-up rule
sal_Int16 eOrient
paragraph alignment
SwFillCursorPos(SwFillMode eMd)
sal_uInt16 nSpaceOnlyCnt
number of spaces to insert ("only spaces, no tabs" mode)
SwRect aCursor
position and size of the ShadowCursor
sal_uInt16 nSpaceCnt
number of spaces to insert
sal_uInt16 nTabCnt
number of tabs respectively size of indentation
sal_uInt16 nParaCnt
number of paragraphs to insert
SwSPExtendRange nExtendRange