Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : #ifndef VBA_FONT_HXX
3 : : #define VBA_FONT_HXX
4 : :
5 : : #include <vbahelper/vbafontbase.hxx>
6 : : #include <ooo/vba/word/XFont.hpp>
7 : :
8 : : typedef cppu::ImplInheritanceHelper1< VbaFontBase, ov::word::XFont > SwVbaFont_BASE;
9 : :
10 : : class SwVbaFont : public SwVbaFont_BASE
11 : : {
12 : : public:
13 : : 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 );
14 [ # # ]: 0 : virtual ~SwVbaFont(){}
15 : :
16 : : // Attributes
17 : : virtual void SAL_CALL setColorIndex( const css::uno::Any& _colorindex ) throw (css::uno::RuntimeException);
18 : : virtual css::uno::Any SAL_CALL getColorIndex() throw (css::uno::RuntimeException);
19 : : virtual css::uno::Any SAL_CALL getUnderline() throw (css::uno::RuntimeException);
20 : : virtual void SAL_CALL setUnderline( const css::uno::Any& _underline ) throw (css::uno::RuntimeException);
21 : : virtual css::uno::Any SAL_CALL getSubscript() throw ( css::uno::RuntimeException );
22 : : virtual css::uno::Any SAL_CALL getSuperscript() throw ( css::uno::RuntimeException );
23 : :
24 : : virtual css::uno::Any SAL_CALL getBold() throw (css::uno::RuntimeException);
25 : : virtual css::uno::Any SAL_CALL getItalic() throw (css::uno::RuntimeException);
26 : : virtual css::uno::Any SAL_CALL getStrikethrough() throw (css::uno::RuntimeException);
27 : : virtual css::uno::Any SAL_CALL getShadow() throw (css::uno::RuntimeException);
28 : : // XHelperInterface
29 : : virtual rtl::OUString getServiceImplName();
30 : : virtual css::uno::Sequence<rtl::OUString> getServiceNames();
31 : : };
32 : : #endif
33 : :
34 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|