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, 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, 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< typename... 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, css::uno::Reference< css::container::XIndexAccess > xIndexAccess, bool bIgnoreCase=false)
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL Item (const css::uno::Any &Index1, const css::uno::Any &) override
 
OUString SAL_CALL getDefaultMethodName () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override=0
 
virtual css::uno::Type SAL_CALL getElementType () override=0
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &aSource)=0
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
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, std::u16string_view 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 34 of file vbaworksheets.hxx.

Constructor & Destructor Documentation

◆ ScVbaWorksheets() [1/2]

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,
css::uno::Reference< css::frame::XModel >  xModel 
)

Referenced by Item().

◆ ScVbaWorksheets() [2/2]

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,
css::uno::Reference< css::frame::XModel >  xModel 
)

Member Function Documentation

◆ Add()

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

◆ Copy()

void SAL_CALL ScVbaWorksheets::Copy ( const css::uno::Any &  Before,
const css::uno::Any &  After 
)
overridevirtual

◆ createCollectionObject()

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

◆ createEnumeration()

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

◆ Delete()

void ScVbaWorksheets::Delete ( )
overridevirtual

◆ getElementType()

uno::Type ScVbaWorksheets::getElementType ( )
overridevirtual

◆ getServiceImplName()

OUString ScVbaWorksheets::getServiceImplName ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 451 of file vbaworksheets.cxx.

◆ getServiceNames()

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

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 457 of file vbaworksheets.cxx.

◆ getVisible()

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

Definition at line 321 of file vbaworksheets.cxx.

References bVisible, and createEnumeration().

◆ isSelectedSheets()

bool ScVbaWorksheets::isSelectedSheets ( ) const

Definition at line 299 of file vbaworksheets.cxx.

References m_xSheets.

Referenced by Add(), and PrintOut().

◆ Item()

uno::Any SAL_CALL ScVbaWorksheets::Item ( const css::uno::Any &  Index1,
const css::uno::Any &  Index2 
)
overridevirtual

◆ nameExists()

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

◆ PrintOut()

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

◆ PrintPreview()

void ScVbaWorksheets::PrintPreview ( const css::uno::Any &  EnableChanges)
overridevirtual

◆ Select()

void SAL_CALL ScVbaWorksheets::Select ( const css::uno::Any &  Replace)
overridevirtual

◆ setVisible()

void SAL_CALL ScVbaWorksheets::setVisible ( const css::uno::Any &  _visible)
overridevirtual

Definition at line 338 of file vbaworksheets.cxx.

References createEnumeration().

Member Data Documentation

◆ m_xSheets

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

Definition at line 37 of file vbaworksheets.hxx.

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

◆ mxModel

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

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