LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
FmXGridControl Class Reference

#include <fmgridif.hxx>

Inheritance diagram for FmXGridControl:
[legend]
Collaboration diagram for FmXGridControl:
[legend]

Public Member Functions

 FmXGridControl (const css::uno::Reference< css::uno::XComponentContext > &)
 
virtual ~FmXGridControl () override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual void SAL_CALL dispose () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL createPeer (const css::uno::Reference< css::awt::XToolkit > &_rToolkit, const css::uno::Reference< css::awt::XWindowPeer > &Parent) override
 
virtual sal_Bool SAL_CALL setModel (const css::uno::Reference< css::awt::XControlModel > &Model) override
 
virtual void SAL_CALL setDesignMode (sal_Bool bOn) override
 
virtual void SAL_CALL draw (sal_Int32 x, sal_Int32 y) override
 
virtual void SAL_CALL addUpdateListener (const css::uno::Reference< css::form::XUpdateListener > &l) override
 
virtual void SAL_CALL removeUpdateListener (const css::uno::Reference< css::form::XUpdateListener > &l) override
 
virtual sal_Bool SAL_CALL commit () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 _rIndex) override
 
virtual void SAL_CALL addGridControlListener (const css::uno::Reference< css::form::XGridControlListener > &_listener) override
 
virtual void SAL_CALL removeGridControlListener (const css::uno::Reference< css::form::XGridControlListener > &_listener) override
 
virtual sal_Int16 SAL_CALL getCurrentColumnPosition () override
 
virtual void SAL_CALL setCurrentColumnPosition (sal_Int16 nPos) override
 
virtual css::uno::Sequence< sal_Bool > SAL_CALL queryFieldDataType (const css::uno::Type &xType) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL queryFieldData (sal_Int32 nRow, const css::uno::Type &xType) override
 
virtual OUString GetComponentServiceName () override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &l) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &l) override
 
virtual void SAL_CALL setMode (const OUString &Mode) override
 
virtual OUString SAL_CALL getMode () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedModes () override
 
virtual sal_Bool SAL_CALL supportsMode (const OUString &Mode) override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &l) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &l) override
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override
 
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &aDescripts) override
 
virtual void SAL_CALL registerDispatchProviderInterceptor (const css::uno::Reference< css::frame::XDispatchProviderInterceptor > &xInterceptor) override
 
virtual void SAL_CALL releaseDispatchProviderInterceptor (const css::uno::Reference< css::frame::XDispatchProviderInterceptor > &xInterceptor) override
 
virtual sal_Bool SAL_CALL select (const css::uno::Any &aSelection) override
 
virtual css::uno::Any SAL_CALL getSelection () override
 
virtual void SAL_CALL addSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
virtual void SAL_CALL removeSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
- Public Member Functions inherited from UnoControl
 UnoControl ()
 
virtual ~UnoControl () override
 
UnoControlComponentInfosGetComponentInfos ()
 
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
void SAL_CALL dispose () override
 
void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL setOutputSize (const css::awt::Size &aSize) override
 
virtual css::awt::Size SAL_CALL getOutputSize () override
 
virtual sal_Bool SAL_CALL isVisible () override
 
virtual sal_Bool SAL_CALL isActive () override
 
virtual sal_Bool SAL_CALL isEnabled () override
 
virtual sal_Bool SAL_CALL hasFocus () override
 
void SAL_CALL setPosSize (sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags) override
 
css::awt::Rectangle SAL_CALL getPosSize () override
 
void SAL_CALL setVisible (sal_Bool Visible) override
 
void SAL_CALL setEnable (sal_Bool Enable) override
 
void SAL_CALL setFocus () override
 
void SAL_CALL addWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override
 
void SAL_CALL removeWindowListener (const css::uno::Reference< css::awt::XWindowListener > &xListener) override
 
void SAL_CALL addFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override
 
void SAL_CALL removeFocusListener (const css::uno::Reference< css::awt::XFocusListener > &xListener) override
 
