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
 
virtual bool isPrimitiveVisible (const DisplayInfo &rDisplayInfo) const override
 
const OutputDevicegetPageViewOutputDevice () 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
 
virtual void ActionChanged ()
 
void triggerLazyInvalidate ()
 
bool isAnimated () const
 
void ActionChildInserted (ViewContact &rChild)
 
drawinglayer::primitive2d::Primitive2DContainer const & getPrimitive2DSequence (const DisplayInfo &rDisplayInfo) const
 
void createStructureTag (drawinglayer::primitive2d::Primitive2DContainer &rNewPrimitiveSequence) const
 Check if we need to embed to a StructureTagPrimitive2D, too. More...
 
virtual bool isExportPDFTags () const
 check if getPrimitive2DSequence() should create tag More...
 
virtual bool isPrimitiveVisible (const DisplayInfo &rDisplayInfo) const
 
virtual bool isPrimitiveGhosted (const DisplayInfo &rDisplayInfo) const
 
virtual void getPrimitive2DSequenceHierarchy (DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const
 
void getPrimitive2DSequenceSubHierarchy (DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) 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 @seealso SdrUnoObj::GetTemporaryControlForWindow More...
 

Protected Member Functions

virtual ~ViewObjectContactOfUnoControl () override
 
virtual void createPrimitive2DSequence (const DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) 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 ()
 
virtual void createPrimitive2DSequence (const DisplayInfo &rDisplayInfo, drawinglayer::primitive2d::Primitive2DDecompositionVisitor &rVisitor) const
 
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 48 of file viewobjectcontactofunocontrol.hxx.

Constructor & Destructor Documentation

◆ ViewObjectContactOfUnoControl() [1/2]

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

Definition at line 1580 of file viewobjectcontactofunocontrol.cxx.

References m_pImpl.

◆ ~ViewObjectContactOfUnoControl()

sdr::contact::ViewObjectContactOfUnoControl::~ViewObjectContactOfUnoControl ( )
overrideprotectedvirtual

Definition at line 1587 of file viewobjectcontactofunocontrol.cxx.

References m_pImpl.

◆ ViewObjectContactOfUnoControl() [2/2]

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

Member Function Documentation

◆ ActionChanged()

void sdr::contact::ViewObjectContactOfUnoControl::ActionChanged ( )
overridevirtual

◆ createPrimitive2DSequence()

void sdr::contact::ViewObjectContactOfUnoControl::createPrimitive2DSequence ( const DisplayInfo rDisplayInfo,
drawinglayer::primitive2d::Primitive2DDecompositionVisitor rVisitor 
) const
overrideprotectedvirtual

◆ ensureControlVisibility()

void sdr::contact::ViewObjectContactOfUnoControl::ensureControlVisibility ( bool  _bVisible) const

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

Definition at line 1615 of file viewobjectcontactofunocontrol.cxx.

References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, Exception, and m_pImpl.

◆ getControl()

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

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

Definition at line 1595 of file viewobjectcontactofunocontrol.cxx.

References m_pImpl.

Referenced by SdrUnoObj::GetUnoControl().

◆ getTemporaryControlForWindow()

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

◆ impl_onControlChangedOrModified()

void sdr::contact::ViewObjectContactOfUnoControl::impl_onControlChangedOrModified ( )
protected

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

Definition at line 1758 of file viewobjectcontactofunocontrol.cxx.

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

Referenced by onControlChangedOrModified(), and propertyChange().

◆ isPrimitiveVisible()

bool sdr::contact::ViewObjectContactOfUnoControl::isPrimitiveVisible ( const DisplayInfo _rDisplayInfo) const
overrideprotectedvirtual

◆ onControlChangedOrModified()

void sdr::contact::ViewObjectContactOfUnoControl::onControlChangedOrModified ( ImplAccess  )
inline

◆ operator=()

ViewObjectContactOfUnoControl & sdr::contact::ViewObjectContactOfUnoControl::operator= ( const ViewObjectContactOfUnoControl )
privatedelete

◆ propertyChange()

void sdr::contact::ViewObjectContactOfUnoControl::propertyChange ( )

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

Definition at line 1726 of file viewobjectcontactofunocontrol.cxx.

References impl_onControlChangedOrModified().

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

◆ setControlDesignMode()

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

sets the design/alive mode of the control

Definition at line 1646 of file viewobjectcontactofunocontrol.cxx.

References ActionChanged(), and m_pImpl.

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

Member Data Documentation

◆ m_pImpl

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

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