LibreOffice Module vbahelper (master) 1
|
#include <vbacontrols.hxx>
Public Member Functions | |
ScVbaControls (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::awt::XControl > &xDialog, css::uno::Reference< css::frame::XModel > xModel, double fOffsetX, double fOffsetY) | |
virtual void SAL_CALL | Move (double cx, double cy) override |
virtual css::uno::Any SAL_CALL | Add (const css::uno::Any &Object, const css::uno::Any &StringKey, const css::uno::Any &Before, const css::uno::Any &After) override |
virtual void SAL_CALL | Remove (const css::uno::Any &StringKeyOrIndex) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource) override |
Public Member Functions inherited from CollTestImplHelper< Ifc > | |
CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false) | |
Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false) | |
virtual ::sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | Item (const css::uno::Any &Index1, const css::uno::Any &) override |
OUString SAL_CALL | getDefaultMethodName () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override=0 |
virtual css::uno::Type SAL_CALL | getElementType () override=0 |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Any | createCollectionObject (const css::uno::Any &aSource)=0 |
Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... > | |
InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext) | |
virtual OUString | getServiceImplName ()=0 |
virtual css::uno::Sequence< OUString > | getServiceNames ()=0 |
virtual ::sal_Int32 SAL_CALL | getCreator () override |
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL | getParent () override |
virtual css::uno::Any SAL_CALL | Application () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Private Attributes | |
css::uno::Reference< css::awt::XControl > | mxDialog |
css::uno::Reference< css::frame::XModel > | mxModel |
double | mfOffsetX |
double | mfOffsetY |
Additional Inherited Members | |
Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
virtual css::uno::Any | getItemByStringIndex (const OUString &sIndex) |
virtual css::uno::Any | getItemByIntIndex (const sal_Int32 nIndex) |
void | UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess) |
Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::Reference< css::container::XIndexAccess > | m_xIndexAccess |
css::uno::Reference< css::container::XNameAccess > | m_xNameAccess |
bool | mbIgnoreCase |
Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 30 of file vbacontrols.hxx.
ScVbaControls::ScVbaControls | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
const css::uno::Reference< css::awt::XControl > & | xDialog, | ||
css::uno::Reference< css::frame::XModel > | xModel, | ||
double | fOffsetX, | ||
double | fOffsetY | ||
) |
Definition at line 203 of file vbacontrols.cxx.
|
overridevirtual |
Definition at line 247 of file vbacontrols.cxx.
References createCollectionObject(), cppu::getCaughtException(), lcl_controlsWrapper(), mxDialog, Object, SAL_MAX_INT32, and ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::UpdateCollectionIndex().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 227 of file vbacontrols.cxx.
References ScVbaControlFactory::createUserformControl(), mfOffsetX, mfOffsetY, InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxDialog, and mxModel.
Referenced by Add().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 218 of file vbacontrols.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xIndexAccess, mfOffsetX, mfOffsetY, InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxDialog, and mxModel.
Referenced by Move().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 488 of file vbacontrols.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 236 of file vbacontrols.cxx.
References createEnumeration().
|
overridevirtual |
Definition at line 426 of file vbacontrols.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::getCount(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xIndexAccess, mxDialog, and nIndex.
|
private |
Definition at line 57 of file vbacontrols.hxx.
Referenced by createCollectionObject(), and createEnumeration().
|
private |
Definition at line 58 of file vbacontrols.hxx.
Referenced by createCollectionObject(), and createEnumeration().
|
private |
Definition at line 55 of file vbacontrols.hxx.
Referenced by Add(), createCollectionObject(), createEnumeration(), and Remove().
|
private |
Definition at line 56 of file vbacontrols.hxx.
Referenced by createCollectionObject(), and createEnumeration().