void SAL_CALL addKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override
 
void SAL_CALL removeKeyListener (const css::uno::Reference< css::awt::XKeyListener > &xListener) override
 
void SAL_CALL addMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override
 
void SAL_CALL removeMouseListener (const css::uno::Reference< css::awt::XMouseListener > &xListener) override
 
void SAL_CALL addMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override
 
void SAL_CALL removeMouseMotionListener (const css::uno::Reference< css::awt::XMouseMotionListener > &xListener) override
 
void SAL_CALL addPaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override
 
void SAL_CALL removePaintListener (const css::uno::Reference< css::awt::XPaintListener > &xListener) override
 
sal_Bool SAL_CALL setGraphics (const css::uno::Reference< css::awt::XGraphics > &aDevice) override
 
css::uno::Reference< css::awt::XGraphics > SAL_CALL getGraphics () override
 
css::awt::Size SAL_CALL getSize () override
 
void SAL_CALL draw (sal_Int32 nX, sal_Int32 nY) override
 
void SAL_CALL setZoom (float fZoomX, float fZoomY) override
 
void SAL_CALL setContext (const css::uno::Reference< css::uno::XInterface > &Context) override
 
css::uno::Reference< css::uno::XInterface > SAL_CALL getContext () override
 
void SAL_CALL createPeer (const css::uno::Reference< css::awt::XToolkit > &Toolkit, const css::uno::Reference< css::awt::XWindowPeer > &Parent) override
 
css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getPeer () override
 
sal_Bool SAL_CALL setModel (const css::uno::Reference< css::awt::XControlModel > &Model) override
 
css::uno::Reference< css::awt::XControlModel > SAL_CALL getModel () override
 
css::uno::Reference< css::awt::XView > SAL_CALL getView () override
 
void SAL_CALL setDesignMode (sal_Bool bOn) override
 
sal_Bool SAL_CALL isDesignMode () override
 
sal_Bool SAL_CALL isTransparent () override
 
OUString SAL_CALL getImplementationName () override
 
sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 
virtual void SAL_CALL addModeChangeListener (const css::uno::Reference< css::util::XModeChangeListener > &_rxListener) override
 
virtual void SAL_CALL removeModeChangeListener (const css::uno::Reference< css::util::XModeChangeListener > &_rxListener) override
 
virtual void SAL_CALL addModeChangeApproveListener (const css::uno::Reference< css::util::XModeChangeApproveListener > &_rxListener) override
 
virtual void SAL_CALL removeModeChangeApproveListener (const css::uno::Reference< css::util::XModeChangeApproveListener > &_rxListener) override
 
virtual css::awt::Point SAL_CALL convertPointToLogic (const css::awt::Point &Point,::sal_Int16 TargetUnit) override
 
virtual css::awt::Point SAL_CALL convertPointToPixel (const css::awt::Point &aPoint,::sal_Int16 SourceUnit) override
 
virtual css::awt::Size SAL_CALL convertSizeToLogic (const css::awt::Size &aSize,::sal_Int16 TargetUnit) override
 
virtual css::awt::Size SAL_CALL convertSizeToPixel (const css::awt::Size &aSize,::sal_Int16 SourceUnit) override
 
virtual css::uno::Reference< css::awt::XStyleSettings > SAL_CALL getStyleSettings () override
 
- Public Member Functions inherited from cppu::ImplHelper10< class, class, class, class, class, class, class, class, class, class >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 

Protected Member Functions

virtual FmXGridPeerimp_CreatePeer (vcl::Window *pParent)
 
- Protected Member Functions inherited from UnoControl
::osl::Mutex & GetMutex ()
 
css::uno::Reference< css::awt::XWindow > getParentPeer () const
 
virtual void updateFromModel ()
 
void peerCreated ()
 
bool ImplCheckLocalize (OUString &_rPossiblyLocalizable)
 
css::uno::Reference< css::awt::XWindowPeer > ImplGetCompatiblePeer ()
 
