38namespace ooo::vba {
class XHelperInterface; }
40class ScCellRangesBase;
47void implSetZoom(
const css::uno::Reference< css::frame::XModel >& xModel, sal_Int16 nZoom, std::vector< SCTAB >& nTabs );
48void implnCopy(
const css::uno::Reference< css::frame::XModel>& xModel );
49void implnPaste (
const css::uno::Reference< css::frame::XModel>& xModel );
50void implnCut(
const css::uno::Reference< css::frame::XModel>& xModel );
63css::uno::Reference< ooo::vba::XHelperInterface >
getUnoSheetModuleObj(
const css::uno::Reference< css::sheet::XSpreadsheet >& xSheet );
65css::uno::Reference< ooo::vba::XHelperInterface >
getUnoSheetModuleObj(
const css::uno::Reference< css::sheet::XSheetCellRangeContainer >& xRanges );
67css::uno::Reference< ooo::vba::XHelperInterface >
getUnoSheetModuleObj(
const css::uno::Reference< css::table::XCellRange >& xRange );
69css::uno::Reference< ooo::vba::XHelperInterface >
getUnoSheetModuleObj(
const css::uno::Reference< css::table::XCell >& xCell );
71css::uno::Reference< ooo::vba::XHelperInterface >
getUnoSheetModuleObj(
const css::uno::Reference< css::frame::XModel >& xModel,
SCTAB nTab );
86template <
typename ImplObject >
89 ImplObject* pObj = comphelper::getFromUnoTunnel<ImplObject>(rxWrapperIf);
91 throw css::uno::RuntimeException(
"Internal error, can't extract implementation object", rxWrapperIf );
static SfxItemSet * GetDataSet(ScCellRangesBase *pRangeObj)
ScDocShell * GetDocShellFromRange(const uno::Reference< uno::XInterface > &xRange)
ScTabViewShell * getCurrentBestViewShell(const uno::Reference< uno::XComponentContext > &xContext)
void setUpDocumentModules(const uno::Reference< sheet::XSpreadsheetDocument > &xDoc)
uno::Reference< sheet::XUnnamedDatabaseRanges > GetUnnamedDataBaseRanges(const ScDocShell *pShell)
void implnCut(const uno::Reference< frame::XModel > &xModel)
ScDocShell * getDocShell(const css::uno::Reference< css::frame::XModel > &xModel)
void implnPasteSpecial(const uno::Reference< frame::XModel > &xModel, InsertDeleteFlags nFlags, ScPasteFunc nFunction, bool bSkipEmpty, bool bTranspose)
SfxViewFrame * getViewFrame(const uno::Reference< frame::XModel > &xModel)
void implnPaste(const uno::Reference< frame::XModel > &xModel)
ScTabViewShell * getBestViewShell(const css::uno::Reference< css::frame::XModel > &xModel)
void implSetZoom(const uno::Reference< frame::XModel > &xModel, sal_Int16 nZoom, std::vector< SCTAB > &nTabs)
uno::Reference< sheet::XDatabaseRange > GetAutoFiltRange(const ScDocShell *pShell, sal_Int16 nSheet)
ImplObject * getImplFromDocModuleWrapper(const css::uno::Reference< css::uno::XInterface > &rxWrapperIf)
void implnCopy(const uno::Reference< frame::XModel > &xModel)
uno::Reference< XHelperInterface > getUnoSheetModuleObj(const uno::Reference< table::XCellRange > &xRange)