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 GetOpenFilename (const css::uno::Any &FileFilter, const css::uno::Any &FilterIndex, const css::uno::Any &Title, const css::uno::Any &ButtonText, const css::uno::Any &MultiSelect) 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 css::uno::Any SAL_CALL getWindowState () override
 
virtual void SAL_CALL setWindowState (const css::uno::Any &rWindowState) 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 CentimetersToPoints (double Centimeters) override
 
virtual double SAL_CALL InchesToPoints (double Inches) 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 37 of file vbaapplication.hxx.

Constructor & Destructor Documentation

◆ ScVbaApplication()

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

Definition at line 165 of file vbaapplication.cxx.

◆ ~ScVbaApplication()

ScVbaApplication::~ScVbaApplication ( )
overridevirtual

Definition at line 172 of file vbaapplication.cxx.

Member Function Documentation

◆ AddSink()

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

Definition at line 144 of file vbaapplication.cxx.

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

◆ Calculate()

void SAL_CALL ScVbaApplication::Calculate ( )
overridevirtual

Definition at line 957 of file vbaapplication.cxx.

References getCurrentDocument(), and xModel.

◆ Caller()

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

◆ CallSinks()

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

Definition at line 1525 of file vbaapplication.cxx.

References i, Method, and mvSinks.

◆ CentimetersToPoints()

double SAL_CALL ScVbaApplication::CentimetersToPoints ( double  Centimeters)
overridevirtual

Definition at line 1340 of file vbaapplication.cxx.

References o3tl::cm, o3tl::convert(), and o3tl::pt.

◆ Dialogs()

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

Definition at line 458 of file vbaapplication.cxx.

References aIndex, getCurrentDocument(), and mxContext.

◆ Evaluate()

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

Definition at line 448 of file vbaapplication.cxx.

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

◆ FileDialog()

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

Definition at line 408 of file vbaapplication.cxx.

References m_nDialogType, m_xFileDialog, mxContext, and nType.

◆ FindConnectionPoint()

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

Definition at line 1516 of file vbaapplication.cxx.

◆ getActiveCell()

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

◆ getActiveSheet()

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

Definition at line 614 of file vbaapplication.cxx.

References getActiveWorkbook(), and result.

Referenced by Evaluate(), and Rows().

◆ getActiveWindow()

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

◆ getActiveWorkbook()

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

◆ getAssistant()

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

Definition at line 262 of file vbaapplication.cxx.

References mxContext.

◆ getCalculation()

sal_Int32 SAL_CALL ScVbaApplication::getCalculation ( )
override

Definition at line 536 of file vbaapplication.cxx.

References getCurrentDocument().

◆ GetConnectionPoint()

TypeAndIID SAL_CALL ScVbaApplication::GetConnectionPoint ( )
overridevirtual

Definition at line 1505 of file vbaapplication.cxx.

References cppu::UnoType< typename T >::get().

◆ getCurrentDocument()

uno::Reference< frame::XModel > ScVbaApplication::getCurrentDocument ( )
overrideprotectedvirtual

◆ getCursor()

sal_Int32 SAL_CALL ScVbaApplication::getCursor ( )
override

Definition at line 743 of file vbaapplication.cxx.

References getCurrentDocument(), and getPointerStyle().

◆ getCutCopyMode()

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

Definition at line 477 of file vbaapplication.cxx.

References result.

◆ getDefaultFilePath()

OUString SAL_CALL ScVbaApplication::getDefaultFilePath ( )
overridevirtual

Definition at line 1003 of file vbaapplication.cxx.

References getOfficePath().

◆ getDisplayAlerts()

sal_Bool SAL_CALL ScVbaApplication::getDisplayAlerts ( )
overridevirtual

Definition at line 821 of file vbaapplication.cxx.

References ScVbaAppSettings::mbDisplayAlerts, and mrAppSettings.

◆ getDisplayExcel4Menus()

sal_Bool SAL_CALL ScVbaApplication::getDisplayExcel4Menus ( )
overridevirtual

