4 #include <vbahelper/vbafontbase.hxx>
5 #include <ooo/vba/word/XFont.hpp>
7 typedef cppu::ImplInheritanceHelper1
< VbaFontBase
, ov::word::XFont
> SwVbaFont_BASE
;
9 class SwVbaFont
: public SwVbaFont_BASE
12 SwVbaFont( const css::uno::Reference
< ov::XHelperInterface
>& xParent
, const css::uno::Reference
< css::uno::XComponentContext
>& xContext
, const css::uno::Reference
< css::container::XIndexAccess
>& xPalette
, css::uno::Reference
< css::beans::XPropertySet
> xPropertySet
) throw ( css::uno::RuntimeException
);
13 virtual ~SwVbaFont(){}
16 virtual void SAL_CALL
setColorIndex( const css::uno::Any
& _colorindex
) throw (css::uno::RuntimeException
);
17 virtual css::uno::Any SAL_CALL
getColorIndex() throw (css::uno::RuntimeException
);
18 virtual css::uno::Any SAL_CALL
getUnderline() throw (css::uno::RuntimeException
);
19 virtual void SAL_CALL
setUnderline( const css::uno::Any
& _underline
) throw (css::uno::RuntimeException
);
20 virtual css::uno::Any SAL_CALL
getSubscript() throw ( css::uno::RuntimeException
);
21 virtual css::uno::Any SAL_CALL
getSuperscript() throw ( css::uno::RuntimeException
);
23 virtual css::uno::Any SAL_CALL
getBold() throw (css::uno::RuntimeException
);
24 virtual css::uno::Any SAL_CALL
getItalic() throw (css::uno::RuntimeException
);
25 virtual css::uno::Any SAL_CALL
getStrikethrough() throw (css::uno::RuntimeException
);
26 virtual css::uno::Any SAL_CALL
getShadow() throw (css::uno::RuntimeException
);
28 virtual rtl::OUString
& getServiceImplName();
29 virtual css::uno::Sequence
<rtl::OUString
> getServiceNames();