LibreOffice Module UnoControls (master) 1
|
#include <framecontrol.hxx>
Public Member Functions | |
FrameControl (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~FrameControl () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
virtual void SAL_CALL | acquire () noexcept override |
increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown. More... | |
virtual void SAL_CALL | release () noexcept override |
decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown. More... | |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
get information about supported interfaces @seealso XTypeProvider More... | |
OUString SAL_CALL | getImplementationName () override |
css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | createPeer (const css::uno::Reference< css::awt::XToolkit > &xToolkit, const css::uno::Reference< css::awt::XWindowPeer > &xParent) override |
virtual sal_Bool SAL_CALL | setModel (const css::uno::Reference< css::awt::XControlModel > &xModel) override |
virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL | getModel () override |
virtual void SAL_CALL | dispose () override |
virtual sal_Bool SAL_CALL | setGraphics (const css::uno::Reference< css::awt::XGraphics > &xDevice) override |
virtual css::uno::Reference< css::awt::XGraphics > SAL_CALL | getGraphics () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getConnectionPointTypes () override |
virtual css::uno::Reference< css::lang::XConnectionPoint > SAL_CALL | queryConnectionPoint (const css::uno::Type &aType) override |
virtual void SAL_CALL | advise (const css::uno::Type &aType, const css::uno::Reference< css::uno::XInterface > &xListener) override |
virtual void SAL_CALL | unadvise (const css::uno::Type &aType, const css::uno::Reference< css::uno::XInterface > &xListener) override |
Public Member Functions inherited from unocontrols::BaseControl | |
BaseControl (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~BaseControl () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
give answer, if interface is supported @descr The interfaces are searched by type. More... | |
virtual void SAL_CALL | acquire () noexcept override |
increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown. More... | |
virtual void SAL_CALL | release () noexcept override |
decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown. More... | |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
get information about supported interfaces @seealso XTypeProvider More... | |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
get implementation id @descr This ID is necessary for UNO-caching. More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &sServiceName) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | createPeer (const css::uno::Reference< css::awt::XToolkit > &xToolkit, const css::uno::Reference< css::awt::XWindowPeer > &xParent) override |
virtual void SAL_CALL | setContext (const css::uno::Reference< css::uno::XInterface > &xContext) override |
virtual sal_Bool SAL_CALL | setModel (const css::uno::Reference< css::awt::XControlModel > &xModel) override=0 |
virtual void SAL_CALL | setDesignMode (sal_Bool bOn) override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getContext () override |
virtual css::uno::Reference< css::awt::XControlModel > SAL_CALL | getModel () override=0 |
virtual css::uno::Reference< css::awt::XWindowPeer > SAL_CALL | getPeer () override |
virtual css::uno::Reference< css::awt::XView > SAL_CALL | getView () override |
virtual sal_Bool SAL_CALL | isDesignMode () override |
virtual sal_Bool SAL_CALL | isTransparent () override |
virtual void SAL_CALL | setPosSize (sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nFlags) override |
virtual void SAL_CALL | setVisible (sal_Bool bVisible) override |
virtual void SAL_CALL | setEnable (sal_Bool bEnable) override |
virtual void SAL_CALL | setFocus () override |
virtual css::awt::Rectangle SAL_CALL | getPosSize () override |
virtual void SAL_CALL | addWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override |
virtual void SAL_CALL | addFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override |
virtual void SAL_CALL | addKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override |
virtual void SAL_CALL | addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override |
virtual void SAL_CALL | addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override |
virtual void SAL_CALL | addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override |
virtual void SAL_CALL | removeWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override |
virtual void SAL_CALL | removeFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override |
virtual void SAL_CALL | removeKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override |
virtual void SAL_CALL | removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override |
virtual void SAL_CALL | removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override |
virtual void SAL_CALL | removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override |
virtual void SAL_CALL | draw (sal_Int32 nX, sal_Int32 nY) override |
virtual sal_Bool SAL_CALL | setGraphics (const css::uno::Reference< css::awt::XGraphics > &xDevice) override |
virtual void SAL_CALL | setZoom (float fZoomX, float fZoomY) override |
virtual css::uno::Reference< css::awt::XGraphics > SAL_CALL | getGraphics () override |
virtual css::awt::Size SAL_CALL | getSize () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rSource) override |
virtual void SAL_CALL | windowPaint (const css::awt::PaintEvent &rEvent) override |
virtual void SAL_CALL | windowResized (const css::awt::WindowEvent &aEvent) override |
virtual void SAL_CALL | windowMoved (const css::awt::WindowEvent &aEvent) override |
virtual void SAL_CALL | windowShown (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | windowHidden (const css::lang::EventObject &aEvent) override |
Public Member Functions inherited from cppu::OBroadcastHelperVar< class container, class keyType > | |
OBroadcastHelperVar (::osl::Mutex &rMutex_) | |
void | addListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r) |
void | removeListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r) |
OInterfaceContainerHelper *SAL_CALL | getContainer (const keyType &key) const |
Public Member Functions inherited from cppu::OPropertySetHelper | |
OPropertySetHelper (OBroadcastHelper &rBHelper) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
css::uno::Sequence< css::uno::Type > | getTypes () |
void SAL_CALL | disposing () |
virtual void SAL_CALL | setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
Private Member Functions | |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual css::awt::WindowDescriptor | impl_getWindowDescriptor (const css::uno::Reference< css::awt::XWindowPeer > &xParentPeer) override |
void | impl_createFrame (const css::uno::Reference< css::awt::XWindowPeer > &xPeer, const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) |
void | impl_deleteFrame () |
Private Attributes | |
css::uno::Reference< css::frame::XFrame2 > | m_xFrame |
OUString | m_sComponentURL |
css::uno::Sequence< css::beans::PropertyValue > | m_seqLoaderArguments |
rtl::Reference< OConnectionPointContainerHelper > | m_aConnectionPointContainer |
Additional Inherited Members | |
Static Public Member Functions inherited from cppu::OPropertySetHelper | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
Public Attributes inherited from cppu::OBroadcastHelperVar< class container, class keyType > | |
::osl::Mutex & | rMutex |
container | aLC |
sal_Bool | bDisposed |
sal_Bool | bInDispose |
Protected Member Functions inherited from unocontrols::BaseControl | |
const css::uno::Reference< css::uno::XComponentContext > & | impl_getComponentContext () const |
const css::uno::Reference< css::awt::XWindow > & | impl_getPeerWindow () const |
const css::uno::Reference< css::awt::XGraphics > & | impl_getGraphicsPeer () const |
sal_Int32 | impl_getWidth () const |
sal_Int32 | impl_getHeight () const |
virtual css::awt::WindowDescriptor | impl_getWindowDescriptor (const css::uno::Reference< css::awt::XWindowPeer > &xParentPeer) |
virtual void | impl_paint (sal_Int32 nX, sal_Int32 nY, const css::uno::Reference< css::awt::XGraphics > &xGraphics) |
virtual void | impl_recalcLayout (const css::awt::WindowEvent &aEvent) |
Protected Member Functions inherited from cppu::OPropertySetHelper | |
void SAL_CALL | fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable) |
void SAL_CALL | setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount) |
virtual IPropertyArrayHelper &SAL_CALL | getInfoHelper ()=0 |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0 |
void | setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value) |
~OPropertySetHelper () | |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from cppu::OPropertySetHelper | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
Definition at line 34 of file framecontrol.hxx.
unocontrols::FrameControl::FrameControl | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
Definition at line 60 of file framecontrol.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 68 of file framecontrol.cxx.
|
overridevirtualnoexcept |
increment refcount @seealso XInterface @seealso release() @onerror A RuntimeException is thrown.
Reimplemented from unocontrols::BaseControl.
Definition at line 100 of file framecontrol.cxx.
References unocontrols::BaseControl::acquire().
|
overridevirtual |
Definition at line 216 of file framecontrol.cxx.
References m_aConnectionPointContainer.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 234 of file framecontrol.cxx.
References m_sComponentURL, m_seqLoaderArguments, and nHandle.
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Definition at line 145 of file framecontrol.cxx.
References unocontrols::BaseControl::createPeer(), unocontrols::BaseControl::getPeer(), impl_createFrame(), unocontrols::BaseControl::impl_getPeerWindow(), m_sComponentURL, and m_seqLoaderArguments.
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Definition at line 176 of file framecontrol.cxx.
References unocontrols::BaseControl::dispose(), and impl_deleteFrame().
|
overridevirtual |
Definition at line 200 of file framecontrol.cxx.
References m_aConnectionPointContainer.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 286 of file framecontrol.cxx.
References m_sComponentURL, m_seqLoaderArguments, m_xFrame, and nHandle.
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Definition at line 192 of file framecontrol.cxx.
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Definition at line 133 of file framecontrol.cxx.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 308 of file framecontrol.cxx.
References Property.
Referenced by getPropertySetInfo().
|
overridevirtual |
Implements unocontrols::BaseControl.
Definition at line 168 of file framecontrol.cxx.
|
overrideprivate |
Definition at line 328 of file framecontrol.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo(), and getInfoHelper().
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Definition at line 138 of file framecontrol.cxx.
|
overridevirtual |
get information about supported interfaces @seealso XTypeProvider
@onerror A RuntimeException is thrown.
Reimplemented from unocontrols::BaseControl.
Definition at line 122 of file framecontrol.cxx.
References unocontrols::BaseControl::getTypes().
|
private |
Definition at line 354 of file framecontrol.cxx.
References Any, aURL, cppu::OPropertySetHelper::fire(), unocontrols::BaseControl::impl_getComponentContext(), cppu::BaseMutex::m_aMutex, m_xFrame, and URL.
Referenced by createPeer(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 407 of file framecontrol.cxx.
References Any, cppu::OPropertySetHelper::fire(), cppu::BaseMutex::m_aMutex, and m_xFrame.
Referenced by dispose().
|
overrideprivatevirtual |
Reimplemented from unocontrols::BaseControl.
Definition at line 339 of file framecontrol.cxx.
References unocontrols::BaseControl::getPosSize().
|
overridevirtual |
Definition at line 208 of file framecontrol.cxx.
References m_aConnectionPointContainer.
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
Definition at line 74 of file framecontrol.cxx.
References Any, and unocontrols::BaseControl::queryInterface().
|
overridevirtualnoexcept |
decrement refcount @seealso XInterface @seealso acquire() @onerror A RuntimeException is thrown.
Reimplemented from unocontrols::BaseControl.
Definition at line 111 of file framecontrol.cxx.
References unocontrols::BaseControl::release().
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 263 of file framecontrol.cxx.
References unocontrols::BaseControl::getPeer(), impl_createFrame(), cppu::BaseMutex::m_aMutex, m_sComponentURL, m_seqLoaderArguments, and nHandle.
|
overridevirtual |
Reimplemented from unocontrols::BaseControl.
Definition at line 184 of file framecontrol.cxx.
|
overridevirtual |
Implements unocontrols::BaseControl.
Definition at line 160 of file framecontrol.cxx.
|
overridevirtual |
Definition at line 225 of file framecontrol.cxx.
References m_aConnectionPointContainer.
|
private |
Definition at line 163 of file framecontrol.hxx.
Referenced by advise(), getConnectionPointTypes(), queryConnectionPoint(), and unadvise().
|
private |
Definition at line 161 of file framecontrol.hxx.
Referenced by convertFastPropertyValue(), createPeer(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 162 of file framecontrol.hxx.
Referenced by convertFastPropertyValue(), createPeer(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 160 of file framecontrol.hxx.
Referenced by getFastPropertyValue(), impl_createFrame(), and impl_deleteFrame().