virtual void ImplSetPeerProperty (const OUString &rPropName, const css::uno::Any &rVal)
 
virtual void PrepareWindowDescriptor (css::awt::WindowDescriptor &rDesc)
 
virtual void ImplModelPropertiesChanged (const css::uno::Sequence< css::beans::PropertyChangeEvent > &rEvents)
 
void ImplLockPropertyChangeNotification (const OUString &rPropertyName, bool bLock)
 
void ImplLockPropertyChangeNotifications (const css::uno::Sequence< OUString > &rPropertyNames, bool bLock)
 
void DisposeAccessibleContext (css::uno::Reference< css::lang::XComponent > const &xContext)
 
void setPeer (const css::uno::Reference< css::awt::XWindowPeer > &_xPeer)
 
virtual bool requiresNewPeer (const OUString &_rPropertyName) const
 
- Protected Member Functions inherited from cppu::ImplHelper10< class, class, class, class, class, class, class, class, class, class >
 ~ImplHelper10 ()
 

Protected Attributes

bool m_bInDraw
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
- Protected Attributes inherited from UnoControl
EventListenerMultiplexer maDisposeListeners
 
WindowListenerMultiplexer maWindowListeners
 
FocusListenerMultiplexer maFocusListeners
 
KeyListenerMultiplexer maKeyListeners
 
MouseListenerMultiplexer maMouseListeners
 
MouseMotionListenerMultiplexer maMouseMotionListeners
 
PaintListenerMultiplexer maPaintListeners
 
::comphelper::OInterfaceContainerHelper2 maModeChangeListeners
 
css::uno::Reference< css::uno::XInterface > mxContext
 
css::uno::Reference< css::awt::XControlModel > mxModel
 
css::uno::Reference< css::awt::XGraphics > mxGraphics
 
css::uno::WeakReferenceHelper maAccessibleContext
 
bool mbDisposePeer
 
bool mbRefreshingPeer
 
bool mbCreatingPeer
 
bool mbCreatingCompatiblePeer
 
bool mbDesignMode
 
UnoControlComponentInfos maComponentInfos
 
std::unique_ptr< UnoControl_DatampData
 

Private Attributes

FmXModifyMultiplexer m_aModifyListeners
 
FmXUpdateMultiplexer m_aUpdateListeners
 
FmXContainerMultiplexer m_aContainerListeners
 
FmXSelectionMultiplexer m_aSelectionListeners
 
FmXGridControlMultiplexer m_aGridControlListeners
 

Detailed Description

Definition at line 208 of file fmgridif.hxx.

Constructor & Destructor Documentation

FmXGridControl::FmXGridControl ( const css::uno::Reference< css::uno::XComponentContext > &  )

Definition at line 332 of file fmgridif.cxx.

FmXGridControl::~FmXGridControl ( )
overridevirtual

Definition at line 345 of file fmgridif.cxx.

Member Function Documentation

void SAL_CALL FmXGridControl::addContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  l)
overridevirtual
void SAL_CALL FmXGridControl::addGridControlListener ( const css::uno::Reference< css::form::XGridControlListener > &  _listener)
overridevirtual
void FmXGridControl::addModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  l)
overridevirtual
void SAL_CALL FmXGridControl::addSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual
void SAL_CALL FmXGridControl::addUpdateListener ( const css::uno::Reference< css::form::XUpdateListener > &  l)
overridevirtual
sal_Bool SAL_CALL FmXGridControl::commit ( )
overridevirtual

Definition at line 777 of file fmgridif.cxx.

References UnoControl::getPeer().

Reference< XEnumeration > SAL_CALL FmXGridControl::createEnumeration ( )
overridevirtual

Definition at line 908 of file fmgridif.cxx.

References UnoControl::getPeer().

