Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : #ifndef SW_VBA_TABLES_HXX
3 : : #define SW_VBA_TABLES_HXX
4 : :
5 : : #include <ooo/vba/word/XTables.hpp>
6 : : #include <vbahelper/vbacollectionimpl.hxx>
7 : :
8 : :
9 : : typedef CollTestImplHelper< ov::word::XTables > SwVbaTables_BASE;
10 : :
11 [ # # ]: 0 : class SwVbaTables : public SwVbaTables_BASE
12 : : {
13 : : css::uno::Reference< css::frame::XModel > mxDocument;
14 : : public:
15 : : SwVbaTables( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext > & xContext, const css::uno::Reference< css::frame::XModel >& xDocument );
16 : : // XTables
17 : : virtual css::uno::Reference< ov::word::XTable > SAL_CALL Add( const css::uno::Reference< ::ooo::vba::word::XRange >& Range, const css::uno::Any& NumRows, const css::uno::Any& NumColumns, const css::uno::Any& DefaultTableBehavior, const css::uno::Any& AutoFitBehavior ) throw (css::script::BasicErrorException, css::uno::RuntimeException);
18 : : // XEnumerationAccess
19 : : virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException);
20 : : virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException);
21 : : // ScVbaCollectionBaseImpl
22 : : virtual css::uno::Any createCollectionObject( const css::uno::Any& aSource );
23 : :
24 : : // XHelperInterface
25 : : virtual rtl::OUString getServiceImplName();
26 : : virtual css::uno::Sequence<rtl::OUString> getServiceNames();
27 : : };
28 : :
29 : : #endif
30 : :
31 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|