LibreOffice Module sw (master) 1
|
#include <vbaparagraphformat.hxx>
Public Member Functions | |
SwVbaParagraphFormat (const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, css::uno::Reference< css::beans::XPropertySet > xParaProps) | |
virtual | ~SwVbaParagraphFormat () override |
virtual ::sal_Int32 SAL_CALL | getAlignment () override |
virtual void SAL_CALL | setAlignment (::sal_Int32 _alignment) override |
virtual float SAL_CALL | getFirstLineIndent () override |
virtual void SAL_CALL | setFirstLineIndent (float _firstlineindent) override |
virtual css::uno::Any SAL_CALL | getKeepTogether () override |
virtual void SAL_CALL | setKeepTogether (const css::uno::Any &_keeptogether) override |
virtual css::uno::Any SAL_CALL | getKeepWithNext () override |
virtual void SAL_CALL | setKeepWithNext (const css::uno::Any &_keepwithnext) override |
virtual css::uno::Any SAL_CALL | getHyphenation () override |
virtual void SAL_CALL | setHyphenation (const css::uno::Any &_hyphenation) override |
virtual float SAL_CALL | getLineSpacing () override |
virtual void SAL_CALL | setLineSpacing (float _linespacing) override |
virtual ::sal_Int32 SAL_CALL | getLineSpacingRule () override |
virtual void SAL_CALL | setLineSpacingRule (::sal_Int32 _linespacingrule) override |
virtual css::uno::Any SAL_CALL | getNoLineNumber () override |
virtual void SAL_CALL | setNoLineNumber (const css::uno::Any &_nolinenumber) override |
virtual ::sal_Int32 SAL_CALL | getOutlineLevel () override |
virtual void SAL_CALL | setOutlineLevel (::sal_Int32 _outlinelevel) override |
virtual css::uno::Any SAL_CALL | getPageBreakBefore () override |
virtual void SAL_CALL | setPageBreakBefore (const css::uno::Any &_pagebreakbefore) override |
virtual float SAL_CALL | getSpaceBefore () override |
virtual void SAL_CALL | setSpaceBefore (float _spacebefore) override |
virtual float SAL_CALL | getSpaceAfter () override |
virtual void SAL_CALL | setSpaceAfter (float _spaceafter) override |
virtual float SAL_CALL | getLeftIndent () override |
virtual void SAL_CALL | setLeftIndent (float _leftindent) override |
virtual float SAL_CALL | getRightIndent () override |
virtual void SAL_CALL | setRightIndent (float _rightindent) override |
virtual css::uno::Any SAL_CALL | getTabStops () override |
virtual void SAL_CALL | setTabStops (const css::uno::Any &_tabstops) override |
virtual css::uno::Any SAL_CALL | getWidowControl () override |
virtual void SAL_CALL | setWidowControl (const css::uno::Any &_widowcontrol) override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... Ifc > | |
InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< 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 Member Functions | |
css::style::LineSpacing | getOOoLineSpacingFromRule (sal_Int32 _linespacingrule) |
sal_Int16 | getCharHeight () |
Static Private Member Functions | |
static css::style::LineSpacing | getOOoLineSpacing (float _lineSpace, sal_Int16 mode) |
static float | getMSWordLineSpacing (css::style::LineSpacing const &rLineSpacing) |
static sal_Int32 | getMSWordLineSpacingRule (css::style::LineSpacing const &rLineSpacing) |
static css::style::ParagraphAdjust | getOOoAlignment (sal_Int32 _alignment) |
static sal_Int32 | getMSWordAlignment (css::style::ParagraphAdjust _alignment) |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | mxParaProps |
Additional Inherited Members | |
Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 29 of file vbaparagraphformat.hxx.
SwVbaParagraphFormat::SwVbaParagraphFormat | ( | const css::uno::Reference< ooo::vba::XHelperInterface > & | rParent, |
const css::uno::Reference< css::uno::XComponentContext > & | rContext, | ||
css::uno::Reference< css::beans::XPropertySet > | xParaProps | ||
) |
Definition at line 41 of file vbaparagraphformat.cxx.
|
overridevirtual |
Definition at line 45 of file vbaparagraphformat.cxx.
|
override |
Definition at line 49 of file vbaparagraphformat.cxx.
References getMSWordAlignment(), and mxParaProps.
|
private |
css::uno::RuntimeException |
Definition at line 478 of file vbaparagraphformat.cxx.
References mxParaProps.
Referenced by getOOoLineSpacingFromRule().
|
overridevirtual |
Definition at line 62 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 115 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 75 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 95 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 268 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 135 of file vbaparagraphformat.cxx.
References getMSWordLineSpacing(), and mxParaProps.
|
override |
Definition at line 150 of file vbaparagraphformat.cxx.
References getMSWordLineSpacingRule(), and mxParaProps.
|
staticprivate |
Definition at line 518 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER.
Referenced by getAlignment().
|
staticprivate |
Definition at line 414 of file vbaparagraphformat.cxx.
References CHARACTER_INDENT_FACTOR, and PERCENT100.
Referenced by getLineSpacing().
|
staticprivate |
Definition at line 428 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, PERCENT100, PERCENT150, and PERCENT200.
Referenced by getLineSpacingRule().
|
overridevirtual |
Definition at line 163 of file vbaparagraphformat.cxx.
References mxParaProps.
|
staticprivate |
Definition at line 485 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER.
Referenced by setAlignment().
|
staticprivate |
Definition at line 333 of file vbaparagraphformat.cxx.
References CHARACTER_INDENT_FACTOR, mode, PERCENT100, PERCENT150, and PERCENT200.
Referenced by setLineSpacing().
|
private |
Definition at line 369 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, getCharHeight(), PERCENT100, and PERCENT150.
Referenced by setLineSpacingRule().
|
override |
Definition at line 183 of file vbaparagraphformat.cxx.
References mxParaProps, o3tl::toInt32(), and u.
Referenced by setOutlineLevel().
|
overridevirtual |
Definition at line 205 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 281 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 552 of file vbaparagraphformat.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 558 of file vbaparagraphformat.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 255 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 242 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 294 of file vbaparagraphformat.cxx.
References InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and mxParaProps.
|
overridevirtual |
Definition at line 304 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 56 of file vbaparagraphformat.cxx.
References getOOoAlignment(), and mxParaProps.
|
overridevirtual |
Definition at line 69 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 122 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, and mxParaProps.
|
overridevirtual |
Definition at line 82 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, and mxParaProps.
|
overridevirtual |
Definition at line 102 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, and mxParaProps.
|
overridevirtual |
Definition at line 275 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 142 of file vbaparagraphformat.cxx.
References getOOoLineSpacing(), and mxParaProps.
|
overridevirtual |
Definition at line 157 of file vbaparagraphformat.cxx.
References getOOoLineSpacingFromRule(), and mxParaProps.
|
overridevirtual |
Definition at line 170 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, and mxParaProps.
|
overridevirtual |
Definition at line 197 of file vbaparagraphformat.cxx.
References getOutlineLevel().
|
overridevirtual |
Definition at line 213 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, and mxParaProps.
|
overridevirtual |
Definition at line 288 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 262 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 249 of file vbaparagraphformat.cxx.
References mxParaProps.
|
overridevirtual |
Definition at line 299 of file vbaparagraphformat.cxx.
|
overridevirtual |
Definition at line 316 of file vbaparagraphformat.cxx.
References ERRCODE_BASIC_BAD_PARAMETER, and mxParaProps.
|
private |
Definition at line 32 of file vbaparagraphformat.hxx.
Referenced by getAlignment(), getCharHeight(), getFirstLineIndent(), getHyphenation(), getKeepTogether(), getKeepWithNext(), getLeftIndent(), getLineSpacing(), getLineSpacingRule(), getNoLineNumber(), getOutlineLevel(), getPageBreakBefore(), getRightIndent(), getSpaceAfter(), getSpaceBefore(), getTabStops(), getWidowControl(), setAlignment(), setFirstLineIndent(), setHyphenation(), setKeepTogether(), setKeepWithNext(), setLeftIndent(), setLineSpacing(), setLineSpacingRule(), setNoLineNumber(), setPageBreakBefore(), setRightIndent(), setSpaceAfter(), setSpaceBefore(), and setWidowControl().