void SAL_CALL FmXGridControl::createPeer ( const css::uno::Reference< css::awt::XToolkit > &  _rToolkit,
const css::uno::Reference< css::awt::XWindowPeer > &  Parent 
)
overridevirtual
void SAL_CALL FmXGridControl::dispose ( void  )
overridevirtual
void SAL_CALL FmXGridControl::draw ( sal_Int32  x,
sal_Int32  y 
)
overridevirtual

Definition at line 690 of file fmgridif.cxx.

References UnoControl::draw(), and m_bInDraw.

Any SAL_CALL FmXGridControl::getByIndex ( sal_Int32  _rIndex)
overridevirtual

Definition at line 926 of file fmgridif.cxx.

References Any, and UnoControl::getPeer().

OUString FmXGridControl::GetComponentServiceName ( )
overridevirtual

Reimplemented from UnoControl.

Definition at line 402 of file fmgridif.cxx.

sal_Int32 SAL_CALL FmXGridControl::getCount ( )
overridevirtual

Definition at line 919 of file fmgridif.cxx.

References UnoControl::getPeer().

Referenced by createPeer().

sal_Int16 SAL_CALL FmXGridControl::getCurrentColumnPosition ( )
overridevirtual

Definition at line 875 of file fmgridif.cxx.

References UnoControl::getPeer().

Type SAL_CALL FmXGridControl::getElementType ( )
overridevirtual

Definition at line 901 of file fmgridif.cxx.

References cppu::UnoType< class >::get().

Sequence< sal_Int8 > SAL_CALL FmXGridControl::getImplementationId ( )
overridevirtual
OUString SAL_CALL FmXGridControl::getImplementationName ( )
overridevirtual

Definition at line 377 of file fmgridif.cxx.

OUString SAL_CALL FmXGridControl::getMode ( )
overridevirtual

Definition at line 947 of file fmgridif.cxx.

References UnoControl::getPeer().

Any SAL_CALL FmXGridControl::getSelection ( )
overridevirtual

Definition at line 623 of file fmgridif.cxx.

References Any, and UnoControl::getPeer().

css::uno::Sequence< OUString > SAL_CALL FmXGridControl::getSupportedModes ( )
overridevirtual

Definition at line 954 of file fmgridif.cxx.

References UnoControl::getPeer().

css::uno::Sequence< OUString > SAL_CALL FmXGridControl::getSupportedServiceNames ( )
overridevirtual

Definition at line 382 of file fmgridif.cxx.

References FM_SUN_CONTROL_GRIDCONTROL.

Sequence< Type > SAL_CALL FmXGridControl::getTypes ( )
overridevirtual
sal_Bool SAL_CALL FmXGridControl::hasElements ( )
overridevirtual

Definition at line 894 of file fmgridif.cxx.

References UnoControl::getPeer().

FmXGridPeer * FmXGridControl::imp_CreatePeer ( vcl::Window pParent)
protectedvirtual
Any SAL_CALL FmXGridControl::queryAggregation ( const css::uno::Type &  _rType)
overridevirtual
Reference< css::frame::XDispatch > SAL_CALL FmXGridControl::queryDispatch ( const css::util::URL &  aURL,
const OUString &  aTargetFrameName,
sal_Int32  nSearchFlags 
)
overridevirtual

Definition at line 810 of file fmgridif.cxx.

References UnoControl::getPeer().

Sequence< Reference< css::frame::XDispatch > > SAL_CALL FmXGridControl::queryDispatches ( const css::uno::Sequence< css::frame::DispatchDescriptor > &  aDescripts)
overridevirtual

Definition at line 820 of file fmgridif.cxx.

References UnoControl::getPeer().

Sequence< Any > SAL_CALL FmXGridControl::queryFieldData ( sal_Int32  nRow,
const css::uno::Type &  xType 
)
overridevirtual

Definition at line 666 of file fmgridif.cxx.

References UnoControl::getPeer().

Sequence< sal_Bool > SAL_CALL FmXGridControl::queryFieldDataType ( const css::uno::Type &  xType)
overridevirtual

Definition at line 653 of file fmgridif.cxx.

