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

#include <undoutil.hxx>

Static Public Member Functions

static void MarkSimpleBlock (const ScDocShell *pDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ)
 Mark Block (invisible - has to be repainted) More...
 
static void MarkSimpleBlock (const ScDocShell *pDocShell, const ScAddress &rBlockStart, const ScAddress &rBlockEnd)
 
static void MarkSimpleBlock (const ScDocShell *pDocShell, const ScRange &rRange)
 
static void PaintMore (ScDocShell *pDocShell, const ScRange &rRange)
 
static ScDBDataGetOldDBData (const ScDBData *pUndoData, ScDocument *pDoc, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2)
 Search for Data base range in Document ("untitled" or by region) create new if not found. More...
 

Detailed Description

Definition at line 28 of file undoutil.hxx.

Member Function Documentation

◆ GetOldDBData()

ScDBData * ScUndoUtil::GetOldDBData ( const ScDBData pUndoData,
ScDocument pDoc,
SCTAB  nTab,
SCCOL  nCol1,
SCROW  nRow1,
SCCOL  nCol2,
SCROW  nRow2 
)
static

Search for Data base range in Document ("untitled" or by region) create new if not found.

Definition at line 69 of file undoutil.cxx.

References aName, ScDocument::GetAnonymousDBData(), ScDocument::GetDBAtArea(), ScDBData::GetName(), ScDocument::HasColHeader(), ScDocument::SetAnonymousDBData(), and STR_DB_LOCAL_NONAME.

Referenced by ScUndoImportData::Redo(), and ScUndoImportData::Undo().

◆ MarkSimpleBlock() [1/3]

void ScUndoUtil::MarkSimpleBlock ( const ScDocShell pDocShell,
const ScAddress rBlockStart,
const ScAddress rBlockEnd 
)
static

Definition at line 54 of file undoutil.cxx.

References ScAddress::Col(), MarkSimpleBlock(), ScAddress::Row(), and ScAddress::Tab().

◆ MarkSimpleBlock() [2/3]

void ScUndoUtil::MarkSimpleBlock ( const ScDocShell pDocShell,
const ScRange rRange 
)
static

◆ MarkSimpleBlock() [3/3]

void ScUndoUtil::MarkSimpleBlock ( const ScDocShell pDocShell,
SCCOL  nStartX,
SCROW  nStartY,
SCTAB  nStartZ,
SCCOL  nEndX,
SCROW  nEndY,
SCTAB  nEndZ 
)
static

◆ PaintMore()

void ScUndoUtil::PaintMore ( ScDocShell pDocShell,
const ScRange rRange 
)
static

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