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

#include <vbaapplication.hxx>

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

Public Member Functions

 ScVbaApplication (const css::uno::Reference< css::uno::XComponentContext > &m_xContext)
 
virtual ~ScVbaApplication () override
 
sal_uInt32 AddSink (const css::uno::Reference< ooo::vba::XSink > &xSink)
 
void RemoveSink (sal_uInt32 nNumber)
 
virtual OUString SAL_CALL getExactName (const OUString &aApproximateName) override
 
virtual css::uno::Reference< css::beans::XIntrospectionAccess > SAL_CALL getIntrospection () override
 
virtual css::uno::Any SAL_CALL invoke (const OUString &FunctionName, const css::uno::Sequence< css::uno::Any > &Params, css::uno::Sequence< sal_Int16 > &OutParamIndex, css::uno::Sequence< css::uno::Any > &OutParam) override
 
virtual void SAL_CALL setValue (const OUString &PropertyName, const css::uno::Any &Value) override
 
virtual css::uno::Any SAL_CALL getValue (const OUString &PropertyName) override
 
virtual sal_Bool SAL_CALL hasMethod (const OUString &Name) override
 
virtual sal_Bool SAL_CALL hasProperty (const OUString &Name) override
 
virtual void SAL_CALL setDefaultFilePath (const OUString &DefaultFilePath) override
 
virtual OUString SAL_CALL getDefaultFilePath () override
 
virtual OUString SAL_CALL getPathSeparator () override
 
virtual OUString SAL_CALL getLibraryPath () override
 
virtual OUString SAL_CALL getTemplatesPath () override
 
virtual OUString SAL_CALL getOperatingSystem () override
 
virtual OUString SAL_CALL getName () override
 
virtual sal_Bool SAL_CALL getDisplayAlerts () override
 
virtual void SAL_CALL setDisplayAlerts (sal_Bool displayAlerts) override
 
virtual ::sal_Int32 SAL_CALL getCalculation () override
 
virtual void SAL_CALL setCalculation (::sal_Int32 _calculation) override
 
virtual css::uno::Any SAL_CALL getSelection () override
 
virtual css::uno::Reference< ov::excel::XWorkbook > SAL_CALL getActiveWorkbook () override
 
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getActiveCell () override
 
virtual css::uno::Reference< ov::excel::XWindow > SAL_CALL getActiveWindow () override
 
virtual css::uno::Reference< ov::excel::XWorksheet > SAL_CALL getActiveSheet () override
 
virtual sal_Bool SAL_CALL getDisplayFormulaBar () override
 
virtual void SAL_CALL setDisplayFormulaBar (sal_Bool _displayformulabar) override
 
virtual css::uno::Reference< ov::XAssistant > SAL_CALL getAssistant () override
 
virtual css::uno::Reference< ov::excel::XWorkbook > SAL_CALL getThisWorkbook () override
 
virtual css::uno::Any SAL_CALL International (sal_Int32 Index) override
 
virtual css::uno::Any SAL_CALL FileDialog (const css::uno::Any &DialogType) override
 
