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:
[legend]
Collaboration diagram for FuText:
[legend]

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
ScDrawViewpView
 
ScTabViewShellrViewShell
 
VclPtr< vcl::WindowpWindow
 
SdrModelpDrDoc
 
SfxRequest aSfxRequest
 
Timer aScrollTimer
 
Timer aDragTimer
 
bool bIsInDragMode
 
Point aMDPos
 

Detailed Description

Base class for Text functions.

Definition at line 28 of file futext.hxx.

Constructor & Destructor Documentation

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

Definition at line 101 of file futext.cxx.

FuText::~FuText ( )
overridevirtual

Definition at line 107 of file futext.cxx.

Member Function Documentation

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

Reimplemented from FuDraw.

Definition at line 474 of file futext.cxx.

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

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

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

Reimplemented from FuConstruct.

Definition at line 112 of file futext.cxx.

References FuPoor::aDragTimer, FuPoor::aMDPos, FuPoor::aSfxRequest, SdrCreateView::BegCreateObj(), E3dView::BegDragObj(), SdrMarkView::BegMarkObj(), SdrMarkView::BegMarkPoints(), FuPoor::bIsInDragMode, vcl::Window::CaptureMouse(), Execute, SfxDispatcher::Execute(), SfxViewFrame::GetBindings(), MouseEvent::GetButtons(), ScViewData::GetDispatcher(), SdrMarkView::GetHdl(), SdrMarkView::GetHdlNum(), SdrPaintView::getHitTolLog(), SdrHdl::GetKind(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), 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(), OutlinerView::MouseButtonDown(), FmFormView::MouseButtonDown(), SdrMarkView::PickHandle(), SdrMarkView::PickObj(), OutputDevice::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)
overridevirtual
bool FuText::MouseMove ( const MouseEvent rMEvt)
overridevirtual
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: