SpreadSheetData Class Reference

#include <customdatatype_spreadsheet.h>

Inheritance diagram for SpreadSheetData:

Public Member Functions

Int32 AddColumn (Int32 id, const GeData &data, Int32 rows, Int32 flags)
 
Int32 InsertColumn (Int32 column, Int32 id, const GeData &data, Int32 rows, Int32 flags)
 
Bool RemoveColumn (Int32 column)
 
Bool UpdateColumn (Int32 column, Int32 id, const GeData &data)
 
Bool GetColumn (Int32 column, Int32 *id, GeData *data)
 
void SetColumnColor (Int32 column, const ssColor &backcol, const ssColor &txtcol=ssColor())
 
void GetColumnColor (Int32 column, ssColor *backcol, ssColor *txtcol=nullptr)
 
Int32 GetColumnFlags (Int32 column)
 
Int32 SetColumnFlags (Int32 column, Int32 flags, Int32 mode=3)
 
Float GetColumnWidth (Int32 column)
 
Float SetColumnWidth (Int32 column, Float width)
 
Int32 GetColumnCount ()
 
Int32 FindColumn (Int32 id)
 
Int32 AddRow (Int32 column, Int32 id, const GeData &data, Int32 flags)
 
Int32 InsertRow (Int32 column, Int32 row, Int32 id, const GeData &data)
 
Bool RemoveRow (Int32 column, Int32 row)
 
Bool UpdateRow (Int32 column, Int32 row, Int32 id, const GeData &data)
 
Bool GetRow (Int32 column, Int32 row, Int32 *id, GeData *data)
 
void SetRowColor (Int32 column, Int32 row, const ssColor &backcol, const ssColor &txtcol=ssColor())
 
void GetRowColor (Int32 column, Int32 row, ssColor *backcol, ssColor *txtcol=nullptr)
 
Int32 GetRowCount (Int32 column)
 
Int32 GetRowTotalCount (Int32 column)
 
Int32 GetRowFlags (Int32 column, Int32 row)
 
Int32 SetRowFlags (Int32 column, Int32 row, Int32 flags, Int32 mode=3)
 
Int32 FindRow (Int32 column, Int32 id)
 
void GetSelection (BaseSelect *selection)
 
void SetSelection (BaseSelect *selection)
 
Int32 GetFlags ()
 
Int32 SetFlags (Int32 flags, Int32 mode=3)
 
void Clear ()
 
Int32 GetRowIndex (Int32 column, Int32 row, Int32 *base)
 
RowTableBuildRowTable (Int32 column)
 
Int32 GetSelectionCount ()
 
void GetHidden (BaseSelect *selection)
 
void SetHidden (BaseSelect *selection)
 
Int32 GetHiddenCount ()
 
void GetCursor (Int32 *cx, Int32 *cy)
 
void SetCursor (Int32 cx, Int32 cy)
 
BaseContainerGetUserData ()
 
BaseLinkGetOwnerLink ()
 

Static Public Member Functions

static SpreadSheetDataAlloc ()
 
static void Free (SpreadSheetData *&pData)
 

Private Member Functions

 SpreadSheetData ()
 
 ~SpreadSheetData ()
 

Constructor & Destructor Documentation

◆ SpreadSheetData()

SpreadSheetData ( )
private

◆ ~SpreadSheetData()

~SpreadSheetData ( )
private

Member Function Documentation

◆ Alloc()

static SpreadSheetData* Alloc ( )
static

◆ Free()

static void Free ( SpreadSheetData *&  pData)
static

◆ AddColumn()

Int32 AddColumn ( Int32  id,
const GeData data,
Int32  rows,
Int32  flags 
)

◆ InsertColumn()

Int32 InsertColumn ( Int32  column,
Int32  id,
const GeData data,
Int32  rows,
Int32  flags 
)

◆ RemoveColumn()

Bool RemoveColumn ( Int32  column)

◆ UpdateColumn()

Bool UpdateColumn ( Int32  column,
Int32  id,
const GeData data 
)

◆ GetColumn()

Bool GetColumn ( Int32  column,
Int32 id,
GeData data 
)

◆ SetColumnColor()

void SetColumnColor ( Int32  column,
const ssColor backcol,
const ssColor txtcol = ssColor() 
)

◆ GetColumnColor()

void GetColumnColor ( Int32  column,
ssColor backcol,
ssColor txtcol = nullptr 
)

◆ GetColumnFlags()

Int32 GetColumnFlags ( Int32  column)

◆ SetColumnFlags()

Int32 SetColumnFlags ( Int32  column,
Int32  flags,
Int32  mode = 3 
)

◆ GetColumnWidth()

Float GetColumnWidth ( Int32  column)

◆ SetColumnWidth()

Float SetColumnWidth ( Int32  column,
Float  width 
)

◆ GetColumnCount()

Int32 GetColumnCount ( )

◆ FindColumn()

Int32 FindColumn ( Int32  id)

◆ AddRow()

Int32 AddRow ( Int32  column,
Int32  id,
const GeData data,
Int32  flags 
)

◆ InsertRow()

Int32 InsertRow ( Int32  column,
Int32  row,
Int32  id,
const GeData data 
)

◆ RemoveRow()

Bool RemoveRow ( Int32  column,
Int32  row 
)

◆ UpdateRow()

Bool UpdateRow ( Int32  column,
Int32  row,
Int32  id,
const GeData data 
)

◆ GetRow()

Bool GetRow ( Int32  column,
Int32  row,
Int32 id,
GeData data 
)

◆ SetRowColor()

void SetRowColor ( Int32  column,
Int32  row,
const ssColor backcol,
const ssColor txtcol = ssColor() 
)

◆ GetRowColor()

void GetRowColor ( Int32  column,
Int32  row,
ssColor backcol,
ssColor txtcol = nullptr 
)

◆ GetRowCount()

Int32 GetRowCount ( Int32  column)

◆ GetRowTotalCount()

Int32 GetRowTotalCount ( Int32  column)

◆ GetRowFlags()

Int32 GetRowFlags ( Int32  column,
Int32  row 
)

◆ SetRowFlags()

Int32 SetRowFlags ( Int32  column,
Int32  row,
Int32  flags,
Int32  mode = 3 
)

◆ FindRow()

Int32 FindRow ( Int32  column,
Int32  id 
)

◆ GetSelection()

void GetSelection ( BaseSelect selection)

◆ SetSelection()

void SetSelection ( BaseSelect selection)

◆ GetFlags()

Int32 GetFlags ( )

◆ SetFlags()

Int32 SetFlags ( Int32  flags,
Int32  mode = 3 
)

◆ Clear()

void Clear ( )

◆ GetRowIndex()

Int32 GetRowIndex ( Int32  column,
Int32  row,
Int32 base 
)

◆ BuildRowTable()

RowTable* BuildRowTable ( Int32  column)

◆ GetSelectionCount()

Int32 GetSelectionCount ( )

◆ GetHidden()

void GetHidden ( BaseSelect selection)

◆ SetHidden()

void SetHidden ( BaseSelect selection)

◆ GetHiddenCount()

Int32 GetHiddenCount ( )

◆ GetCursor()

void GetCursor ( Int32 cx,
Int32 cy 
)

◆ SetCursor()

void SetCursor ( Int32  cx,
Int32  cy 
)

◆ GetUserData()

BaseContainer* GetUserData ( )

◆ GetOwnerLink()

BaseLink* GetOwnerLink ( )