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