19 #ifndef INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOKS_HXX
20 #define INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOKS_HXX
23 #include <ooo/vba/excel/XWorkbooks.hpp>
32 static bool isTextFile( std::u16string_view rString );
34 static sal_Int16&
getCurrentDelim(){
static sal_Int16 nDelim = 44;
return nDelim; }
36 ScVbaWorkbooks(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext >& xContext );
40 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
48 virtual css::uno::Any SAL_CALL
Add(
const css::uno::Any& Template )
override;
49 virtual void SAL_CALL
Close( )
override;
50 virtual css::uno::Any SAL_CALL
Open(
const OUString& Filename,
const css::uno::Any&
UpdateLinks,
const css::uno::Any& ReadOnly,
const css::uno::Any& Format,
const css::uno::Any& Password,
const css::uno::Any& WriteResPassword,
const css::uno::Any& IgnoreReadOnlyRecommended,
const css::uno::Any& Origin,
const css::uno::Any& Delimiter,
const css::uno::Any& Editable,
const css::uno::Any&
Notify,
const css::uno::Any& Converter,
const css::uno::Any& AddToMru )
override;
53 #endif // INCLUDED_SC_SOURCE_UI_VBA_VBAWORKBOOKS_HXX
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
ScVbaWorkbooks(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual css::uno::Sequence< OUString > getServiceNames() override
virtual OUString getServiceImplName() override
static sal_Int16 & getCurrentDelim()
virtual void SAL_CALL Close() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Any SAL_CALL Add(const css::uno::Any &Template) override
void Notify(ScModelObj &rModelObj, const ScRangeList &rChangeRanges, const OUString &rType=OUString("cell-change"), const css::uno::Sequence< css::beans::PropertyValue > &rProperties=css::uno::Sequence< css::beans::PropertyValue >())
virtual css::uno::Any createCollectionObject(const css::uno::Any &aSource) override
virtual css::uno::Any SAL_CALL Open(const OUString &Filename, const css::uno::Any &UpdateLinks, const css::uno::Any &ReadOnly, const css::uno::Any &Format, const css::uno::Any &Password, const css::uno::Any &WriteResPassword, const css::uno::Any &IgnoreReadOnlyRecommended, const css::uno::Any &Origin, const css::uno::Any &Delimiter, const css::uno::Any &Editable, const css::uno::Any &Notify, const css::uno::Any &Converter, const css::uno::Any &AddToMru) override
OUString getFileFilterType(const OUString &rString)
static bool isSpreadSheetFile(const OUString &rString)
cppu::ImplInheritanceHelper< VbaDocumentsBase, ov::excel::XWorkbooks > ScVbaWorkbooks_BASE
static bool isTextFile(std::u16string_view rString)