LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | Friends | List of all members
SwVisibleCursor Class Reference

#include <viscrs.hxx>

Collaboration diagram for SwVisibleCursor:

Public Member Functions

 SwVisibleCursor (const SwCursorShell *pCShell)
 ~SwVisibleCursor ()
void Show ()
void Hide ()
bool IsVisible () const
void SetDragCursor (bool bFlag=true)
void SetPosAndShow (SfxViewShell const *pViewShell)
const vcl::CursorGetTextCursor () const
std::optional< OString > getLOKPayload (int nType, int nViewId) const

Private Attributes

const SwCursorShellm_pCursorShell
vcl::Cursor m_aTextCursor
sal_uInt16 m_nPageLastTime
 For LibreOfficeKit only - remember what page we were at the last time. More...
SwRect m_aLastLOKRect
bool m_bIsVisible
bool m_bIsDragCursor


void InitCore ()
void FinitCore ()

Detailed Description

Definition at line 39 of file viscrs.hxx.

Constructor & Destructor Documentation

◆ SwVisibleCursor()

SwVisibleCursor::SwVisibleCursor ( const SwCursorShell pCShell)

◆ ~SwVisibleCursor()

SwVisibleCursor::~SwVisibleCursor ( )

Member Function Documentation

◆ getLOKPayload()

std::optional< OString > SwVisibleCursor::getLOKPayload ( int  nType,
int  nViewId 
) const

◆ GetTextCursor()

const vcl::Cursor & SwVisibleCursor::GetTextCursor ( ) const

Definition at line 350 of file viscrs.cxx.

References m_aTextCursor.

◆ Hide()

void SwVisibleCursor::Hide ( )

◆ IsVisible()

bool SwVisibleCursor::IsVisible ( ) const

◆ SetDragCursor()

void SwVisibleCursor::SetDragCursor ( bool  bFlag = true)

◆ SetPosAndShow()

void SwVisibleCursor::SetPosAndShow ( SfxViewShell const *  pViewShell)

◆ Show()

void SwVisibleCursor::Show ( )

Friends And Related Function Documentation

◆ FinitCore

void FinitCore ( )

Definition at line 684 of file init.cxx.

◆ InitCore

void InitCore ( )

Definition at line 459 of file init.cxx.

Member Data Documentation

◆ m_aLastLOKRect

SwRect SwVisibleCursor::m_aLastLOKRect

Definition at line 49 of file viscrs.hxx.

Referenced by getLOKPayload(), and SetPosAndShow().

◆ m_aTextCursor

vcl::Cursor SwVisibleCursor::m_aTextCursor

Definition at line 45 of file viscrs.hxx.

Referenced by GetTextCursor(), Hide(), SetPosAndShow(), SwVisibleCursor(), and ~SwVisibleCursor().

◆ m_bIsDragCursor

bool SwVisibleCursor::m_bIsDragCursor

Definition at line 52 of file viscrs.hxx.

Referenced by SetPosAndShow(), and SwVisibleCursor().

◆ m_bIsVisible

bool SwVisibleCursor::m_bIsVisible

Definition at line 51 of file viscrs.hxx.

Referenced by Hide(), Show(), SwVisibleCursor(), and ~SwVisibleCursor().

◆ m_nPageLastTime

sal_uInt16 SwVisibleCursor::m_nPageLastTime

For LibreOfficeKit only - remember what page we were at the last time.

Definition at line 48 of file viscrs.hxx.

Referenced by SetPosAndShow().

◆ m_pCursorShell

const SwCursorShell* SwVisibleCursor::m_pCursorShell

Definition at line 44 of file viscrs.hxx.

Referenced by getLOKPayload(), SetPosAndShow(), Show(), and ~SwVisibleCursor().

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