LibreOffice Module editeng (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ImpEditView Class Reference

#include <impedit.hxx>

Inheritance diagram for ImpEditView:
[legend]
Collaboration diagram for ImpEditView:
[legend]

Public Member Functions

 ImpEditView (EditView *pView, EditEngine *pEng, vcl::Window *pWindow)
 
virtual ~ImpEditView () override
 
EditViewGetEditViewPtr ()
 
sal_uInt16 GetScrollDiffX () const
 
void SetScrollDiffX (sal_uInt16 n)
 
sal_uInt16 GetCursorBidiLevel () const
 
void SetCursorBidiLevel (sal_uInt16 n)
 
Point GetDocPos (const Point &rWindowPos) const
 
Point GetWindowPos (const Point &rDocPos) const
 
tools::Rectangle GetWindowPos (const tools::Rectangle &rDocPos) const
 
void SetOutputArea (const tools::Rectangle &rRect)
 
void ResetOutputArea (const tools::Rectangle &rRect)
 
const tools::RectangleGetOutputArea () const
 
bool IsVertical () const
 
bool IsTopToBottom () const
 
bool PostKeyEvent (const KeyEvent &rKeyEvent, vcl::Window const *pFrameWin)
 
bool MouseButtonUp (const MouseEvent &rMouseEvent)
 
bool MouseButtonDown (const MouseEvent &rMouseEvent)
 
void ReleaseMouse ()
 
bool MouseMove (const MouseEvent &rMouseEvent)
 
bool Command (const CommandEvent &rCEvt)
 
void CutCopy (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &rxClipboard, bool bCut)
 
void Paste (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &rxClipboard, bool bUseSpecial=false)
 
void SetVisDocStartPos (const Point &rPos)
 
tools::Long GetVisDocLeft () const
 
tools::Long GetVisDocTop () const
 
tools::Long GetVisDocRight () const
 
tools::Long GetVisDocBottom () const
 
tools::Rectangle GetVisDocArea () const
 
const EditSelectionGetEditSelection () const
 
void SetEditSelection (const EditSelection &rEditSelection)
 
bool HasSelection () const
 
void SelectionChanged ()
 
void DrawSelectionXOR ()
 
void DrawSelectionXOR (EditSelection, vcl::Region *pRegion=nullptr, OutputDevice *pTargetDevice=nullptr)
 
void GetSelectionRectangles (EditSelection aTmpSel, std::vector< tools::Rectangle > &rLogicRects)
 
void ScrollStateChange ()
 
OutputDeviceGetOutputDevice () const
 
weld::WidgetGetPopupParent (tools::Rectangle &rRect) const
 
vcl::WindowGetWindow () const
 
void SetSelectionMode (EESelectionMode eMode)
 
PointerStyle GetPointer ()
 
vcl::CursorGetCursor ()
 
void AddDragAndDropListeners ()
 
void RemoveDragAndDropListeners ()
 
bool IsBulletArea (const Point &rPos, sal_Int32 *pPara)
 
void CreateAnchor ()
 
void DeselectAll ()
 
bool SetCursorAtPoint (const Point &rPointPixel)
 
bool IsSelectionAtPoint (const Point &rPosPixel)
 
bool IsInSelection (const EditPaM &rPaM)
 
void SetAnchorMode (EEAnchorMode eMode)
 
EEAnchorMode GetAnchorMode () const
 
void CalcAnchorPoint ()
 
void RecalcOutputArea ()
 
tools::Rectangle GetEditCursor () const
 
void ShowCursor (bool bGotoCursor, bool bForceVisCursor)
 
Pair Scroll (tools::Long ndX, tools::Long ndY, ScrollRangeCheck nRangeCheck=ScrollRangeCheck::NoNegative)
 
void SetInsertMode (bool bInsert)
 
bool IsInsertMode () const
 
bool IsPasteEnabled () const
 
bool DoSingleLinePaste () const
 
bool DoAutoScroll () const
 
bool DoAutoSize () const
 
bool DoAutoWidth () const
 
bool DoAutoHeight () const
 
bool DoInvalidateMore () const
 
void SetBackgroundColor (const Color &rColor)
 
const ColorGetBackgroundColor () const
 
void RegisterViewShell (OutlinerViewShell *pViewShell)
 Informs this edit view about which view shell contains it. More...
 
const OutlinerViewShellGetViewShell () const
 
void RegisterOtherShell (OutlinerViewShell *pViewShell)
 Informs this edit view about which other shell listens to it. More...
 
bool IsWrongSpelledWord (const EditPaM &rPaM, bool bMarkIfWrong)
 
OUString SpellIgnoreWord ()
 
const SvxFieldItemGetField (const Point &rPos, sal_Int32 *pPara, sal_Int32 *pPos) const
 
void DeleteSelected ()
 
void SetInvalidateMore (sal_uInt16 nPixel)
 
sal_uInt16 GetInvalidateMore () const
 
void InitLOKSpecialPositioning (MapUnit eUnit, const tools::Rectangle &rOutputArea, const Point &rVisDocStartPos)
 
void SetLOKSpecialOutputArea (const tools::Rectangle &rOutputArea)
 
const tools::RectangleGetLOKSpecialOutputArea () const
 
void SetLOKSpecialVisArea (const tools::Rectangle &rVisArea)
 
tools::Rectangle GetLOKSpecialVisArea () const
 
bool HasLOKSpecialPositioning () const
 
void SetLOKSpecialFlags (LOKSpecialFlags eFlags)
 
void SuppressLOKMessages (bool bSet)
 
bool IsSuppressLOKMessages () const
 
void SetNegativeX (bool bSet)
 
bool IsNegativeX () const
 
- Public Member Functions inherited from vcl::unohelper::DragAndDropClient
virtual ~DragAndDropClient () COVERITY_NOEXCEPT_FALSE
 
virtual void dragGestureRecognized (const css::datatransfer::dnd::DragGestureEvent &dge)
 
virtual void dragDropEnd (const css::datatransfer::dnd::DragSourceDropEvent &dsde)
 
virtual void drop (const css::datatransfer::dnd::DropTargetDropEvent &dtde)
 
virtual void dragEnter (const css::datatransfer::dnd::DropTargetDragEnterEvent &dtdee)
 
virtual void dragExit (const css::datatransfer::dnd::DropTargetEvent &dte)
 
virtual void dragOver (const css::datatransfer::dnd::DropTargetDragEvent &dtde)
 

Protected Member Functions

void dragGestureRecognized (const css::datatransfer::dnd::DragGestureEvent &dge) override
 
void dragDropEnd (const css::datatransfer::dnd::DragSourceDropEvent &dsde) override
 
void drop (const css::datatransfer::dnd::DropTargetDropEvent &dtde) override
 
void dragEnter (const css::datatransfer::dnd::DropTargetDragEnterEvent &dtdee) override
 
void dragExit (const css::datatransfer::dnd::DropTargetEvent &dte) override
 
void dragOver (const css::datatransfer::dnd::DropTargetDragEvent &dtde) override
 
void ShowDDCursor (const tools::Rectangle &rRect)
 
void HideDDCursor ()
 
void ImplDrawHighlightRect (OutputDevice &rTarget, const Point &rDocPosTopLeft, const Point &rDocPosBottomRight, tools::PolyPolygon *pPolyPoly, bool bLOKCalcRTL)
 
tools::Rectangle ImplGetEditCursor (EditPaM &aPaM, GetCursorFlags nShowCursorFlags, sal_Int32 &nTextPortionStart, const ParaPortion *pParaPortion) const
 

Private Member Functions

EditViewCallbacksgetEditViewCallbacks () const
 
void lokSelectionCallback (const std::optional< tools::PolyPolygon > &pPolyPoly, bool bStartHandleVisible, bool bEndHandleVisible)
 
void setEditViewCallbacks (EditViewCallbacks *pEditViewCallbacks)
 
void InvalidateAtWindow (const tools::Rectangle &rRect)
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const
 
void SetBroadcastLOKViewCursor (bool bSet)
 

Private Attributes

EditViewpEditView
 
std::unique_ptr< vcl::Cursor, o3tl::default_delete< vcl::Cursor > > pCursor
 
std::optional< ColormxBackgroundColor
 
OutlinerViewShellmpViewShell
 Containing view shell, if any. More...
 
OutlinerViewShellmpOtherShell
 Another shell, just listening to our state, if any. More...
 
EditEnginepEditEngine
 
VclPtr< vcl::WindowpOutWin
 
EditView::OutWindowSet aOutWindowSet
 
std::optional< PointerStylemxPointer
 
std::unique_ptr< DragAndDropInfopDragAndDropInfo
 
css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > mxDnDListener
 
tools::Long nInvMore
 
EVControlBits nControl
 
sal_uInt32 nTravelXPos
 
GetCursorFlags nExtraCursorFlags
 
sal_uInt16 nCursorBidiLevel
 
sal_uInt16 nScrollDiffX
 
bool bReadOnly
 
bool bClickedInSelection
 
bool bActiveDragAndDropListener
 
Point aAnchorPoint
 
tools::Rectangle aOutArea
 
Point aVisDocStartPos
 
EESelectionMode eSelectionMode
 
EditSelection aEditSelection
 
EEAnchorMode eAnchorMode
 
EditViewCallbacksmpEditViewCallbacks
 mechanism to change from the classic refresh mode that simply More...
 
std::unique_ptr< LOKSpecialPositioningmpLOKSpecialPositioning
 
bool mbBroadcastLOKViewCursor:1
 
bool mbSuppressLOKMessages:1
 
bool mbNegativeX:1
 

Friends

class EditView
 
class EditEngine
 
class ImpEditEngine
 

Detailed Description

Definition at line 254 of file impedit.hxx.

Constructor & Destructor Documentation

◆ ImpEditView()

ImpEditView::ImpEditView ( EditView pView,
EditEngine pEng,
vcl::Window pWindow 
)

◆ ~ImpEditView()

ImpEditView::~ImpEditView ( )
overridevirtual

Definition at line 212 of file impedit.cxx.

References pCursor, pOutWin, and RemoveDragAndDropListeners().

Member Function Documentation

◆ AddDragAndDropListeners()

void ImpEditView::AddDragAndDropListeners ( )

◆ CalcAnchorPoint()

void ImpEditView::CalcAnchorPoint ( )

◆ Command()

bool ImpEditView::Command ( const CommandEvent rCEvt)

◆ CreateAnchor()

void ImpEditView::CreateAnchor ( )

◆ CutCopy()

void ImpEditView::CutCopy ( css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &  rxClipboard,
bool  bCut 
)

◆ DeleteSelected()

void ImpEditView::DeleteSelected ( )

◆ DeselectAll()

void ImpEditView::DeselectAll ( )

◆ DoAutoHeight()

bool ImpEditView::DoAutoHeight ( ) const
inline

Definition at line 443 of file impedit.hxx.

References AUTOSIZEY, and nControl.

Referenced by ImpEditEngine::FormatDoc(), and RecalcOutputArea().

◆ DoAutoScroll()

bool ImpEditView::DoAutoScroll ( ) const
inline

◆ DoAutoSize()

bool ImpEditView::DoAutoSize ( ) const
inline

Definition at line 441 of file impedit.hxx.

References AUTOSIZE, and nControl.

◆ DoAutoWidth()

bool ImpEditView::DoAutoWidth ( ) const
inline

Definition at line 442 of file impedit.hxx.

References AUTOSIZEX, and nControl.

Referenced by RecalcOutputArea().

◆ DoInvalidateMore()

bool ImpEditView::DoInvalidateMore ( ) const
inline

Definition at line 444 of file impedit.hxx.

References INVONEMORE, and nControl.

Referenced by ResetOutputArea().

◆ DoSingleLinePaste()

bool ImpEditView::DoSingleLinePaste ( ) const
inline

Definition at line 439 of file impedit.hxx.

References nControl, and SINGLELINEPASTE.

Referenced by Paste().

◆ dragDropEnd()

void ImpEditView::dragDropEnd ( const css::datatransfer::dnd::DragSourceDropEvent &  dsde)
overrideprotectedvirtual

◆ dragEnter()

void ImpEditView::dragEnter ( const css::datatransfer::dnd::DropTargetDragEnterEvent &  dtdee)
overrideprotectedvirtual

◆ dragExit()

void ImpEditView::dragExit ( const css::datatransfer::dnd::DropTargetEvent &  dte)
overrideprotectedvirtual

Reimplemented from vcl::unohelper::DragAndDropClient.

Definition at line 2488 of file impedit.cxx.

References HideDDCursor(), and pDragAndDropInfo.

◆ dragGestureRecognized()

void ImpEditView::dragGestureRecognized ( const css::datatransfer::dnd::DragGestureEvent &  dge)
overrideprotectedvirtual

◆ dragOver()

void ImpEditView::dragOver ( const css::datatransfer::dnd::DropTargetDragEvent &  dtde)
overrideprotectedvirtual

◆ DrawSelectionXOR() [1/2]

void ImpEditView::DrawSelectionXOR ( )
inline

◆ DrawSelectionXOR() [2/2]

void ImpEditView::DrawSelectionXOR ( EditSelection  aTmpSel,
vcl::Region pRegion = nullptr,
OutputDevice pTargetDevice = nullptr 
)

◆ drop()

void ImpEditView::drop ( const css::datatransfer::dnd::DropTargetDropEvent &  dtde)
overrideprotectedvirtual

◆ GetAnchorMode()

EEAnchorMode ImpEditView::GetAnchorMode ( ) const
inline

Definition at line 425 of file impedit.hxx.

References eAnchorMode.

◆ GetBackgroundColor()

const Color & ImpEditView::GetBackgroundColor ( ) const

◆ GetClipboard()

Reference< css::datatransfer::clipboard::XClipboard > ImpEditView::GetClipboard ( ) const
private

Definition at line 1651 of file impedit.cxx.

References getEditViewCallbacks(), GetSystemClipboard(), GetWindow(), and SAL_WARN.

Referenced by PostKeyEvent().

◆ GetCursor()

vcl::Cursor * ImpEditView::GetCursor ( )
inline

Definition at line 1353 of file impedit.hxx.

References pCursor.

Referenced by dragGestureRecognized(), Scroll(), and ShowCursor().

◆ GetCursorBidiLevel()

sal_uInt16 ImpEditView::GetCursorBidiLevel ( ) const
inline

Definition at line 357 of file impedit.hxx.

References nCursorBidiLevel.

Referenced by GetEditCursor(), and ShowCursor().

◆ GetDocPos()

Point ImpEditView::GetDocPos ( const Point rWindowPos) const

◆ GetEditCursor()

tools::Rectangle ImpEditView::GetEditCursor ( ) const

◆ GetEditSelection()

const EditSelection & ImpEditView::GetEditSelection ( ) const
inline

◆ getEditViewCallbacks()

EditViewCallbacks * ImpEditView::getEditViewCallbacks ( ) const
inlineprivate

◆ GetEditViewPtr()

EditView * ImpEditView::GetEditViewPtr ( )
inline

◆ GetField()

const SvxFieldItem * ImpEditView::GetField ( const Point rPos,
sal_Int32 *  pPara,
sal_Int32 *  pPos 
) const

◆ GetInvalidateMore()

sal_uInt16 ImpEditView::GetInvalidateMore ( ) const
inline

Definition at line 463 of file impedit.hxx.

References nInvMore.

◆ GetLOKSpecialOutputArea()

const tools::Rectangle & ImpEditView::GetLOKSpecialOutputArea ( ) const

Definition at line 2731 of file impedit.cxx.

References mpLOKSpecialPositioning.

◆ GetLOKSpecialVisArea()

tools::Rectangle ImpEditView::GetLOKSpecialVisArea ( ) const

Definition at line 2743 of file impedit.cxx.

References mpLOKSpecialPositioning.

◆ GetOutputArea()

const tools::Rectangle & ImpEditView::GetOutputArea ( ) const
inline

◆ GetOutputDevice()

OutputDevice & ImpEditView::GetOutputDevice ( ) const

◆ GetPointer()

PointerStyle ImpEditView::GetPointer ( )
inline

Definition at line 1333 of file impedit.hxx.

References IsVertical(), and mxPointer.

◆ GetPopupParent()

weld::Widget * ImpEditView::GetPopupParent ( tools::Rectangle rRect) const

Definition at line 853 of file impedit.cxx.

References getEditViewCallbacks(), weld::GetPopupParent(), and pOutWin.

◆ GetScrollDiffX()

sal_uInt16 ImpEditView::GetScrollDiffX ( ) const
inline

Definition at line 354 of file impedit.hxx.

References nScrollDiffX.

Referenced by ShowCursor().

◆ GetSelectionRectangles()

void ImpEditView::GetSelectionRectangles ( EditSelection  aTmpSel,
std::vector< tools::Rectangle > &  rLogicRects 
)

Definition at line 662 of file impedit.cxx.

References DrawSelectionXOR(), and vcl::Region::GetRegionRectangles().

◆ GetViewShell()

const OutlinerViewShell * ImpEditView::GetViewShell ( ) const

Definition at line 240 of file impedit.cxx.

References mpViewShell.

Referenced by EditUndo::EditUndo().

◆ GetVisDocArea()

tools::Rectangle ImpEditView::GetVisDocArea ( ) const

Definition at line 758 of file impedit.cxx.

References GetVisDocBottom(), GetVisDocLeft(), GetVisDocRight(), and GetVisDocTop().

Referenced by Scroll(), and ShowCursor().

◆ GetVisDocBottom()

tools::Long ImpEditView::GetVisDocBottom ( ) const
inline

◆ GetVisDocLeft()

tools::Long ImpEditView::GetVisDocLeft ( ) const
inline

◆ GetVisDocRight()

tools::Long ImpEditView::GetVisDocRight ( ) const
inline

◆ GetVisDocTop()

tools::Long ImpEditView::GetVisDocTop ( ) const
inline

◆ GetWindow()

vcl::Window * ImpEditView::GetWindow ( ) const
inline

◆ GetWindowPos() [1/2]

Point ImpEditView::GetWindowPos ( const Point rDocPos) const

◆ GetWindowPos() [2/2]

tools::Rectangle ImpEditView::GetWindowPos ( const tools::Rectangle rDocPos) const

◆ HasLOKSpecialPositioning()

bool ImpEditView::HasLOKSpecialPositioning ( ) const

Definition at line 2749 of file impedit.cxx.

References mpLOKSpecialPositioning.

◆ HasSelection()

bool ImpEditView::HasSelection ( ) const
inline

Definition at line 392 of file impedit.hxx.

References aEditSelection, and EditSelection::HasRange().

Referenced by CutCopy(), dragGestureRecognized(), dragOver(), and SpellIgnoreWord().

◆ HideDDCursor()

void ImpEditView::HideDDCursor ( )
protected

Definition at line 2155 of file impedit.cxx.

References OutputDevice::DrawOutDev(), GetOutputDevice(), and pDragAndDropInfo.

Referenced by dragDropEnd(), dragExit(), dragOver(), and drop().

◆ ImplDrawHighlightRect()

void ImpEditView::ImplDrawHighlightRect ( OutputDevice rTarget,
const Point rDocPosTopLeft,
const Point rDocPosBottomRight,
tools::PolyPolygon pPolyPoly,
bool  bLOKCalcRTL 
)
protected

◆ ImplGetEditCursor()

tools::Rectangle ImpEditView::ImplGetEditCursor ( EditPaM aPaM,
GetCursorFlags  nShowCursorFlags,
sal_Int32 &  nTextPortionStart,
const ParaPortion pParaPortion 
) const
protected

◆ InitLOKSpecialPositioning()

void ImpEditView::InitLOKSpecialPositioning ( MapUnit  eUnit,
const tools::Rectangle rOutputArea,
const Point rVisDocStartPos 
)

Definition at line 2715 of file impedit.cxx.

References mpLOKSpecialPositioning.

◆ InvalidateAtWindow()

void ImpEditView::InvalidateAtWindow ( const tools::Rectangle rRect)
private

Definition at line 888 of file impedit.cxx.

References getEditViewCallbacks(), GetWindow(), vcl::Window::Invalidate(), and mbNegativeX.

Referenced by ResetOutputArea().

◆ IsBulletArea()

bool ImpEditView::IsBulletArea ( const Point rPos,
sal_Int32 *  pPara 
)

◆ IsInSelection()

bool ImpEditView::IsInSelection ( const EditPaM rPaM)

◆ IsInsertMode()

bool ImpEditView::IsInsertMode ( ) const
inline

Definition at line 435 of file impedit.hxx.

References nControl, and OVERWRITE.

Referenced by ImplGetEditCursor(), SetInsertMode(), and ShowCursor().

◆ IsNegativeX()

bool ImpEditView::IsNegativeX ( ) const
inline

Definition at line 479 of file impedit.hxx.

References mbNegativeX.

◆ IsPasteEnabled()

bool ImpEditView::IsPasteEnabled ( ) const
inline

Definition at line 437 of file impedit.hxx.

References ENABLEPASTE, and nControl.

Referenced by PostKeyEvent().

◆ IsSelectionAtPoint()

bool ImpEditView::IsSelectionAtPoint ( const Point rPosPixel)

◆ IsSuppressLOKMessages()

bool ImpEditView::IsSuppressLOKMessages ( ) const
inline

Definition at line 476 of file impedit.hxx.

References mbSuppressLOKMessages.

◆ IsTopToBottom()

bool ImpEditView::IsTopToBottom ( ) const

◆ IsVertical()

bool ImpEditView::IsVertical ( ) const

◆ IsWrongSpelledWord()

bool ImpEditView::IsWrongSpelledWord ( const EditPaM rPaM,
bool  bMarkIfWrong 
)

◆ lokSelectionCallback()

void ImpEditView::lokSelectionCallback ( const std::optional< tools::PolyPolygon > &  pPolyPoly,
bool  bStartHandleVisible,
bool  bEndHandleVisible 
)
private

◆ MouseButtonDown()

bool ImpEditView::MouseButtonDown ( const MouseEvent rMouseEvent)

◆ MouseButtonUp()

bool ImpEditView::MouseButtonUp ( const MouseEvent rMouseEvent)

◆ MouseMove()

bool ImpEditView::MouseMove ( const MouseEvent rMouseEvent)

Definition at line 1750 of file impedit.cxx.

References GetEditViewPtr(), pEditEngine, and EditEngine::pImpEditEngine.

◆ Paste()

void ImpEditView::Paste ( css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &  rxClipboard,
bool  bUseSpecial = false 
)

◆ PostKeyEvent()

bool ImpEditView::PostKeyEvent ( const KeyEvent rKeyEvent,
vcl::Window const *  pFrameWin 
)

◆ RecalcOutputArea()

void ImpEditView::RecalcOutputArea ( )

◆ RegisterOtherShell()

void ImpEditView::RegisterOtherShell ( OutlinerViewShell pViewShell)

Informs this edit view about which other shell listens to it.

Definition at line 235 of file impedit.cxx.

References mpOtherShell.

◆ RegisterViewShell()

void ImpEditView::RegisterViewShell ( OutlinerViewShell pViewShell)

Informs this edit view about which view shell contains it.

Definition at line 230 of file impedit.cxx.

References mpViewShell.

◆ ReleaseMouse()

void ImpEditView::ReleaseMouse ( )

Definition at line 1732 of file impedit.cxx.

References pEditEngine, and EditEngine::pImpEditEngine.

◆ RemoveDragAndDropListeners()

void ImpEditView::RemoveDragAndDropListeners ( )

Definition at line 2682 of file impedit.cxx.

References bActiveDragAndDropListener, getEditViewCallbacks(), GetWindow(), and mxDnDListener.

Referenced by ~ImpEditView().

◆ ResetOutputArea()

void ImpEditView::ResetOutputArea ( const tools::Rectangle rRect)

◆ Scroll()

Pair ImpEditView::Scroll ( tools::Long  ndX,
tools::Long  ndY,
ScrollRangeCheck  nRangeCheck = ScrollRangeCheck::NoNegative 
)

◆ ScrollStateChange()

void ImpEditView::ScrollStateChange ( )

Definition at line 1500 of file impedit.cxx.

References getEditViewCallbacks().

Referenced by ImpEditEngine::FormatDoc().

◆ SelectionChanged()

void ImpEditView::SelectionChanged ( )

Definition at line 315 of file impedit.cxx.

References getEditViewCallbacks().

Referenced by ImpEditView(), and SetEditSelection().

◆ SetAnchorMode()

void ImpEditView::SetAnchorMode ( EEAnchorMode  eMode)

Definition at line 1034 of file impedit.cxx.

References CalcAnchorPoint(), eAnchorMode, and eMode.

◆ SetBackgroundColor()

void ImpEditView::SetBackgroundColor ( const Color rColor)

Definition at line 220 of file impedit.cxx.

References mxBackgroundColor.

◆ SetBroadcastLOKViewCursor()

void ImpEditView::SetBroadcastLOKViewCursor ( bool  bSet)
inlineprivate

Definition at line 326 of file impedit.hxx.

References mbBroadcastLOKViewCursor.

◆ SetCursorAtPoint()

bool ImpEditView::SetCursorAtPoint ( const Point rPointPixel)

◆ SetCursorBidiLevel()

void ImpEditView::SetCursorBidiLevel ( sal_uInt16  n)
inline

Definition at line 358 of file impedit.hxx.

References n, and nCursorBidiLevel.

◆ SetEditSelection()

void ImpEditView::SetEditSelection ( const EditSelection rEditSelection)

◆ setEditViewCallbacks()

void ImpEditView::setEditViewCallbacks ( EditViewCallbacks pEditViewCallbacks)
inlineprivate

Definition at line 317 of file impedit.hxx.

References mpEditViewCallbacks.

◆ SetInsertMode()

void ImpEditView::SetInsertMode ( bool  bInsert)

Definition at line 1762 of file impedit.cxx.

References DoAutoScroll(), IsInsertMode(), nControl, OVERWRITE, SetFlags(), and ShowCursor().

◆ SetInvalidateMore()

void ImpEditView::SetInvalidateMore ( sal_uInt16  nPixel)
inline

Definition at line 462 of file impedit.hxx.

References nInvMore, and nPixel.

◆ SetLOKSpecialFlags()

void ImpEditView::SetLOKSpecialFlags ( LOKSpecialFlags  eFlags)

Definition at line 2754 of file impedit.cxx.

References mpLOKSpecialPositioning.

◆ SetLOKSpecialOutputArea()

void ImpEditView::SetLOKSpecialOutputArea ( const tools::Rectangle rOutputArea)

Definition at line 2725 of file impedit.cxx.

References mpLOKSpecialPositioning.

◆ SetLOKSpecialVisArea()

void ImpEditView::SetLOKSpecialVisArea ( const tools::Rectangle rVisArea)

Definition at line 2737 of file impedit.cxx.

References mpLOKSpecialPositioning, and tools::Rectangle::TopLeft().

◆ SetNegativeX()

void ImpEditView::SetNegativeX ( bool  bSet)
inline

Definition at line 478 of file impedit.hxx.

References mbNegativeX.

◆ SetOutputArea()

void ImpEditView::SetOutputArea ( const tools::Rectangle rRect)

◆ SetScrollDiffX()

void ImpEditView::SetScrollDiffX ( sal_uInt16  n)
inline

Definition at line 355 of file impedit.hxx.

References n, and nScrollDiffX.

Referenced by SetOutputArea().

◆ SetSelectionMode()

void ImpEditView::SetSelectionMode ( EESelectionMode  eMode)

Definition at line 836 of file impedit.cxx.

References DrawSelectionXOR(), and eSelectionMode.

◆ SetVisDocStartPos()

void ImpEditView::SetVisDocStartPos ( const Point rPos)
inline

Definition at line 382 of file impedit.hxx.

References aVisDocStartPos.

◆ ShowCursor()

void ImpEditView::ShowCursor ( bool  bGotoCursor,
bool  bForceVisCursor 
)

Definition at line 1174 of file impedit.cxx.

References Size::AdjustHeight(), Size::AdjustWidth(), aEditSelection, aOutArea, tools::Rectangle::Bottom(), EditEngine::CheckIdleFormatter(), o3tl::convert(), CURSOR_BIDILEVEL_DONTKNOW, CURSOROUT, EE_PARA_NOT_FOUND, TextPortionList::FindPortion(), GetCursor(), GetCursorBidiLevel(), StyleSettings::GetCursorSize(), EditEngine::GetEditDoc(), GetEditSelection(), getEditViewCallbacks(), GetEditViewPtr(), OutlinerViewShell::GetEditWindowForActiveOLEObj(), SvxFieldItem::GetField(), GetField(), EditView::GetFieldAtSelection(), EditPaM::GetIndex(), EditEngine::GetInternalEditStatus(), OutputDevice::GetMapMode(), MapMode::GetMapUnit(), EditPaM::GetNode(), MapMode::GetOrigin(), GetOutputArea(), GetOutputDevice(), EditEngine::GetParaPortions(), vcl::Cursor::GetPos(), EditDoc::GetPos(), GetScrollDiffX(), OutputDevice::GetSettings(), tools::Rectangle::GetSize(), EditStatus::GetStatusWord(), AllSettings::GetStyleSettings(), ParaPortion::GetTextPortions(), GetVisDocArea(), GetVisDocBottom(), GetVisDocLeft(), GetVisDocRight(), GetVisDocTop(), tools::Rectangle::GetWidth(), GetWindow(), GetWindowPos(), Point::getX(), Point::getY(), EditSelection::HasRange(), Size::Height(), vcl::Cursor::Hide(), HSCROLL, ImplGetEditCursor(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsAncestorOf(), URLFieldHelper::IsCursorAtURLField(), tools::Rectangle::IsEmpty(), EditEngine::IsFormatted(), IsInsertMode(), TextPortion::IsRightToLeft(), EditEngine::IsRightToLeft(), IsTopToBottom(), IsVertical(), comphelper::LibreOfficeKit::isViewIdForVisCursorInvalidation(), IsWrongSpelledWord(), tools::Rectangle::Left(), SfxViewShell::libreOfficeKitViewCallback(), OutputDevice::LogicToLogic(), EditSelection::Max(), mbBroadcastLOKViewCursor, mbSuppressLOKMessages, o3tl::mm100, Point::Move(), tools::Rectangle::Move(), mpLOKSpecialPositioning, mpOtherShell, mpViewShell, n, nExtraCursorFlags, SfxLokHelper::notifyOtherView(), SfxLokHelper::notifyOtherViews(), pEditEngine, EditEngine::pImpEditEngine, OutputDevice::PixelToLogic(), pOutWin, PreferPortionStart, tools::Rectangle::Right(), Scroll(), EditEngine::SeekCursor(), tools::Rectangle::SetBottom(), vcl::Cursor::SetDirection(), Size::setHeight(), tools::Rectangle::SetLeft(), vcl::Cursor::SetOrientation(), vcl::Cursor::SetPos(), tools::Rectangle::SetRight(), vcl::Cursor::SetSize(), tools::Rectangle::SetTop(), tools::Rectangle::setWidth(), Size::setWidth(), vcl::Cursor::Show(), TextOnly, tools::Rectangle::Top(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), Point::toString(), tools::Rectangle::toString(), o3tl::twip, VSCROLL, Size::Width(), Point::X(), and Point::Y().

Referenced by DeleteSelected(), dragDropEnd(), dragGestureRecognized(), Paste(), SetCursorAtPoint(), and SetInsertMode().

◆ ShowDDCursor()

void ImpEditView::ShowDDCursor ( const tools::Rectangle rRect)
protected

◆ SpellIgnoreWord()

OUString ImpEditView::SpellIgnoreWord ( )

◆ SuppressLOKMessages()

void ImpEditView::SuppressLOKMessages ( bool  bSet)
inline

Definition at line 475 of file impedit.hxx.

References mbSuppressLOKMessages.

Friends And Related Function Documentation

◆ EditEngine

friend class EditEngine
friend

Definition at line 257 of file impedit.hxx.

◆ EditView

friend class EditView
friend

Definition at line 256 of file impedit.hxx.

◆ ImpEditEngine

friend class ImpEditEngine
friend

Definition at line 258 of file impedit.hxx.

Member Data Documentation

◆ aAnchorPoint

Point ImpEditView::aAnchorPoint
private

Definition at line 290 of file impedit.hxx.

Referenced by CalcAnchorPoint(), and RecalcOutputArea().

◆ aEditSelection

EditSelection ImpEditView::aEditSelection
private

◆ aOutArea

tools::Rectangle ImpEditView::aOutArea
private

◆ aOutWindowSet

EditView::OutWindowSet ImpEditView::aOutWindowSet
private

Definition at line 273 of file impedit.hxx.

◆ aVisDocStartPos

Point ImpEditView::aVisDocStartPos
private

◆ bActiveDragAndDropListener

bool ImpEditView::bActiveDragAndDropListener
private

Definition at line 288 of file impedit.hxx.

Referenced by AddDragAndDropListeners(), and RemoveDragAndDropListeners().

◆ bClickedInSelection

bool ImpEditView::bClickedInSelection
private

Definition at line 287 of file impedit.hxx.

Referenced by dragGestureRecognized(), MouseButtonDown(), and MouseButtonUp().

◆ bReadOnly

bool ImpEditView::bReadOnly
private

◆ eAnchorMode

EEAnchorMode ImpEditView::eAnchorMode
private

Definition at line 295 of file impedit.hxx.

Referenced by CalcAnchorPoint(), GetAnchorMode(), RecalcOutputArea(), and SetAnchorMode().

◆ eSelectionMode

EESelectionMode ImpEditView::eSelectionMode
private

Definition at line 293 of file impedit.hxx.

Referenced by DrawSelectionXOR(), and SetSelectionMode().

◆ mbBroadcastLOKViewCursor

bool ImpEditView::mbBroadcastLOKViewCursor
private

Definition at line 306 of file impedit.hxx.

Referenced by SetBroadcastLOKViewCursor(), and ShowCursor().

◆ mbNegativeX

bool ImpEditView::mbNegativeX
private

Definition at line 308 of file impedit.hxx.

Referenced by InvalidateAtWindow(), IsNegativeX(), and SetNegativeX().

◆ mbSuppressLOKMessages

bool ImpEditView::mbSuppressLOKMessages
private

Definition at line 307 of file impedit.hxx.

Referenced by IsSuppressLOKMessages(), ShowCursor(), and SuppressLOKMessages().

◆ mpEditViewCallbacks

EditViewCallbacks* ImpEditView::mpEditViewCallbacks
private

mechanism to change from the classic refresh mode that simply

Definition at line 304 of file impedit.hxx.

Referenced by getEditViewCallbacks(), and setEditViewCallbacks().

◆ mpLOKSpecialPositioning

std::unique_ptr<LOKSpecialPositioning> ImpEditView::mpLOKSpecialPositioning
private

◆ mpOtherShell

OutlinerViewShell* ImpEditView::mpOtherShell
private

Another shell, just listening to our state, if any.

Definition at line 270 of file impedit.hxx.

Referenced by lokSelectionCallback(), RegisterOtherShell(), and ShowCursor().

◆ mpViewShell

OutlinerViewShell* ImpEditView::mpViewShell
private

Containing view shell, if any.

Definition at line 268 of file impedit.hxx.

Referenced by DeselectAll(), DrawSelectionXOR(), GetViewShell(), lokSelectionCallback(), RegisterViewShell(), and ShowCursor().

◆ mxBackgroundColor

std::optional<Color> ImpEditView::mxBackgroundColor
private

Definition at line 266 of file impedit.hxx.

Referenced by GetBackgroundColor(), and SetBackgroundColor().

◆ mxDnDListener

css::uno::Reference< css::datatransfer::dnd::XDragSourceListener > ImpEditView::mxDnDListener
private

◆ mxPointer

std::optional<PointerStyle> ImpEditView::mxPointer
private

Definition at line 274 of file impedit.hxx.

Referenced by GetPointer().

◆ nControl

EVControlBits ImpEditView::nControl
private

◆ nCursorBidiLevel

sal_uInt16 ImpEditView::nCursorBidiLevel
private

◆ nExtraCursorFlags

GetCursorFlags ImpEditView::nExtraCursorFlags
private

Definition at line 283 of file impedit.hxx.

Referenced by GetEditCursor(), MouseButtonDown(), MouseButtonUp(), and ShowCursor().

◆ nInvMore

tools::Long ImpEditView::nInvMore
private

Definition at line 280 of file impedit.hxx.

Referenced by GetInvalidateMore(), ResetOutputArea(), and SetInvalidateMore().

◆ nScrollDiffX

sal_uInt16 ImpEditView::nScrollDiffX
private

Definition at line 285 of file impedit.hxx.

Referenced by GetScrollDiffX(), and SetScrollDiffX().

◆ nTravelXPos

sal_uInt32 ImpEditView::nTravelXPos
private

Definition at line 282 of file impedit.hxx.

Referenced by MouseButtonDown(), and MouseButtonUp().

◆ pCursor

std::unique_ptr<vcl::Cursor, o3tl::default_delete<vcl::Cursor> > ImpEditView::pCursor
private

Definition at line 265 of file impedit.hxx.

Referenced by GetCursor(), and ~ImpEditView().

◆ pDragAndDropInfo

std::unique_ptr<DragAndDropInfo> ImpEditView::pDragAndDropInfo
private

◆ pEditEngine

EditEngine* ImpEditView::pEditEngine
private

◆ pEditView

EditView* ImpEditView::pEditView
private

Definition at line 264 of file impedit.hxx.

Referenced by GetEditViewPtr(), and Scroll().

◆ pOutWin

VclPtr<vcl::Window> ImpEditView::pOutWin
private

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