1 #ifndef SW_VBA_TABLES_HXX
2 #define SW_VBA_TABLES_HXX
4 #include <ooo/vba/word/XTables.hpp>
5 #include <vbahelper/vbacollectionimpl.hxx>
8 typedef CollTestImplHelper
< ov::word::XTables
> SwVbaTables_BASE
;
10 class SwVbaTables
: public SwVbaTables_BASE
12 css::uno::Reference
< css::frame::XModel
> mxDocument
;
14 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 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 virtual css::uno::Type SAL_CALL
getElementType() throw (css::uno::RuntimeException
);
19 virtual css::uno::Reference
< css::container::XEnumeration
> SAL_CALL
createEnumeration() throw (css::uno::RuntimeException
);
20 // ScVbaCollectionBaseImpl
21 virtual css::uno::Any
createCollectionObject( const css::uno::Any
& aSource
);
24 virtual rtl::OUString
& getServiceImplName();
25 virtual css::uno::Sequence
<rtl::OUString
> getServiceNames();