19#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBAPARAGRAPHFORMAT_HXX
20#define INCLUDED_SW_SOURCE_UI_VBA_VBAPARAGRAPHFORMAT_HXX
22#include <ooo/vba/word/XParagraphFormat.hpp>
24#include <com/sun/star/style/LineSpacing.hpp>
25#include <com/sun/star/style/ParagraphAdjust.hpp>
35 static css::style::LineSpacing
getOOoLineSpacing(
float _lineSpace, sal_Int16 mode );
41 static css::style::ParagraphAdjust
getOOoAlignment( sal_Int32 _alignment );
45 SwVbaParagraphFormat(
const css::uno::Reference< ooo::vba::XHelperInterface >& rParent,
const css::uno::Reference< css::uno::XComponentContext >& rContext, css::uno::Reference< css::beans::XPropertySet > xParaProps );
50 virtual void SAL_CALL
setAlignment( ::sal_Int32 _alignment )
override;
54 virtual void SAL_CALL
setKeepTogether(
const css::uno::Any& _keeptogether )
override;
56 virtual void SAL_CALL
setKeepWithNext(
const css::uno::Any& _keepwithnext )
override;
58 virtual void SAL_CALL
setHyphenation(
const css::uno::Any& _hyphenation )
override;
60 virtual void SAL_CALL
setLineSpacing(
float _linespacing )
override;
64 virtual void SAL_CALL
setNoLineNumber(
const css::uno::Any& _nolinenumber )
override;
66 virtual void SAL_CALL
setOutlineLevel( ::sal_Int32 _outlinelevel )
override;
68 virtual void SAL_CALL
setPageBreakBefore(
const css::uno::Any& _pagebreakbefore )
override;
70 virtual void SAL_CALL
setSpaceBefore(
float _spacebefore )
override;
72 virtual void SAL_CALL
setSpaceAfter(
float _spaceafter )
override;
74 virtual void SAL_CALL
setLeftIndent(
float _leftindent )
override;
76 virtual void SAL_CALL
setRightIndent(
float _rightindent )
override;
77 virtual css::uno::Any SAL_CALL
getTabStops()
override;
78 virtual void SAL_CALL
setTabStops(
const css::uno::Any& _tabstops )
override;
80 virtual void SAL_CALL
setWidowControl(
const css::uno::Any& _widowcontrol )
override;