LibreOffice Module sc (master) 1
Static Public Member Functions | List of all members
sc::DocFuncUtil Class Reference

#include <docfuncutil.hxx>

Static Public Member Functions

static bool hasProtectedTab (const ScDocument &rDoc, const ScMarkData &rMark)
 
static ScDocumentUniquePtr createDeleteContentsUndoDoc (ScDocument &rDoc, const ScMarkData &rMark, const ScRange &rRange, InsertDeleteFlags nFlags, bool bOnlyMarked)
 
static void addDeleteContentsUndo (SfxUndoManager *pUndoMgr, ScDocShell *pDocSh, const ScMarkData &rMark, const ScRange &rRange, ScDocumentUniquePtr &&pUndoDoc, InsertDeleteFlags nFlags, const std::shared_ptr< ScSimpleUndo::DataSpansType > &pSpans, bool bMulti, bool bDrawUndo)
 
static std::shared_ptr< ScSimpleUndo::DataSpansTypegetNonEmptyCellSpans (const ScDocument &rDoc, const ScMarkData &rMark, const ScRange &rRange)
 

Detailed Description

Definition at line 20 of file docfuncutil.hxx.

Member Function Documentation

◆ addDeleteContentsUndo()

void sc::DocFuncUtil::addDeleteContentsUndo ( SfxUndoManager pUndoMgr,
ScDocShell pDocSh,
const ScMarkData rMark,
const ScRange rRange,
ScDocumentUniquePtr &&  pUndoDoc,
InsertDeleteFlags  nFlags,
const std::shared_ptr< ScSimpleUndo::DataSpansType > &  pSpans,
bool  bMulti,
bool  bDrawUndo 
)
static

Definition at line 78 of file docfuncutil.cxx.

References SfxUndoManager::AddUndoAction().

Referenced by ScDocFunc::DeleteCell(), and ScDocFunc::DeleteContents().

◆ createDeleteContentsUndoDoc()

ScDocumentUniquePtr sc::DocFuncUtil::createDeleteContentsUndoDoc ( ScDocument rDoc,
const ScMarkData rMark,
const ScRange rRange,
InsertDeleteFlags  nFlags,
bool  bOnlyMarked 
)
static

◆ getNonEmptyCellSpans()

std::shared_ptr< ScSimpleUndo::DataSpansType > sc::DocFuncUtil::getNonEmptyCellSpans ( const ScDocument rDoc,
const ScMarkData rMark,
const ScRange rRange 
)
static

◆ hasProtectedTab()

bool sc::DocFuncUtil::hasProtectedTab ( const ScDocument rDoc,
const ScMarkData rMark 
)
static

The documentation for this class was generated from the following files: