19#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBASTYLE_HXX
20#define INCLUDED_SW_SOURCE_UI_VBA_VBASTYLE_HXX
22#include <ooo/vba/word/XStyle.hpp>
25#include <com/sun/star/beans/XPropertySet.hpp>
26#include <com/sun/star/frame/XModel.hpp>
27#include <com/sun/star/style/XStyle.hpp>
28#include <ooo/vba/word/XFont.hpp>
35 css::uno::Reference< css::frame::XModel >
mxModel;
37 css::uno::Reference< css::style::XStyle >
mxStyle;
41 SwVbaStyle(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext > & xContext, css::uno::Reference< css::frame::XModel > xModel,
const css::uno::Reference< css::beans::XPropertySet >& _xPropertySet );
44 static void setStyle(
const css::uno::Reference< css::beans::XPropertySet >& xParaProps,
const css::uno::Any& xStyle );
51 virtual OUString SAL_CALL
getName()
override;
52 virtual void SAL_CALL
setName(
const OUString& Name )
override;
54 virtual void SAL_CALL
setLanguageID( ::sal_Int32 _languageid )
override;
55 virtual ::sal_Int32 SAL_CALL
getType()
override;
56 virtual css::uno::Reference< ooo::vba::word::XFont > SAL_CALL
getFont()
override;
58 virtual void SAL_CALL
setNameLocal(
const OUString& _namelocal )
override;
59 virtual css::uno::Reference< ::ooo::vba::word::XParagraphFormat > SAL_CALL
getParagraphFormat()
override;
63 virtual void SAL_CALL
setBaseStyle(
const css::uno::Any& _basestyle )
override;
virtual ::sal_Int32 SAL_CALL getType() override
virtual ::sal_Int32 SAL_CALL getLanguageID() override
virtual ::sal_Int32 SAL_CALL getListLevelNumber() override
virtual OUString getServiceImplName() override
virtual css::uno::Any SAL_CALL getBaseStyle() override
css::uno::Reference< css::beans::XPropertySet > mxStyleProps
virtual void SAL_CALL setAutomaticallyUpdate(sal_Bool _automaticallyupdate) override
static void setStyle(const css::uno::Reference< css::beans::XPropertySet > &xParaProps, const css::uno::Any &xStyle)
css::uno::Reference< css::style::XStyle > mxStyle
virtual void SAL_CALL setBaseStyle(const css::uno::Any &_basestyle) override
virtual css::uno::Reference< ::ooo::vba::word::XParagraphFormat > SAL_CALL getParagraphFormat() override
virtual css::uno::Any SAL_CALL getNextParagraphStyle() override
virtual css::uno::Sequence< OUString > getServiceNames() override
virtual void SAL_CALL setName(const OUString &Name) override
virtual OUString SAL_CALL getDefaultPropertyName() override
css::uno::Reference< css::frame::XModel > mxModel
virtual OUString SAL_CALL getNameLocal() override
virtual void SAL_CALL setNextParagraphStyle(const css::uno::Any &_nextparagraphstyle) override
virtual css::uno::Reference< ooo::vba::word::XFont > SAL_CALL getFont() override
virtual void SAL_CALL setNameLocal(const OUString &_namelocal) override
SwVbaStyle(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::frame::XModel > xModel, const css::uno::Reference< css::beans::XPropertySet > &_xPropertySet)
static void setLanguageID(const css::uno::Reference< css::beans::XPropertySet > &xTCProps, LanguageType _languageid)
static LanguageType getLanguageID(const css::uno::Reference< css::beans::XPropertySet > &xTCProps)
virtual OUString SAL_CALL getName() override
virtual sal_Bool SAL_CALL getAutomaticallyUpdate() override
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XStyle > SwVbaStyle_BASE