LibreOffice Module editeng (master) 1
|
#include <impedit.hxx>
Public Member Functions | |
ImpEditView (EditView *pView, EditEngine *pEng, vcl::Window *pWindow) | |
virtual | ~ImpEditView () override |
EditView * | GetEditViewPtr () |
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::Rectangle & | GetOutputArea () 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 EditSelection & | GetEditSelection () 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 () |
OutputDevice & | GetOutputDevice () const |
weld::Widget * | GetPopupParent (tools::Rectangle &rRect) const |
vcl::Window * | GetWindow () const |
void | SetSelectionMode (EESelectionMode eMode) |
PointerStyle | GetPointer () |
vcl::Cursor * | GetCursor () |
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 Color & | GetBackgroundColor () const |
void | RegisterViewShell (OutlinerViewShell *pViewShell) |
Informs this edit view about which view shell contains it. More... | |
const OutlinerViewShell * | GetViewShell () 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 SvxFieldItem * | GetField (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::Rectangle & | GetLOKSpecialOutputArea () 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 | |
EditViewCallbacks * | getEditViewCallbacks () 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) |
Friends | |
class | EditView |
class | EditEngine |
class | ImpEditEngine |
Definition at line 254 of file impedit.hxx.
ImpEditView::ImpEditView | ( | EditView * | pView, |
EditEngine * | pEng, | ||
vcl::Window * | pWindow | ||
) |
Definition at line 183 of file impedit.cxx.
References aEditSelection, AUTOSCROLL, bReadOnly, ENABLEPASTE, EditEngine::GetEditDoc(), EditDoc::GetEndPaM(), EditDoc::GetStartPaM(), isActive(), EditSelection::Max(), EditSelection::Min(), NONE, SelectionChanged(), Std, and TopLeft.
|
overridevirtual |
Definition at line 212 of file impedit.cxx.
References pCursor, pOutWin, and RemoveDragAndDropListeners().
void ImpEditView::AddDragAndDropListeners | ( | ) |
Definition at line 2651 of file impedit.cxx.
References bActiveDragAndDropListener, getEditViewCallbacks(), GetWindow(), and mxDnDListener.
void ImpEditView::CalcAnchorPoint | ( | ) |
Definition at line 1040 of file impedit.cxx.
References aAnchorPoint, aOutArea, tools::Rectangle::Bottom(), BottomHCenter, BottomLeft, BottomRight, eAnchorMode, tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), tools::Rectangle::Right(), Point::setX(), Point::setY(), tools::Rectangle::Top(), TopHCenter, TopLeft, TopRight, VCenterHCenter, VCenterLeft, and VCenterRight.
Referenced by SetAnchorMode().
bool ImpEditView::Command | ( | const CommandEvent & | rCEvt | ) |
Definition at line 1755 of file impedit.cxx.
References EditEngine::CheckIdleFormatter(), GetEditViewPtr(), pEditEngine, and EditEngine::pImpEditEngine.
void ImpEditView::CreateAnchor | ( | ) |
Definition at line 2052 of file impedit.cxx.
References aNewSelection, GetEditSelection(), pEditEngine, SetEditSelection(), and EditEngine::SetInSelectionMode().
void ImpEditView::CutCopy | ( | css::uno::Reference< css::datatransfer::clipboard::XClipboard > const & | rxClipboard, |
bool | bCut | ||
) |
Definition at line 1916 of file impedit.cxx.
References EditEngine::CreateTransferable(), DeleteSelected(), EDITUNDO_CUT, GetEditSelection(), HasSelection(), pEditEngine, and EditEngine::pImpEditEngine.
Referenced by MouseButtonUp(), and PostKeyEvent().
void ImpEditView::DeleteSelected | ( | ) |
Definition at line 1827 of file impedit.cxx.
References DoAutoScroll(), DrawSelectionXOR(), EDITUNDO_DELETE, GetEditSelection(), GetEditViewPtr(), pEditEngine, EditEngine::pImpEditEngine, SetEditSelection(), and ShowCursor().
Referenced by CutCopy(), and dragDropEnd().
void ImpEditView::DeselectAll | ( | ) |
Definition at line 2061 of file impedit.cxx.
References aNewSelection, DrawSelectionXOR(), GetEditSelection(), comphelper::LibreOfficeKit::isActive(), mpViewShell, vcl::ILibreOfficeKitNotifier::notifyWindow(), pEditEngine, pOutWin, SetEditSelection(), and EditEngine::SetInSelectionMode().
|
inline |
Definition at line 443 of file impedit.hxx.
References AUTOSIZEY, and nControl.
Referenced by ImpEditEngine::FormatDoc(), and RecalcOutputArea().
|
inline |
Definition at line 440 of file impedit.hxx.
References AUTOSCROLL, and nControl.
Referenced by DeleteSelected(), dragDropEnd(), dragGestureRecognized(), dragOver(), Paste(), SetCursorAtPoint(), and SetInsertMode().
|
inline |
Definition at line 441 of file impedit.hxx.
|
inline |
Definition at line 442 of file impedit.hxx.
References AUTOSIZEX, and nControl.
Referenced by RecalcOutputArea().
|
inline |
Definition at line 444 of file impedit.hxx.
References INVONEMORE, and nControl.
Referenced by ResetOutputArea().
|
inline |
Definition at line 439 of file impedit.hxx.
References nControl, and SINGLELINEPASTE.
Referenced by Paste().
|
overrideprotectedvirtual |
Reimplemented from vcl::unohelper::DragAndDropClient.
Definition at line 2297 of file impedit.cxx.
References bReadOnly, Link< typename Arg, typename Ret >::Call(), DBG_ASSERT, EditSelection::DbgIsBuggy(), DeleteSelected(), EditEngine::DeleteSelection(), DoAutoScroll(), DrawSelectionXOR(), EditEngine::GetEditDoc(), GetEditViewPtr(), EditEngine::GetEndDropHdl(), EditEngine::HasText(), HideDDCursor(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, pDragAndDropInfo, pEditEngine, EditEngine::pImpEditEngine, SetEditSelection(), and ShowCursor().
|
overrideprotectedvirtual |
Reimplemented from vcl::unohelper::DragAndDropClient.
Definition at line 2461 of file impedit.cxx.
References dragOver(), SotExchange::GetFormatDataFlavor(), TransferableDataHelper::IsEqual(), n, and pDragAndDropInfo.
|
overrideprotectedvirtual |
Reimplemented from vcl::unohelper::DragAndDropClient.
Definition at line 2488 of file impedit.cxx.
References HideDDCursor(), and pDragAndDropInfo.
|
overrideprotectedvirtual |
Reimplemented from vcl::unohelper::DragAndDropClient.
Definition at line 2216 of file impedit.cxx.
References EditSelection::Adjust(), bClickedInSelection, bReadOnly, Count, EditEngine::CreateTransferable(), DBG_ASSERT, DoAutoScroll(), DrawSelectionXOR(), EE_PARA_OUTLLEVEL(), GetCursor(), EditEngine::GetEditDoc(), GetEditSelection(), GetField(), EditPaM::GetNode(), EditDoc::GetObject(), GetOutputDevice(), EditEngine::GetParaAttrib(), SfxInt16Item::GetValue(), HasSelection(), vcl::Cursor::Hide(), IsBulletArea(), ContentNode::Len(), mxDnDListener, n, nPos, pDragAndDropInfo, pEditEngine, EditEngine::pImpEditEngine, OutputDevice::PixelToLogic(), SetEditSelection(), EditPaM::SetIndex(), EditPaM::SetNode(), ShowCursor(), and Size::Width().
|
overrideprotectedvirtual |
Reimplemented from vcl::unohelper::DragAndDropClient.
Definition at line 2500 of file impedit.cxx.
References ESelection::Adjust(), tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Bottom, bReadOnly, EditDoc::Count(), DoAutoScroll(), GetDocPos(), EditEngine::GetEditDoc(), GetEditSelection(), tools::Rectangle::GetHeight(), ParaPortion::GetHeight(), EditPaM::GetNode(), GetOutputArea(), GetOutputDevice(), EditEngine::GetPaM(), EditEngine::GetParaPortions(), EditDoc::GetPos(), tools::Rectangle::GetWidth(), GetWindowPos(), ParaPortionList::GetYOffset(), HasSelection(), HideDDCursor(), EditEngine::IsEffectivelyVertical(), IsTopToBottom(), Left, tools::Rectangle::Left(), OutputDevice::LogicToPixel(), EPaM::nIndex, EPaM::nPara, nScrollX, nScrollY, PaperWidthTextSize, pDragAndDropInfo, pEditEngine, EditEngine::pImpEditEngine, OutputDevice::PixelToLogic(), Right, ParaPortionList::SafeGetObject(), SCRLRANGE, Scroll(), tools::Rectangle::SetPos(), tools::Rectangle::SetRight(), ShowDDCursor(), Top, tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Point::X(), and Point::Y().
Referenced by dragEnter().
|
inline |
Definition at line 395 of file impedit.hxx.
References aEditSelection, and DrawSelectionXOR().
Referenced by DeleteSelected(), DeselectAll(), dragDropEnd(), dragGestureRecognized(), DrawSelectionXOR(), drop(), GetSelectionRectangles(), IsWrongSpelledWord(), ImpEditEngine::Paint(), Paste(), EditUndoManager::Redo(), Scroll(), SetCursorAtPoint(), SetSelectionMode(), SpellIgnoreWord(), and EditUndoManager::Undo().
void ImpEditView::DrawSelectionXOR | ( | EditSelection | aTmpSel, |
vcl::Region * | pRegion = nullptr , |
||
OutputDevice * | pTargetDevice = nullptr |
||
) |
Definition at line 463 of file impedit.cxx.
References EditSelection::Adjust(), aOutArea, tools::Rectangle::Bottom(), tools::Rectangle::BottomRight(), ImpEditEngine::Continue, DBG_ASSERT, EE_PARA_NOT_FOUND, eSelectionMode, EditEngine::GetEditDoc(), getEditViewCallbacks(), EditPaM::GetIndex(), EditEngine::GetLineXPosStartEnd(), EditPaM::GetNode(), GetOutputDevice(), EditDoc::GetPos(), GetVisDocBottom(), GetVisDocTop(), tools::Rectangle::GetWidth(), EditEngine::GetXPos(), EditSelection::HasRange(), Size::Height(), Hidden, ImplDrawHighlightRect(), comphelper::LibreOfficeKit::isActive(), EditEngine::IsIdleFormatterActive(), EditEngine::IsRightToLeft(), tools::Rectangle::Left(), lokSelectionCallback(), EditSelection::Max(), Range::Max(), EditSelection::Min(), Range::Min(), tools::Rectangle::Move(), mpLOKSpecialPositioning, mpViewShell, NONE, pEditEngine, EditEngine::pImpEditEngine, pOutWin, rTarget, tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), ImpEditEngine::SkipThisPortion, ImpEditEngine::Stop, tools::Rectangle::Top(), tools::Rectangle::TopLeft(), and Size::Width().
|
overrideprotectedvirtual |
Reimplemented from vcl::unohelper::DragAndDropClient.
Definition at line 2389 of file impedit.cxx.
References InternalEditStatus::AllowPasteSpecial(), Link< typename Arg, typename Ret >::Call(), DBG_ASSERT, DrawSelectionXOR(), EDITUNDO_DRAGANDDROP, EditEngine::GetBeginDropHdl(), EditEngine::GetEditDoc(), GetEditViewPtr(), EditPaM::GetIndex(), EditEngine::GetInternalEditStatus(), EditPaM::GetNode(), EditDoc::GetPos(), EditEngine::HandleBeginPasteOrDrop(), EditEngine::HandleEndPasteOrDrop(), HideDDCursor(), EditEngine::InsertText(), EditSelection::Max(), EditView::MoveParagraphs(), PasteOrDropInfos::nEndPara, PasteOrDropInfos::nStartPara, pDragAndDropInfo, pEditEngine, EditEngine::pImpEditEngine, and SetEditSelection().
|
inline |
Definition at line 425 of file impedit.hxx.
References eAnchorMode.
const Color & ImpEditView::GetBackgroundColor | ( | ) | const |
Definition at line 225 of file impedit.cxx.
References OutputDevice::GetBackground(), Wallpaper::GetColor(), GetOutputDevice(), and mxBackgroundColor.
|
private |
Definition at line 1651 of file impedit.cxx.
References getEditViewCallbacks(), GetSystemClipboard(), GetWindow(), and SAL_WARN.
Referenced by PostKeyEvent().
|
inline |
Definition at line 1353 of file impedit.hxx.
References pCursor.
Referenced by dragGestureRecognized(), Scroll(), and ShowCursor().
|
inline |
Definition at line 357 of file impedit.hxx.
References nCursorBidiLevel.
Referenced by GetEditCursor(), and ShowCursor().
Definition at line 763 of file impedit.cxx.
References aOutArea, tools::Rectangle::Bottom(), GetVisDocLeft(), GetVisDocTop(), tools::Rectangle::Left(), pEditEngine, EditEngine::pImpEditEngine, tools::Rectangle::Right(), Point::setX(), Point::setY(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by dragOver(), GetField(), IsBulletArea(), IsSelectionAtPoint(), and SetCursorAtPoint().
tools::Rectangle ImpEditView::GetEditCursor | ( | ) | const |
Definition at line 1149 of file impedit.cxx.
References aEditSelection, CURSOR_BIDILEVEL_DONTKNOW, EE_PARA_NOT_FOUND, GetCursorBidiLevel(), EditEngine::GetEditDoc(), EditPaM::GetNode(), EditEngine::GetParaPortions(), EditDoc::GetPos(), ImplGetEditCursor(), EditSelection::Max(), nExtraCursorFlags, pEditEngine, PreferPortionStart, and TextOnly.
|
inline |
Definition at line 390 of file impedit.hxx.
References aEditSelection.
Referenced by EditSpellWrapper::CheckSpellTo(), ImpEditEngine::Command(), CreateAnchor(), CutCopy(), DeleteSelected(), DeselectAll(), dragGestureRecognized(), dragOver(), IsInSelection(), MouseButtonUp(), ImpEditEngine::Paint(), Paste(), EditUndoManager::Redo(), SetCursorAtPoint(), ShowCursor(), SpellIgnoreWord(), and EditUndoManager::Undo().
|
inlineprivate |
Definition at line 310 of file impedit.hxx.
References mpEditViewCallbacks.
Referenced by AddDragAndDropListeners(), DrawSelectionXOR(), GetClipboard(), GetOutputDevice(), GetPopupParent(), InvalidateAtWindow(), RemoveDragAndDropListeners(), Scroll(), ScrollStateChange(), SelectionChanged(), and ShowCursor().
|
inline |
Definition at line 352 of file impedit.hxx.
References pEditView.
Referenced by Command(), DeleteSelected(), dragDropEnd(), drop(), MouseButtonDown(), MouseButtonUp(), MouseMove(), Paste(), PostKeyEvent(), and ShowCursor().
const SvxFieldItem * ImpEditView::GetField | ( | const Point & | rPos, |
sal_Int32 * | pPara, | ||
sal_Int32 * | pPos | ||
) | const |
Definition at line 1845 of file impedit.cxx.
References DBG_ASSERT, EE_FEATURE_FIELD(), CharAttribList::GetAttribs(), ContentNode::GetCharAttribs(), GetDocPos(), EditEngine::GetEditDoc(), EditCharAttrib::GetEnd(), EditPaM::GetIndex(), EditCharAttrib::GetItem(), EditPaM::GetNode(), GetOutputArea(), EditEngine::GetPaM(), EditDoc::GetPos(), EditCharAttrib::GetStart(), ContentNode::Len(), pEditEngine, and EditCharAttrib::Which().
Referenced by dragGestureRecognized(), and ShowCursor().
|
inline |
Definition at line 463 of file impedit.hxx.
References nInvMore.
const tools::Rectangle & ImpEditView::GetLOKSpecialOutputArea | ( | ) | const |
Definition at line 2731 of file impedit.cxx.
References mpLOKSpecialPositioning.
tools::Rectangle ImpEditView::GetLOKSpecialVisArea | ( | ) | const |
Definition at line 2743 of file impedit.cxx.
References mpLOKSpecialPositioning.
|
inline |
Definition at line 366 of file impedit.hxx.
References aOutArea.
Referenced by dragOver(), ImpEditEngine::FormatDoc(), GetField(), ImplDrawHighlightRect(), IsBulletArea(), IsSelectionAtPoint(), ImpEditEngine::Paint(), SetCursorAtPoint(), and ShowCursor().
OutputDevice & ImpEditView::GetOutputDevice | ( | ) | const |
Definition at line 846 of file impedit.cxx.
References getEditViewCallbacks(), and pOutWin.
Referenced by dragGestureRecognized(), dragOver(), DrawSelectionXOR(), GetBackgroundColor(), HideDDCursor(), IsSelectionAtPoint(), ResetOutputArea(), Scroll(), SetCursorAtPoint(), SetOutputArea(), ShowCursor(), and ShowDDCursor().
|
inline |
Definition at line 1333 of file impedit.hxx.
References IsVertical(), and mxPointer.
weld::Widget * ImpEditView::GetPopupParent | ( | tools::Rectangle & | rRect | ) | const |
Definition at line 853 of file impedit.cxx.
References getEditViewCallbacks(), weld::GetPopupParent(), and pOutWin.
|
inline |
void ImpEditView::GetSelectionRectangles | ( | EditSelection | aTmpSel, |
std::vector< tools::Rectangle > & | rLogicRects | ||
) |
Definition at line 662 of file impedit.cxx.
References DrawSelectionXOR(), and vcl::Region::GetRegionRectangles().
const OutlinerViewShell * ImpEditView::GetViewShell | ( | ) | const |
Definition at line 240 of file impedit.cxx.
References mpViewShell.
Referenced by EditUndo::EditUndo().
tools::Rectangle ImpEditView::GetVisDocArea | ( | ) | const |
Definition at line 758 of file impedit.cxx.
References GetVisDocBottom(), GetVisDocLeft(), GetVisDocRight(), and GetVisDocTop().
Referenced by Scroll(), and ShowCursor().
|
inline |
Definition at line 387 of file impedit.hxx.
References aOutArea, aVisDocStartPos, tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), IsVertical(), and Point::Y().
Referenced by DrawSelectionXOR(), GetVisDocArea(), and ShowCursor().
|
inline |
Definition at line 384 of file impedit.hxx.
References aVisDocStartPos, and Point::X().
Referenced by GetDocPos(), GetVisDocArea(), GetWindowPos(), ImpEditEngine::Paint(), Scroll(), and ShowCursor().
|
inline |
Definition at line 386 of file impedit.hxx.
References aOutArea, aVisDocStartPos, tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), IsVertical(), and Point::X().
Referenced by GetVisDocArea(), and ShowCursor().
|
inline |
Definition at line 385 of file impedit.hxx.
References aVisDocStartPos, and Point::Y().
Referenced by DrawSelectionXOR(), GetDocPos(), GetVisDocArea(), GetWindowPos(), ImpEditEngine::Paint(), Scroll(), and ShowCursor().
|
inline |
Definition at line 403 of file impedit.hxx.
References pOutWin.
Referenced by AddDragAndDropListeners(), GetClipboard(), InvalidateAtWindow(), ImpEditEngine::Paint(), RemoveDragAndDropListeners(), and ShowCursor().
Definition at line 790 of file impedit.cxx.
References aOutArea, tools::Rectangle::Bottom(), GetVisDocLeft(), GetVisDocTop(), tools::Rectangle::Left(), pEditEngine, EditEngine::pImpEditEngine, tools::Rectangle::Right(), Point::setX(), Point::setY(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by ImpEditEngine::Command(), dragOver(), GetWindowPos(), ImplDrawHighlightRect(), and ShowCursor().
tools::Rectangle ImpEditView::GetWindowPos | ( | const tools::Rectangle & | rDocPos | ) | const |
Definition at line 817 of file impedit.cxx.
References tools::Rectangle::GetSize(), GetWindowPos(), Size::Height(), pEditEngine, EditEngine::pImpEditEngine, tools::Rectangle::TopLeft(), Size::Width(), Point::X(), and Point::Y().
bool ImpEditView::HasLOKSpecialPositioning | ( | ) | const |
Definition at line 2749 of file impedit.cxx.
References mpLOKSpecialPositioning.
|
inline |
Definition at line 392 of file impedit.hxx.
References aEditSelection, and EditSelection::HasRange().
Referenced by CutCopy(), dragGestureRecognized(), dragOver(), and SpellIgnoreWord().
|
protected |
Definition at line 2155 of file impedit.cxx.
References OutputDevice::DrawOutDev(), GetOutputDevice(), and pDragAndDropInfo.
Referenced by dragDropEnd(), dragExit(), dragOver(), and drop().
|
protected |
Definition at line 669 of file impedit.cxx.
References tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), COL_BLACK(), vcl::FILLCOLOR, vcl::Window::GetOutDev(), GetOutputArea(), tools::Rectangle::GetWidth(), GetWindowPos(), tools::PolyPolygon::Insert(), OutputDevice::Invert(), IsVertical(), lcl_AlignToPixel(), tools::Rectangle::Left(), vcl::LINECOLOR, OutputDevice::LogicToLogic(), tools::Rectangle::Move(), mpLOKSpecialPositioning, vcl::RASTEROP, tools::Rectangle::Right(), rTarget, tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), Point::X(), and Point::Y().
Referenced by DrawSelectionXOR().
|
protected |
Definition at line 1111 of file impedit.cxx.
References tools::Rectangle::AdjustRight(), aEditSelection, aOutArea, EditEngine::CursorRight(), EndOfLine, TextPortionList::FindPortion(), tools::Rectangle::GetHeight(), EditPaM::GetIndex(), TextPortion::GetKind(), EditPaM::GetNode(), TextPortion::GetSize(), ParaPortion::GetTextPortions(), tools::Rectangle::GetWidth(), EditSelection::HasRange(), IsInsertMode(), IsVertical(), tools::Rectangle::Left(), ContentNode::Len(), pEditEngine, EditEngine::pImpEditEngine, PreferPortionStart, tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), TAB, TextOnly, tools::Rectangle::Top(), and Size::Width().
Referenced by GetEditCursor(), and ShowCursor().
void ImpEditView::InitLOKSpecialPositioning | ( | MapUnit | eUnit, |
const tools::Rectangle & | rOutputArea, | ||
const Point & | rVisDocStartPos | ||
) |
Definition at line 2715 of file impedit.cxx.
References mpLOKSpecialPositioning.
|
private |
Definition at line 888 of file impedit.cxx.
References getEditViewCallbacks(), GetWindow(), vcl::Window::Invalidate(), and mbNegativeX.
Referenced by ResetOutputArea().
bool ImpEditView::IsBulletArea | ( | const Point & | rPos, |
sal_Int32 * | pPara | ||
) |
Definition at line 1882 of file impedit.cxx.
References tools::Rectangle::Bottom(), EE_PARA_NOT_FOUND, EditEngine::GetBulletArea(), GetDocPos(), EditEngine::GetDocPosTopLeft(), EditEngine::GetEditDoc(), ParaPortion::GetFirstLineOffset(), EditPaM::GetIndex(), EditPaM::GetNode(), GetOutputArea(), EditEngine::GetPaM(), EditEngine::GetParaPortions(), EditDoc::GetPos(), tools::Rectangle::Left(), pEditEngine, tools::Rectangle::Right(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by dragGestureRecognized().
bool ImpEditView::IsInSelection | ( | const EditPaM & | rPaM | ) |
Definition at line 2023 of file impedit.cxx.
References EditSelection::Adjust(), EditEngine::GetEditDoc(), GetEditSelection(), EditPaM::GetIndex(), EditPaM::GetNode(), EditDoc::GetPos(), EditSelection::HasRange(), EditSelection::Max(), EditSelection::Min(), and pEditEngine.
Referenced by IsSelectionAtPoint().
|
inline |
Definition at line 435 of file impedit.hxx.
References nControl, and OVERWRITE.
Referenced by ImplGetEditCursor(), SetInsertMode(), and ShowCursor().
|
inline |
Definition at line 479 of file impedit.hxx.
References mbNegativeX.
|
inline |
Definition at line 437 of file impedit.hxx.
References ENABLEPASTE, and nControl.
Referenced by PostKeyEvent().
bool ImpEditView::IsSelectionAtPoint | ( | const Point & | rPosPixel | ) |
Definition at line 2083 of file impedit.cxx.
References GetDocPos(), GetOutputArea(), GetOutputDevice(), EditEngine::GetPaM(), IsInSelection(), pDragAndDropInfo, pEditEngine, EditEngine::pImpEditEngine, and OutputDevice::PixelToLogic().
Referenced by MouseButtonDown().
|
inline |
Definition at line 476 of file impedit.hxx.
References mbSuppressLOKMessages.
bool ImpEditView::IsTopToBottom | ( | ) | const |
Definition at line 753 of file impedit.cxx.
References pEditEngine, and EditEngine::pImpEditEngine.
Referenced by dragOver(), LOKSpecialPositioning::IsTopToBottom(), Scroll(), and ShowCursor().
bool ImpEditView::IsVertical | ( | ) | const |
Definition at line 748 of file impedit.cxx.
References pEditEngine, and EditEngine::pImpEditEngine.
Referenced by GetPointer(), GetVisDocBottom(), GetVisDocRight(), ImplDrawHighlightRect(), ImplGetEditCursor(), LOKSpecialPositioning::IsVertical(), Scroll(), and ShowCursor().
bool ImpEditView::IsWrongSpelledWord | ( | const EditPaM & | rPaM, |
bool | bMarkIfWrong | ||
) |
Definition at line 1771 of file impedit.cxx.
References DrawSelectionXOR(), EditPaM::GetIndex(), EditPaM::GetNode(), ContentNode::GetWrongList(), WrongList::HasWrong(), EditSelection::Max(), EditSelection::Min(), pEditEngine, EditEngine::SelectWord(), and SetEditSelection().
Referenced by ShowCursor().
|
private |
Definition at line 325 of file impedit.cxx.
References tools::Rectangle::Bottom(), o3tl::convert(), OutlinerViewShell::GetEditWindowForActiveOLEObj(), vcl::Window::GetOutDev(), vcl::Window::GetOutOffXPixel(), vcl::Window::GetOutOffYPixel(), vcl::Window::GetParent(), vcl::Region::GetRegionRectangles(), Point::getX(), Point::getY(), vcl::Window::IsAncestorOf(), comphelper::string::join(), lcl_translateTwips(), tools::Rectangle::Left(), OutlinerViewShell::libreOfficeKitViewCallback(), vcl::MAPMODE, o3tl::mm100, mpLOKSpecialPositioning, mpOtherShell, mpViewShell, OutlinerViewShell::NotifyOtherView(), OutlinerViewShell::NotifyOtherViews(), vcl::ILibreOfficeKitNotifier::notifyWindow(), pOutWin, tools::Rectangle::Right(), tools::Rectangle::Top(), tools::Rectangle::toString(), o3tl::twip, and v.
Referenced by DrawSelectionXOR().
bool ImpEditView::MouseButtonDown | ( | const MouseEvent & | rMouseEvent | ) |
Definition at line 1737 of file impedit.cxx.
References bClickedInSelection, EditEngine::CheckIdleFormatter(), CURSOR_BIDILEVEL_DONTKNOW, GetEditViewPtr(), MouseEvent::GetPosPixel(), IsSelectionAtPoint(), nCursorBidiLevel, nExtraCursorFlags, NONE, nTravelXPos, pEditEngine, EditEngine::pImpEditEngine, and TRAVEL_X_DONTKNOW.
bool ImpEditView::MouseButtonUp | ( | const MouseEvent & | rMouseEvent | ) |
Definition at line 1710 of file impedit.cxx.
References bClickedInSelection, bReadOnly, CURSOR_BIDILEVEL_DONTKNOW, CutCopy(), GetEditSelection(), GetEditViewPtr(), MouseSettings::GetMiddleButtonAction(), AllSettings::GetMouseSettings(), Application::GetSettings(), GetSystemPrimarySelection(), MouseEvent::IsLeft(), MouseEvent::IsMiddle(), nCursorBidiLevel, nExtraCursorFlags, NONE, nTravelXPos, Paste(), pEditEngine, EditEngine::pImpEditEngine, and TRAVEL_X_DONTKNOW.
bool ImpEditView::MouseMove | ( | const MouseEvent & | rMouseEvent | ) |
Definition at line 1750 of file impedit.cxx.
References GetEditViewPtr(), pEditEngine, and EditEngine::pImpEditEngine.
void ImpEditView::Paste | ( | css::uno::Reference< css::datatransfer::clipboard::XClipboard > const & | rxClipboard, |
bool | bUseSpecial = false |
||
) |
Definition at line 1949 of file impedit.cxx.
References aData, InternalEditStatus::AllowPasteSpecial(), convertLineEnd(), EditEngine::DeleteSelection(), DoAutoScroll(), DoSingleLinePaste(), DrawSelectionXOR(), EDITUNDO_PASTE, EditEngine::GetEditDoc(), GetEditSelection(), GetEditViewPtr(), SotExchange::GetFormatDataFlavor(), EditEngine::GetInternalEditStatus(), EditPaM::GetNode(), EditDoc::GetPos(), EditEngine::HandleBeginPasteOrDrop(), EditEngine::HandleEndPasteOrDrop(), EditSelection::HasRange(), EditEngine::HasValidData(), EditEngine::InsertText(), LINE_SEP, LINEEND_LF, EditSelection::Max(), EditSelection::Min(), PasteOrDropInfos::nEndPara, PasteOrDropInfos::nStartPara, pEditEngine, EditEngine::pImpEditEngine, SetEditSelection(), and ShowCursor().
Referenced by MouseButtonUp(), and PostKeyEvent().
bool ImpEditView::PostKeyEvent | ( | const KeyEvent & | rKeyEvent, |
vcl::Window const * | pFrameWin | ||
) |
Definition at line 1661 of file impedit.cxx.
References bReadOnly, CutCopy(), EDITUNDO_PASTE, GetClipboard(), GetEditViewPtr(), vcl::KeyCode::GetFunction(), KeyEvent::GetKeyCode(), IsPasteEnabled(), Paste(), pEditEngine, EditEngine::pImpEditEngine, and EditEngine::PostKeyEvent().
void ImpEditView::RecalcOutputArea | ( | ) |
Definition at line 965 of file impedit.cxx.
References aAnchorPoint, aOutArea, BottomHCenter, BottomLeft, BottomRight, DoAutoHeight(), DoAutoWidth(), eAnchorMode, tools::Rectangle::GetSize(), Size::Height(), pEditEngine, EditEngine::pImpEditEngine, ResetOutputArea(), Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), TopHCenter, tools::Rectangle::TopLeft(), TopLeft, TopRight, VCenterHCenter, VCenterLeft, VCenterRight, Size::Width(), Point::X(), and Point::Y().
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.
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.
void ImpEditView::ReleaseMouse | ( | ) |
Definition at line 1732 of file impedit.cxx.
References pEditEngine, and EditEngine::pImpEditEngine.
void ImpEditView::RemoveDragAndDropListeners | ( | ) |
Definition at line 2682 of file impedit.cxx.
References bActiveDragAndDropListener, getEditViewCallbacks(), GetWindow(), and mxDnDListener.
Referenced by ~ImpEditView().
void ImpEditView::ResetOutputArea | ( | const tools::Rectangle & | rRect | ) |
Definition at line 905 of file impedit.cxx.
References aOutArea, tools::Rectangle::Bottom(), DoInvalidateMore(), GetOutputDevice(), InvalidateAtWindow(), tools::Rectangle::IsEmpty(), tools::Rectangle::Left(), nInvMore, pEditEngine, EditEngine::pImpEditEngine, tools::Rectangle::Right(), SetOutputArea(), tools::Rectangle::Top(), and Width.
Referenced by ImpEditEngine::FormatDoc(), and RecalcOutputArea().
Pair ImpEditView::Scroll | ( | tools::Long | ndX, |
tools::Long | ndY, | ||
ScrollRangeCheck | nRangeCheck = ScrollRangeCheck::NoNegative |
||
) |
Definition at line 1506 of file impedit.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aOutArea, aVisDocStartPos, tools::Rectangle::Bottom(), tools::Rectangle::Contains(), DBG_ASSERT, DrawSelectionXOR(), EE_NOTIFY_TEXTVIEWSCROLLED, GetCursor(), getEditViewCallbacks(), GetOutputDevice(), vcl::Cursor::GetPos(), vcl::Cursor::GetSize(), GetVisDocArea(), GetVisDocLeft(), GetVisDocTop(), Size::Height(), vcl::Cursor::Hide(), EditView::Invalidate(), comphelper::LibreOfficeKit::isActive(), IsTopToBottom(), IsVertical(), vcl::Cursor::IsVisible(), tools::Rectangle::Left(), OutputDevice::LogicToPixel(), Point::Move(), tools::Rectangle::Move(), PaperWidthTextSize, pEditEngine, pEditView, EditEngine::pImpEditEngine, OutputDevice::PixelToLogic(), pOutWin, tools::Rectangle::Right(), SAL_WARN_IF, vcl::Cursor::SetPos(), vcl::Cursor::Show(), tools::Rectangle::Top(), and Size::Width().
Referenced by dragOver(), and ShowCursor().
void ImpEditView::ScrollStateChange | ( | ) |
Definition at line 1500 of file impedit.cxx.
References getEditViewCallbacks().
Referenced by ImpEditEngine::FormatDoc().
void ImpEditView::SelectionChanged | ( | ) |
Definition at line 315 of file impedit.cxx.
References getEditViewCallbacks().
Referenced by ImpEditView(), and SetEditSelection().
void ImpEditView::SetAnchorMode | ( | EEAnchorMode | eMode | ) |
Definition at line 1034 of file impedit.cxx.
References CalcAnchorPoint(), eAnchorMode, and eMode.
void ImpEditView::SetBackgroundColor | ( | const Color & | rColor | ) |
Definition at line 220 of file impedit.cxx.
References mxBackgroundColor.
|
inlineprivate |
Definition at line 326 of file impedit.hxx.
References mbBroadcastLOKViewCursor.
bool ImpEditView::SetCursorAtPoint | ( | const Point & | rPointPixel | ) |
Definition at line 2102 of file impedit.cxx.
References EditEngine::CheckIdleFormatter(), EditEngine::CursorMoved(), DoAutoScroll(), DrawSelectionXOR(), GetDocPos(), GetEditSelection(), EditPaM::GetNode(), GetOutputArea(), GetOutputDevice(), EditEngine::GetPaM(), EditEngine::GetSelectionEngine(), SelectionEngine::HasAnchor(), comphelper::LibreOfficeKit::isActive(), Max, EditSelection::Max(), Min, EditSelection::Min(), pDragAndDropInfo, pEditEngine, EditEngine::pImpEditEngine, OutputDevice::PixelToLogic(), SetEditSelection(), and ShowCursor().
|
inline |
Definition at line 358 of file impedit.hxx.
References n, and nCursorBidiLevel.
void ImpEditView::SetEditSelection | ( | const EditSelection & | rEditSelection | ) |
Definition at line 245 of file impedit.cxx.
References aEditSelection, EditDoc::Count(), EE_NOTIFY_PROCESSNOTIFICATIONS, EE_NOTIFY_TEXTVIEWSELECTIONCHANGED, EE_NOTIFY_TEXTVIEWSELECTIONCHANGED_ENDD_PARA, EditEngine::GetEditDoc(), EditDoc::GetEndPaM(), EditSelection::HasRange(), comphelper::LibreOfficeKit::isActive(), EditSelection::Max(), EditSelection::Min(), pEditEngine, EditEngine::pImpEditEngine, SelectionChanged(), and EditEngine::SetInSelectionMode().
Referenced by TextConvWrapper::ConvMore_impl(), TextConvWrapper::ConvStart_impl(), CreateAnchor(), DeleteSelected(), DeselectAll(), dragDropEnd(), dragGestureRecognized(), drop(), EditUndoSetAttribs::ImpSetSelection(), IsWrongSpelledWord(), lcl_DoSetSelection(), Paste(), EditUndoDelContent::Redo(), EditUndoConnectParas::Redo(), EditUndoSplitPara::Redo(), EditUndoInsertChars::Redo(), EditUndoRemoveChars::Redo(), EditUndoInsertFeature::Redo(), EditUndoMoveParagraphs::Redo(), EditUndoTransliteration::Redo(), EditUndoManager::Redo(), SetCursorAtPoint(), SpellIgnoreWord(), EditSpellWrapper::SpellMore(), EditSpellWrapper::SpellStart(), EditUndoDelContent::Undo(), EditUndoConnectParas::Undo(), EditUndoSplitPara::Undo(), EditUndoInsertChars::Undo(), EditUndoRemoveChars::Undo(), EditUndoInsertFeature::Undo(), EditUndoMoveParagraphs::Undo(), EditUndoTransliteration::Undo(), EditUndoMarkSelection::Undo(), and EditUndoManager::Undo().
|
inlineprivate |
Definition at line 317 of file impedit.hxx.
References mpEditViewCallbacks.
void ImpEditView::SetInsertMode | ( | bool | bInsert | ) |
Definition at line 1762 of file impedit.cxx.
References DoAutoScroll(), IsInsertMode(), nControl, OVERWRITE, SetFlags(), and ShowCursor().
|
inline |
Definition at line 462 of file impedit.hxx.
void ImpEditView::SetLOKSpecialFlags | ( | LOKSpecialFlags | eFlags | ) |
Definition at line 2754 of file impedit.cxx.
References mpLOKSpecialPositioning.
void ImpEditView::SetLOKSpecialOutputArea | ( | const tools::Rectangle & | rOutputArea | ) |
Definition at line 2725 of file impedit.cxx.
References mpLOKSpecialPositioning.
void ImpEditView::SetLOKSpecialVisArea | ( | const tools::Rectangle & | rVisArea | ) |
Definition at line 2737 of file impedit.cxx.
References mpLOKSpecialPositioning, and tools::Rectangle::TopLeft().
|
inline |
Definition at line 478 of file impedit.hxx.
References mbNegativeX.
void ImpEditView::SetOutputArea | ( | const tools::Rectangle & | rRect | ) |
Definition at line 864 of file impedit.cxx.
References aOutArea, tools::Rectangle::Bottom(), GetOutputDevice(), tools::Rectangle::GetWidth(), tools::Rectangle::IsHeightEmpty(), tools::Rectangle::IsWidthEmpty(), tools::Rectangle::Left(), OutputDevice::LogicToPixel(), OutputDevice::PixelToLogic(), tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetRight(), SetScrollDiffX(), and tools::Rectangle::Top().
Referenced by ResetOutputArea().
|
inline |
Definition at line 355 of file impedit.hxx.
References n, and nScrollDiffX.
Referenced by SetOutputArea().
void ImpEditView::SetSelectionMode | ( | EESelectionMode | eMode | ) |
Definition at line 836 of file impedit.cxx.
References DrawSelectionXOR(), and eSelectionMode.
|
inline |
Definition at line 382 of file impedit.hxx.
References aVisDocStartPos.
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().
|
protected |
Definition at line 2166 of file impedit.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustRight(), VclPtr< class reference_type >::Create(), DBG_ASSERT, OutputDevice::DrawRect(), OutputDevice::GetFillColor(), OutputDevice::GetMapMode(), GetOutputDevice(), tools::Rectangle::GetSize(), Size::Height(), OutputDevice::LogicToPixel(), pDragAndDropInfo, OutputDevice::PixelToLogic(), pOutWin, OutputDevice::SetFillColor(), MapMode::SetOrigin(), tools::Rectangle::TopLeft(), and Size::Width().
Referenced by dragOver().
OUString ImpEditView::SpellIgnoreWord | ( | ) |
Definition at line 1788 of file impedit.cxx.
References EditDoc::Count(), DrawSelectionXOR(), EditEngine::GetEditDoc(), GetEditSelection(), LinguMgr::GetIgnoreAllList(), EditPaM::GetNode(), EditDoc::GetObject(), ContentNode::GetWrongList(), HasSelection(), WrongList::MarkWrongsInvalid(), EditSelection::Max(), n, pEditEngine, EditEngine::pImpEditEngine, EditEngine::SelectWord(), and SetEditSelection().
|
inline |
Definition at line 475 of file impedit.hxx.
References mbSuppressLOKMessages.
|
friend |
Definition at line 257 of file impedit.hxx.
|
friend |
Definition at line 256 of file impedit.hxx.
|
friend |
Definition at line 258 of file impedit.hxx.
|
private |
Definition at line 290 of file impedit.hxx.
Referenced by CalcAnchorPoint(), and RecalcOutputArea().
|
private |
Definition at line 294 of file impedit.hxx.
Referenced by DrawSelectionXOR(), GetEditCursor(), GetEditSelection(), HasSelection(), ImpEditView(), ImplGetEditCursor(), SetEditSelection(), and ShowCursor().
|
private |
Definition at line 291 of file impedit.hxx.
Referenced by CalcAnchorPoint(), DrawSelectionXOR(), GetDocPos(), GetOutputArea(), GetVisDocBottom(), GetVisDocRight(), GetWindowPos(), ImplGetEditCursor(), RecalcOutputArea(), ResetOutputArea(), Scroll(), SetOutputArea(), and ShowCursor().
|
private |
Definition at line 273 of file impedit.hxx.
|
private |
Definition at line 292 of file impedit.hxx.
Referenced by GetVisDocBottom(), GetVisDocLeft(), GetVisDocRight(), GetVisDocTop(), Scroll(), and SetVisDocStartPos().
|
private |
Definition at line 288 of file impedit.hxx.
Referenced by AddDragAndDropListeners(), and RemoveDragAndDropListeners().
|
private |
Definition at line 287 of file impedit.hxx.
Referenced by dragGestureRecognized(), MouseButtonDown(), and MouseButtonUp().
|
private |
Definition at line 286 of file impedit.hxx.
Referenced by dragDropEnd(), dragGestureRecognized(), dragOver(), MouseButtonUp(), and PostKeyEvent().
|
private |
Definition at line 295 of file impedit.hxx.
Referenced by CalcAnchorPoint(), GetAnchorMode(), RecalcOutputArea(), and SetAnchorMode().
|
private |
Definition at line 293 of file impedit.hxx.
Referenced by DrawSelectionXOR(), and SetSelectionMode().
|
private |
Definition at line 306 of file impedit.hxx.
Referenced by SetBroadcastLOKViewCursor(), and ShowCursor().
|
private |
Definition at line 308 of file impedit.hxx.
Referenced by InvalidateAtWindow(), IsNegativeX(), and SetNegativeX().
|
private |
Definition at line 307 of file impedit.hxx.
Referenced by IsSuppressLOKMessages(), ShowCursor(), and SuppressLOKMessages().
|
private |
mechanism to change from the classic refresh mode that simply
Definition at line 304 of file impedit.hxx.
Referenced by getEditViewCallbacks(), and setEditViewCallbacks().
|
private |
Definition at line 305 of file impedit.hxx.
Referenced by DrawSelectionXOR(), GetLOKSpecialOutputArea(), GetLOKSpecialVisArea(), HasLOKSpecialPositioning(), ImplDrawHighlightRect(), InitLOKSpecialPositioning(), lokSelectionCallback(), SetLOKSpecialFlags(), SetLOKSpecialOutputArea(), SetLOKSpecialVisArea(), and ShowCursor().
|
private |
Another shell, just listening to our state, if any.
Definition at line 270 of file impedit.hxx.
Referenced by lokSelectionCallback(), RegisterOtherShell(), and ShowCursor().
|
private |
Containing view shell, if any.
Definition at line 268 of file impedit.hxx.
Referenced by DeselectAll(), DrawSelectionXOR(), GetViewShell(), lokSelectionCallback(), RegisterViewShell(), and ShowCursor().
|
private |
Definition at line 266 of file impedit.hxx.
Referenced by GetBackgroundColor(), and SetBackgroundColor().
|
private |
Definition at line 277 of file impedit.hxx.
Referenced by AddDragAndDropListeners(), dragGestureRecognized(), and RemoveDragAndDropListeners().
|
private |
Definition at line 274 of file impedit.hxx.
Referenced by GetPointer().
|
private |
Definition at line 281 of file impedit.hxx.
Referenced by DoAutoHeight(), DoAutoScroll(), DoAutoSize(), DoAutoWidth(), DoInvalidateMore(), DoSingleLinePaste(), IsInsertMode(), IsPasteEnabled(), and SetInsertMode().
|
private |
Definition at line 284 of file impedit.hxx.
Referenced by GetCursorBidiLevel(), MouseButtonDown(), MouseButtonUp(), and SetCursorBidiLevel().
|
private |
Definition at line 283 of file impedit.hxx.
Referenced by GetEditCursor(), MouseButtonDown(), MouseButtonUp(), and ShowCursor().
|
private |
Definition at line 280 of file impedit.hxx.
Referenced by GetInvalidateMore(), ResetOutputArea(), and SetInvalidateMore().
|
private |
Definition at line 285 of file impedit.hxx.
Referenced by GetScrollDiffX(), and SetScrollDiffX().
|
private |
Definition at line 282 of file impedit.hxx.
Referenced by MouseButtonDown(), and MouseButtonUp().
|
private |
Definition at line 265 of file impedit.hxx.
Referenced by GetCursor(), and ~ImpEditView().
|
private |
Definition at line 275 of file impedit.hxx.
Referenced by dragDropEnd(), dragEnter(), dragExit(), dragGestureRecognized(), dragOver(), drop(), HideDDCursor(), IsSelectionAtPoint(), SetCursorAtPoint(), and ShowDDCursor().
|
private |
Definition at line 271 of file impedit.hxx.
Referenced by Command(), CreateAnchor(), CutCopy(), DeleteSelected(), DeselectAll(), dragDropEnd(), dragGestureRecognized(), dragOver(), DrawSelectionXOR(), drop(), GetDocPos(), GetEditCursor(), GetField(), GetWindowPos(), ImplGetEditCursor(), IsBulletArea(), IsInSelection(), IsSelectionAtPoint(), IsTopToBottom(), IsVertical(), IsWrongSpelledWord(), MouseButtonDown(), MouseButtonUp(), MouseMove(), Paste(), PostKeyEvent(), RecalcOutputArea(), ReleaseMouse(), ResetOutputArea(), Scroll(), SetCursorAtPoint(), SetEditSelection(), ShowCursor(), and SpellIgnoreWord().
|
private |
Definition at line 264 of file impedit.hxx.
Referenced by GetEditViewPtr(), and Scroll().
|
private |
Definition at line 272 of file impedit.hxx.
Referenced by DeselectAll(), DrawSelectionXOR(), GetOutputDevice(), GetPopupParent(), GetWindow(), lokSelectionCallback(), Scroll(), ShowCursor(), ShowDDCursor(), and ~ImpEditView().