LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | List of all members
FuText Class Reference

Base class for Text functions. More...

#include <futext.hxx>

Inheritance diagram for FuText:
Collaboration diagram for FuText:

Public Member Functions

 FuText (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
virtual ~FuText () override
virtual bool KeyInput (const KeyEvent &rKEvt) override
virtual bool MouseMove (const MouseEvent &rMEvt) override
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
virtual void Activate () override
virtual void Deactivate () override
virtual void ForcePointer (const MouseEvent *pMEvt) override
void SetInEditMode (SdrObject *pObj=nullptr, const Point *pMousePixel=nullptr, bool bCursorToEnd=false, const KeyEvent *pInitialKey=nullptr)
void StopEditMode ()
virtual SdrObjectUniquePtr CreateDefaultObject (const sal_uInt16 nID, const tools::Rectangle &rRectangle) override
- Public Member Functions inherited from FuConstruct
 FuConstruct (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
virtual ~FuConstruct () override
bool SimpleMouseButtonUp (const MouseEvent &rMEvt)
- Public Member Functions inherited from FuDraw
 FuDraw (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
virtual ~FuDraw () override
bool IsEditingANote () const
bool IsSizingOrMovingNote (const MouseEvent &rMEvt) const
- Public Member Functions inherited from FuPoor
 FuPoor (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
virtual ~FuPoor ()
void SetMouseButtonCode (sal_uInt16 nNew)
sal_uInt16 GetMouseButtonCode () const
sal_uInt8 Command (const CommandEvent &rCEvt)
void SetWindow (vcl::Window *pWin)
sal_uInt16 GetSlotID () const
bool IsDetectiveHit (const Point &rLogicPos)
void StopDragTimer ()
virtual bool doConstructOrthogonal () const

Private Member Functions

std::unique_ptr< SdrOutlinerMakeOutliner ()

Additional Inherited Members

- Protected Member Functions inherited from FuPoor
 DECL_LINK (ScrollHdl, Timer *, void)
void ForceScroll (const Point &aPixPos)
 DECL_LINK (DragTimerHdl, Timer *, void)
 DECL_LINK (DragHdl, void *, void)
- Static Protected Member Functions inherited from FuPoor
static void ImpForceQuadratic (tools::Rectangle &rRect)
- Protected Attributes inherited from FuDraw
PointerStyle aNewPointer
PointerStyle aOldPointer
- Protected Attributes inherited from FuPoor
VclPtr< vcl::WindowpWindow
SfxRequest aSfxRequest
Timer aScrollTimer
Timer aDragTimer
bool bIsInDragMode
Point aMDPos

Detailed Description

Base class for Text functions.

Definition at line 27 of file futext.hxx.

Constructor & Destructor Documentation

FuText::FuText ( ScTabViewShell rViewSh,
vcl::Window pWin,
ScDrawView pView,
SdrModel pDoc,
const SfxRequest rReq 

Definition at line 102 of file futext.cxx.

FuText::~FuText ( )

Definition at line 108 of file futext.cxx.

Member Function Documentation

void FuText::Activate ( )
SdrObjectUniquePtr FuText::CreateDefaultObject ( const sal_uInt16  nID,
const tools::Rectangle rRectangle 
void FuText::Deactivate ( )
void FuText::ForcePointer ( const MouseEvent pMEvt)

Reimplemented from FuDraw.

Definition at line 475 of file futext.cxx.

References FuDraw::aNewPointer, FuPoor::rViewShell, and ScTabView::SetActivePointer().

bool FuText::KeyInput ( const KeyEvent rKEvt)
std::unique_ptr< SdrOutliner > FuText::MakeOutliner ( )
bool FuText::MouseButtonDown ( const MouseEvent rMEvt)

?? the default values are not correct when result is without outliner ???!?

Reimplemented from FuConstruct.

Definition at line 113 of file futext.cxx.

References FuPoor::aDragTimer, FuPoor::aMDPos, FuPoor::aSfxRequest, SdrCreateView::BegCreateObj(), E3dView::BegDragObj(), SdrMarkView::BegMarkObj(), SdrMarkView::BegMarkPoints(), FuPoor::bIsInDragMode, vcl::Window::CaptureMouse(), SfxDispatcher::Execute(), Execute(), SfxViewFrame::GetBindings(), MouseEvent::GetButtons(), ScViewData::GetDispatcher(), SdrMarkView::GetHdl(), SdrMarkView::GetHdlNum(), SdrPaintView::getHitTolLog(), SdrHdl::GetKind(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), vcl::Window::GetOutDev(), SdrObject::GetOutlinerParaObject(), MouseEvent::GetPosPixel(), SdrView::GetPreferredPointer(), SfxRequest::GetSlot(), SdrObjEditView::GetTextEditOutlinerView(), ScTabView::GetViewData(), SfxViewShell::GetViewFrame(), SdrMarkView::HasMarkablePoints(), SfxBindings::Invalidate(), FuDraw::IsEditingANote(), SdrMarkView::IsEditMode(), MouseEvent::IsLeft(), SdrMarkView::IsMarkedHit(), MouseEvent::IsMod1(), ScDrawLayer::IsNoteCaption(), SdrMarkView::IsPointMarkable(), SdrMarkView::IsPointMarked(), MouseEvent::IsShift(), FuDraw::IsSizingOrMovingNote(), SdrObjEditView::IsTextEdit(), OutlinerParaObject::IsVertical(), lcl_InvalidateAttribs(), lcl_UpdateHyphenator(), MakeOutliner(), SdrMarkView::MarkObj(), SdrMarkView::MarkPoint(), FmFormView::MouseButtonDown(), OutlinerView::MouseButtonDown(), SdrMarkView::PickHandle(), SdrMarkView::PickObj(), vcl::Window::PixelToLogic(), FuPoor::pView, FuPoor::pWindow, FuPoor::rViewShell, ScDrawView::SdrBeginTextEdit(), ScTabView::SetActivePointer(), SdrCreateView::SetCreateMode(), SdrMarkView::SetDragMode(), ScTabViewShell::SetDrawTextUndo(), FuPoor::SetMouseButtonCode(), Timer::Start(), StopEditMode(), SdrView::UnmarkAll(), SdrMarkView::UnmarkAllObj(), SdrMarkView::UnmarkAllPoints(), and SdrMarkView::UnmarkPoint().

bool FuText::MouseButtonUp ( const MouseEvent rMEvt)
bool FuText::MouseMove ( const MouseEvent rMEvt)
void FuText::SetInEditMode ( SdrObject pObj = nullptr,
const Point pMousePixel = nullptr,
bool  bCursorToEnd = false,
const KeyEvent pInitialKey = nullptr 
void FuText::StopEditMode ( )

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