LibreOffice Module svx (master)  1
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
sdr::contact::ViewObjectContactOfUnoControl Class Reference

#include <viewobjectcontactofunocontrol.hxx>

Inheritance diagram for sdr::contact::ViewObjectContactOfUnoControl:
[legend]
Collaboration diagram for sdr::contact::ViewObjectContactOfUnoControl:
[legend]

Classes

struct  ImplAccess
 to be called when any aspect of the control which requires view updates changed More...
 

Public Member Functions

 ViewObjectContactOfUnoControl (ObjectContact &_rObjectContact, ViewContactOfUnoControl &_rViewContact)
 
css::uno::Reference< css::awt::XControl > getControl ()
 returns the ->XControl instance belonging to the instance, creates it if necessary More...
 
void ensureControlVisibility (bool _bVisible) const
 ensures that the control belonging to this instances has a given visibility More...
 
void setControlDesignMode (bool _bDesignMode) const
 sets the design/alive mode of the control More...
 
void propertyChange ()
 callback from impl class to react on changes of properties form the XControlModel More...
 
virtual void ActionChanged () override
 React on changes of the object of this ViewContact. More...
 
void onControlChangedOrModified (ImplAccess)
 
- Public Member Functions inherited from sdr::contact::ViewObjectContactOfSdrObj
 ViewObjectContactOfSdrObj (ObjectContact &rObjectContact, ViewContact &rViewContact)
 
virtual ~ViewObjectContactOfSdrObj () override
 
boost::optional< const OutputDevice & > getPageViewOutputDevice () const
 retrieves the device which a PageView belongs to, starting from its ObjectContactOfPageView More...
 
- Public Member Functions inherited from sdr::contact::ViewObjectContact
 ViewObjectContact (ObjectContact &rObjectContact, ViewContact &rViewContact)
 
virtual ~ViewObjectContact ()
 
ObjectContactGetObjectContact () const
 
ViewContactGetViewContact () const
 
const basegfx::B2DRangegetObjectRange () const
 
void triggerLazyInvalidate ()
 
bool isAnimated () const
 
void ActionChildInserted (ViewContact &rChild)
 
drawinglayer::primitive2d::Primitive2DContainer const & getPrimitive2DSequence (const DisplayInfo &rDisplayInfo) const
 
virtual bool isPrimitiveGhosted (const DisplayInfo &rDisplayInfo) const
 
virtual drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceHierarchy (DisplayInfo &rDisplayInfo) const
 
drawinglayer::primitive2d::Primitive2DContainer getPrimitive2DSequenceSubHierarchy (DisplayInfo &rDisplayInfo) const
 
const basegfx::B2DVectorgetGridOffset () const
 
void resetGridOffset ()
 

Static Public Member Functions

static css::uno::Reference< css::awt::XControl > getTemporaryControlForWindow (const vcl::Window &_rWindow, css::uno::Reference< css::awt::XControlContainer > &_inout_ControlContainer, const SdrUnoObj &_rUnoObject)
 retrieves a temporary XControl instance, whose parent is the given device SdrUnoObj::GetTemporaryControlForWindow More...
 

Protected Member Functions

virtual ~ViewObjectContactOfUnoControl () override
 
virtual drawinglayer::primitive2d::Primitive2DContainer createPrimitive2DSequence (const DisplayInfo &rDisplayInfo) const override
 
virtual bool isPrimitiveVisible (const DisplayInfo &_rDisplayInfo) const override
 
void impl_onControlChangedOrModified ()
 to be called when any aspect of the control which requires view updates changed More...
 
- Protected Member Functions inherited from sdr::contact::ViewObjectContactOfSdrObj
const SdrObjectgetSdrObject () const
 
- Protected Member Functions inherited from sdr::contact::ViewObjectContact
void checkForPrimitive2DAnimations ()
 
void flushPrimitive2DSequence ()
 

Protected Attributes

::rtl::Reference< ViewObjectContactOfUnoControl_Implm_pImpl
 