Definition at line 891 of file vbaapplication.cxx.

References ScVbaAppSettings::mbExcel4Menus, and mrAppSettings.

◆ getDisplayFormulaBar()

sal_Bool SAL_CALL ScVbaApplication::getDisplayFormulaBar ( )
overridevirtual

◆ getDisplayFullScreen()

sal_Bool SAL_CALL ScVbaApplication::getDisplayFullScreen ( )
overridevirtual

◆ getDisplayNoteIndicator()

sal_Bool SAL_CALL ScVbaApplication::getDisplayNoteIndicator ( )
overridevirtual

Definition at line 903 of file vbaapplication.cxx.

References ScVbaAppSettings::mbDisplayNoteIndicator, and mrAppSettings.

◆ getDisplayScrollBars()

sal_Bool SAL_CALL ScVbaApplication::getDisplayScrollBars ( )
overridevirtual

◆ getDocumentEventsEnabled()

bool ScVbaApplication::getDocumentEventsEnabled ( )
static

Returns true, if VBA document events are enabled.

Definition at line 176 of file vbaapplication.cxx.

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

◆ getEnableCancelKey()

sal_Bool SAL_CALL ScVbaApplication::getEnableCancelKey ( )
overridevirtual

Definition at line 846 of file vbaapplication.cxx.

References ScVbaAppSettings::mbEnableCancelKey, and mrAppSettings.

◆ getEnableEvents()

sal_Bool SAL_CALL ScVbaApplication::getEnableEvents ( )
overridevirtual

Definition at line 833 of file vbaapplication.cxx.

References ScVbaAppSettings::mbEnableEvents, and mrAppSettings.

◆ getExactName()

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

Definition at line 182 of file vbaapplication.cxx.

References mxContext.

◆ getIID()

OUString SAL_CALL ScVbaApplication::getIID ( )
overridevirtual

Definition at line 1491 of file vbaapplication.cxx.

◆ GetIIDForClassItselfNotCoclass()

OUString SAL_CALL ScVbaApplication::GetIIDForClassItselfNotCoclass ( )
overridevirtual

Definition at line 1499 of file vbaapplication.cxx.

◆ getIntrospection()

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

Definition at line 189 of file vbaapplication.cxx.

References mxContext.

◆ getIteration()

sal_Bool SAL_CALL ScVbaApplication::getIteration ( )
overridevirtual

Definition at line 927 of file vbaapplication.cxx.

References SC_MOD.

◆ getLibraryPath()

OUString SAL_CALL ScVbaApplication::getLibraryPath ( )
overridevirtual

Definition at line 1009 of file vbaapplication.cxx.

References getOfficePath().

◆ getName()

OUString SAL_CALL ScVbaApplication::getName ( )
overridevirtual

Definition at line 803 of file vbaapplication.cxx.

◆ getOfficePath()

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

Definition at line 971 of file vbaapplication.cxx.

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

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

◆ GetOpenFilename()

uno::Any SAL_CALL ScVbaApplication::GetOpenFilename ( const css::uno::Any &  FileFilter,
const css::uno::Any &  FilterIndex,
const css::uno::Any &  Title,
const css::uno::Any &  ButtonText,
const css::uno::Any &  MultiSelect 
)
overridevirtual

Definition at line 359 of file vbaapplication.cxx.

References comphelper::containerToSequence(), and mxContext.

◆ getOperatingSystem()

OUString SAL_CALL ScVbaApplication::getOperatingSystem ( )
overridevirtual

Definition at line 1027 of file vbaapplication.cxx.

◆ getPathSeparator()

OUString SAL_CALL ScVbaApplication::getPathSeparator ( )
overridevirtual

Definition at line 1021 of file vbaapplication.cxx.

References SAL_PATHDELIMITER.

◆ getSelection()

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

◆ getServiceImplName()

OUString ScVbaApplication::getServiceImplName ( )
overridevirtual

Definition at line 1535 of file vbaapplication.cxx.

◆ getServiceNames()

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

