1*cdf0e10cSrcweir #ifndef VBA_FONT_HXX 2*cdf0e10cSrcweir #define VBA_FONT_HXX 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir #include <vbahelper/vbafontbase.hxx> 5*cdf0e10cSrcweir #include <ooo/vba/word/XFont.hpp> 6*cdf0e10cSrcweir 7*cdf0e10cSrcweir typedef cppu::ImplInheritanceHelper1< VbaFontBase, ov::word::XFont > SwVbaFont_BASE; 8*cdf0e10cSrcweir 9*cdf0e10cSrcweir class SwVbaFont : public SwVbaFont_BASE 10*cdf0e10cSrcweir { 11*cdf0e10cSrcweir public: 12*cdf0e10cSrcweir 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*cdf0e10cSrcweir virtual ~SwVbaFont(){} 14*cdf0e10cSrcweir 15*cdf0e10cSrcweir // Attributes 16*cdf0e10cSrcweir virtual void SAL_CALL setColorIndex( const css::uno::Any& _colorindex ) throw (css::uno::RuntimeException); 17*cdf0e10cSrcweir virtual css::uno::Any SAL_CALL getColorIndex() throw (css::uno::RuntimeException); 18*cdf0e10cSrcweir virtual css::uno::Any SAL_CALL getUnderline() throw (css::uno::RuntimeException); 19*cdf0e10cSrcweir virtual void SAL_CALL setUnderline( const css::uno::Any& _underline ) throw (css::uno::RuntimeException); 20*cdf0e10cSrcweir virtual css::uno::Any SAL_CALL getSubscript() throw ( css::uno::RuntimeException ); 21*cdf0e10cSrcweir virtual css::uno::Any SAL_CALL getSuperscript() throw ( css::uno::RuntimeException ); 22*cdf0e10cSrcweir 23*cdf0e10cSrcweir virtual css::uno::Any SAL_CALL getBold() throw (css::uno::RuntimeException); 24*cdf0e10cSrcweir virtual css::uno::Any SAL_CALL getItalic() throw (css::uno::RuntimeException); 25*cdf0e10cSrcweir virtual css::uno::Any SAL_CALL getStrikethrough() throw (css::uno::RuntimeException); 26*cdf0e10cSrcweir virtual css::uno::Any SAL_CALL getShadow() throw (css::uno::RuntimeException); 27*cdf0e10cSrcweir // XHelperInterface 28*cdf0e10cSrcweir virtual rtl::OUString& getServiceImplName(); 29*cdf0e10cSrcweir virtual css::uno::Sequence<rtl::OUString> getServiceNames(); 30*cdf0e10cSrcweir }; 31*cdf0e10cSrcweir #endif 32