LibreOffice Module sw (master)
1
|
#include <viscrs.hxx>
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::Cursor & | GetTextCursor () const |
Private Attributes | |
bool | m_bIsVisible |
bool | m_bIsDragCursor |
vcl::Cursor | m_aTextCursor |
const SwCursorShell * | m_pCursorShell |
sal_uInt16 | m_nPageLastTime |
For LibreOfficeKit only - remember what page we were at the last time. More... | |
Friends | |
void | InitCore () |
void | FinitCore () |
Definition at line 36 of file viscrs.hxx.
SwVisibleCursor::SwVisibleCursor | ( | const SwCursorShell * | pCShell | ) |
Definition at line 71 of file viscrs.cxx.
References SwViewShell::GetWin(), vcl::Cursor::IsVisible(), m_aTextCursor, m_bIsDragCursor, m_bIsVisible, vcl::Window::SetCursor(), and vcl::Cursor::SetWidth().
SwVisibleCursor::~SwVisibleCursor | ( | ) |
Definition at line 81 of file viscrs.cxx.
References SwViewShell::GetWin(), vcl::Cursor::Hide(), vcl::Cursor::IsVisible(), m_aTextCursor, m_bIsVisible, m_pCursorShell, and vcl::Window::SetCursor().
const vcl::Cursor & SwVisibleCursor::GetTextCursor | ( | ) | const |
Definition at line 320 of file viscrs.cxx.
References m_aTextCursor.
void SwVisibleCursor::Hide | ( | ) |
Definition at line 101 of file viscrs.cxx.
References vcl::Cursor::Hide(), vcl::Cursor::IsVisible(), m_aTextCursor, and m_bIsVisible.
Referenced by SwCursorShell::UnSetVisibleCursor().
|
inline |
Definition at line 57 of file viscrs.hxx.
|
inline |
Definition at line 58 of file viscrs.hxx.
Referenced by SwCursorShell::UnSetVisibleCursor().
void SwVisibleCursor::SetPosAndShow | ( | SfxViewShell const * | pViewShell | ) |
Definition at line 129 of file viscrs.cxx.
References SwContentAtPos::aFnd, SwScriptInfo::CountDirChg(), CURSOR_SHADOW, SwEditShell::GetCurAttr(), SwCursorShell::GetCursor(), SwCursorShell::GetCursor_(), SwCursor::GetCursorBidiLevel(), StyleSettings::GetCursorSize(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwViewShell::GetDrawView(), SwTextNode::GetGrammarCheck(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwContentNode::getLayoutFrame(), SwRootFrame::GetModelPositionForViewPoint(), SwNodeIndex::GetNode(), SwViewShell::GetOut(), SwPaM::GetPoint(), SfxShell::GetPool(), SwView::GetPostItMgr(), SwCursorShell::GetSelText(), OutputDevice::GetSettings(), SwViewShell::GetSfxViewShell(), vcl::Cursor::GetStyle(), AllSettings::GetStyleSettings(), SwNode::GetTextNode(), SwFormatINetFormat::GetValue(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), SwTextNode::GetWrong(), SwDocShell::GetWrtShell(), SwView::GetWrtShell(), SwView::GetWrtShellPtr(), SwRect::Height(), InetAttr, 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, SwPosition::nNode, SfxLokHelper::notifyOtherView(), SfxLokHelper::notifyOtherViews(), SfxLokHelper::notifyVisCursorInvalidation(), SwContentAtPos::pAttr, OutputDevice::PixelToLogic(), Point, SwRect::Pos(), pOut, RES_TXTATR_INETFMT(), vcl::Cursor::SetDirection(), SetOnlyText, vcl::Cursor::SetOrientation(), vcl::Cursor::SetPos(), vcl::Cursor::SetSize(), vcl::Cursor::SetStyle(), vcl::Cursor::SetWindow(), vcl::Cursor::Show(), SwRect::SSize(), SwContentAtPos::sStr, SwAlignRect(), SwCalcPixStatics(), tools::Rectangle::toString(), Size::Width(), and SwRect::Width().
Referenced by Show().
void SwVisibleCursor::Show | ( | ) |
Definition at line 89 of file viscrs.cxx.
References comphelper::LibreOfficeKit::isActive(), SwRect::IsOver(), SwCursorShell::m_aCharRect, m_bIsVisible, m_pCursorShell, SetPosAndShow(), and SwViewShell::VisArea().
|
private |
Definition at line 44 of file viscrs.hxx.
Referenced by GetTextCursor(), Hide(), SetPosAndShow(), SwVisibleCursor(), and ~SwVisibleCursor().
|
private |
Definition at line 42 of file viscrs.hxx.
Referenced by SetPosAndShow(), and SwVisibleCursor().
|
private |
Definition at line 41 of file viscrs.hxx.
Referenced by Hide(), Show(), SwVisibleCursor(), and ~SwVisibleCursor().
|
private |
For LibreOfficeKit only - remember what page we were at the last time.
Definition at line 48 of file viscrs.hxx.
Referenced by SetPosAndShow().
|
private |
Definition at line 45 of file viscrs.hxx.
Referenced by SetPosAndShow(), Show(), and ~SwVisibleCursor().