Definition at line 1541 of file vbaapplication.cxx.

References aServiceNames.

◆ getShowWindowsInTaskbar()

sal_Bool SAL_CALL ScVbaApplication::getShowWindowsInTaskbar ( )
overridevirtual

Definition at line 915 of file vbaapplication.cxx.

References ScVbaAppSettings::mbShowWindowsInTaskbar, and mrAppSettings.

◆ getStatusBar()

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

Definition at line 492 of file vbaapplication.cxx.

◆ getTemplatesPath()

OUString SAL_CALL ScVbaApplication::getTemplatesPath ( )
overridevirtual

Definition at line 1015 of file vbaapplication.cxx.

References getOfficePath().

◆ getThisWorkbook()

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

Definition at line 252 of file vbaapplication.cxx.

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

◆ getValue()

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

Definition at line 221 of file vbaapplication.cxx.

References mxContext.

◆ getWindowState()

css::uno::Any SAL_CALL ScVbaApplication::getWindowState ( )
overridevirtual

Definition at line 497 of file vbaapplication.cxx.

References getActiveWindow().

◆ GoTo()

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

◆ hasMethod()

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

Definition at line 228 of file vbaapplication.cxx.

References mxContext, and Name.

◆ hasProperty()

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

Definition at line 235 of file vbaapplication.cxx.

References mxContext, and Name.

◆ InchesToPoints()

double SAL_CALL ScVbaApplication::InchesToPoints ( double  Inches)
overridevirtual

Definition at line 1334 of file vbaapplication.cxx.

References o3tl::convert(), o3tl::in, and o3tl::pt.

◆ International()

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

Definition at line 399 of file vbaapplication.cxx.

◆ Intersect()

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 1228 of file vbaapplication.cxx.

References ERRCODE_BASIC_BAD_PARAMETER, getCurrentDocument(), and mxContext.

◆ invoke()

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 196 of file vbaapplication.cxx.

References mxContext.

◆ MenuBars()

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

Definition at line 1417 of file vbaapplication.cxx.

References aIndex, and mxContext.

◆ Names()

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

Definition at line 598 of file vbaapplication.cxx.

References aIndex, getCurrentDocument(), mxContext, and xModel.

◆ OnKey()

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

Definition at line 1438 of file vbaapplication.cxx.

References VbaApplicationBase::OnKey().

◆ Range()

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

Definition at line 591 of file vbaapplication.cxx.

References ScVbaRange::ApplicationRange(), and mxContext.

Referenced by Evaluate().

◆ RemoveSink()

void ScVbaApplication::RemoveSink ( sal_uInt32  nNumber)

Definition at line 157 of file vbaapplication.cxx.

References mvSinks.

◆ Rows()

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

Definition at line 1430 of file vbaapplication.cxx.

References aIndex, and getActiveSheet().

◆ setCalculation()

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

Definition at line 547 of file vbaapplication.cxx.

References getCurrentDocument().

◆ setCursor()

void SAL_CALL ScVbaApplication::setCursor ( ::sal_Int32  _cursor)
overridevirtual

◆ setCutCopyMode()

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

Definition at line 486 of file vbaapplication.cxx.

◆ setDefaultFilePath()

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

Definition at line 994 of file vbaapplication.cxx.

References aURL, lcl_getPathSettingsService(), and mxContext.

◆ setDisplayAlerts()

void SAL_CALL ScVbaApplication::setDisplayAlerts ( sal_Bool  displayAlerts)
overridevirtual

Definition at line 815 of file vbaapplication.cxx.

References ScVbaAppSettings::mbDisplayAlerts, and mrAppSettings.

◆ setDisplayExcel4Menus()

void SAL_CALL ScVbaApplication::setDisplayExcel4Menus ( sal_Bool  bSet)
overridevirtual

Definition at line 897 of file vbaapplication.cxx.

References ScVbaAppSettings::mbExcel4Menus, and mrAppSettings.

◆ setDisplayFormulaBar()

