LibreOffice Module sc (master)
1
|
Classes | |
class | ScVbaCellRangeAccess |
Functions | |
uno::Reference< sheet::XUnnamedDatabaseRanges > | GetUnnamedDataBaseRanges (const ScDocShell *pShell) |
uno::Reference< sheet::XDatabaseRange > | GetAutoFiltRange (const ScDocShell *pShell, sal_Int16 nSheet) |
ScDocShell * | GetDocShellFromRange (const uno::Reference< uno::XInterface > &xRange) |
uno::Reference< XHelperInterface > | getUnoSheetModuleObj (const uno::Reference< table::XCellRange > &xRange) |
void | implSetZoom (const uno::Reference< frame::XModel > &xModel, sal_Int16 nZoom, std::vector< SCTAB > &nTabs) |
void | implnPaste (const uno::Reference< frame::XModel > &xModel) |
void | implnCopy (const uno::Reference< frame::XModel > &xModel) |
void | implnCut (const uno::Reference< frame::XModel > &xModel) |
void | implnPasteSpecial (const uno::Reference< frame::XModel > &xModel, InsertDeleteFlags nFlags, ScPasteFunc nFunction, bool bSkipEmpty, bool bTranspose) |
ScDocShell * | getDocShell (const css::uno::Reference< css::frame::XModel > &xModel) |
ScTabViewShell * | getBestViewShell (const css::uno::Reference< css::frame::XModel > &xModel) |
ScTabViewShell * | getCurrentBestViewShell (const uno::Reference< uno::XComponentContext > &xContext) |
SfxViewFrame * | getViewFrame (const uno::Reference< frame::XModel > &xModel) |
uno::Reference< XHelperInterface > | getUnoSheetModuleObj (const uno::Reference< sheet::XSpreadsheet > &xSheet) |
uno::Reference< XHelperInterface > | getUnoSheetModuleObj (const uno::Reference< sheet::XSheetCellRangeContainer > &xRanges) |
uno::Reference< XHelperInterface > | getUnoSheetModuleObj (const uno::Reference< table::XCell > &xCell) |
uno::Reference< XHelperInterface > | getUnoSheetModuleObj (const uno::Reference< frame::XModel > &xModel, SCTAB nTab) |
void | setUpDocumentModules (const uno::Reference< sheet::XSpreadsheetDocument > &xDoc) |
void | implSetZoom (const css::uno::Reference< css::frame::XModel > &xModel, sal_Int16 nZoom, std::vector< SCTAB > &nTabs) |
void | implnCopy (const css::uno::Reference< css::frame::XModel > &xModel) |
void | implnPaste (const css::uno::Reference< css::frame::XModel > &xModel) |
void | implnCut (const css::uno::Reference< css::frame::XModel > &xModel) |
void | implnPasteSpecial (const css::uno::Reference< css::frame::XModel > &xModel, InsertDeleteFlags nFlags, ScPasteFunc nFunction, bool bSkipEmpty, bool bTranspose) |
ScTabViewShell * | getCurrentBestViewShell (const css::uno::Reference< css::uno::XComponentContext > &xContext) |
SfxViewFrame * | getViewFrame (const css::uno::Reference< css::frame::XModel > &xModel) |
css::uno::Reference< ooo::vba::XHelperInterface > | getUnoSheetModuleObj (const css::uno::Reference< css::sheet::XSpreadsheet > &xSheet) |
css::uno::Reference< ooo::vba::XHelperInterface > | getUnoSheetModuleObj (const css::uno::Reference< css::sheet::XSheetCellRangeContainer > &xRanges) |
css::uno::Reference< ooo::vba::XHelperInterface > | getUnoSheetModuleObj (const css::uno::Reference< css::table::XCellRange > &xRange) |
css::uno::Reference< ooo::vba::XHelperInterface > | getUnoSheetModuleObj (const css::uno::Reference< css::table::XCell > &xCell) |
css::uno::Reference< ooo::vba::XHelperInterface > | getUnoSheetModuleObj (const css::uno::Reference< css::frame::XModel > &xModel, SCTAB nTab) |
ScDocShell * | GetDocShellFromRange (const css::uno::Reference< css::uno::XInterface > &xRange) |
void | setUpDocumentModules (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xDoc) |
template<typename ImplObject > | |
ImplObject * | getImplFromDocModuleWrapper (const css::uno::Reference< css::uno::XInterface > &rxWrapperIf) |
css::uno::Reference< css::sheet::XDatabaseRange > ooo::vba::excel::GetAutoFiltRange | ( | const ScDocShell * | pShell, |
sal_Int16 | nSheet | ||
) |
css::uno::RuntimeException |
Definition at line 65 of file excelvbahelper.cxx.
References GetUnnamedDataBaseRanges().
Referenced by ScVbaRange::AutoFilter().
ScTabViewShell * ooo::vba::excel::getBestViewShell | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
Definition at line 250 of file excelvbahelper.cxx.
References ScDocShell::GetBestViewShell(), and getDocShell().
Referenced by getCurrentBestViewShell(), ScVbaNames::getScDocument(), ScVbaWindow::getScrollColumn(), ScVbaWindow::getScrollRow(), ScVbaWindow::getTabRatio(), ScVbaWindow::getView(), getViewFrame(), ScVbaWindow::getWindowState(), implnCopy(), implnCut(), implnPaste(), implnPasteSpecial(), implSetZoom(), ScVbaWorksheets::PrintOut(), ScVbaWindow::PrintOut(), ScVbaWorksheet::PrintOut(), ScVbaRange::PrintOut(), ScVbaWorksheets::PrintPreview(), ScVbaWindow::PrintPreview(), ScVbaWorksheets::Select(), setCursor(), ScVbaRange::setPageBreak(), ScVbaWindow::setScrollColumn(), ScVbaWindow::setScrollRow(), ScVbaWindow::setTabRatio(), ScVbaWindow::setView(), ScVbaWindow::setWindowState(), ScVbaWorksheet::ShowDataForm(), ScVbaWindow::SplitAtDefinedPosition(), and ScVbaApplication::Undo().
ScTabViewShell* ooo::vba::excel::getCurrentBestViewShell | ( | const css::uno::Reference< css::uno::XComponentContext > & | xContext | ) |
ScTabViewShell* ooo::vba::excel::getCurrentBestViewShell | ( | const uno::Reference< uno::XComponentContext > & | xContext | ) |
Definition at line 259 of file excelvbahelper.cxx.
References getBestViewShell(), ooo::vba::getCurrentExcelDoc(), and xModel.
Referenced by ScVbaApplication::getActiveCell(), ScVbaApplication::getDisplayFormulaBar(), ScVbaApplication::getDisplayFullScreen(), ScVbaApplication::getDisplayScrollBars(), ScVbaApplication::GoTo(), and ScVbaApplication::setDisplayFormulaBar().
ScDocShell * ooo::vba::excel::getDocShell | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
Definition at line 238 of file excelvbahelper.cxx.
References ScModelObj::GetEmbeddedObject().
Referenced by ScVbaNames::Add(), ScVbaFormat< Ifc >::Borders(), ScVbaWorksheet::Cells(), ScVbaTextBoxShape::characters(), ScVbaWorksheet::createSheetCopy(), ScVbaWorksheet::createSheetCopyInNewDoc(), ScVbaFormat< Ifc >::Font(), ScVbaWorksheet::getAutoFilterMode(), getBestViewShell(), ScVbaWorksheet::getEnableSelection(), ScVbaWorkbook::getPrecisionAsDisplayed(), ScVbaPageSetup::getPrintArea(), ScVbaWorksheet::getProtectDrawingObjects(), ScVbaName::getRefersToRange(), ScVbaApplication::GoTo(), implnCopy(), implnCut(), implnPasteSpecial(), ScVbaWorkbook::init(), oox::xls::WorkbookFragment::recalcFormulaCells(), ScVbaWorksheet::setAutoFilterMode(), ScVbaWorksheet::setEnableSelection(), ScVbaWorkbook::setPrecisionAsDisplayed(), ScVbaPageSetup::setPrintArea(), ScVbaApplication::setScreenUpdating(), setUpDocumentModules(), and ScVbaApplication::Volatile().
ScDocShell* ooo::vba::excel::GetDocShellFromRange | ( | const css::uno::Reference< css::uno::XInterface > & | xRange | ) |
css::uno::RuntimeException |
ScDocShell* ooo::vba::excel::GetDocShellFromRange | ( | const uno::Reference< uno::XInterface > & | xRange | ) |
Definition at line 83 of file excelvbahelper.cxx.
References ScCellRangesBase::GetDocShell().
Referenced by ScVbaValidation::getFormula1(), and getUnoSheetModuleObj().
ImplObject* ooo::vba::excel::getImplFromDocModuleWrapper | ( | const css::uno::Reference< css::uno::XInterface > & | rxWrapperIf | ) |
css::uno::RuntimeException |
Definition at line 87 of file excelvbahelper.hxx.
css::uno::Reference< css::sheet::XUnnamedDatabaseRanges > ooo::vba::excel::GetUnnamedDataBaseRanges | ( | const ScDocShell * | pShell | ) |
css::uno::RuntimeException |
Definition at line 52 of file excelvbahelper.cxx.
References SfxObjectShell::GetModel(), and xModel.
Referenced by ScVbaRange::AutoFilter(), and GetAutoFiltRange().
css::uno::Reference< ooo::vba::XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const css::uno::Reference< css::sheet::XSpreadsheet > & | xSheet | ) |
css::uno::RuntimeException |
css::uno::Reference< ooo::vba::XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const css::uno::Reference< css::sheet::XSheetCellRangeContainer > & | xRanges | ) |
css::uno::RuntimeException |
css::uno::Reference< ooo::vba::XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const css::uno::Reference< css::table::XCellRange > & | xRange | ) |
css::uno::RuntimeException |
css::uno::Reference< ooo::vba::XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const css::uno::Reference< css::table::XCell > & | xCell | ) |
css::uno::RuntimeException |
css::uno::Reference< ooo::vba::XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
SCTAB | nTab | ||
) |
css::uno::RuntimeException |
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< table::XCellRange > & | xRange | ) |
Definition at line 94 of file excelvbahelper.cxx.
Referenced by ScVbaRange::ApplicationRange(), ScVbaWorksheets::createCollectionObject(), ScVbaEventsHelper::createHyperlink(), ScVbaEventsHelper::createRange(), ScVbaEventsHelper::createWorksheet(), ScVbaApplication::getActiveCell(), ScVbaWorkbook::getActiveSheet(), getRangeForName(), ScVbaApplication::getSelection(), and getUnoSheetModuleObj().
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< sheet::XSpreadsheet > & | xSheet | ) |
Definition at line 275 of file excelvbahelper.cxx.
References GetDocShellFromRange(), and ooo::vba::getUnoDocModule().
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< sheet::XSheetCellRangeContainer > & | xRanges | ) |
Definition at line 289 of file excelvbahelper.cxx.
References getUnoSheetModuleObj().
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< table::XCell > & | xCell | ) |
Definition at line 298 of file excelvbahelper.cxx.
References getUnoSheetModuleObj().
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< frame::XModel > & | xModel, |
SCTAB | nTab | ||
) |
Definition at line 306 of file excelvbahelper.cxx.
References getUnoSheetModuleObj().
SfxViewFrame* ooo::vba::excel::getViewFrame | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
SfxViewFrame* ooo::vba::excel::getViewFrame | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 266 of file excelvbahelper.cxx.
References getBestViewShell(), and SfxViewShell::GetViewFrame().
Referenced by ScVbaRange::End().
void ooo::vba::excel::implnCopy | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
void ooo::vba::excel::implnCopy | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 170 of file excelvbahelper.cxx.
References ScViewFunc::CopyToClip(), ScViewData::GetActiveWin(), getBestViewShell(), ScTabViewShell::GetClipData(), getDocShell(), ScTransferObj::GetOwnClipboard(), ScTabView::GetViewData(), ScDocShell::SetClipData(), and ScTransferObj::SetUseInApi().
Referenced by ScVbaRange::Copy(), ScVbaWorksheet::createSheetCopyInNewDoc(), and ScVbaWorksheet::Move().
void ooo::vba::excel::implnCut | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
void ooo::vba::excel::implnCut | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 190 of file excelvbahelper.cxx.
References ScViewFunc::CutToClip(), ScViewData::GetActiveWin(), getBestViewShell(), ScTabViewShell::GetClipData(), getDocShell(), ScTransferObj::GetOwnClipboard(), ScTabView::GetViewData(), ScDocShell::SetClipData(), and ScTransferObj::SetUseInApi().
Referenced by ScVbaRange::Cut().
void ooo::vba::excel::implnPaste | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
void ooo::vba::excel::implnPaste | ( | const uno::Reference< frame::XModel > & | xModel | ) |
Definition at line 158 of file excelvbahelper.cxx.
References ScTabView::CellContentChanged(), getBestViewShell(), and ScViewFunc::PasteFromSystem().
Referenced by ScVbaWorksheet::createSheetCopyInNewDoc(), ScVbaWorksheet::Move(), and ScVbaWorksheet::Paste().
void ooo::vba::excel::implnPasteSpecial | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
InsertDeleteFlags | nFlags, | ||
ScPasteFunc | nFunction, | ||
bool | bSkipEmpty, | ||
bool | bTranspose | ||
) |
void ooo::vba::excel::implnPasteSpecial | ( | const uno::Reference< frame::XModel > & | xModel, |
InsertDeleteFlags | nFlags, | ||
ScPasteFunc | nFunction, | ||
bool | bSkipEmpty, | ||
bool | bTranspose | ||
) |
Definition at line 209 of file excelvbahelper.cxx.
References ScTabView::CellContentChanged(), ScViewData::GetActiveWin(), getBestViewShell(), ScTabViewShell::GetClipData(), getDocShell(), ScTransferObj::GetDocument(), ScTransferObj::GetOwnClipboard(), ScTabView::GetViewData(), INS_NONE, NONE, and ScViewFunc::PasteFromClip().
Referenced by ScVbaRange::PasteSpecial().
void ooo::vba::excel::implSetZoom | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
sal_Int16 | nZoom, | ||
std::vector< SCTAB > & | nTabs | ||
) |
void ooo::vba::excel::implSetZoom | ( | const uno::Reference< frame::XModel > & | xModel, |
sal_Int16 | nZoom, | ||
std::vector< SCTAB > & | nTabs | ||
) |
Definition at line 101 of file excelvbahelper.cxx.
References getBestViewShell(), ScTabView::GetViewData(), ScTabView::RefreshZoom(), and ScViewData::SetZoom().
Referenced by ScVbaWindow::setZoom().
void ooo::vba::excel::setUpDocumentModules | ( | const css::uno::Reference< css::sheet::XSpreadsheetDocument > & | xDoc | ) |
void ooo::vba::excel::setUpDocumentModules | ( | const uno::Reference< sheet::XSpreadsheetDocument > & | xDoc | ) |
Definition at line 314 of file excelvbahelper.cxx.
References aName, SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetBasicManager(), ScDocument::GetCodeName(), getDocShell(), ScDocShell::GetDocument(), SfxObjectShell::GetModel(), ScDocument::GetVbaEventProcessor(), index, and xModel.
Referenced by ScVbaWorkbooks::Add(), and ScVbaWorksheet::createSheetCopyInNewDoc().