LibreOffice Module reportdesign (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
rptui::DlgEdFunc Class Reference

#include <dlgedfunc.hxx>

Inheritance diagram for rptui::DlgEdFunc:
[legend]
Collaboration diagram for rptui::DlgEdFunc:
[legend]

Public Member Functions

 DlgEdFunc (OReportSection *pParent)
 
virtual ~DlgEdFunc ()
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt)
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt)
 
virtual bool MouseMove (const MouseEvent &rMEvt)
 
bool handleKeyEvent (const KeyEvent &_rEvent)
 checks if the keycode is known by the child windows More...
 
bool isOverlapping (const MouseEvent &rMEvt)
 returns <TRUE> if the mouse event is over an existing object More...
 
void setOverlappedControlColor (Color _nColor)
 
void stopScrollTimer ()
 
void deactivateOle (bool _bSelect=false)
 deactivate all ole object More...
 
bool isUiActive () const
 

Protected Member Functions

 DECL_LINK (ScrollTimeout, Timer *, void)
 
void ForceScroll (const Point &rPos)
 
void checkMovementAllowed (const MouseEvent &rMEvt)
 checks that no other object is overlapped. More...
 
bool setMovementPointer (const MouseEvent &rMEvt)
 sets the correct mouse pointer when moving an object More...
 
bool isRectangleHit (const MouseEvent &rMEvt)
 
bool isOnlyCustomShapeMarked () const
 returns true, as long as only customshapes in the marked list, custom shapes can drop every where More...
 
void activateOle (SdrObject *_pObj)
 activate object if it is of type OBJ_OLE2 More...
 
void checkTwoClicks (const MouseEvent &rMEvt)
 
void colorizeOverlappedObject (SdrObject *_pOverlappedObj)
 
void unColorizeOverlappedObj ()
 

Protected Attributes

VclPtr< OReportSectionm_pParent
 
OSectionViewm_rView
 
Timer aScrollTimer
 
Point m_aMDPos
 
css::uno::Reference< css::uno::XInterface > m_xOverlappingObj
 
SdrObjectm_pOverlappingObj
 
Color m_nOverlappedControlColor
 
Color m_nOldColor
 
bool m_bSelectionMode
 
bool m_bUiActive
 
bool m_bShowPropertyBrowser
 

Private Member Functions

 DlgEdFunc (const DlgEdFunc &)=delete
 
void operator= (const DlgEdFunc &)=delete
 

Detailed Description

Definition at line 42 of file dlgedfunc.hxx.

Constructor & Destructor Documentation

rptui::DlgEdFunc::DlgEdFunc ( const DlgEdFunc )
privatedelete
rptui::DlgEdFunc::DlgEdFunc ( OReportSection pParent)
rptui::DlgEdFunc::~DlgEdFunc ( )
virtual

Definition at line 151 of file dlgedfunc.cxx.

References aScrollTimer, Task::Stop(), and unColorizeOverlappedObj().

Member Function Documentation

void rptui::DlgEdFunc::activateOle ( SdrObject _pObj)
protected
void rptui::DlgEdFunc::checkMovementAllowed ( const MouseEvent rMEvt)
protected
void rptui::DlgEdFunc::checkTwoClicks ( const MouseEvent rMEvt)
protected
void rptui::DlgEdFunc::colorizeOverlappedObject ( SdrObject _pOverlappedObj)
protected
void rptui::DlgEdFunc::deactivateOle ( bool  _bSelect = false)
rptui::DlgEdFunc::DECL_LINK ( ScrollTimeout  ,
Timer ,
void   
)
protected
void rptui::DlgEdFunc::ForceScroll ( const Point &  rPos)
protected
bool rptui::DlgEdFunc::handleKeyEvent ( const KeyEvent _rEvent)
bool rptui::DlgEdFunc::isOnlyCustomShapeMarked ( ) const
protected

returns true, as long as only customshapes in the marked list, custom shapes can drop every where

Definition at line 531 of file dlgedfunc.cxx.

References SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjIdentifier(), i, m_rView, and OBJ_CUSTOMSHAPE.

Referenced by isRectangleHit().

bool rptui::DlgEdFunc::isOverlapping ( const MouseEvent rMEvt)

returns <TRUE> if the mouse event is over an existing object

Parameters
rMEvt
Returns
<TRUE> if overlapping, otherwise <FALSE>

Definition at line 475 of file dlgedfunc.cxx.

References colorizeOverlappedObject(), m_rView, SdrView::PickAnything(), SdrViewEvent::pObj, and unColorizeOverlappedObj().

bool rptui::DlgEdFunc::isRectangleHit ( const MouseEvent rMEvt)
protected
bool rptui::DlgEdFunc::isUiActive ( ) const
inline

Definition at line 114 of file dlgedfunc.hxx.

References m_bUiActive.

bool rptui::DlgEdFunc::MouseButtonDown ( const MouseEvent rMEvt)
virtual
bool rptui::DlgEdFunc::MouseButtonUp ( const MouseEvent rMEvt)
virtual
bool rptui::DlgEdFunc::MouseMove ( const MouseEvent rMEvt)
virtual
void rptui::DlgEdFunc::operator= ( const DlgEdFunc )
privatedelete
bool rptui::DlgEdFunc::setMovementPointer ( const MouseEvent rMEvt)
protected

sets the correct mouse pointer when moving an object

Parameters
rMEvt
Returns
<TRUE> when the pointer was already set.

Definition at line 608 of file dlgedfunc.cxx.

References MouseEvent::IsMod1(), isRectangleHit(), and m_pParent.

Referenced by rptui::DlgEdFuncInsert::MouseMove(), and rptui::DlgEdFuncSelect::MouseMove().

void rptui::DlgEdFunc::setOverlappedControlColor ( Color  _nColor)

Definition at line 124 of file dlgedfunc.cxx.

References m_nOverlappedControlColor.

void rptui::DlgEdFunc::stopScrollTimer ( )

Definition at line 240 of file dlgedfunc.cxx.

References aScrollTimer, m_pParent, Task::Stop(), and unColorizeOverlappedObj().

void rptui::DlgEdFunc::unColorizeOverlappedObj ( )
protected

Member Data Documentation

Timer rptui::DlgEdFunc::aScrollTimer
protected

Definition at line 49 of file dlgedfunc.hxx.

Referenced by DlgEdFunc(), ForceScroll(), stopScrollTimer(), and ~DlgEdFunc().

Point rptui::DlgEdFunc::m_aMDPos
protected
bool rptui::DlgEdFunc::m_bSelectionMode
protected
bool rptui::DlgEdFunc::m_bShowPropertyBrowser
protected

Definition at line 57 of file dlgedfunc.hxx.

Referenced by activateOle(), and deactivateOle().

bool rptui::DlgEdFunc::m_bUiActive
protected
Color rptui::DlgEdFunc::m_nOldColor
protected

Definition at line 54 of file dlgedfunc.hxx.

Referenced by colorizeOverlappedObject(), and unColorizeOverlappedObj().

Color rptui::DlgEdFunc::m_nOverlappedControlColor
protected

Definition at line 53 of file dlgedfunc.hxx.

Referenced by colorizeOverlappedObject(), and setOverlappedControlColor().

SdrObject* rptui::DlgEdFunc::m_pOverlappingObj
protected

Definition at line 52 of file dlgedfunc.hxx.

Referenced by colorizeOverlappedObject(), and unColorizeOverlappedObj().

VclPtr<OReportSection> rptui::DlgEdFunc::m_pParent
protected
OSectionView& rptui::DlgEdFunc::m_rView
protected
css::uno::Reference<css::uno::XInterface> rptui::DlgEdFunc::m_xOverlappingObj
protected

Definition at line 51 of file dlgedfunc.hxx.

Referenced by colorizeOverlappedObject(), and unColorizeOverlappedObj().


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