LibreOffice Module sc (master) 1
|
#include <vbastyles.hxx>
Public Member Functions | |
ScVbaStyles (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel > &xModel) | |
css::uno::Sequence< OUString > | getStyleNames () |
void | Delete (const OUString &_sStyleName) |
virtual css::uno::Reference< ov::excel::XStyle > SAL_CALL | Add (const OUString &Name, const css::uno::Any &BasedOn) 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 &) override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
Public Member Functions inherited from CollTestImplHelper< typename... 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::frame::XModel > | mxModel |
css::uno::Reference< css::lang::XMultiServiceFactory > | mxMSF |
css::uno::Reference< css::container::XNameContainer > | mxNameContainerCellStyles |
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 27 of file vbastyles.hxx.
ScVbaStyles::ScVbaStyles | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
const css::uno::Reference< css::frame::XModel > & | xModel | ||
) |
css::script::BasicErrorException |
Definition at line 39 of file vbastyles.cxx.
References ERRCODE_BASIC_METHOD_FAILED, ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xNameAccess, mxModel, mxModel, mxMSF, mxNameContainerCellStyles, Reference, and xModel.
|
overridevirtual |
Definition at line 131 of file vbastyles.cxx.
References ERRCODE_BASIC_BAD_ARGUMENT, ERRCODE_BASIC_METHOD_FAILED, uno::Any::hasValue(), ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::Item(), mxMSF, and mxNameContainerCellStyles.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 65 of file vbastyles.cxx.
References lcl_createAPIStyleToVBAObject(), InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxModel, and InheritedHelperInterfaceImpl< Ifc... >::mxParent.
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 125 of file vbastyles.cxx.
References ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >::m_xIndexAccess, InheritedHelperInterfaceImpl< Ifc... >::mxContext, mxModel, and InheritedHelperInterfaceImpl< Ifc... >::mxParent.
void ScVbaStyles::Delete | ( | const OUString & | _sStyleName | ) |
css::script::BasicErrorException |
Definition at line 171 of file vbastyles.cxx.
References ERRCODE_BASIC_METHOD_FAILED, and mxNameContainerCellStyles.
Referenced by ScVbaFormatConditions::Delete(), and ScVbaFormatConditions::removeFormatCondition().
|
overridevirtual |
Implements ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 71 of file vbastyles.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 185 of file vbastyles.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< Ifc... >.
Definition at line 191 of file vbastyles.cxx.
References aServiceNames.
uno::Sequence< OUString > ScVbaStyles::getStyleNames | ( | ) |
css::uno::RuntimeException |
Definition at line 59 of file vbastyles.cxx.
References mxNameContainerCellStyles.
Referenced by ScVbaFormatConditions::getStyleName().
|
private |
Definition at line 29 of file vbastyles.hxx.
Referenced by createCollectionObject(), createEnumeration(), and ScVbaStyles().
|
private |
Definition at line 30 of file vbastyles.hxx.
Referenced by Add(), and ScVbaStyles().
|
private |
Definition at line 31 of file vbastyles.hxx.
Referenced by Add(), Delete(), getStyleNames(), and ScVbaStyles().