virtual css::uno::Any SAL_CALL Workbooks (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Worksheets (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL WorksheetFunction () override
 
virtual css::uno::Any SAL_CALL Evaluate (const OUString &Name) override
 
virtual css::uno::Any SAL_CALL Dialogs (const css::uno::Any &DialogIndex) override
 
virtual css::uno::Any SAL_CALL getCutCopyMode () override
 
virtual void SAL_CALL setCutCopyMode (const css::uno::Any &_cutcopymode) override
 
virtual css::uno::Any SAL_CALL getStatusBar () override
 
virtual void SAL_CALL setStatusBar (const css::uno::Any &_statusbar) override
 
virtual ::sal_Int32 SAL_CALL getCursor () override
 
virtual void SAL_CALL setCursor (::sal_Int32 _cursor) override
 
virtual void SAL_CALL OnKey (const OUString &Key, const css::uno::Any &Procedure) override
 
virtual void SAL_CALL setScreenUpdating (sal_Bool bUpdate) override
 
virtual sal_Bool SAL_CALL getEnableEvents () override
 
virtual void SAL_CALL setEnableEvents (sal_Bool bEnable) override
 
virtual sal_Bool SAL_CALL getEnableCancelKey () override
 
virtual void SAL_CALL setEnableCancelKey (sal_Bool bEnable) override
 
virtual sal_Bool SAL_CALL getDisplayFullScreen () override
 
virtual void SAL_CALL setDisplayFullScreen (sal_Bool bSet) override
 
virtual sal_Bool SAL_CALL getDisplayScrollBars () override
 
virtual void SAL_CALL setDisplayScrollBars (sal_Bool bSet) override
 
virtual sal_Bool SAL_CALL getDisplayExcel4Menus () override
 
virtual void SAL_CALL setDisplayExcel4Menus (sal_Bool bSet) override
 
virtual sal_Bool SAL_CALL getDisplayNoteIndicator () override
 
virtual void SAL_CALL setDisplayNoteIndicator (sal_Bool bSet) override
 
virtual sal_Bool SAL_CALL getShowWindowsInTaskbar () override
 
virtual void SAL_CALL setShowWindowsInTaskbar (sal_Bool bSet) override
 
virtual sal_Bool SAL_CALL getIteration () override
 
virtual void SAL_CALL setIteration (sal_Bool bSet) override
 
virtual css::uno::Any SAL_CALL Windows (const css::uno::Any &aIndex) override
 
virtual void SAL_CALL wait (double time) override
 
virtual css::uno::Any SAL_CALL Range (const css::uno::Any &Cell1, const css::uno::Any &Cell2) override
 
virtual css::uno::Any SAL_CALL Names (const css::uno::Any &aIndex) override
 
virtual void SAL_CALL GoTo (const css::uno::Any &Reference, const css::uno::Any &Scroll) override
 
virtual void SAL_CALL Calculate () 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 double SAL_CALL InchesToPoints (double InchesToPoints) override
 
virtual void SAL_CALL Volatile (const css::uno::Any &Volatile) override
 
virtual css::uno::Any SAL_CALL MenuBars (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Rows (const css::uno::Any &aIndex) override
 
virtual css::uno::Any SAL_CALL Caller (const css::uno::Any &aIndex) override
 
virtual void SAL_CALL Undo () override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
virtual OUString SAL_CALL getIID () override
 
virtual OUString SAL_CALL GetIIDForClassItselfNotCoclass () override
 
virtual ov::TypeAndIID SAL_CALL GetConnectionPoint () override
 
virtual css::uno::Reference< ov::XConnectionPoint > SAL_CALL FindConnectionPoint () override
 
virtual void SAL_CALL CallSinks (const OUString &Method, css::uno::Sequence< css::uno::Any > &Arguments) override
 

Static Public Member Functions

static bool getDocumentEventsEnabled ()
 Returns true, if VBA document events are enabled. More...
 

Protected Member Functions

virtual css::uno::Reference< css::frame::XModel > getCurrentDocument () override
 

Private Member Functions

OUString getOfficePath (const OUString &sPath)
 

Private Attributes

ScVbaAppSettingsmrAppSettings
 
css::uno::Reference< ov::excel::XFileDialog > m_xFileDialog
 
sal_Int32 m_nDialogType
 
std::vector< css::uno::Reference< ooo::vba::XSink > > mvSinks
 

Detailed Description

Definition at line 38 of file vbaapplication.hxx.

Constructor & Destructor Documentation

ScVbaApplication::ScVbaApplication ( const css::uno::Reference< css::uno::XComponentContext > &  m_xContext)
explicit

Definition at line 157 of file vbaapplication.cxx.

References get().

ScVbaApplication::~ScVbaApplication ( )
overridevirtual

Definition at line 164 of file vbaapplication.cxx.

Member Function Documentation

sal_uInt32 ScVbaApplication::AddSink ( const css::uno::Reference< ooo::vba::XSink > &  xSink)

Definition at line 136 of file vbaapplication.cxx.

References ScDLL::Init(), mvSinks, and SC_MOD.

void SAL_CALL ScVbaApplication::Calculate ( )
overridevirtual

Definition at line 899 of file vbaapplication.cxx.

References getCurrentDocument(), and xModel.

uno::Any SAL_CALL ScVbaApplication::Caller ( const css::uno::Any &  aIndex)
overridevirtual
void SAL_CALL ScVbaApplication::CallSinks ( const OUString &  Method,
css::uno::Sequence< css::uno::Any > &  Arguments 
)
overridevirtual

Definition at line 1456 of file vbaapplication.cxx.

References i, and mvSinks.

uno::Any ScVbaApplication::Dialogs ( const css::uno::Any &  DialogIndex)
overridevirtual

Definition at line 410 of file vbaapplication.cxx.

References getCurrentDocument(), uno::Any::hasValue(), and mxContext.

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

Definition at line 400 of file vbaapplication.cxx.

References getActiveSheet(), getActiveWorkbook(), and Range().

uno::Any SAL_CALL ScVbaApplication::FileDialog ( const css::uno::Any &  DialogType)
overridevirtual

Definition at line 360 of file vbaapplication.cxx.

References m_nDialogType, m_xFileDialog, mxContext, and nType.

uno::Reference< XConnectionPoint > SAL_CALL ScVbaApplication::FindConnectionPoint ( )
overridevirtual

Definition at line 1447 of file vbaapplication.cxx.

uno::Reference< excel::XRange > ScVbaApplication::getActiveCell ( )
overridevirtual
uno::Reference< excel::XWorksheet > SAL_CALL ScVbaApplication::getActiveSheet ( )
overridevirtual

Definition at line 556 of file vbaapplication.cxx.

References getActiveWorkbook(), and result.

Referenced by Evaluate(), and Rows().

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

Definition at line 419 of file vbaapplication.cxx.

References getActiveWorkbook(), getCurrentDocument(), mxContext, xController, and xModel.

Referenced by GoTo().

uno::Reference< excel::XWorkbook > ScVbaApplication::getActiveWorkbook ( )
overridevirtual
uno::Reference< XAssistant > SAL_CALL ScVbaApplication::getAssistant ( )
overridevirtual

Definition at line 254 of file vbaapplication.cxx.

References mxContext.

sal_Int32 SAL_CALL ScVbaApplication::getCalculation ( )
override

Definition at line 478 of file vbaapplication.cxx.

References getCurrentDocument().

TypeAndIID SAL_CALL ScVbaApplication::GetConnectionPoint ( )
overridevirtual

Definition at line 1436 of file vbaapplication.cxx.

uno::Reference< frame::XModel > ScVbaApplication::getCurrentDocument ( )
overrideprotectedvirtual
sal_Int32 SAL_CALL ScVbaApplication::getCursor ( )
override

Definition at line 685 of file vbaapplication.cxx.

References getCurrentDocument(), and getPointerStyle().

uno::Any SAL_CALL ScVbaApplication::getCutCopyMode ( )
overridevirtual

Definition at line 429 of file vbaapplication.cxx.

References result.

OUString SAL_CALL ScVbaApplication::getDefaultFilePath ( )
overridevirtual

Definition at line 945 of file vbaapplication.cxx.

References getOfficePath().

sal_Bool SAL_CALL ScVbaApplication::getDisplayAlerts ( )
overridevirtual

Definition at line 763 of file vbaapplication.cxx.

References ScVbaAppSettings::mbDisplayAlerts, and mrAppSettings.

sal_Bool SAL_CALL ScVbaApplication::getDisplayExcel4Menus ( )
overridevirtual

Definition at line 833 of file vbaapplication.cxx.

References ScVbaAppSettings::mbExcel4Menus, and mrAppSettings.

sal_Bool SAL_CALL ScVbaApplication::getDisplayFormulaBar ( )
overridevirtual
sal_Bool SAL_CALL ScVbaApplication::getDisplayFullScreen ( )
overridevirtual
sal_Bool SAL_CALL ScVbaApplication::getDisplayNoteIndicator ( )
overridevirtual

Definition at line 845 of file vbaapplication.cxx.

References ScVbaAppSettings::mbDisplayNoteIndicator, and mrAppSettings.

sal_Bool SAL_CALL ScVbaApplication::getDisplayScrollBars ( )
overridevirtual
bool ScVbaApplication::getDocumentEventsEnabled ( )
static

Returns true, if VBA document events are enabled.

Definition at line 168 of file vbaapplication.cxx.

Referenced by ScVbaRange::fireChangeEvent(), and ScVbaEventsHelper::implPrepareEvent().

sal_Bool SAL_CALL ScVbaApplication::getEnableCancelKey ( )
overridevirtual

Definition at line 788 of file vbaapplication.cxx.

References ScVbaAppSettings::mbEnableCancelKey, and mrAppSettings.

sal_Bool SAL_CALL ScVbaApplication::getEnableEvents ( )
overridevirtual

Definition at line 775 of file vbaapplication.cxx.

References ScVbaAppSettings::mbEnableEvents, and mrAppSettings.

OUString SAL_CALL ScVbaApplication::getExactName ( const OUString &  aApproximateName)
overridevirtual

Definition at line 174 of file vbaapplication.cxx.

References mxContext.

OUString SAL_CALL ScVbaApplication::getIID ( )
overridevirtual

Definition at line 1422 of file vbaapplication.cxx.

OUString SAL_CALL ScVbaApplication::GetIIDForClassItselfNotCoclass ( )
overridevirtual

Definition at line 1430 of file vbaapplication.cxx.

uno::Reference< beans::XIntrospectionAccess > SAL_CALL ScVbaApplication::getIntrospection ( )
overridevirtual

Definition at line 181 of file vbaapplication.cxx.

References mxContext.

sal_Bool SAL_CALL ScVbaApplication::getIteration ( )
overridevirtual

Definition at line 869 of file vbaapplication.cxx.

References SC_MOD.

OUString SAL_CALL ScVbaApplication::getLibraryPath ( )
overridevirtual

Definition at line 951 of file vbaapplication.cxx.

References getOfficePath().

OUString SAL_CALL ScVbaApplication::getName ( )
overridevirtual

Definition at line 745 of file vbaapplication.cxx.

OUString ScVbaApplication::getOfficePath ( const OUString &  sPath)
private
Exceptions
css::uno::RuntimeException

Definition at line 913 of file vbaapplication.cxx.

References ERRCODE_BASIC_METHOD_FAILED, lcl_getPathSettingsService(), mxContext, and nIndex.

Referenced by getDefaultFilePath(), getLibraryPath(), and getTemplatesPath().

OUString SAL_CALL ScVbaApplication::getOperatingSystem ( )
overridevirtual

Definition at line 969 of file vbaapplication.cxx.

OUString SAL_CALL ScVbaApplication::getPathSeparator ( )
overridevirtual

Definition at line 963 of file vbaapplication.cxx.

References SAL_PATHDELIMITER.

uno::Any SAL_CALL ScVbaApplication::getSelection ( )
overridevirtual
OUString ScVbaApplication::getServiceImplName ( )
overridevirtual

Definition at line 1466 of file vbaapplication.cxx.

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

Definition at line 1472 of file vbaapplication.cxx.

References aServiceNames.

sal_Bool SAL_CALL ScVbaApplication::getShowWindowsInTaskbar ( )
overridevirtual

Definition at line 857 of file vbaapplication.cxx.

References ScVbaAppSettings::mbShowWindowsInTaskbar, and mrAppSettings.

uno::Any SAL_CALL ScVbaApplication::getStatusBar ( )
overridevirtual

Definition at line 444 of file vbaapplication.cxx.

OUString SAL_CALL ScVbaApplication::getTemplatesPath ( )
overridevirtual

Definition at line 957 of file vbaapplication.cxx.

References getOfficePath().

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

Definition at line 244 of file vbaapplication.cxx.

References getThisExcelDoc(), getVBADocument(), mxContext, and xModel.

uno::Any SAL_CALL ScVbaApplication::getValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 213 of file vbaapplication.cxx.

References mxContext.

void SAL_CALL ScVbaApplication::GoTo ( const css::uno::Any &  Reference,
const css::uno::Any &  Scroll 
)
overridevirtual
sal_Bool SAL_CALL ScVbaApplication::hasMethod ( const OUString &  Name)
overridevirtual

Definition at line 220 of file vbaapplication.cxx.

References mxContext.

sal_Bool SAL_CALL ScVbaApplication::hasProperty ( const OUString &  Name)
overridevirtual

Definition at line 227 of file vbaapplication.cxx.

References mxContext.

double ScVbaApplication::InchesToPoints ( double  InchesToPoints)
overridevirtual

Definition at line 1275 of file vbaapplication.cxx.

References result.

uno::Any SAL_CALL ScVbaApplication::International ( sal_Int32  Index)
overridevirtual

Definition at line 351 of file vbaapplication.cxx.

uno::Reference< excel::XRange > SAL_CALL ScVbaApplication::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 1169 of file vbaapplication.cxx.

References ERRCODE_BASIC_BAD_PARAMETER, getCurrentDocument(), and mxContext.

uno::Any SAL_CALL ScVbaApplication::invoke ( const OUString &  FunctionName,
const css::uno::Sequence< css::uno::Any > &  Params,
css::uno::Sequence< sal_Int16 > &  OutParamIndex,
css::uno::Sequence< css::uno::Any > &  OutParam 
)
overridevirtual

Definition at line 188 of file vbaapplication.cxx.

References mxContext.

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

Definition at line 1351 of file vbaapplication.cxx.

References uno::Any::hasValue(), and mxContext.

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

Definition at line 540 of file vbaapplication.cxx.

References getCurrentDocument(), mxContext, and xModel.

void SAL_CALL ScVbaApplication::OnKey ( const OUString &  Key,
const css::uno::Any &  Procedure 
)
overridevirtual

Definition at line 1372 of file vbaapplication.cxx.

References VbaApplicationBase::OnKey().

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

Definition at line 533 of file vbaapplication.cxx.

References ScVbaRange::ApplicationRange(), and mxContext.

Referenced by Evaluate().

void ScVbaApplication::RemoveSink ( sal_uInt32  nNumber)

Definition at line 149 of file vbaapplication.cxx.

References mvSinks.

uno::Any SAL_CALL ScVbaApplication::Rows ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 1364 of file vbaapplication.cxx.

References getActiveSheet().

void SAL_CALL ScVbaApplication::setCalculation ( ::sal_Int32  _calculation)
overridevirtual

Definition at line 489 of file vbaapplication.cxx.

References getCurrentDocument().

void SAL_CALL ScVbaApplication::setCursor ( ::sal_Int32  _cursor)
overridevirtual
void SAL_CALL ScVbaApplication::setCutCopyMode ( const css::uno::Any &  _cutcopymode)
overridevirtual

Definition at line 438 of file vbaapplication.cxx.

void SAL_CALL ScVbaApplication::setDefaultFilePath ( const OUString &  DefaultFilePath)
overridevirtual

Definition at line 936 of file vbaapplication.cxx.

References aURL, lcl_getPathSettingsService(), and mxContext.

void SAL_CALL ScVbaApplication::setDisplayAlerts ( sal_Bool  displayAlerts)
overridevirtual

Definition at line 757 of file vbaapplication.cxx.

References ScVbaAppSettings::mbDisplayAlerts, and mrAppSettings.

void SAL_CALL ScVbaApplication::setDisplayExcel4Menus ( sal_Bool  bSet)
overridevirtual

Definition at line 839 of file vbaapplication.cxx.

References ScVbaAppSettings::mbExcel4Menus, and mrAppSettings.

void SAL_CALL ScVbaApplication::setDisplayFormulaBar ( sal_Bool  _displayformulabar)
overridevirtual
void SAL_CALL ScVbaApplication::setDisplayFullScreen ( sal_Bool  bSet)
overridevirtual
void SAL_CALL ScVbaApplication::setDisplayNoteIndicator ( sal_Bool  bSet)
overridevirtual

Definition at line 851 of file vbaapplication.cxx.

References ScVbaAppSettings::mbDisplayNoteIndicator, and mrAppSettings.

void SAL_CALL ScVbaApplication::setDisplayScrollBars ( sal_Bool  bSet)
overridevirtual

Definition at line 823 of file vbaapplication.cxx.

References getCurrentDocument().

void SAL_CALL ScVbaApplication::setEnableCancelKey ( sal_Bool  bEnable)
overridevirtual

Definition at line 781 of file vbaapplication.cxx.

References ScVbaAppSettings::mbEnableCancelKey, and mrAppSettings.

void SAL_CALL ScVbaApplication::setEnableEvents ( sal_Bool  bEnable)
overridevirtual

Definition at line 769 of file vbaapplication.cxx.

References ScVbaAppSettings::mbEnableEvents, and mrAppSettings.

void SAL_CALL ScVbaApplication::setIteration ( sal_Bool  bSet)
overridevirtual

Definition at line 875 of file vbaapplication.cxx.

References mxContext, SC_MOD, SC_UNO_ITERENABLED, ScDocOptions::SetIter(), and xSMgr.

void SAL_CALL ScVbaApplication::setScreenUpdating ( sal_Bool  bUpdate)
overridevirtual
void SAL_CALL ScVbaApplication::setShowWindowsInTaskbar ( sal_Bool  bSet)
overridevirtual

Definition at line 863 of file vbaapplication.cxx.

References ScVbaAppSettings::mbShowWindowsInTaskbar, and mrAppSettings.

void SAL_CALL ScVbaApplication::setStatusBar ( const css::uno::Any &  _statusbar)
overridevirtual

Definition at line 450 of file vbaapplication.cxx.

References getCurrentDocument(), and xModel.

void SAL_CALL ScVbaApplication::setValue ( const OUString &  PropertyName,
const css::uno::Any &  Value 
)
overridevirtual

Definition at line 206 of file vbaapplication.cxx.

References mxContext.

void SAL_CALL ScVbaApplication::Undo ( )
overridevirtual
uno::Reference< excel::XRange > SAL_CALL ScVbaApplication::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 1222 of file vbaapplication.cxx.

References ERRCODE_BASIC_BAD_PARAMETER, getCurrentDocument(), and mxContext.

void ScVbaApplication::Volatile ( const css::uno::Any &  Volatile)
overridevirtual
void SAL_CALL ScVbaApplication::wait ( double  time)
overridevirtual
uno::Any SAL_CALL ScVbaApplication::Windows ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 506 of file vbaapplication.cxx.

References mxContext.

uno::Any SAL_CALL ScVbaApplication::Workbooks ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 374 of file vbaapplication.cxx.

References mxContext.

uno::Any SAL_CALL ScVbaApplication::WorksheetFunction ( )
overridevirtual

Definition at line 394 of file vbaapplication.cxx.

References mxContext.

uno::Any SAL_CALL ScVbaApplication::Worksheets ( const css::uno::Any &  aIndex)
overridevirtual

Definition at line 387 of file vbaapplication.cxx.

References getActiveWorkbook().

Member Data Documentation

sal_Int32 ScVbaApplication::m_nDialogType
private

Definition at line 46 of file vbaapplication.hxx.

Referenced by FileDialog().

css::uno::Reference< ov::excel::XFileDialog > ScVbaApplication::m_xFileDialog
private

Definition at line 45 of file vbaapplication.hxx.

Referenced by FileDialog().

ScVbaAppSettings& ScVbaApplication::mrAppSettings
private
std::vector<css::uno::Reference< ooo::vba::XSink > > ScVbaApplication::mvSinks
private

Definition at line 51 of file vbaapplication.hxx.

Referenced by AddSink(), CallSinks(), and RemoveSink().


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