LibreOffice Module sc (master) 1
Typedefs | Functions
vbawindows.cxx File Reference
#include "vbawindows.hxx"
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <cppuhelper/implbase.hxx>
#include <comphelper/sequence.hxx>
#include <o3tl/safeint.hxx>
#include <rtl/ref.hxx>
#include "vbawindow.hxx"
#include "vbaworkbook.hxx"
#include <unordered_map>
#include <utility>
#include <osl/file.hxx>
#include <ooo/vba/excel/XApplication.hpp>
Include dependency graph for vbawindows.cxx:

Go to the source code of this file.

Typedefs

typedef std::unordered_map< OUString, sal_Int32 > NameIndexHash
 
typedef std::vector< uno::Reference< sheet::XSpreadsheetDocument > > Components
 
typedef ::cppu::WeakImplHelper< container::XEnumerationAccess, css::container::XIndexAccess, css::container::XNameAccess > WindowsAccessImpl_BASE
 

Functions

static uno::Reference< XHelperInterface > lcl_createWorkbookHIParent (const uno::Reference< frame::XModel > &xModel, const uno::Reference< uno::XComponentContext > &xContext, const uno::Any &aApplication)
 
static uno::Any ComponentToWindow (const uno::Any &aSource, const uno::Reference< uno::XComponentContext > &xContext, const uno::Any &aApplication)
 

Typedef Documentation

◆ Components

typedef std::vector< uno::Reference< sheet::XSpreadsheetDocument > > Components

Definition at line 58 of file vbawindows.cxx.

◆ NameIndexHash

typedef std::unordered_map< OUString,sal_Int32 > NameIndexHash

Definition at line 42 of file vbawindows.cxx.

◆ WindowsAccessImpl_BASE

typedef ::cppu::WeakImplHelper< container::XEnumerationAccess , css::container::XIndexAccess , css::container::XNameAccess > WindowsAccessImpl_BASE

Definition at line 123 of file vbawindows.cxx.

Function Documentation

◆ ComponentToWindow()

static uno::Any ComponentToWindow ( const uno::Any aSource,
const uno::Reference< uno::XComponentContext > &  xContext,
const uno::Any aApplication 
)
static

Definition at line 49 of file vbawindows.cxx.

References lcl_createWorkbookHIParent(), xController, and xModel.

Referenced by ScVbaWindows::createCollectionObject().

◆ lcl_createWorkbookHIParent()

static uno::Reference< XHelperInterface > lcl_createWorkbookHIParent ( const uno::Reference< frame::XModel > &  xModel,
const uno::Reference< uno::XComponentContext > &  xContext,
const uno::Any aApplication 
)
static

Definition at line 44 of file vbawindows.cxx.

References xModel.

Referenced by ComponentToWindow().