LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
sd::FuTemplate Class Referencefinal

#include <futempl.hxx>

Inheritance diagram for sd::FuTemplate:
[legend]
Collaboration diagram for sd::FuTemplate:
[legend]

Public Member Functions

virtual void Activate () override
 activates the function More...
 
virtual void Deactivate () override
 deactivates the function More...
 
virtual void DoExecute (SfxRequest &rReq) override
 
- Public Member Functions inherited from sd::FuPoor
virtual void DoExecute (SfxRequest &rReq)
 
void SetMouseButtonCode (sal_uInt16 nNew)
 
sal_uInt16 GetMouseButtonCode () const
 
DrawDocShellGetDocSh ()
 
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< SdrObjectCreateDefaultObject (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< FuPoorCreate (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
 

Private Member Functions

 FuTemplate (ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
 

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
 
- 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 ()
 
- Static Protected Member Functions inherited from sd::FuPoor
static void ImpForceQuadratic (::tools::Rectangle &rRect)
 
- Protected Attributes inherited from sd::FuPoor
::sd::ViewmpView
 
ViewShellmpViewShell
 
VclPtr< ::sd::WindowmpWindow
 
DrawDocShellmpDocSh
 
SdDrawDocumentmpDoc
 
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
 

Detailed Description

Definition at line 26 of file futempl.hxx.

Constructor & Destructor Documentation

◆ FuTemplate()

sd::FuTemplate::FuTemplate ( ViewShell pViewSh,
::sd::Window pWin,
::sd::View pView,
SdDrawDocument pDoc,
SfxRequest rReq 
)
private

Definition at line 77 of file futempl.cxx.

Referenced by Create().

Member Function Documentation

◆ Activate()

void sd::FuTemplate::Activate ( )
overridevirtual

activates the function

Reimplemented from sd::FuPoor.

Definition at line 628 of file futempl.cxx.

◆ Create()

rtl::Reference< FuPoor > sd::FuTemplate::Create ( ViewShell pViewSh,
::sd::Window pWin,
::sd::View pView,
SdDrawDocument pDoc,
SfxRequest rReq 
)
static

◆ Deactivate()

void sd::FuTemplate::Deactivate ( )
overridevirtual

deactivates the function

Reimplemented from sd::FuPoor.

Definition at line 632 of file futempl.cxx.

◆ DoExecute()

void sd::FuTemplate::DoExecute ( SfxRequest rReq)
overridevirtual

Reimplemented from sd::FuPoor.

Definition at line 94 of file futempl.cxx.

References SdrObject::ActionChanged(), aName, SfxRequest::AppendItem(), SdrMarkView::AreObjectsMarked(), aStr, aUIName, Background, BackgroundObjects, SdStyleSheet::BroadcastSdStyleSheetChange(), sdr::properties::CleanupFillProperties(), SfxItemSet::ClearInvalidItems(), SfxItemSet::ClearItem(), SdAbstractDialogFactory::Create(), SdAbstractDialogFactory::CreateSdPresLayoutTemplateDlg(), SdAbstractDialogFactory::CreateSdTabTemplateDlg(), ScopedVclPtr< class reference_type >::disposeAndReset(), Draw, EE_CHAR_BKGCOLOR(), EE_CHAR_LANGUAGE(), EE_CHAR_LANGUAGE_CJK(), EE_CHAR_LANGUAGE_CTL(), EE_PARA_NUMBULLET(), Exception, SfxDispatcher::Execute(), SfxStyleSheetBasePool::Find(), SfxItemSet::Get(), sd::ViewShell::GetActualPage(), SfxRequest::GetArg(), SfxRequest::GetArgs(), sd::View::GetAttributes(), SfxViewFrame::GetBindings(), SvxBrushItem::GetColor(), SfxViewFrame::GetDispatcher(), SdDrawDocument::GetDocSh(), SdDrawDocument::GetDocumentType(), sd::DrawViewShell::GetEditMode(), SfxStyleSheetBase::GetFamily(), sd::ViewShell::GetFrameWeld(), SfxStyleSheetBase::GetHelpId(), SfxItemSet::GetItem(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SfxStyleSheetBase::GetMask(), SfxStyleSheetBase::GetName(), SvxNumBulletItem::GetNumRule(), SdDrawDocument::GetOnlineSpell(), sd::DrawViewShell::GetPageKind(), SdDrawDocument::GetPool(), SfxRequest::GetSlot(), sd::View::GetStyleSheet(), SdrObjEditView::GetTextEditObject(), CntUnencodedStringItem::GetValue(), GetValue, sd::ViewShell::GetViewFrame(), Handout, SfxBindings::Invalidate(), SfxShell::Invalidate(), SdrObjListIter::IsMore(), SfxStyleSheetBasePool::Make(), MasterPage, sd::FuPoor::mpDoc, sd::FuPoor::mpDocSh, sd::FuPoor::mpView, sd::FuPoor::mpViewShell, SdrObjListIter::Next(), Notes, Outline_1, Outline_2, Outline_3, Outline_4, Outline_5, Outline_6, Outline_7, Outline_8, Outline_9, p, SfxItemSet::Put(), SfxStyleSheetBasePool::Remove(), RET_CANCEL, RET_OK, SD_MOD, SdResId(), SdDrawDocument::SetChanged(), SfxStyleSheetBase::SetHidden(), SfxStyleSheetBase::SetParent(), SfxRequest::SetReturnValue(), sd::View::SetStyleSheet(), SdDrawDocument::StartOnlineSpelling(), SdDrawDocument::StopOnlineSpelling(), Subtitle, Title, o3tl::toInt32(), SdrPage::TRG_GetMasterPage(), XATTR_FILLBITMAP(), XATTR_FILLFLOATTRANSPARENCE(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), XATTR_LINEDASH(), XATTR_LINEEND(), XATTR_LINESTART(), and xModel.


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