LibreOffice Module sd (master) 1
|
Base class for text functions. More...
#include <futext.hxx>
Public Member Functions | |
virtual void | DoExecute (SfxRequest &rReq) override |
virtual bool | KeyInput (const KeyEvent &rKEvt) override |
handle keyboard events More... | |
virtual bool | MouseMove (const MouseEvent &rMEvt) override |
virtual bool | MouseButtonUp (const MouseEvent &rMEvt) override |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual bool | RequestHelp (const HelpEvent &rHEvt) override |
virtual void | ReceiveRequest (SfxRequest &rReq) override |
virtual void | DoubleClick (const MouseEvent &rMEvt) override |
Response of doubleclick. More... | |
virtual void | Activate () override |
activates the function More... | |
virtual void | Deactivate () override |
deactivates the function More... | |
void | SetInEditMode (const MouseEvent &rMEvt, bool bQuickDrag) |
Sets the object into the edit mode. More... | |
void | DeleteDefaultText () |
Text entry is started, if necessary delete the default text. More... | |
SdrTextObj * | GetTextObj () |
virtual rtl::Reference< SdrObject > | CreateDefaultObject (const sal_uInt16 nID, const ::tools::Rectangle &rRectangle) override |
Removed the insertion of default text and putting a new text object directly into edit mode. More... | |
virtual bool | cancel () override |
is called when the current function should be aborted. More... | |
void | InvalidateBindings () |
Public Member Functions inherited from sd::FuConstruct | |
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 |
activates the function More... | |
virtual void | Deactivate () override |
deactivates the function More... | |
virtual void | SelectionHasChanged () override |
bool | IsIgnoreUnexpectedMouseButtonUp () |
void | SetStyleSheet (SfxItemSet &rAttr, SdrObject *pObj) |
set style sheet for the object to be created More... | |
void | SetStyleSheet (SfxItemSet &rAttr, SdrObject *pObj, const bool bUseFillStyle, const bool bUseNoFillStyle) |
Public Member Functions inherited from sd::FuDraw | |
virtual bool | KeyInput (const KeyEvent &rKEvt) override |
Process keyboard input. More... | |
virtual bool | MouseMove (const MouseEvent &rMEvt) override |
virtual bool | MouseButtonUp (const MouseEvent &rMEvt) override |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual bool | RequestHelp (const HelpEvent &rHEvt) override |
virtual void | Activate () override |
activates the function More... | |
virtual void | ForcePointer (const MouseEvent *pMEvt=nullptr) |
Toggle mouse-pointer. More... | |
virtual void | DoubleClick (const MouseEvent &rMEvt) |
Response of doubleclick. More... | |
bool | SetPointer (const SdrObject *pObj, const Point &rPos) |
Set cursor to pointer when in clickable area of an ImageMap. More... | |
bool | SetHelpText (const SdrObject *pObj, const Point &rPos, const SdrViewEvent &rVEvt) |
void | SetPermanent (bool bSet) |
virtual bool | cancel () override |
is called when the current function should be aborted. More... | |
Public Member Functions inherited from sd::FuPoor | |
virtual void | DoExecute (SfxRequest &rReq) |
void | SetMouseButtonCode (sal_uInt16 nNew) |
sal_uInt16 | GetMouseButtonCode () const |
DrawDocShell * | GetDocSh () |
virtual void | DoCut () |
Cut object to clipboard. More... | |
virtual void | DoCopy () |
Copy object to clipboard. More... | |
virtual void | DoPaste () |
Paste object from clipboard. More... | |
virtual void | DoPasteUnformatted () |
Paste unformatted text from clipboard. More... | |
virtual bool | KeyInput (const KeyEvent &rKEvt) |
handle keyboard events More... | |
virtual bool | MouseMove (const MouseEvent &) |
virtual bool | MouseButtonUp (const MouseEvent &rMEvt) |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) |
virtual bool | Command (const CommandEvent &rCEvt) |
virtual bool | RequestHelp (const HelpEvent &rHEvt) |
virtual void | ReceiveRequest (SfxRequest &rReq) |
virtual void | Activate () |
activates the function More... | |
virtual void | Deactivate () |
deactivates the function More... | |
void | SetWindow (::sd::Window *pWin) |
virtual void | SelectionHasChanged () |
sal_uInt16 | GetSlotID () const |
void | StartDelayToScrollTimer () |
virtual rtl::Reference< SdrObject > | CreateDefaultObject (const sal_uInt16 nID, const ::tools::Rectangle &rRectangle) |
virtual bool | cancel () |
is called when the current function should be aborted. More... | |
virtual bool | doConstructOrthogonal () const |
Decide if the object to be created should be created orthogonal. More... | |
Public Member Functions inherited from sd::SimpleReferenceComponent | |
SimpleReferenceComponent () | |
void | acquire () |
@ATTENTION The results are undefined if, for any individual instance of SimpleReferenceComponent, the total number of calls to acquire() exceeds the total number of calls to release() by a platform dependent amount (which, hopefully, is quite large). More... | |
void | release () |
void | Dispose () |
bool | isDisposed () const |
Static Public Member Functions | |
static rtl::Reference< FuPoor > | Create (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) |
static void | ChangeFontSize (bool, OutlinerView *, const FontList *, ::sd::View *) |
Protected Member Functions | |
FuText (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) | |
base class for text functions More... | |
Protected Member Functions inherited from sd::FuConstruct | |
FuConstruct (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) | |
Protected Member Functions inherited from sd::FuDraw | |
FuDraw (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) | |
Base-class for all drawmodul-specific functions. More... | |
virtual | ~FuDraw () override |
Protected Member Functions inherited from sd::FuPoor | |
FuPoor (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq) | |
virtual | ~FuPoor () override |
DECL_LINK (DelayHdl, Timer *, void) | |
void | SwitchLayer (sal_Int32 nOffset) |
Switch to another layer. More... | |
DECL_LINK (ScrollHdl, Timer *, void) | |
void | ForceScroll (const Point &aPixPos) |
scroll when approached the border of the window; is called by MouseMove More... | |
DECL_LINK (DragHdl, Timer *, void) | |
Protected Member Functions inherited from sd::SimpleReferenceComponent | |
virtual void | disposing () |
virtual | ~SimpleReferenceComponent () |
Private Member Functions | |
virtual void | disposing () override |
void | ImpSetAttributesForNewTextObject (SdrTextObj *pTxtObj) |
void | ImpSetAttributesFitToSize (SdrTextObj *pTxtObj) |
void | ImpSetAttributesFitToSizeVertical (SdrTextObj *pTxtObj) |
Private Attributes | |
::unotools::WeakReference< SdrTextObj > | mxTextObj |
bool | bFirstObjCreated |
bool | bJustEndedEdit |
SfxRequest & | rRequest |
Additional Inherited Members | |
Static Public Attributes inherited from sd::FuPoor | |
static const int | HITPIX = 2 |
static const int | HITLOG = 53 |
static const int | DRGLOG = 53 |
Static Protected Member Functions inherited from sd::FuPoor | |
static void | ImpForceQuadratic (::tools::Rectangle &rRect) |
Protected Attributes inherited from sd::FuDraw | |
PointerStyle | aNewPointer |
PointerStyle | aOldPointer |
bool | bMBDown |
bool | bDragHelpLine |
sal_uInt16 | nHelpLine |
bool | bPermanent |
Protected Attributes inherited from sd::FuPoor | |
::sd::View * | mpView |
ViewShell * | mpViewShell |
VclPtr< ::sd::Window > | mpWindow |
DrawDocShell * | mpDocSh |
SdDrawDocument * | mpDoc |
sal_uInt16 | nSlotId |
Timer | aScrollTimer |
for auto-scrolling More... | |
Timer | aDragTimer |
for Drag&Drop More... | |
bool | bIsInDragMode |
Point | aMDPos |
position of MouseButtonDown More... | |
bool | bNoScrollUntilInside |
Flag to prevent auto-scrolling until one drags from outside into the window. More... | |
Timer | aDelayToScrollTimer |
timer to delay scrolling (~ 1 sec) when dragging out of the window More... | |
bool | bScrollable |
bool | bDelayActive |
bool | bFirstMouseMove |
Base class for text functions.
Definition at line 34 of file futext.hxx.
|
protected |
|
overridevirtual |
activates the function
Reimplemented from sd::FuConstruct.
Reimplemented in sd::FuFormatPaintBrush.
Definition at line 954 of file futext.cxx.
References sd::FuConstruct::Activate(), sd::ViewShell::GetFrameView(), SdrObjEditView::GetTextEditOutlinerView(), sd::FuPoor::HITPIX, sd::FrameView::IsQuickEdit(), sd::FuPoor::mpView, sd::FuPoor::mpViewShell, SdrCreateView::SetEditMode(), SdrPaintView::SetHitTolerancePixel(), SdrObjEditView::SetQuickTextEditMode(), and OutlinerView::ShowCursor().
|
overridevirtual |
is called when the current function should be aborted.
This is used when a function gets a KEY_ESCAPE but can also be called directly.
Reimplemented from sd::FuDraw.
Definition at line 1328 of file futext.cxx.
References SdrObjEditView::IsTextEdit(), sd::FuPoor::mpView, mxTextObj, sd::View::SdrEndTextEdit(), SdrCreateView::SetCurrentObj(), and SdrCreateView::SetEditMode().
Referenced by KeyInput().
|
static |
Definition at line 1345 of file futext.cxx.
References SdrEditView::BegUndo(), EditView::ChangeFontSize(), ChangeFontSize(), DynCastSdrTextObj(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), SdrEditView::EndUndo(), SfxItemSet::Get(), EditView::GetEditEngine(), OutlinerView::GetEditView(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItemSet(), EditEngine::GetParagraphCount(), SdrPaintView::GetSdrPageView(), SdrObjEditView::getSelectionController(), SdrTextObj::getTextCount(), SdrObjEditView::GetTextEditOutlinerView(), EditEngine::GetTextLen(), ESelection::nEndPara, ESelection::nEndPos, sd::View::SdrBeginTextEdit(), sd::View::SdrEndTextEdit(), SdResId(), SdrTextObj::setActiveText(), SdrTextObj::SetObjectItemNoBroadcast(), and OutlinerView::SetSelection().
Referenced by ChangeFontSize(), sd::DrawViewShell::ExecChar(), and sd::TextObjectBar::Execute().
|
static |
Definition at line 145 of file futext.cxx.
References FuText().
Referenced by sd::DrawViewShell::FuPermanent().
|
overridevirtual |
Removed the insertion of default text and putting a new text object directly into edit mode.
Reimplemented from sd::FuPoor.
Definition at line 1281 of file futext.cxx.
References DynCastSdrTextObj(), SdrCreateView::GetCurrentObjIdentifier(), SdrCreateView::GetCurrentObjInventor(), SdrPaintView::getSdrModelFromSdrView(), SdrPaintView::GetSdrPageView(), ImpSetAttributesFitToSize(), ImpSetAttributesFitToSizeVertical(), ImpSetAttributesForNewTextObject(), SdrObjFactory::MakeNewObject(), sd::FuPoor::mpView, sd::FuPoor::nSlotId, and sd::View::SdrBeginTextEdit().
|
overridevirtual |
deactivates the function
Reimplemented from sd::FuConstruct.
Reimplemented in sd::FuFormatPaintBrush.
Definition at line 973 of file futext.cxx.
References sd::FuConstruct::Deactivate(), SdrObjEditView::GetTextEditOutlinerView(), OutlinerView::HideCursor(), sd::FuPoor::HITPIX, sd::FuPoor::mpView, and SdrPaintView::SetHitTolerancePixel().
void FuText::DeleteDefaultText | ( | ) |
Text entry is started, if necessary delete the default text.
Definition at line 1124 of file futext.cxx.
References Outliner::EnableUndo(), unotools::WeakReference< class interface_type >::get(), Outliner::GetParagraph(), SdPage::GetPresObjKind(), Outliner::GetStyleSheet(), SdrObjEditView::GetTextEditOutliner(), SdrPage::IsMasterPage(), Outliner::IsUndoEnabled(), sd::FuPoor::mpView, mxTextObj, Notes, Outline, Outliner::SetStyleSheet(), Outliner::SetText(), Text, and Title.
Referenced by SetInEditMode().
|
overrideprivatevirtual |
Reimplemented from sd::SimpleReferenceComponent.
Definition at line 151 of file futext.cxx.
References SdrModel::GetStyleSheetPool(), SdrObjEditView::GetTextEditOutliner(), sd::FuPoor::mpDoc, sd::FuPoor::mpView, mxTextObj, sd::View::SdrEndTextEdit(), and Outliner::SetStyleSheetPool().
|
overridevirtual |
Reimplemented from sd::FuPoor.
Reimplemented in sd::FuFormatPaintBrush.
Definition at line 180 of file futext.cxx.
References SdrMarkView::AreObjectsMarked(), DynCastSdrTextObj(), sd::ToolBarManager::Function, SfxItemSet::Get(), SfxRequest::GetArgs(), SfxItemSet::GetItemState(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrPaintView::GetSdrPageView(), sd::ViewShellBase::GetToolBarManager(), sd::ViewShell::GetViewShellBase(), SdrMarkView::MarkObj(), SdrViewEvent::mpObj, SdrViewEvent::mpRootObj, sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, mxTextObj, sd::FuPoor::nSlotId, SdrView::PickAnything(), rRequest, SdrCreateView::SetCurrentObj(), SdrCreateView::SetEditMode(), and SetInEditMode().
|
overridevirtual |
|
inline |
Definition at line 55 of file futext.hxx.
References unotools::WeakReference< class interface_type >::get(), and mxTextObj.
Referenced by MouseButtonUp(), and SetInEditMode().
|
private |
Definition at line 543 of file futext.cxx.
References SdrTextObj::AdjustTextFrameWidthAndHeight(), SfxShell::GetPool(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), sd::FuPoor::mpViewShell, SfxItemSet::Put(), and SdrObject::SetMergedItemSet().
Referenced by CreateDefaultObject(), and MouseButtonUp().
|
private |
Definition at line 554 of file futext.cxx.
References SdrTextObj::AdjustTextFrameWidthAndHeight(), SfxShell::GetPool(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), sd::FuPoor::mpViewShell, SfxItemSet::Put(), and SdrObject::SetMergedItemSet().
Referenced by CreateDefaultObject(), and MouseButtonUp().
|
private |
Definition at line 510 of file futext.cxx.
References SdrTextObj::AdjustTextFrameWidthAndHeight(), SfxViewShell::Current(), SfxShell::GetPool(), SfxViewShell::isLOKMobilePhone(), SfxViewShell::isLOKTablet(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), sd::FuPoor::mpViewShell, sd::FuPoor::nSlotId, SfxItemSet::Put(), SdResId(), SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SdrObject::SetMergedItemSet(), and SdrTextObj::SetText().
Referenced by CreateDefaultObject(), and MouseButtonUp().
void FuText::InvalidateBindings | ( | ) |
Definition at line 1408 of file futext.cxx.
References SfxViewFrame::GetBindings(), sd::ViewShell::GetViewFrame(), SfxBindings::Invalidate(), sd::FuPoor::mpViewShell, and sd::SidArray.
Referenced by sd::ViewShell::KeyInput(), sd::ViewShell::MouseButtonDown(), and sd::ViewShell::MouseButtonUp().
|
overridevirtual |
handle keyboard events
Reimplemented from sd::FuDraw.
Reimplemented in sd::FuFormatPaintBrush.
Definition at line 881 of file futext.cxx.
References sd::FuDraw::bPermanent, cancel(), EditEngine::DoesKeyChangeText(), unotools::WeakReference< class interface_type >::get(), SfxViewFrame::GetBindings(), KeyEvent::GetCharCode(), vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), sd::ViewShell::GetViewFrame(), SfxBindings::Invalidate(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), vcl::KeyCode::IsMod3(), SfxObjectShell::IsReadOnly(), vcl::KeyCode::IsShift(), KEY_ESCAPE, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RETURN, sd::FuDraw::KeyInput(), FmFormView::KeyInput(), sd::FuPoor::mpDocSh, sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, mxTextObj, SdrCreateView::SetCurrentObj(), SdrCreateView::SetEditMode(), and sd::SidArray.
|
overridevirtual |
Reimplemented from sd::FuConstruct.
Reimplemented in sd::FuFormatPaintBrush.
Definition at line 246 of file futext.cxx.
References sd::FuPoor::aDragTimer, sd::FuPoor::aMDPos, SdrCreateView::BegCreateObj(), E3dView::BegDragObj(), SdrMarkView::BegMarkObj(), sd::FuPoor::bFirstMouseMove, bFirstObjCreated, sd::FuPoor::bIsInDragMode, bJustEndedEdit, sd::FuDraw::bMBDown, sd::FuDraw::bPermanent, DynCastSdrTextObj(), SfxDispatcher::ExecuteList(), sd::FuDraw::ForcePointer(), unotools::WeakReference< class interface_type >::get(), SfxViewFrame::GetBindings(), MouseEvent::GetClicks(), SfxViewFrame::GetDispatcher(), SdrDragView::GetDragThresholdPixels(), SvxFieldItem::GetField(), OutlinerView::GetFieldUnderMousePointer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SdrPaintView::GetSdrPageView(), SdrObjEditView::getSelectionController(), SdrObjEditView::GetTextEditOutlinerView(), SvxURLField::GetURL(), sd::ViewShell::GetViewFrame(), SfxBindings::Invalidate(), MouseEvent::IsLeft(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), MouseEvent::IsRight(), MouseEvent::IsShift(), SdrObjEditView::IsTextEdit(), SdrMarkView::MarkObj(), SdrViewEvent::meEvent, FmFormView::MouseButtonDown(), sd::FuDraw::MouseButtonDown(), sd::FuPoor::mpDocSh, SdrViewEvent::mpHdl, SdrViewEvent::mpObj, SdrViewEvent::mpRootObj, SdrViewEvent::mpURLField, sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, mxTextObj, sd::FuPoor::nSlotId, SdrView::PickAnything(), sd::View::SdrEndTextEdit(), SdrCreateView::SetCurrentObj(), SdrMarkView::SetDragMode(), SdrCreateView::SetEditMode(), SetInEditMode(), sd::SidArray, Timer::Start(), and SdrView::UnmarkAll().
Referenced by sd::FuFormatPaintBrush::MouseButtonDown().
|
overridevirtual |
Reimplemented from sd::FuConstruct.
Reimplemented in sd::FuFormatPaintBrush.
Definition at line 564 of file futext.cxx.
References SdrMarkView::AdjustMarkHdl(), Point::AdjustX(), Point::AdjustY(), sd::FuPoor::aDragTimer, sd::FuPoor::aMDPos, SdrMarkView::AreObjectsMarked(), SdrCreateView::BegCreateObj(), bFirstObjCreated, sd::FuPoor::bIsInDragMode, bJustEndedEdit, sd::FuDraw::bMBDown, sd::FuDraw::bPermanent, sd::FuPoor::cancel(), DynCastSdrTextObj(), EE_PARA_WRITINGDIR(), SdrCreateView::EndAction(), SdrCreateView::EndCreateObj(), SdrDragView::EndDragObj(), SfxDispatcher::Execute(), SdrEditView::ForceMarkedToAnotherPage(), SdrTextObj::ForceOutlinerParaObject(), sd::FuDraw::ForcePointer(), unotools::WeakReference< class interface_type >::get(), SfxItemSet::Get(), SfxViewFrame::GetBindings(), MouseEvent::GetClicks(), SdrCreateView::GetCreateObj(), SdrPaintView::GetDefaultAttr(), SfxViewFrame::GetDispatcher(), SdrDragView::GetDragThresholdPixels(), sd::ViewShell::GetFrameView(), SdrPaintView::getHitTolLog(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrTextObj::GetOutlinerParaObject(), SfxShell::GetPool(), MouseEvent::GetPosPixel(), SdrPaintView::GetSdrPageView(), GetTextObj(), sd::ViewShell::GetViewFrame(), ImpSetAttributesFitToSize(), ImpSetAttributesFitToSizeVertical(), ImpSetAttributesForNewTextObject(), SfxBindings::Invalidate(), SdrCreateView::IsAction(), Task::IsActive(), SdrCreateView::IsCreateObj(), SdrDragView::IsDragObj(), SdrDragView::IsDragWithCopy(), OutlinerParaObject::IsEffectivelyVertical(), sd::FuConstruct::IsIgnoreUnexpectedMouseButtonUp(), MouseEvent::IsLeft(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), SdrPageView::IsObjMarkable(), sd::View::IsPresObjSelected(), SfxObjectShell::IsReadOnly(), MouseEvent::IsRight(), MouseEvent::IsShift(), SdrSnapView::IsSnapEnabled(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextMinFrameHeightItem(), makeSdrTextMinFrameWidthItem(), SdrMarkView::MarkObj(), sd::FuConstruct::MouseButtonUp(), SdrView::MouseButtonUp(), E3dView::MovAction(), sd::FuPoor::mpDocSh, SdrViewEvent::mpRootObj, sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, mxTextObj, sd::FuPoor::nSlotId, SdrView::PickAnything(), SdrMarkView::PickHandle(), SdrMarkView::PickObj(), SfxItemSet::Put(), rSet, sd::View::SdrEndTextEdit(), SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_TOP, SdrCreateView::SetCurrentObj(), SdrTextObj::SetDisableAutoWidthOnDragging(), SdrDragView::SetDragWithCopy(), SdrCreateView::SetEditMode(), SetInEditMode(), SdrObject::SetMergedItemSet(), SdrSnapView::SetSnapEnabled(), OutlinerParaObject::SetVertical(), sd::SidArray, Task::Stop(), SdrMarkView::UnmarkAllObj(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from sd::FuConstruct.
Reimplemented in sd::FuFormatPaintBrush.
Definition at line 484 of file futext.cxx.
References sd::FuPoor::aDragTimer, sd::FuPoor::bFirstMouseMove, sd::FuDraw::ForcePointer(), sd::FuPoor::ForceScroll(), MouseEvent::GetPosPixel(), SdrCreateView::IsAction(), Task::IsActive(), SfxObjectShell::IsReadOnly(), sd::FuDraw::MouseMove(), E3dView::MovAction(), sd::FuPoor::mpDocSh, sd::FuPoor::mpView, sd::FuPoor::mpWindow, and Task::Stop().
Referenced by sd::FuFormatPaintBrush::MouseMove().
|
overridevirtual |
Reimplemented from sd::FuPoor.
Definition at line 1206 of file futext.cxx.
References SdrMarkView::AreObjectsMarked(), DynCastSdrTextObj(), unotools::WeakReference< class interface_type >::get(), SfxItemSet::Get(), SfxRequest::GetArgs(), sd::ViewShell::GetFrameView(), SfxItemSet::GetItemState(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetSdrPageView(), SfxRequest::GetSlot(), SdrObjEditView::GetTextEditObject(), sd::FrameView::IsQuickEdit(), SdrMarkView::MarkObj(), SdrViewEvent::mpObj, SdrViewEvent::mpRootObj, sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, mxTextObj, sd::FuPoor::nSlotId, SdrView::PickAnything(), sd::FuPoor::ReceiveRequest(), and SetInEditMode().
|
overridevirtual |
Reimplemented from sd::FuDraw.
Definition at line 1161 of file futext.cxx.
References tools::Rectangle::BottomRight(), INetURLObject::decode(), unotools::WeakReference< class interface_type >::get(), SvxFieldItem::GetField(), OutlinerView::GetFieldUnderMousePointer(), HelpEvent::GetMousePosPixel(), SdrObjEditView::GetTextEditOutlinerView(), Help::IsBalloonHelpEnabled(), Help::IsQuickHelpEnabled(), sd::FuPoor::mpView, sd::FuPoor::mpWindow, mxTextObj, sd::FuDraw::RequestHelp(), Help::ShowBalloon(), Help::ShowQuickHelp(), tools::Rectangle::TopLeft(), and INetURLObject::WithCharset.
void FuText::SetInEditMode | ( | const MouseEvent & | rMEvt, |
bool | bQuickDrag | ||
) |
Sets the object into the edit mode.
Definition at line 988 of file futext.cxx.
References aNewSelection, bFirstObjCreated, sd::FuDraw::bPermanent, DeleteDefaultText(), EE_INDEX_NOT_FOUND, EE_PARA_NOT_FOUND, unotools::WeakReference< class interface_type >::get(), sd::ViewShell::GetFrameView(), SdrPageWindow::GetOverlayManager(), SdrPageView::GetPage(), SdrPageView::GetPageWindow(), SdrPageWindow::GetPaintWindow(), Outliner::GetParagraph(), Outliner::GetParagraphCount(), MouseEvent::GetPosPixel(), OutlinerParaObject::GetRotation(), SdrPaintView::GetSdrPageView(), Outliner::GetText(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutliner(), SdrObjEditView::GetTextEditOutlinerView(), GetTextObj(), OutlinerParaObject::GetVertical(), OutlinerParaObject::IsEffectivelyVertical(), sd::FrameView::IsQuickEdit(), OutlinerView::MouseButtonDown(), OutlinerView::MouseButtonUp(), OutlinerView::MouseMove(), sd::FuPoor::mpDoc, sd::FuPoor::mpView, sd::FuPoor::mpViewShell, sd::FuPoor::mpWindow, mxTextObj, sd::FuPoor::nSlotId, SdrPaintWindow::OutputToWindow(), SdrPageView::PageWindowCount(), SdrView::PickAnything(), sd::View::RestoreDefaultText(), sd::View::SdrBeginTextEdit(), sd::View::SdrEndTextEdit(), SdrMakeOutliner(), SdrCreateView::SetCurrentObj(), SdrCreateView::SetEditMode(), and OutlinerView::SetSelection().
Referenced by DoExecute(), MouseButtonDown(), MouseButtonUp(), and ReceiveRequest().
|
private |
Definition at line 84 of file futext.hxx.
Referenced by MouseButtonDown(), MouseButtonUp(), and SetInEditMode().
|
private |
Definition at line 85 of file futext.hxx.
Referenced by MouseButtonDown(), and MouseButtonUp().
|
private |
Definition at line 83 of file futext.hxx.
Referenced by cancel(), DeleteDefaultText(), disposing(), DoExecute(), GetTextObj(), KeyInput(), MouseButtonDown(), MouseButtonUp(), ReceiveRequest(), RequestHelp(), and SetInEditMode().
|
private |
Definition at line 87 of file futext.hxx.
Referenced by DoExecute().