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

#include <vbaglobals.hxx>

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

Public Member Functions

 ScVbaGlobals (css::uno::Sequence< css::uno::Any > const &aArgs, css::uno::Reference< css::uno::XComponentContext >const &rxContext)
 
virtual ~ScVbaGlobals () override
 
virtual css::uno::Reference< ov::excel::XWorkbook > SAL_CALL getActiveWorkbook () override
 
virtual css::uno::Reference< ov::excel::XWindow > SAL_CALL getActiveWindow () override
 
virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL getActiveSheet () override
 
virtual css::uno::Reference< ov::XAssistant > SAL_CALL getAssistant () override
 
virtual void SAL_CALL Calculate () override
 
virtual css::uno::Any SAL_CALL getSelection () override
 
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getActiveCell () override
 
virtual css::uno::Reference< ov::excel::XWorkbook > SAL_CALL getThisWorkbook () override
 
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Cells (const css::uno::Any &RowIndex, const css::uno::Any &ColumnIndex) override
 
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Columns (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL CommandBars (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Evaluate (const OUString &Name) override
 
virtual css::uno::Any SAL_CALL WorkSheets (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL WorkBooks (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL WorksheetFunction () override
 
virtual css::uno::Any SAL_CALL Windows (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Sheets (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Range (const css::uno::Any &Cell1, const css::uno::Any &Cell2) override
 
virtual css::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Rows (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Names (const css::uno::Any &aIndex) override
 
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Intersect (const css::uno::Reference< ov::excel::XRange > &Arg1, const css::uno::Reference< ov::excel::XRange > &Arg2, const css::uno::Any &Arg3, const css::uno::Any &Arg4, const css::uno::Any &Arg5, const css::uno::Any &Arg6, const css::uno::Any &Arg7, const css::uno::Any &Arg8, const css::uno::Any &Arg9, const css::uno::Any &Arg10, const css::uno::Any &Arg11, const css::uno::Any &Arg12, const css::uno::Any &Arg13, const css::uno::Any &Arg14, const css::uno::Any &Arg15, const css::uno::Any &Arg16, const css::uno::Any &Arg17, const css::uno::Any &Arg18, const css::uno::Any &Arg19, const css::uno::Any &Arg20, const css::uno::Any &Arg21, const css::uno::Any &Arg22, const css::uno::Any &Arg23, const css::uno::Any &Arg24, const css::uno::Any &Arg25, const css::uno::Any &Arg26, const css::uno::Any &Arg27, const css::uno::Any &Arg28, const css::uno::Any &Arg29, const css::uno::Any &Arg30) override
 
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL Union (const css::uno::Reference< ov::excel::XRange > &Arg1, const css::uno::Reference< ov::excel::XRange > &Arg2, const css::uno::Any &Arg3, const css::uno::Any &Arg4, const css::uno::Any &Arg5, const css::uno::Any &Arg6, const css::uno::Any &Arg7, const css::uno::Any &Arg8, const css::uno::Any &Arg9, const css::uno::Any &Arg10, const css::uno::Any &Arg11, const css::uno::Any &Arg12, const css::uno::Any &Arg13, const css::uno::Any &Arg14, const css::uno::Any &Arg15, const css::uno::Any &Arg16, const css::uno::Any &Arg17, const css::uno::Any &Arg18, const css::uno::Any &Arg19, const css::uno::Any &Arg20, const css::uno::Any &Arg21, const css::uno::Any &Arg22, const css::uno::Any &Arg23, const css::uno::Any &Arg24, const css::uno::Any &Arg25, const css::uno::Any &Arg26, const css::uno::Any &Arg27, const css::uno::Any &Arg28, const css::uno::Any &Arg29, const css::uno::Any &Arg30) override
 
virtual css::uno::Reference< ov::excel::XApplication > SAL_CALL getExcel () override
 
virtual css::uno::Any SAL_CALL getDebug () override
 
virtual css::uno::Any SAL_CALL MenuBars (const css::uno::Any &aIndex) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 

Private Member Functions

css::uno::Reference< ov::excel::XApplication > const & getApplication ()
 

Private Attributes

css::uno::Reference< ov::excel::XApplication > mxApplication
 

Detailed Description

Definition at line 34 of file vbaglobals.hxx.

Constructor & Destructor Documentation

◆ ScVbaGlobals()

ScVbaGlobals::ScVbaGlobals ( css::uno::Sequence< css::uno::Any > const &  aArgs,
css::uno::Reference< css::uno::XComponentContext >const &  rxContext 
)

Definition at line 36 of file vbaglobals.cxx.

References getApplication(), init(), and Reference.

◆ ~ScVbaGlobals()

ScVbaGlobals::~ScVbaGlobals ( )
overridevirtual

Definition at line 50 of file vbaglobals.cxx.

Member Function Documentation

◆ Calculate()

void SAL_CALL ScVbaGlobals::Calculate ( )
overridevirtual

Definition at line 142 of file vbaglobals.cxx.

References getApplication().

◆ Cells()

uno::Reference< excel::XRange > SAL_CALL ScVbaGlobals::Cells ( const css::uno::Any &  RowIndex,
const css::uno::Any &  ColumnIndex 
)
overridevirtual

Definition at line 148 of file vbaglobals.cxx.

References getApplication().

◆ Columns()

uno::Reference< excel::XRange > SAL_CALL ScVbaGlobals::Columns ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 153 of file vbaglobals.cxx.

References aIndex, and getApplication().

◆ CommandBars()

uno::Any SAL_CALL ScVbaGlobals::CommandBars ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 159 of file vbaglobals.cxx.

References aIndex, and getApplication().

◆ Evaluate()

uno::Any SAL_CALL ScVbaGlobals::Evaluate ( const OUString &  Name)
overridevirtual

Definition at line 177 of file vbaglobals.cxx.

References getApplication(), and Name.

◆ getActiveCell()

uno::Reference< excel::XRange > SAL_CALL ScVbaGlobals::getActiveCell ( )
overridevirtual

Definition at line 119 of file vbaglobals.cxx.

References getApplication().

◆ getActiveSheet()

uno::Reference< excel::XWorksheet > SAL_CALL ScVbaGlobals::getActiveSheet ( )
overridevirtual

Definition at line 84 of file vbaglobals.cxx.

References getApplication().

◆ getActiveWindow()

uno::Reference< excel::XWindow > SAL_CALL ScVbaGlobals::getActiveWindow ( )
overridevirtual

Definition at line 78 of file vbaglobals.cxx.

References getApplication().

◆ getActiveWorkbook()

uno::Reference< excel::XWorkbook > SAL_CALL ScVbaGlobals::getActiveWorkbook ( )
overridevirtual

Definition at line 71 of file vbaglobals.cxx.

References getActiveWorkbook(), and getApplication().

Referenced by getActiveWorkbook().

◆ getApplication()

uno::Reference< excel::XApplication > const & ScVbaGlobals::getApplication ( )
private

◆ getAssistant()

uno::Reference< XAssistant > SAL_CALL ScVbaGlobals::getAssistant ( )
overridevirtual

Definition at line 125 of file vbaglobals.cxx.

References getApplication().

◆ getAvailableServiceNames()

uno::Sequence< OUString > SAL_CALL ScVbaGlobals::getAvailableServiceNames ( )
overridevirtual

Definition at line 224 of file vbaglobals.cxx.

References comphelper::concatSequences().

◆ getDebug()

uno::Any SAL_CALL ScVbaGlobals::getDebug ( )
overridevirtual

Definition at line 202 of file vbaglobals.cxx.

References mxContext.

◆ getExcel()

uno::Reference< excel::XApplication > SAL_CALL ScVbaGlobals::getExcel ( )
overridevirtual

Definition at line 65 of file vbaglobals.cxx.

References getApplication().

◆ getSelection()

uno::Any SAL_CALL ScVbaGlobals::getSelection ( )
overridevirtual

Definition at line 131 of file vbaglobals.cxx.

References getApplication().

◆ getServiceImplName()

OUString ScVbaGlobals::getServiceImplName ( )
overridevirtual

Definition at line 242 of file vbaglobals.cxx.

◆ getServiceNames()

uno::Sequence< OUString > ScVbaGlobals::getServiceNames ( )
overridevirtual

Definition at line 248 of file vbaglobals.cxx.

References aServiceNames.

◆ getThisWorkbook()

uno::Reference< excel::XWorkbook > SAL_CALL ScVbaGlobals::getThisWorkbook ( )
overridevirtual

Definition at line 137 of file vbaglobals.cxx.

References getApplication().

◆ Intersect()

css::uno::Reference< ov::excel::XRange > SAL_CALL ScVbaGlobals::Intersect ( const css::uno::Reference< ov::excel::XRange > &  Arg1,
const css::uno::Reference< ov::excel::XRange > &  Arg2,
const css::uno::Any &  Arg3,
const css::uno::Any &  Arg4,
const css::uno::Any &  Arg5,
const css::uno::Any &  Arg6,
const css::uno::Any &  Arg7,
const css::uno::Any &  Arg8,
const css::uno::Any &  Arg9,
const css::uno::Any &  Arg10,
const css::uno::Any &  Arg11,
const css::uno::Any &  Arg12,
const css::uno::Any &  Arg13,
const css::uno::Any &  Arg14,
const css::uno::Any &  Arg15,
const css::uno::Any &  Arg16,
const css::uno::Any &  Arg17,
const css::uno::Any &  Arg18,
const css::uno::Any &  Arg19,
const css::uno::Any &  Arg20,
const css::uno::Any &  Arg21,
const css::uno::Any &  Arg22,
const css::uno::Any &  Arg23,
const css::uno::Any &  Arg24,
const css::uno::Any &  Arg25,
const css::uno::Any &  Arg26,
const css::uno::Any &  Arg27,
const css::uno::Any &  Arg28,
const css::uno::Any &  Arg29,
const css::uno::Any &  Arg30 
)
overridevirtual

Definition at line 171 of file vbaglobals.cxx.

References getApplication().

◆ MenuBars()

uno::Any SAL_CALL ScVbaGlobals::MenuBars ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 218 of file vbaglobals.cxx.

References aIndex, and getApplication().

◆ Names()

uno::Any SAL_CALL ScVbaGlobals::Names ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 113 of file vbaglobals.cxx.

References aIndex, and getApplication().

◆ Range()

uno::Any SAL_CALL ScVbaGlobals::Range ( const css::uno::Any &  Cell1,
const css::uno::Any &  Cell2 
)
overridevirtual

Definition at line 107 of file vbaglobals.cxx.

References getApplication().

◆ Rows()

uno::Reference< excel::XRange > SAL_CALL ScVbaGlobals::Rows ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 195 of file vbaglobals.cxx.

References aIndex, and getApplication().

◆ Sheets()

uno::Any SAL_CALL ScVbaGlobals::Sheets ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 101 of file vbaglobals.cxx.

References aIndex, and WorkSheets().

◆ Union()

css::uno::Reference< ov::excel::XRange > SAL_CALL ScVbaGlobals::Union ( const css::uno::Reference< ov::excel::XRange > &  Arg1,
const css::uno::Reference< ov::excel::XRange > &  Arg2,
const css::uno::Any &  Arg3,
const css::uno::Any &  Arg4,
const css::uno::Any &  Arg5,
const css::uno::Any &  Arg6,
const css::uno::Any &  Arg7,
const css::uno::Any &  Arg8,
const css::uno::Any &  Arg9,
const css::uno::Any &  Arg10,
const css::uno::Any &  Arg11,
const css::uno::Any &  Arg12,
const css::uno::Any &  Arg13,
const css::uno::Any &  Arg14,
const css::uno::Any &  Arg15,
const css::uno::Any &  Arg16,
const css::uno::Any &  Arg17,
const css::uno::Any &  Arg18,
const css::uno::Any &  Arg19,
const css::uno::Any &  Arg20,
const css::uno::Any &  Arg21,
const css::uno::Any &  Arg22,
const css::uno::Any &  Arg23,
const css::uno::Any &  Arg24,
const css::uno::Any &  Arg25,
const css::uno::Any &  Arg26,
const css::uno::Any &  Arg27,
const css::uno::Any &  Arg28,
const css::uno::Any &  Arg29,
const css::uno::Any &  Arg30 
)
overridevirtual

Definition at line 166 of file vbaglobals.cxx.

References getApplication().

◆ Windows()

uno::Any SAL_CALL ScVbaGlobals::Windows ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 189 of file vbaglobals.cxx.

References aIndex, and getApplication().

◆ WorkBooks()

uno::Any SAL_CALL ScVbaGlobals::WorkBooks ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 90 of file vbaglobals.cxx.

References aIndex, and getApplication().

◆ WorksheetFunction()

css::uno::Any SAL_CALL ScVbaGlobals::WorksheetFunction ( )
overridevirtual

Definition at line 183 of file vbaglobals.cxx.

References getApplication().

◆ WorkSheets()

uno::Any SAL_CALL ScVbaGlobals::WorkSheets ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 96 of file vbaglobals.cxx.

References aIndex, and getApplication().

Referenced by Sheets().

Member Data Documentation

◆ mxApplication

css::uno::Reference< ov::excel::XApplication > ScVbaGlobals::mxApplication
private

Definition at line 36 of file vbaglobals.hxx.

Referenced by getApplication().


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