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 | ExportAsFixedFormatHelper (const uno::Reference< frame::XModel > &xModel, const css::uno::Reference< XApplication > &xApplication, const css::uno::Any &Type, const css::uno::Any &FileName, const css::uno::Any &Quality, const css::uno::Any &IncludeDocProperties, const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &OpenAfterPublish) |
void | SetDocInfoState (const uno::Reference< frame::XModel > &xModel, const uno::Reference< css::document::XDocumentProperties > &i_xOldDocProps) |
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) |
void | ExportAsFixedFormatHelper (const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< ooo::vba::excel::XApplication > &xApplication, const css::uno::Any &Type, const css::uno::Any &FileName, const css::uno::Any &Quality, const css::uno::Any &IncludeDocProperties, const css::uno::Any &From, const css::uno::Any &To, const css::uno::Any &OpenAfterPublish) |
void | SetDocInfoState (const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::document::XDocumentProperties > &i_xOldDocInfo) |
template<typename ImplObject > | |
ImplObject * | getImplFromDocModuleWrapper (const css::uno::Reference< css::uno::XInterface > &rxWrapperIf) |
void ooo::vba::excel::ExportAsFixedFormatHelper | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
const css::uno::Reference< ooo::vba::excel::XApplication > & | xApplication, | ||
const css::uno::Any & | Type, | ||
const css::uno::Any & | FileName, | ||
const css::uno::Any & | Quality, | ||
const css::uno::Any & | IncludeDocProperties, | ||
const css::uno::Any & | From, | ||
const css::uno::Any & | To, | ||
const css::uno::Any & | OpenAfterPublish | ||
) |
void ooo::vba::excel::ExportAsFixedFormatHelper | ( | const uno::Reference< frame::XModel > & | xModel, |
const css::uno::Reference< XApplication > & | xApplication, | ||
const css::uno::Any & | Type, | ||
const css::uno::Any & | FileName, | ||
const css::uno::Any & | Quality, | ||
const css::uno::Any & | IncludeDocProperties, | ||
const css::uno::Any & | From, | ||
const css::uno::Any & | To, | ||
const css::uno::Any & | OpenAfterPublish | ||
) |
Definition at line 399 of file excelvbahelper.cxx.
References aURL, INetURLObject::GetAbsURL(), comphelper::makePropertyValue(), INetURLObject::NONE, SetDocInfoState(), sType, To, INetURLObject::ToIUri, u, and xModel.
Referenced by ScVbaRange::ExportAsFixedFormat(), ScVbaWorkbook::ExportAsFixedFormat(), and ScVbaWorksheet::ExportAsFixedFormat().
css::uno::Reference< css::sheet::XDatabaseRange > ooo::vba::excel::GetAutoFiltRange | ( | const ScDocShell * | pShell, |
sal_Int16 | nSheet | ||
) |
css::uno::RuntimeException |
Definition at line 74 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 259 of file excelvbahelper.cxx.
References ScDocShell::GetBestViewShell(), getDocShell(), and xModel.
Referenced by getCurrentBestViewShell(), ScVbaNames::getScDocument(), ScVbaWindow::getScrollColumn(), ScVbaWindow::getScrollRow(), ScVbaWindow::getTabRatio(), ScVbaWindow::getView(), getViewFrame(), ScVbaWindow::getWindowState(), implnCopy(), implnCut(), implnPaste(), implnPasteSpecial(), implSetZoom(), ScVbaRange::PrintOut(), ScVbaWindow::PrintOut(), ScVbaWorksheets::PrintOut(), ScVbaWorksheet::PrintOut(), ScVbaWindow::PrintPreview(), ScVbaWorksheets::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 268 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 247 of file excelvbahelper.cxx.
References ScModelObj::GetEmbeddedObject(), and xModel.
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 92 of file excelvbahelper.cxx.
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 99 of file excelvbahelper.hxx.
css::uno::Reference< css::sheet::XUnnamedDatabaseRanges > ooo::vba::excel::GetUnnamedDataBaseRanges | ( | const ScDocShell * | pShell | ) |
css::uno::RuntimeException |
Definition at line 61 of file excelvbahelper.cxx.
References ScDocShell::GetModel(), and xModel.
Referenced by ScVbaRange::AutoFilter(), and GetAutoFiltRange().
css::uno::Reference< ooo::vba::XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
SCTAB | nTab | ||
) |
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::sheet::XSpreadsheet > & | xSheet | ) |
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::table::XCellRange > & | xRange | ) |
css::uno::RuntimeException |
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< frame::XModel > & | xModel, |
SCTAB | nTab | ||
) |
Definition at line 315 of file excelvbahelper.cxx.
References getUnoSheetModuleObj(), and xModel.
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< sheet::XSheetCellRangeContainer > & | xRanges | ) |
Definition at line 298 of file excelvbahelper.cxx.
References getUnoSheetModuleObj().
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< sheet::XSpreadsheet > & | xSheet | ) |
Definition at line 284 of file excelvbahelper.cxx.
References GetDocShellFromRange(), and ooo::vba::getUnoDocModule().
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< table::XCell > & | xCell | ) |
Definition at line 307 of file excelvbahelper.cxx.
References getUnoSheetModuleObj().
uno::Reference< XHelperInterface > ooo::vba::excel::getUnoSheetModuleObj | ( | const uno::Reference< table::XCellRange > & | xRange | ) |
Definition at line 103 of file excelvbahelper.cxx.
References getUnoSheetModuleObj().
Referenced by ScVbaRange::ApplicationRange(), ScVbaWorksheets::createCollectionObject(), ScVbaEventsHelper::createHyperlink(), ScVbaEventsHelper::createRange(), ScVbaEventsHelper::createWorksheet(), ScVbaApplication::getActiveCell(), ScVbaWorkbook::getActiveSheet(), getRangeForName(), ScVbaApplication::getSelection(), and 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 275 of file excelvbahelper.cxx.
References getBestViewShell(), SfxViewShell::GetViewFrame(), and xModel.
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 179 of file excelvbahelper.cxx.
References ScViewFunc::CopyToClip(), ScViewData::GetActiveWin(), getBestViewShell(), ScTabViewShell::GetClipData(), getDocShell(), ScTransferObj::GetOwnClipboard(), ScTabView::GetViewData(), ScDocShell::SetClipData(), ScTransferObj::SetUseInApi(), and xModel.
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 199 of file excelvbahelper.cxx.
References ScViewFunc::CutToClip(), ScViewData::GetActiveWin(), getBestViewShell(), ScTabViewShell::GetClipData(), getDocShell(), ScTransferObj::GetOwnClipboard(), ScTabView::GetViewData(), ScDocShell::SetClipData(), ScTransferObj::SetUseInApi(), and xModel.
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 167 of file excelvbahelper.cxx.
References ScTabView::CellContentChanged(), getBestViewShell(), ScViewFunc::PasteFromSystem(), and xModel.
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 218 of file excelvbahelper.cxx.
References ScTabView::CellContentChanged(), ScViewData::GetActiveWin(), getBestViewShell(), ScTabViewShell::GetClipData(), getDocShell(), ScTransferObj::GetDocument(), ScTransferObj::GetOwnClipboard(), ScTabView::GetViewData(), INS_NONE, NONE, ScViewFunc::PasteFromClip(), and xModel.
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 110 of file excelvbahelper.cxx.
References getBestViewShell(), ScTabView::GetViewData(), ScTabView::RefreshZoom(), ScViewData::SetZoom(), and xModel.
Referenced by ScVbaWindow::setZoom().
void ooo::vba::excel::SetDocInfoState | ( | const css::uno::Reference< css::frame::XModel > & | xModel, |
const css::uno::Reference< css::document::XDocumentProperties > & | i_xOldDocInfo | ||
) |
void ooo::vba::excel::SetDocInfoState | ( | const uno::Reference< frame::XModel > & | xModel, |
const uno::Reference< css::document::XDocumentProperties > & | i_xOldDocProps | ||
) |
Definition at line 540 of file excelvbahelper.cxx.
References xModel.
Referenced by ExportAsFixedFormatHelper().
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 323 of file excelvbahelper.cxx.
References aName, ScModelObj::createInstance(), SfxObjectShell::GetBasicContainer(), SfxObjectShell::GetBasicManager(), ScDocument::GetCodeName(), getDocShell(), ScDocShell::GetDocument(), ScDocShell::GetModel(), ScDocument::GetTableCount(), ScDocument::GetVbaEventProcessor(), index, ScDocument::SetCodeName(), BasicManager::SetName(), and xModel.
Referenced by ScVbaWorkbooks::Add(), and ScVbaWorksheet::createSheetCopyInNewDoc().