Private Member Functions

 ViewObjectContactOfUnoControl (const ViewObjectContactOfUnoControl &)=delete
 
ViewObjectContactOfUnoControloperator= (const ViewObjectContactOfUnoControl &)=delete
 

Detailed Description

Definition at line 49 of file viewobjectcontactofunocontrol.hxx.

Constructor & Destructor Documentation

sdr::contact::ViewObjectContactOfUnoControl::ViewObjectContactOfUnoControl ( ObjectContact _rObjectContact,
ViewContactOfUnoControl _rViewContact 
)
sdr::contact::ViewObjectContactOfUnoControl::~ViewObjectContactOfUnoControl ( )
overrideprotectedvirtual

Definition at line 1568 of file viewobjectcontactofunocontrol.cxx.

References m_pImpl.

sdr::contact::ViewObjectContactOfUnoControl::ViewObjectContactOfUnoControl ( const ViewObjectContactOfUnoControl )
privatedelete

Member Function Documentation

void sdr::contact::ViewObjectContactOfUnoControl::ActionChanged ( )
overridevirtual
drawinglayer::primitive2d::Primitive2DContainer sdr::contact::ViewObjectContactOfUnoControl::createPrimitive2DSequence ( const DisplayInfo rDisplayInfo) const
overrideprotectedvirtual
void sdr::contact::ViewObjectContactOfUnoControl::ensureControlVisibility ( bool  _bVisible) const

ensures that the control belonging to this instances has a given visibility

Definition at line 1596 of file viewobjectcontactofunocontrol.cxx.

References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, m_pImpl, and sdr::contact::ControlHolder::setVisible().

Reference< XControl > sdr::contact::ViewObjectContactOfUnoControl::getControl ( )

returns the ->XControl instance belonging to the instance, creates it if necessary

Definition at line 1576 of file viewobjectcontactofunocontrol.cxx.

References m_pImpl.

Referenced by SdrUnoObj::GetUnoControl().

Reference< XControl > sdr::contact::ViewObjectContactOfUnoControl::getTemporaryControlForWindow ( const vcl::Window _rWindow,
css::uno::Reference< css::awt::XControlContainer > &  _inout_ControlContainer,
const SdrUnoObj _rUnoObject 
)
static
void sdr::contact::ViewObjectContactOfUnoControl::impl_onControlChangedOrModified ( )
protected

to be called when any aspect of the control which requires view updates changed

Definition at line 1740 of file viewobjectcontactofunocontrol.cxx.

References ActionChanged(), and sdr::contact::ViewObjectContact::flushPrimitive2DSequence().

Referenced by onControlChangedOrModified(), and propertyChange().

bool sdr::contact::ViewObjectContactOfUnoControl::isPrimitiveVisible ( const DisplayInfo _rDisplayInfo) const
overrideprotectedvirtual
void sdr::contact::ViewObjectContactOfUnoControl::onControlChangedOrModified ( ImplAccess  )
inline
ViewObjectContactOfUnoControl& sdr::contact::ViewObjectContactOfUnoControl::operator= ( const ViewObjectContactOfUnoControl )
privatedelete
void sdr::contact::ViewObjectContactOfUnoControl::propertyChange ( )

callback from impl class to react on changes of properties form the XControlModel

Definition at line 1708 of file viewobjectcontactofunocontrol.cxx.

References impl_onControlChangedOrModified().

Referenced by sdr::contact::ViewObjectContactOfUnoControl_Impl::propertyChange().

void sdr::contact::ViewObjectContactOfUnoControl::setControlDesignMode ( bool  _bDesignMode) const

sets the design/alive mode of the control

Definition at line 1627 of file viewobjectcontactofunocontrol.cxx.

References ActionChanged(), and m_pImpl.

Referenced by sdr::contact::ObjectContactOfPageView::SetUNOControlsDesignMode().

Member Data Documentation

::rtl::Reference< ViewObjectContactOfUnoControl_Impl > sdr::contact::ViewObjectContactOfUnoControl::m_pImpl
protected

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