LibreOffice Module sc (master)  1
Macros | Functions
vbaworksheet.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include "vbaworksheet.hxx"
#include "vbanames.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XIntrospectionAccess.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/util/XProtectable.hpp>
#include <com/sun/star/table/XCellRange.hpp>
#include <com/sun/star/sheet/XSpreadsheetView.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XCalculatable.hpp>
#include <com/sun/star/sheet/XCellRangeAddressable.hpp>
#include <com/sun/star/sheet/XSheetCellRange.hpp>
#include <com/sun/star/sheet/XSheetCellCursor.hpp>
#include <com/sun/star/sheet/XSheetAnnotationsSupplier.hpp>
#include <com/sun/star/sheet/XUsedAreaCursor.hpp>
#include <com/sun/star/sheet/XSpreadsheets.hpp>
#include <com/sun/star/sheet/XSheetOutline.hpp>
#include <com/sun/star/sheet/XSheetPageBreak.hpp>
#include <com/sun/star/sheet/XDataPilotTablesSupplier.hpp>
#include <com/sun/star/sheet/XNamedRanges.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/table/XTableChartsSupplier.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/form/XFormsSupplier.hpp>
#include <ooo/vba/excel/XApplication.hpp>
#include <ooo/vba/excel/XlEnableSelection.hpp>
#include <ooo/vba/excel/XlSheetVisibility.hpp>
#include <ooo/vba/XControlProvider.hpp>
#include <basic/sberrors.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/servicehelper.hxx>
#include <vbahelper/vbashapes.hxx>
#include <scabstdlg.hxx>
#include <tabvwsh.hxx>
#include <tabprotection.hxx>
#include "excelvbahelper.hxx"
#include "vbaoutline.hxx"
#include "vbarange.hxx"
#include "vbacomments.hxx"
#include "vbachartobjects.hxx"
#include "vbapivottables.hxx"
#include "vbaoleobjects.hxx"
#include "vbapagesetup.hxx"
#include "vbapagebreaks.hxx"
#include "vbaworksheets.hxx"
#include "vbahyperlinks.hxx"
#include "vbasheetobjects.hxx"
#include <dbdata.hxx>
#include <attrib.hxx>
Include dependency graph for vbaworksheet.cxx:

Go to the source code of this file.

Macros

#define STANDARDWIDTH   2267
 
#define STANDARDHEIGHT   427
 

Functions

static void getNewSpreadsheetName (OUString &aNewName, std::u16string_view aOldName, const uno::Reference< sheet::XSpreadsheetDocument > &xSpreadDoc)
 
static void removeAllSheets (const uno::Reference< sheet::XSpreadsheetDocument > &xSpreadDoc, const OUString &aSheetName)
 
static uno::Reference< frame::XModel > openNewDoc (const OUString &aSheetName)
 
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * Calc_ScVbaWorksheet_get_implementation (css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &args)
 

Macro Definition Documentation

#define STANDARDHEIGHT   427

Definition at line 82 of file vbaworksheet.cxx.

Referenced by ScVbaWorksheet::getStandardHeight().

#define STANDARDWIDTH   2267

Definition at line 81 of file vbaworksheet.cxx.

Referenced by ScVbaWorksheet::getStandardWidth().

Function Documentation

SAL_DLLPUBLIC_EXPORT css::uno::XInterface* Calc_ScVbaWorksheet_get_implementation ( css::uno::XComponentContext *  context,
css::uno::Sequence< css::uno::Any > const &  args 
)

Definition at line 1050 of file vbaworksheet.cxx.

static void getNewSpreadsheetName ( OUString &  aNewName,
std::u16string_view  aOldName,
const uno::Reference< sheet::XSpreadsheetDocument > &  xSpreadDoc 
)
static

Definition at line 87 of file vbaworksheet.cxx.

References ScVbaWorksheets::nameExists().

Referenced by ScVbaWorksheet::createSheetCopy().

static uno::Reference<frame::XModel> openNewDoc ( const OUString &  aSheetName)
static
static void removeAllSheets ( const uno::Reference< sheet::XSpreadsheetDocument > &  xSpreadDoc,
const OUString &  aSheetName 
)
static

Definition at line 101 of file vbaworksheet.cxx.

References i.

Referenced by openNewDoc().