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 29 of file undoutil.hxx.

Member Function Documentation

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 68 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().

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

Definition at line 53 of file undoutil.cxx.

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

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

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