void SAL_CALL ScVbaApplication::setDisplayFormulaBar ( sal_Bool  _displayformulabar)
overridevirtual

◆ setDisplayFullScreen()

void SAL_CALL ScVbaApplication::setDisplayFullScreen ( sal_Bool  bSet)
overridevirtual

◆ setDisplayNoteIndicator()

void SAL_CALL ScVbaApplication::setDisplayNoteIndicator ( sal_Bool  bSet)
overridevirtual

Definition at line 909 of file vbaapplication.cxx.

References ScVbaAppSettings::mbDisplayNoteIndicator, and mrAppSettings.

◆ setDisplayScrollBars()

void SAL_CALL ScVbaApplication::setDisplayScrollBars ( sal_Bool  bSet)
overridevirtual

Definition at line 881 of file vbaapplication.cxx.

References getCurrentDocument().

◆ setEnableCancelKey()

void SAL_CALL ScVbaApplication::setEnableCancelKey ( sal_Bool  bEnable)
overridevirtual

Definition at line 839 of file vbaapplication.cxx.

References ScVbaAppSettings::mbEnableCancelKey, and mrAppSettings.

◆ setEnableEvents()

void SAL_CALL ScVbaApplication::setEnableEvents ( sal_Bool  bEnable)
overridevirtual

Definition at line 827 of file vbaapplication.cxx.

References ScVbaAppSettings::mbEnableEvents, and mrAppSettings.

◆ setIteration()

void SAL_CALL ScVbaApplication::setIteration ( sal_Bool  bSet)
overridevirtual

Definition at line 933 of file vbaapplication.cxx.

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

◆ setScreenUpdating()

void SAL_CALL ScVbaApplication::setScreenUpdating ( sal_Bool  bUpdate)
overridevirtual

◆ setShowWindowsInTaskbar()

void SAL_CALL ScVbaApplication::setShowWindowsInTaskbar ( sal_Bool  bSet)
overridevirtual

Definition at line 921 of file vbaapplication.cxx.

References ScVbaAppSettings::mbShowWindowsInTaskbar, and mrAppSettings.

◆ setStatusBar()

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

Definition at line 508 of file vbaapplication.cxx.

References getCurrentDocument(), and xModel.

◆ setValue()

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

Definition at line 214 of file vbaapplication.cxx.

References mxContext, and Value.

◆ setWindowState()

void SAL_CALL ScVbaApplication::setWindowState ( const css::uno::Any &  rWindowState)
overridevirtual

Definition at line 502 of file vbaapplication.cxx.

References getActiveWindow().

◆ Undo()

void SAL_CALL ScVbaApplication::Undo ( )
overridevirtual

◆ Union()

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 1281 of file vbaapplication.cxx.

References ERRCODE_BASIC_BAD_PARAMETER, getCurrentDocument(), and mxContext.

◆ Volatile()

void ScVbaApplication::Volatile ( const css::uno::Any &  Volatile)
overridevirtual

◆ wait()

void SAL_CALL ScVbaApplication::wait ( double  time)
overridevirtual

◆ Windows()

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

Definition at line 564 of file vbaapplication.cxx.

References aIndex, and mxContext.

◆ Workbooks()

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

Definition at line 422 of file vbaapplication.cxx.

References aIndex, and mxContext.

◆ WorksheetFunction()

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

Definition at line 442 of file vbaapplication.cxx.

References mxContext.

◆ Worksheets()

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

Definition at line 435 of file vbaapplication.cxx.

References aIndex, and getActiveWorkbook().

Member Data Documentation

◆ m_nDialogType

sal_Int32 ScVbaApplication::m_nDialogType
private

Definition at line 45 of file vbaapplication.hxx.

Referenced by FileDialog().

◆ m_xFileDialog

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

Definition at line 44 of file vbaapplication.hxx.

Referenced by FileDialog().

◆ mrAppSettings

ScVbaAppSettings& ScVbaApplication::mrAppSettings
private

◆ mvSinks

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

Definition at line 50 of file vbaapplication.hxx.

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


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