22#include <ooo/vba/excel/XStyle.hpp>
23#include <com/sun/star/style/XStyle.hpp>
24#include <com/sun/star/frame/XModel.hpp>
25#include <com/sun/star/container/XNameContainer.hpp>
32 css::uno::Reference< css::style::XStyle >
mxStyle;
40 ScVbaStyle(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext > & xContext,
const OUString& sStyleName,
const css::uno::Reference< css::frame::XModel >& _xModel );
43 ScVbaStyle(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext > & xContext,
const css::uno::Reference< css::beans::XPropertySet >& _xPropertySet,
const css::uno::Reference< css::frame::XModel >& _xModel );
45 static css::uno::Reference< css::container::XNameAccess >
getStylesNameContainer(
const css::uno::Reference< css::frame::XModel >& xModel );
46 virtual css::uno::Reference< ov::XHelperInterface >
thisHelperIface()
override {
return this; };
49 virtual void SAL_CALL
setName(
const OUString& Name )
override;
50 virtual OUString SAL_CALL
getName()
override;
51 virtual void SAL_CALL
setNameLocal(
const OUString& NameLocal )
override;
53 virtual void SAL_CALL
Delete()
override;
55 virtual void SAL_CALL
setMergeCells(
const css::uno::Any& MergeCells )
override;
css::uno::Reference< css::container::XNameContainer > mxStyleFamilyNameContainer
ScVbaStyle(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const OUString &sStyleName, const css::uno::Reference< css::frame::XModel > &_xModel)
virtual css::uno::Sequence< OUString > getServiceNames() override
virtual OUString getServiceImplName() override
ScVbaStyle(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::beans::XPropertySet > &_xPropertySet, const css::uno::Reference< css::frame::XModel > &_xModel)
static css::uno::Reference< css::container::XNameAccess > getStylesNameContainer(const css::uno::Reference< css::frame::XModel > &xModel)
virtual void SAL_CALL setName(const OUString &Name) override
css::uno::Reference< css::style::XStyle > mxStyle
virtual css::uno::Reference< ov::XHelperInterface > thisHelperIface() override
virtual void SAL_CALL Delete() override
virtual void SAL_CALL setNameLocal(const OUString &NameLocal) override
virtual css::uno::Any SAL_CALL getMergeCells() override
virtual sal_Bool SAL_CALL BuiltIn() override
virtual void SAL_CALL setMergeCells(const css::uno::Any &MergeCells) override
virtual OUString SAL_CALL getName() override
virtual OUString SAL_CALL getNameLocal() override
ScVbaFormat< ov::excel::XStyle > ScVbaStyle_BASE