COOPY » Guide
version 0.6.5
|
#include <GnumericSheet.h>
Public Member Functions | |
GnumericSheet (void *sheet) | |
virtual | ~GnumericSheet () |
virtual int | width () const |
virtual int | height () const |
virtual SheetCell | cellSummary (int x, int y) const |
virtual bool | cellSummary (int x, int y, const SheetCell &c) |
sets the contents of cell in column x, row y to a specified value. | |
virtual std::string | cellString (int x, int y) const |
virtual std::string | cellString (int x, int y, bool &escaped) const |
virtual bool | cellString (int x, int y, const std::string &str) |
sets the contents of cell in column x, row y to a specified string value | |
virtual bool | cellString (int x, int y, const std::string &str, bool escaped) |
sets the contents of cell in column x, row y to a specified string value, or to NULL if "escaped" is set. | |
virtual ColumnRef | moveColumn (const ColumnRef &src, const ColumnRef &base) |
virtual bool | deleteColumn (const ColumnRef &column) |
virtual ColumnRef | insertColumn (const ColumnRef &base) |
virtual ColumnRef | insertColumn (const ColumnRef &base, const ColumnInfo &kind) |
virtual bool | modifyColumn (const ColumnRef &base, const ColumnInfo &kind) |
virtual RowRef | insertRow (const RowRef &base) |
virtual bool | deleteRow (const RowRef &src) |
virtual bool | deleteRows (const RowRef &first, const RowRef &last) |
virtual RowRef | moveRow (const RowRef &src, const RowRef &base) |
virtual bool | hasDimension () const |
virtual bool | forceWidth (int width) |
virtual bool | deleteData (int offset=0) |
virtual Poly< Appearance > | getCellAppearance (int x, int y) |
virtual Poly< Appearance > | getRowAppearance (int y) |
virtual Poly< Appearance > | getColAppearance (int x) |
virtual std::string | getDescription () const |
virtual bool | canEscape () const |
virtual SheetCell | getCell (int x, int y) const |
virtual bool | setCell (int x, int y, const SheetCell &c) |
set contents of cell in column x, row y | |
std::string | encode (const SheetStyle &style) const |
Render table as serialized text, using the specified style. | |
std::string | toString () const |
Render table as serialized text, using a default style. | |
virtual bool | clearCache () |
Remove any cached values if used, e.g. | |
virtual SheetSchema * | getSchema () const |
virtual bool | forceHeight (int height) |
virtual Poly< SheetRow > | insertRow () |
virtual bool | copyData (const DataSheet &src) |
virtual bool | canWrite () |
virtual bool | canResize () |
virtual bool | hasExternalColumnNames () const |
virtual bool | resize (int w, int h) |
virtual Poly< SheetRow > | insertRowOrdered (const RowRef &base) |
virtual bool | applyRowCache (const RowCache &cache, int row, SheetCell *result) |
virtual bool | applySchema (const SheetSchema &ss) |
virtual bool | addedHeader () |
virtual std::vector< std::string > | getNestedDescription () const |
virtual std::string | desc () const |
virtual std::string | getHash (bool cache=false) const |
virtual std::string | getRawHash () const |
virtual DataSheet & | tail () |
virtual const DataSheet & | tail_const () const |
virtual const DataSheet & | dataTail () const |
virtual bool | isSequential () const |
virtual DataSheet * | getNestedSheet (int x, int y) |
virtual bool | hasSheetName () const |
virtual bool | hasRowOffset () const |
virtual bool | setPool (Pool *pool) |
virtual Pool * | getPool () const |
virtual void | setMeta (SheetSchema *hint) |
virtual SheetSchema * | getMeta () const |
virtual bool | beginTransaction () |
virtual bool | rollbackTransaction () |
virtual bool | endTransaction () |
virtual void * | getDatabase () const |
virtual coopy::cmp::Compare * | getComparisonMethod () |
int | addReference () |
int | removeReference () |
int | getReferenceCount () |
Static Public Member Functions | |
static std::string | encodeCell (const SheetCell &str, const SheetStyle &style) |
Encode a cell value as text using a specified style. |
Definition at line 14 of file GnumericSheet.h.
GnumericSheet::GnumericSheet | ( | void * | sheet | ) |
Definition at line 16 of file GnumericSheet.cpp.
References dbg_printf, gnumeric_sheet_get_size(), NULL, and SHEET.
GnumericSheet::~GnumericSheet | ( | ) | [virtual] |
Definition at line 25 of file GnumericSheet.cpp.
virtual bool coopy::store::DataSheet::addedHeader | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 285 of file DataSheet.h.
References coopy::store::SheetSchema::addedHeader(), and coopy::store::DataSheet::getSchema().
Referenced by coopy::store::PolySheet::addedHeader().
int coopy::store::RefCount::addReference | ( | ) | [inline, inherited] |
Definition at line 30 of file RefCount.h.
Referenced by coopy::store::PolyBook::attach(), coopy::fold::FoldedCell::FoldedCell(), coopy::fold::FoldedCell::getOrCreateSheet(), coopy::store::PolyBook::operator=(), coopy::store::PolyValue::operator=(), coopy::store::PolySheet::operator=(), coopy::fold::FoldedCell::operator=(), coopy::store::PolyBook::PolyBook(), coopy::store::PolySheet::PolySheet(), coopy::store::PolyValue::PolyValue(), coopy::store::PolySheet::setSchema(), and coopy::store::PolyBook::take().
bool DataSheet::applyRowCache | ( | const RowCache & | cache, |
int | row, | ||
SheetCell * | result | ||
) | [virtual, inherited] |
Reimplemented in coopy::store::PolySheet, coopy::store::remotesql::RemoteSqlSheet, and coopy::store::sqlite::SqliteSheet.
Definition at line 156 of file DataSheet.cpp.
References coopy::store::RowCache::cells, coopy::store::RowCache::flags, coopy::store::DataSheet::height(), coopy::store::DataSheet::insertRow(), and coopy::store::DataSheet::setCell().
Referenced by coopy::store::PolySheet::applyRowCache(), and coopy::store::CacheSheetRow::flush().
virtual bool coopy::store::DataSheet::applySchema | ( | const SheetSchema & | ss | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet, coopy::store::TypedSheet< T >, coopy::store::EscapedTypedSheet< T >, coopy::store::TypedSheet< FoldedCell >, coopy::store::TypedSheet< float >, coopy::store::TypedSheet< int >, coopy::store::TypedSheet< std::pair< std::string, bool > >, coopy::store::TypedSheet< std::pair< T, bool > >, and coopy::store::EscapedTypedSheet< std::string >.
Definition at line 281 of file DataSheet.h.
Referenced by coopy::store::PolySheet::applySchema(), and coopy::store::socialcalc::SocialCalcTextBook::provideSheet().
virtual bool coopy::store::DataSheet::beginTransaction | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet, and coopy::store::remotesql::RemoteSqlSheet.
Definition at line 375 of file DataSheet.h.
Referenced by coopy::store::PolySheet::beginTransaction().
virtual bool coopy::store::DataSheet::canEscape | ( | ) | const [inline, virtual, inherited] |
Definition at line 139 of file DataSheet.h.
virtual bool coopy::store::DataSheet::canResize | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::CsvSheet, coopy::store::PolySheet, coopy::store::SparseFloatSheet, coopy::store::SparseIntSheet, and coopy::store::SparseByteSheet.
Definition at line 264 of file DataSheet.h.
Referenced by coopy::store::PolySheet::canResize(), and coopy::store::DataSheet::copyData().
virtual bool coopy::store::DataSheet::canWrite | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::mdb::AccessSheet, coopy::store::PolySheet, and coopy::store::mdb::JackSheet.
Definition at line 262 of file DataSheet.h.
Referenced by coopy::store::PolySheet::canWrite(), and coopy::store::DataSheet::copyData().
virtual bool coopy::store::gnumeric::GnumericSheet::cellString | ( | int | x, |
int | y, | ||
const std::string & | str, | ||
bool | escaped | ||
) | [inline, virtual] |
sets the contents of cell in column x, row y to a specified string value, or to NULL if "escaped" is set.
Reimplemented from coopy::store::DataSheet.
Definition at line 43 of file GnumericSheet.h.
References cellSummary().
virtual std::string coopy::store::gnumeric::GnumericSheet::cellString | ( | int | x, |
int | y, | ||
bool & | escaped | ||
) | const [inline, virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 33 of file GnumericSheet.h.
References cellSummary(), coopy::store::SheetCell::escaped, and coopy::store::SheetCell::text.
virtual std::string coopy::store::gnumeric::GnumericSheet::cellString | ( | int | x, |
int | y | ||
) | const [inline, virtual] |
Implements coopy::store::DataSheet.
Definition at line 28 of file GnumericSheet.h.
References cellSummary(), and coopy::store::SheetCell::text.
Referenced by cellString(), and main().
virtual bool coopy::store::gnumeric::GnumericSheet::cellString | ( | int | x, |
int | y, | ||
const std::string & | str | ||
) | [inline, virtual] |
sets the contents of cell in column x, row y to a specified string value
Reimplemented from coopy::store::DataSheet.
Definition at line 39 of file GnumericSheet.h.
References cellString().
SheetCell GnumericSheet::cellSummary | ( | int | x, |
int | y | ||
) | const [virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 29 of file GnumericSheet.cpp.
References GSheetCellStruct::all, COOPY_ASSERT, coopy::store::SheetCell::escaped, gnumeric_sheet_get_cell(), gsheetcell_free(), gsheetcell_zero(), GSheetCellStruct::is_url, coopy::store::SheetCell::meta, NULL, SHEET, coopy::store::SheetCell::text, coopy::store::SheetCellSimpleMeta::txt, GSheetCellStruct::txt, coopy::store::SheetCellSimpleMeta::url, and GSheetCellStruct::url.
Referenced by cellString().
bool GnumericSheet::cellSummary | ( | int | x, |
int | y, | ||
const SheetCell & | c | ||
) | [virtual] |
sets the contents of cell in column x, row y to a specified value.
Reimplemented from coopy::store::DataSheet.
Definition at line 65 of file GnumericSheet.cpp.
References GSheetCellStruct::all, coopy::store::SheetCell::escaped, coopy::store::Poly< T >::getContent(), coopy::store::SheetCellMeta::getText(), coopy::store::SheetCellMeta::getUrl(), gnumeric_sheet_remove_cell(), gnumeric_sheet_set_cell(), gnumeric_sheet_set_cell_as_string(), gsheetcell_zero(), GSheetCellStruct::is_url, coopy::store::SheetCellMeta::isUrl(), coopy::store::Poly< T >::isValid(), coopy::store::SheetCell::meta, SHEET, coopy::store::SheetCell::text, GSheetCellStruct::txt, and GSheetCellStruct::url.
virtual bool coopy::store::DataSheet::clearCache | ( | ) | [inline, virtual, inherited] |
Remove any cached values if used, e.g.
in proxies for remote tables.
Reimplemented in coopy::store::remotesql::RemoteSqlSheet, and coopy::store::sqlite::SqliteSheet.
Definition at line 191 of file DataSheet.h.
bool DataSheet::copyData | ( | const DataSheet & | src | ) | [virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 134 of file DataSheet.cpp.
References coopy::store::DataSheet::canResize(), coopy::store::DataSheet::canWrite(), coopy::store::DataSheet::getCell(), coopy::store::DataSheet::height(), coopy::store::DataSheet::resize(), coopy::store::DataSheet::setCell(), and coopy::store::DataSheet::width().
Referenced by coopy::store::PolySheet::copyData().
virtual const DataSheet& coopy::store::DataSheet::dataTail | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 329 of file DataSheet.h.
Referenced by coopy::store::PolySheet::dataTail(), and coopy::cmp::Patcher::getSheet().
bool GnumericSheet::deleteColumn | ( | const ColumnRef & | column | ) | [virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 107 of file GnumericSheet.cpp.
References coopy::store::ColumnRef::getIndex(), gnumeric_delete_column(), and SHEET.
bool GnumericSheet::deleteData | ( | int | offset = 0 | ) | [virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 209 of file GnumericSheet.cpp.
References gnumeric_delete_rows(), and SHEET.
bool GnumericSheet::deleteRow | ( | const RowRef & | src | ) | [virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 175 of file GnumericSheet.cpp.
References coopy::store::RowRef::getIndex(), gnumeric_delete_row(), and SHEET.
Reimplemented from coopy::store::DataSheet.
Definition at line 184 of file GnumericSheet.cpp.
References coopy::store::RowRef::getIndex(), gnumeric_delete_rows(), and SHEET.
virtual std::string coopy::store::DataSheet::desc | ( | ) | const [inline, virtual, inherited] |
Definition at line 303 of file DataSheet.h.
References coopy::store::DataSheet::getNestedDescription().
Referenced by coopy::cmp::SheetPatcher::changeRow(), coopy::store::TextBook::copy(), and coopy::store::DataSheet::getHash().
std::string DataSheet::encode | ( | const SheetStyle & | style | ) | const [inherited] |
Render table as serialized text, using the specified style.
Reimplemented in coopy::store::PolySheet.
Definition at line 33 of file DataSheet.cpp.
References coopy::store::DataSheet::cellSummary(), coopy::store::DataSheet::encodeCell(), coopy::store::SheetStyle::getDelimiter(), coopy::store::SheetStyle::getEol(), coopy::store::DataSheet::getSchema(), coopy::store::SheetSchema::headerHeight(), coopy::store::DataSheet::height(), NULL, coopy::store::SheetStyle::shouldEolAtEof(), coopy::store::SheetStyle::shouldMarkHeader(), and coopy::store::DataSheet::width().
Referenced by blob_show_csv(), coopy::fold::FoldedSheet::cellSummary(), coopy::store::PolySheet::encode(), main(), coopy::store::DataSheet::toString(), and write().
std::string DataSheet::encodeCell | ( | const SheetCell & | str, |
const SheetStyle & | style | ||
) | [static, inherited] |
Encode a cell value as text using a specified style.
Definition at line 70 of file DataSheet.cpp.
References coopy::store::SheetCell::escaped, coopy::store::SheetStyle::getDelimiter(), coopy::store::SheetStyle::getNullToken(), coopy::store::SheetStyle::haveNullToken(), coopy::store::SheetStyle::quoteCollidingText(), coopy::store::SheetStyle::shouldTrimEnd(), and coopy::store::SheetCell::text.
Referenced by coopy::store::DataSheet::encode().
virtual bool coopy::store::DataSheet::endTransaction | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet, and coopy::store::remotesql::RemoteSqlSheet.
Definition at line 383 of file DataSheet.h.
Referenced by coopy::store::PolySheet::endTransaction().
virtual bool coopy::store::DataSheet::forceHeight | ( | int | height | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 246 of file DataSheet.h.
Referenced by coopy::store::PolySheet::forceHeight().
virtual bool coopy::store::gnumeric::GnumericSheet::forceWidth | ( | int | width | ) | [inline, virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 71 of file GnumericSheet.h.
References width().
virtual SheetCell coopy::store::DataSheet::getCell | ( | int | x, |
int | y | ||
) | const [inline, virtual, inherited] |
Definition at line 148 of file DataSheet.h.
References coopy::store::DataSheet::cellSummary().
Referenced by coopy::store::DataSheet::copyData().
Poly< Appearance > GnumericSheet::getCellAppearance | ( | int | x, |
int | y | ||
) | [virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 294 of file GnumericSheet.cpp.
References SHEET.
Poly< Appearance > GnumericSheet::getColAppearance | ( | int | x | ) | [virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 304 of file GnumericSheet.cpp.
References SHEET.
virtual coopy::cmp::Compare* coopy::store::DataSheet::getComparisonMethod | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet, and coopy::store::sqlite::SqliteSheet.
Definition at line 392 of file DataSheet.h.
Referenced by coopy::store::PolySheet::getComparisonMethod().
virtual void* coopy::store::DataSheet::getDatabase | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet, and coopy::store::sqlite::SqliteSheet.
Definition at line 388 of file DataSheet.h.
Referenced by coopy::cmp::SheetCompare::compare(), and coopy::store::PolySheet::getDatabase().
virtual std::string coopy::store::gnumeric::GnumericSheet::getDescription | ( | ) | const [inline, virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 84 of file GnumericSheet.h.
std::string DataSheet::getHash | ( | bool | cache = false | ) | const [virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 197 of file DataSheet.cpp.
References coopy::store::Sha1Generator::add(), coopy::store::DataSheet::cellSummary(), dbg_printf, coopy::store::DataSheet::desc(), coopy::store::SheetCell::escaped, coopy::store::Sha1Generator::finish(), coopy::store::DataSheet::getRawHash(), coopy::store::DataSheet::height(), coopy::store::SheetCell::text, and coopy::store::DataSheet::width().
Referenced by coopy::cmp::SheetCompare::compare(), and coopy::store::PolySheet::getHash().
SheetSchema * DataSheet::getMeta | ( | ) | const [virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 12 of file DataSheet.cpp.
Referenced by coopy::store::PolySheet::getMeta(), and coopy::cmp::Patcher::metaHint().
virtual std::vector<std::string> coopy::store::DataSheet::getNestedDescription | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 296 of file DataSheet.h.
References coopy::store::DataSheet::getDescription().
Referenced by coopy::store::DataSheet::desc(), and coopy::store::PolySheet::getNestedDescription().
virtual DataSheet* coopy::store::DataSheet::getNestedSheet | ( | int | x, |
int | y | ||
) | [inline, virtual, inherited] |
Reimplemented in coopy::fold::FoldedSheet, and coopy::store::PolySheet.
Definition at line 338 of file DataSheet.h.
Referenced by coopy::store::PolySheet::getNestedSheet(), and writePart().
virtual Pool* coopy::store::DataSheet::getPool | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 367 of file DataSheet.h.
Referenced by coopy::store::PolySheet::getPool().
virtual std::string coopy::store::DataSheet::getRawHash | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet, and coopy::store::sqlite::SqliteSheet.
Definition at line 317 of file DataSheet.h.
Referenced by coopy::store::DataSheet::getHash(), and coopy::store::PolySheet::getRawHash().
int coopy::store::RefCount::getReferenceCount | ( | ) | [inline, inherited] |
Definition at line 40 of file RefCount.h.
Poly< Appearance > GnumericSheet::getRowAppearance | ( | int | y | ) | [virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 299 of file GnumericSheet.cpp.
References SHEET.
virtual SheetSchema* coopy::store::DataSheet::getSchema | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::mdb::AccessSheet, coopy::store::CsvSheet, coopy::store::PolySheet, coopy::store::mdb::JackSheet, coopy::store::remotesql::RemoteSqlSheet, and coopy::store::sqlite::SqliteSheet.
Definition at line 193 of file DataSheet.h.
Referenced by coopy::store::DataSheet::addedHeader(), coopy::cmp::Patcher::addPoolsFromFlags(), coopy::store::DataSheet::encode(), coopy::store::PolySheet::getSchema(), CsvRender::renderHtml(), coopy::store::PolySheet::setRowOffset(), and writePart().
virtual bool coopy::store::gnumeric::GnumericSheet::hasDimension | ( | ) | const [inline, virtual] |
Reimplemented from coopy::store::DataSheet.
Definition at line 67 of file GnumericSheet.h.
virtual bool coopy::store::DataSheet::hasExternalColumnNames | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::mdb::AccessSheet, coopy::fold::FoldedSheet, coopy::store::PolySheet, coopy::store::mdb::JackSheet, coopy::store::remotesql::RemoteSqlSheet, and coopy::store::sqlite::SqliteSheet.
Definition at line 266 of file DataSheet.h.
Referenced by coopy::cmp::SheetCompare::compare(), coopy::store::PolySheet::hasExternalColumnNames(), and coopy::store::PolySheet::setRowOffset().
virtual bool coopy::store::DataSheet::hasRowOffset | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 358 of file DataSheet.h.
Referenced by coopy::store::PolySheet::hasRowOffset(), and coopy::cmp::Patcher::metaHint().
virtual bool coopy::store::DataSheet::hasSheetName | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::CsvSheet, and coopy::store::PolySheet.
Definition at line 354 of file DataSheet.h.
Referenced by coopy::store::PolySheet::hasSheetName().
virtual int coopy::store::gnumeric::GnumericSheet::height | ( | ) | const [inline, virtual] |
Implements coopy::store::DataSheet.
Definition at line 21 of file GnumericSheet.h.
Referenced by main().
Reimplemented from coopy::store::DataSheet.
Definition at line 116 of file GnumericSheet.cpp.
ColumnRef GnumericSheet::insertColumn | ( | const ColumnRef & | base, |
const ColumnInfo & | kind | ||
) | [virtual] |
Implements coopy::store::DataSheet.
Definition at line 121 of file GnumericSheet.cpp.
References coopy::store::ColumnRef::getIndex(), coopy::store::ColumnInfo::getName(), gnumeric_insert_column(), coopy::store::ColumnInfo::hasName(), and SHEET.
Reimplemented in coopy::store::PolySheet.
Definition at line 180 of file DataSheet.cpp.
References COOPY_ASSERT, coopy::store::DataSheet::insertRowOrdered(), and coopy::store::DataSheet::isSequential().
Referenced by coopy::store::DataSheet::applyRowCache(), and coopy::store::DataSheet::insertRowOrdered().
Reimplemented from coopy::store::DataSheet.
Definition at line 157 of file GnumericSheet.cpp.
References coopy::store::RowRef::getIndex(), gnumeric_insert_row(), and SHEET.
Reimplemented in coopy::store::PolySheet.
Definition at line 190 of file DataSheet.cpp.
References COOPY_ASSERT, coopy::store::RowRef::getIndex(), and coopy::store::DataSheet::insertRow().
Referenced by coopy::store::DataSheet::insertRow(), and coopy::store::PolySheet::insertRowOrdered().
virtual bool coopy::store::DataSheet::isSequential | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet, coopy::store::remotesql::RemoteSqlSheet, and coopy::store::sqlite::SqliteSheet.
Definition at line 334 of file DataSheet.h.
Referenced by coopy::cmp::SheetCompare::compare(), coopy::store::DataSheet::insertRow(), and coopy::store::PolySheet::isSequential().
bool GnumericSheet::modifyColumn | ( | const ColumnRef & | base, |
const ColumnInfo & | kind | ||
) | [virtual] |
Implements coopy::store::DataSheet.
Definition at line 145 of file GnumericSheet.cpp.
References coopy::store::ColumnRef::getIndex(), coopy::store::ColumnInfo::getName(), and coopy::store::ColumnInfo::hasName().
Reimplemented from coopy::store::DataSheet.
Definition at line 91 of file GnumericSheet.cpp.
References coopy::store::ColumnRef::getIndex(), gnumeric_move_column(), and SHEET.
Reimplemented from coopy::store::DataSheet.
Definition at line 195 of file GnumericSheet.cpp.
References coopy::store::RowRef::getIndex(), gnumeric_move_row(), and SHEET.
int coopy::store::RefCount::removeReference | ( | ) | [inline, inherited] |
Definition at line 35 of file RefCount.h.
Referenced by coopy::store::PolyBook::clear(), coopy::store::PolyValue::clear(), coopy::store::PolySheet::clearSchema(), coopy::store::PolySheet::clearSheet(), and coopy::store::PolyBook::give().
virtual bool coopy::store::DataSheet::resize | ( | int | w, |
int | h | ||
) | [inline, virtual, inherited] |
Reimplemented in coopy::store::CsvSheet, coopy::store::PolySheet, coopy::store::SparseFloatSheet, coopy::store::SparseIntSheet, coopy::store::SparseByteSheet, coopy::store::TypedSheet< T >, coopy::store::TypedSheet< FoldedCell >, coopy::store::TypedSheet< float >, coopy::store::TypedSheet< int >, coopy::store::TypedSheet< std::pair< std::string, bool > >, and coopy::store::TypedSheet< std::pair< T, bool > >.
Definition at line 270 of file DataSheet.h.
Referenced by coopy::store::DataSheet::copyData(), and coopy::store::PolySheet::resize().
virtual bool coopy::store::DataSheet::rollbackTransaction | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet, and coopy::store::remotesql::RemoteSqlSheet.
Definition at line 379 of file DataSheet.h.
Referenced by coopy::store::PolySheet::rollbackTransaction().
virtual bool coopy::store::DataSheet::setCell | ( | int | x, |
int | y, | ||
const SheetCell & | c | ||
) | [inline, virtual, inherited] |
set contents of cell in column x, row y
Definition at line 157 of file DataSheet.h.
References coopy::store::DataSheet::cellSummary().
Referenced by coopy::store::DataSheet::applyRowCache(), and coopy::store::DataSheet::copyData().
void DataSheet::setMeta | ( | SheetSchema * | hint | ) | [virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 18 of file DataSheet.cpp.
References NULL.
Referenced by coopy::store::PolySheet::setMeta(), and coopy::store::DataSheet::~DataSheet().
virtual bool coopy::store::DataSheet::setPool | ( | Pool * | pool | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 362 of file DataSheet.h.
Referenced by coopy::store::TextBook::applyPool(), and coopy::store::PolySheet::setPool().
virtual DataSheet& coopy::store::DataSheet::tail | ( | ) | [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 321 of file DataSheet.h.
Referenced by coopy::store::sqlite::SqliteSheet::compare(), and coopy::store::PolySheet::tail().
virtual const DataSheet& coopy::store::DataSheet::tail_const | ( | ) | const [inline, virtual, inherited] |
Reimplemented in coopy::store::PolySheet.
Definition at line 325 of file DataSheet.h.
Referenced by coopy::store::PolySheet::tail_const().
std::string coopy::store::DataSheet::toString | ( | ) | const [inline, inherited] |
Render table as serialized text, using a default style.
Definition at line 173 of file DataSheet.h.
References coopy::store::DataSheet::encode().
Referenced by coopy::cmp::SheetPatcher::changeColumn(), main(), coopy::store::TextBook::toString(), and coopy::store::socialcalc::SocialCalcTextBook::write().
virtual int coopy::store::gnumeric::GnumericSheet::width | ( | ) | const [inline, virtual] |
Implements coopy::store::DataSheet.
Definition at line 20 of file GnumericSheet.h.
Referenced by forceWidth(), and main().