LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
ScVbaWorkbooks Class Reference

#include <vbaworkbooks.hxx>

Inheritance diagram for ScVbaWorkbooks:
[legend]
Collaboration diagram for ScVbaWorkbooks:
[legend]

Public Member Functions

 ScVbaWorkbooks (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
virtual css::uno::Any SAL_CALL Add (const css::uno::Any &Template) override
 
virtual void SAL_CALL Close () 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
 

Private Member Functions

OUString getFileFilterType (const OUString &rString)
 

Static Private Member Functions

static bool isTextFile (const OUString &rString)
 
static bool isSpreadSheetFile (const OUString &rString)
 
static sal_Int16 & getCurrentDelim ()
 

Detailed Description

Definition at line 28 of file vbaworkbooks.hxx.

Constructor & Destructor Documentation

ScVbaWorkbooks::ScVbaWorkbooks ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext 
)

Definition at line 77 of file vbaworkbooks.cxx.

Member Function Documentation

uno::Any SAL_CALL ScVbaWorkbooks::Add ( const css::uno::Any &  Template)
overridevirtual
void SAL_CALL ScVbaWorkbooks::Close ( )
overridevirtual

Definition at line 149 of file vbaworkbooks.cxx.

uno::Any ScVbaWorkbooks::createCollectionObject ( const css::uno::Any &  aSource)
overridevirtual

Definition at line 98 of file vbaworkbooks.cxx.

References getWorkbook(), mxContext, and mxParent.

uno::Reference< container::XEnumeration > ScVbaWorkbooks::createEnumeration ( )
overridevirtual

Definition at line 87 of file vbaworkbooks.cxx.

References mxContext, and mxParent.

static sal_Int16& ScVbaWorkbooks::getCurrentDelim ( )
inlinestaticprivate

Definition at line 34 of file vbaworkbooks.hxx.

Referenced by Open().

uno::Type ScVbaWorkbooks::getElementType ( )
overridevirtual

Definition at line 82 of file vbaworkbooks.cxx.

References cppu::UnoType< class >::get().

OUString ScVbaWorkbooks::getFileFilterType ( const OUString &  rString)
private

Definition at line 175 of file vbaworkbooks.cxx.

References mxContext, and sType.

Referenced by Open().

OUString ScVbaWorkbooks::getServiceImplName ( )
overridevirtual

Definition at line 272 of file vbaworkbooks.cxx.

css::uno::Sequence< OUString > ScVbaWorkbooks::getServiceNames ( )
overridevirtual

Definition at line 278 of file vbaworkbooks.cxx.

bool ScVbaWorkbooks::isSpreadSheetFile ( const OUString &  rString)
staticprivate

Definition at line 165 of file vbaworkbooks.cxx.

Referenced by Open().

bool ScVbaWorkbooks::isTextFile ( const OUString &  rString)
staticprivate

Definition at line 154 of file vbaworkbooks.cxx.

Referenced by Open().

uno::Any SAL_CALL ScVbaWorkbooks::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 
)
overridevirtual

The documentation for this class was generated from the following files: