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