References UnoControl::getPeer().

void SAL_CALL FmXGridControl::registerDispatchProviderInterceptor ( const css::uno::Reference< css::frame::XDispatchProviderInterceptor > &  xInterceptor)
overridevirtual

Definition at line 830 of file fmgridif.cxx.

References UnoControl::getPeer().

void SAL_CALL FmXGridControl::releaseDispatchProviderInterceptor ( const css::uno::Reference< css::frame::XDispatchProviderInterceptor > &  xInterceptor)
overridevirtual

Definition at line 838 of file fmgridif.cxx.

References UnoControl::getPeer().

void SAL_CALL FmXGridControl::removeContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  l)
overridevirtual
void SAL_CALL FmXGridControl::removeGridControlListener ( const css::uno::Reference< css::form::XGridControlListener > &  _listener)
overridevirtual
void SAL_CALL FmXGridControl::removeModifyListener ( const css::uno::Reference< css::util::XModifyListener > &  l)
overridevirtual
void SAL_CALL FmXGridControl::removeSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual
void SAL_CALL FmXGridControl::removeUpdateListener ( const css::uno::Reference< css::form::XUpdateListener > &  l)
overridevirtual
sal_Bool SAL_CALL FmXGridControl::select ( const css::uno::Any &  aSelection)
overridevirtual

Definition at line 615 of file fmgridif.cxx.

References UnoControl::getPeer().

void SAL_CALL FmXGridControl::setCurrentColumnPosition ( sal_Int16  nPos)
overridevirtual

Definition at line 882 of file fmgridif.cxx.

References UnoControl::getPeer().

void SAL_CALL FmXGridControl::setDesignMode ( sal_Bool  bOn)
overridevirtual
void SAL_CALL FmXGridControl::setMode ( const OUString &  Mode)
overridevirtual

Definition at line 937 of file fmgridif.cxx.

References UnoControl::getPeer().

sal_Bool SAL_CALL FmXGridControl::setModel ( const css::uno::Reference< css::awt::XControlModel > &  Model)
overridevirtual

Definition at line 408 of file fmgridif.cxx.

References UnoControl::getPeer(), UnoControl::mxModel, and UnoControl::setModel().

sal_Bool SAL_CALL FmXGridControl::supportsMode ( const OUString &  Mode)
overridevirtual

Definition at line 961 of file fmgridif.cxx.

References UnoControl::getPeer().

sal_Bool SAL_CALL FmXGridControl::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 372 of file fmgridif.cxx.

References cppu::supportsService().

Member Data Documentation

FmXContainerMultiplexer FmXGridControl::m_aContainerListeners
private

Definition at line 213 of file fmgridif.hxx.

Referenced by addContainerListener(), createPeer(), dispose(), and removeContainerListener().

FmXGridControlMultiplexer FmXGridControl::m_aGridControlListeners
private

Definition at line 215 of file fmgridif.hxx.

Referenced by addGridControlListener(), and removeGridControlListener().

FmXModifyMultiplexer FmXGridControl::m_aModifyListeners
private

Definition at line 211 of file fmgridif.hxx.

Referenced by addModifyListener(), createPeer(), dispose(), and removeModifyListener().

FmXSelectionMultiplexer FmXGridControl::m_aSelectionListeners
private

Definition at line 214 of file fmgridif.hxx.

Referenced by addSelectionChangeListener(), and removeSelectionChangeListener().

FmXUpdateMultiplexer FmXGridControl::m_aUpdateListeners
private

Definition at line 212 of file fmgridif.hxx.

Referenced by addUpdateListener(), createPeer(), dispose(), and removeUpdateListener().

bool FmXGridControl::m_bInDraw
protected

Definition at line 218 of file fmgridif.hxx.

Referenced by createPeer(), and draw().

css::uno::Reference< css::uno::XComponentContext > FmXGridControl::m_xContext
protected

Definition at line 220 of file fmgridif.hxx.

Referenced by imp_CreatePeer().


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