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:
[legend]

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
 

Private Attributes

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

Friends

void InitCore ()
 
void FinitCore ()
 

Detailed Description

Definition at line 37 of file viscrs.hxx.

Constructor & Destructor Documentation

SwVisibleCursor::SwVisibleCursor ( const SwCursorShell pCShell)
SwVisibleCursor::~SwVisibleCursor ( )

Member Function Documentation

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

Definition at line 274 of file viscrs.cxx.

References m_aTextCursor.

void SwVisibleCursor::Hide ( )
bool SwVisibleCursor::IsVisible ( ) const
inline

Definition at line 58 of file viscrs.hxx.

void SwVisibleCursor::SetDragCursor ( bool  bFlag = true)
inline

Definition at line 59 of file viscrs.hxx.

Referenced by SwCursorShell::UnSetVisibleCursor().

void SwVisibleCursor::SetPosAndShow ( SfxViewShell const *  pViewShell)

Definition at line 110 of file viscrs.cxx.

References SwScriptInfo::CountDirChg(), CURSOR_SHADOW, SwCursorShell::GetCursor(), SwCursorShell::GetCursor_(), SwCursor::GetCursorBidiLevel(), SwRootFrame::GetCursorOfst(), StyleSettings::GetCursorSize(), SwViewShell::GetDrawView(), SwTextNode::GetGrammarCheck(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwViewShell::GetOut(), SwPaM::GetPoint(), SwView::GetPostItMgr(), OutputDevice::GetSettings(), SwViewShell::GetSfxViewShell(), vcl::Cursor::GetStyle(), AllSettings::GetStyleSettings(), SwNode::GetTextNode(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), SwTextNode::GetWrong(), SwView::GetWrtShell(), Point::getX(), Point::getY(), SwRect::Height(), SwWrongList::InWrongWord(), comphelper::LibreOfficeKit::isActive(), SwCursorShell::IsCursorReadonly(), SwNode::IsInProtectSect(), SwViewOption::IsOnlineSpell(), SwCursorShell::IsOverwriteCursor(), SwFrame::IsRightToLeft(), SwCursorShell::IsSelection(), SwViewOption::IsSelectionInReadonly(), SwTextNode::IsSymbolAt(), SwNode::IsTextNode(), SwRect::Left(), SfxViewShell::libreOfficeKitViewCallback(), SwCursorShell::m_aCharRect, SwCursorShell::m_aCursorHeight, m_aTextCursor, m_bIsDragCursor, m_nPageLastTime, m_pCursorShell, MV_SETONLYTEXT, SwPosition::nNode, SfxLokHelper::notifyOtherView(), SfxLokHelper::notifyOtherViews(), SfxLokHelper::notifyVisCursorInvalidation(), OutputDevice::PixelToLogic(), SwRect::Pos(), pOut, vcl::Cursor::SetDirection(), vcl::Cursor::SetOrientation(), vcl::Cursor::SetPos(), vcl::Cursor::SetSize(), vcl::Cursor::SetStyle(), vcl::Cursor::SetWindow(), vcl::Cursor::Show(), SwRect::SSize(), SwAlignRect(), SwCalcPixStatics(), tools::Rectangle::toString(), Size::Width(), and SwRect::Width().

Referenced by Show().

void SwVisibleCursor::Show ( )

Friends And Related Function Documentation

void FinitCore ( )
friend

Definition at line 672 of file init.cxx.

void InitCore ( )
friend

Definition at line 455 of file init.cxx.

Member Data Documentation

vcl::Cursor SwVisibleCursor::m_aTextCursor
private

Definition at line 45 of file viscrs.hxx.

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

bool SwVisibleCursor::m_bIsDragCursor
private

Definition at line 43 of file viscrs.hxx.

Referenced by SetPosAndShow(), and SwVisibleCursor().

bool SwVisibleCursor::m_bIsVisible
private

Definition at line 42 of file viscrs.hxx.

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

sal_uInt16 SwVisibleCursor::m_nPageLastTime
private

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

Definition at line 49 of file viscrs.hxx.

Referenced by SetPosAndShow().

const SwCursorShell* SwVisibleCursor::m_pCursorShell
private

Definition at line 46 of file viscrs.hxx.

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


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