LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | List of all members
SwCursorMoveState Struct Reference

#include <crstate.hxx>

Collaboration diagram for SwCursorMoveState:
[legend]

Public Member Functions

 SwCursorMoveState (CursorMoveState eSt=CursorMoveState::NONE)
 
 SwCursorMoveState (SwFillCursorPos *pInitFill)
 

Public Attributes

SwFillCursorPosm_pFill
 for automatic filling with tabs etc More...
 
std::unique_ptr< Sw2LinesPosm_p2Lines
 for selections inside/around 2line portions More...
 
SwSpecialPosm_pSpecialPos
 for positions inside fields More...
 
Point m_aRealHeight
 contains then the position/height of the cursor More...
 
CursorMoveState m_eState
 
sal_uInt8 m_nCursorBidiLevel
 
bool m_bStop
 
bool m_bRealHeight
 should the real height be calculated? More...
 
bool m_bFieldInfo
 should be fields recognized? More...
 
bool m_bPosCorr
 Point had to be corrected. More...
 
bool m_bFootnoteNoInfo
 recognized footnote numbering More...
 
bool m_bExactOnly
 let GetModelPositionForViewPoint look for exact matches only, i.e. More...
 
bool m_bFillRet
 only used temporary in FillMode More...
 
bool m_bSetInReadOnly
 ReadOnly areas may be entered. More...
 
bool m_bRealWidth
 Calculation of the width required. More...
 
bool m_b2Lines
 Check 2line portions and fill p2Lines. More...
 
bool m_bNoScroll
 No scrolling of undersized textframes. More...
 
bool m_bPosMatchesBounds
 GetModelPositionForViewPoint should not return the next position if screen position is inside second have of bound rect. More...
 
bool m_bContentCheck
 
bool m_bInFrontOfLabel
 cursor in front of label More...
 
bool m_bInNumPortion
 point is in number portion #i23726# More...
 
int m_nInNumPortionOffset
 distance from number portion's start More...
 

Detailed Description

Definition at line 132 of file crstate.hxx.

Constructor & Destructor Documentation

◆ SwCursorMoveState() [1/2]

SwCursorMoveState::SwCursorMoveState ( CursorMoveState  eSt = CursorMoveState::NONE)
inline

Definition at line 166 of file crstate.hxx.

◆ SwCursorMoveState() [2/2]

SwCursorMoveState::SwCursorMoveState ( SwFillCursorPos pInitFill)
inline

Definition at line 188 of file crstate.hxx.

Member Data Documentation

◆ m_aRealHeight

Point SwCursorMoveState::m_aRealHeight

◆ m_b2Lines

bool SwCursorMoveState::m_b2Lines

Check 2line portions and fill p2Lines.

Definition at line 150 of file crstate.hxx.

Referenced by SwRootFrame::CalcFrameRects(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect(), and SwTextCursor::GetCharRect_().

◆ m_bContentCheck

bool SwCursorMoveState::m_bContentCheck

◆ m_bExactOnly

bool SwCursorMoveState::m_bExactOnly

let GetModelPositionForViewPoint look for exact matches only, i.e.

never let it run into GetContentPos

Definition at line 145 of file crstate.hxx.

Referenced by SwCursorShell::GetContentAtPos(), and SwPageFrame::GetModelPositionForViewPoint().

◆ m_bFieldInfo

bool SwCursorMoveState::m_bFieldInfo

◆ m_bFillRet

bool SwCursorMoveState::m_bFillRet

only used temporary in FillMode

Definition at line 147 of file crstate.hxx.

Referenced by SwRootFrame::GetModelPositionForViewPoint().

◆ m_bFootnoteNoInfo

bool SwCursorMoveState::m_bFootnoteNoInfo

recognized footnote numbering

Definition at line 144 of file crstate.hxx.

Referenced by SwCursorShell::GetContentAtPos(), and SwTextCursor::GetModelPositionForViewPoint().

◆ m_bInFrontOfLabel

bool SwCursorMoveState::m_bInFrontOfLabel

cursor in front of label

Definition at line 162 of file crstate.hxx.

Referenced by SwTextCursor::GetModelPositionForViewPoint(), and SwCursorShell::SetCursor().

◆ m_bInNumPortion

bool SwCursorMoveState::m_bInNumPortion

point is in number portion #i23726#

Definition at line 163 of file crstate.hxx.

Referenced by SwCursorShell::GetContentAtPos(), and SwTextCursor::GetModelPositionForViewPoint().

◆ m_bNoScroll

bool SwCursorMoveState::m_bNoScroll

No scrolling of undersized textframes.

Definition at line 151 of file crstate.hxx.

Referenced by SwRootFrame::CalcFrameRects(), and SwTextFrame::GetCharRect().

◆ m_bPosCorr

bool SwCursorMoveState::m_bPosCorr

◆ m_bPosMatchesBounds

bool SwCursorMoveState::m_bPosMatchesBounds

GetModelPositionForViewPoint should not return the next position if screen position is inside second have of bound rect.

Definition at line 152 of file crstate.hxx.

Referenced by SwAccessibleParagraph::getIndexAtPoint(), SwPageFrame::GetModelPositionForViewPoint(), and SwTextCursor::GetModelPositionForViewPoint().

◆ m_bRealHeight

bool SwCursorMoveState::m_bRealHeight

◆ m_bRealWidth

bool SwCursorMoveState::m_bRealWidth

◆ m_bSetInReadOnly

bool SwCursorMoveState::m_bSetInReadOnly

◆ m_bStop

bool SwCursorMoveState::m_bStop

◆ m_eState

CursorMoveState SwCursorMoveState::m_eState

◆ m_nCursorBidiLevel

sal_uInt8 SwCursorMoveState::m_nCursorBidiLevel

◆ m_nInNumPortionOffset

int SwCursorMoveState::m_nInNumPortionOffset

distance from number portion's start

Definition at line 164 of file crstate.hxx.

Referenced by SwCursorShell::GetContentAtPos(), and SwTextCursor::GetModelPositionForViewPoint().

◆ m_p2Lines

std::unique_ptr<Sw2LinesPos> SwCursorMoveState::m_p2Lines

for selections inside/around 2line portions

Definition at line 135 of file crstate.hxx.

Referenced by SwRootFrame::CalcFrameRects(), SwTextFrame::GetCharRect(), SwTextCursor::GetCharRect(), and SwTextCursor::GetCharRect_().

◆ m_pFill

SwFillCursorPos* SwCursorMoveState::m_pFill

◆ m_pSpecialPos

SwSpecialPos* SwCursorMoveState::m_pSpecialPos

The documentation for this struct was generated from the following file: