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

#include <vbaworksheets.hxx>

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

Public Member Functions

 ScVbaWorksheets (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xSheets, const css::uno::Reference< css::frame::XModel > &xModel)
 
 ScVbaWorksheets (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XEnumerationAccess > &xEnum, const css::uno::Reference< css::frame::XModel > &xModel)
 
bool isSelectedSheets () const
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any SAL_CALL getVisible () override
 
virtual void SAL_CALL setVisible (const css::uno::Any &_visible) override
 
virtual css::uno::Any SAL_CALL Add (const css::uno::Any &Before, const css::uno::Any &After, const css::uno::Any &Count, const css::uno::Any &Type) override
 
virtual void SAL_CALL Delete () override
 
virtual void SAL_CALL PrintOut (const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &Copies, const css::uno::Any &Preview, const css::uno::Any &ActivePrinter, const css::uno::Any &PrintToFile, const css::uno::Any &Collate, const css::uno::Any &PrToFileName) override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource) override
 
virtual void SAL_CALL Select (const css::uno::Any &Replace) override
 
virtual void SAL_CALL Copy (const css::uno::Any &Before, const css::uno::Any &After) override
 
virtual void SAL_CALL PrintPreview (const css::uno::Any &EnableChanges) override
 
virtual css::uno::Any SAL_CALL Item (const css::uno::Any &Index1, const css::uno::Any &Index2) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from CollTestImplHelper< Ifc >
 CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
- Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
 ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
OUString SAL_CALL getDefaultMethodName () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Static Public Member Functions

static bool nameExists (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xSpreadDoc, const OUString &name, SCTAB &nTab)
 

Private Attributes

css::uno::Reference< css::frame::XModel > mxModel
 
css::uno::Reference< css::sheet::XSpreadsheets > m_xSheets
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
virtual css::uno::Any getItemByStringIndex (const OUString &sIndex)
 
virtual css::uno::Any getItemByIntIndex (const sal_Int32 nIndex)
 
void UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess)
 
- Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess
 
css::uno::Reference< css::container::XNameAccess > m_xNameAccess
 
bool mbIgnoreCase
 
- Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 35 of file vbaworksheets.hxx.

Constructor & Destructor Documentation

ScVbaWorksheets::ScVbaWorksheets ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::container::XIndexAccess > &  xSheets,
const css::uno::Reference< css::frame::XModel > &  xModel 
)

Referenced by Item().

ScVbaWorksheets::ScVbaWorksheets ( const css::uno::Reference< ov::XHelperInterface > &  xParent,
const css::uno::Reference< css::uno::XComponentContext > &  xContext,
const css::uno::Reference< css::container::XEnumerationAccess > &  xEnum,
const css::uno::Reference< css::frame::XModel > &  xModel 
)

Member Function Documentation

uno::Any ScVbaWorksheets::Add ( const css::uno::Any &  Before,
const css::uno::Any &  After,
const css::uno::Any &  Count,
const css::uno::Any &  Type 
)
overridevirtual
void SAL_CALL ScVbaWorksheets::Copy ( const css::uno::Any &  Before,
const css::uno::Any &  After 
)
overridevirtual
uno::Any ScVbaWorksheets::createCollectionObject ( const css::uno::Any &  aSource)
overridevirtual
uno::Reference< container::XEnumeration > ScVbaWorksheets::createEnumeration ( )
overridevirtual
void ScVbaWorksheets::Delete ( )
overridevirtual
uno::Type ScVbaWorksheets::getElementType ( )
overridevirtual
OUString ScVbaWorksheets::getServiceImplName ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 450 of file vbaworksheets.cxx.

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

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 456 of file vbaworksheets.cxx.

uno::Any SAL_CALL ScVbaWorksheets::getVisible ( )
overridevirtual

Definition at line 320 of file vbaworksheets.cxx.

References bVisible, and createEnumeration().

bool ScVbaWorksheets::isSelectedSheets ( ) const

Definition at line 298 of file vbaworksheets.cxx.

References m_xSheets.

Referenced by Add(), and PrintOut().

uno::Any SAL_CALL ScVbaWorksheets::Item ( const css::uno::Any &  Index1,
const css::uno::Any &  Index2 
)
overridevirtual
bool ScVbaWorksheets::nameExists ( const css::uno::Reference< css::sheet::XSpreadsheetDocument > &  xSpreadDoc,
const OUString &  name,
SCTAB nTab 
)
static
void SAL_CALL ScVbaWorksheets::PrintOut ( const css::uno::Any &  From,
const css::uno::Any &  To,
const css::uno::Any &  Copies,
const css::uno::Any &  Preview,
const css::uno::Any &  ActivePrinter,
const css::uno::Any &  PrintToFile,
const css::uno::Any &  Collate,
const css::uno::Any &  PrToFileName 
)
overridevirtual
void ScVbaWorksheets::PrintPreview ( const css::uno::Any &  EnableChanges)
overridevirtual
void SAL_CALL ScVbaWorksheets::Select ( const css::uno::Any &  Replace)
overridevirtual
void SAL_CALL ScVbaWorksheets::setVisible ( const css::uno::Any &  _visible)
overridevirtual

Definition at line 337 of file vbaworksheets.cxx.

References createEnumeration().

Member Data Documentation

css::uno::Reference< css::sheet::XSpreadsheets > ScVbaWorksheets::m_xSheets
private

Definition at line 38 of file vbaworksheets.hxx.

Referenced by Add(), createEnumeration(), and isSelectedSheets().

css::uno::Reference< css::frame::XModel > ScVbaWorksheets::mxModel
private

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