COOPY » Guide
version 0.6.5
|
Go to the source code of this file.
typedef void* GnumericSheetPtr |
Definition at line 5 of file gnumeric_link.h.
typedef void* GnumericStylePtr |
Definition at line 6 of file gnumeric_link.h.
typedef void* GnumericWorkbookPtr |
Definition at line 4 of file gnumeric_link.h.
typedef struct GSheetCellStruct GSheetCell |
typedef GSheetCell* GSheetCellPtr |
Definition at line 14 of file gnumeric_link.h.
GnumericSheetPtr gnumeric_add_sheet | ( | GnumericWorkbookPtr | workbook, |
const char * | name | ||
) |
Definition at line 217 of file gnumeric_link.c.
References cc, gnumeric_get_sheet_count(), NULL, and wb_view_get_workbook.
Referenced by coopy::store::gnumeric::GnumericTextBook::addSheet(), and main_alt().
GnumericWorkbookPtr gnumeric_create | ( | ) |
Definition at line 134 of file gnumeric_link.c.
References NULL.
Referenced by coopy::store::gnumeric::GnumericTextBook::create(), and main_alt().
int gnumeric_delete_column | ( | GnumericSheetPtr | sheet, |
int | at | ||
) |
Definition at line 576 of file gnumeric_link.c.
References BEGIN_UNDO, cc, DO_UNDO, and END_UNDO.
Referenced by coopy::store::gnumeric::GnumericSheet::deleteColumn().
int gnumeric_delete_data | ( | GnumericSheetPtr | sheet | ) |
Definition at line 608 of file gnumeric_link.c.
References BEGIN_UNDO, cc, DO_UNDO, END_UNDO, and gnumeric_sheet_get_size().
int gnumeric_delete_row | ( | GnumericSheetPtr | sheet, |
int | at | ||
) |
Definition at line 590 of file gnumeric_link.c.
References BEGIN_UNDO, cc, DO_UNDO, and END_UNDO.
Referenced by coopy::store::gnumeric::GnumericSheet::deleteRow().
int gnumeric_delete_rows | ( | GnumericSheetPtr | sheet, |
int | first, | ||
int | last | ||
) |
Definition at line 599 of file gnumeric_link.c.
References BEGIN_UNDO, cc, DO_UNDO, and END_UNDO.
Referenced by coopy::store::gnumeric::GnumericSheet::deleteData(), and coopy::store::gnumeric::GnumericSheet::deleteRows().
int gnumeric_fini | ( | ) |
Definition at line 105 of file gnumeric_link.c.
Referenced by main(), main_alt(), and coopy::store::gnumeric::GnumericTextBook::~GnumericTextBook().
int gnumeric_free | ( | GnumericWorkbookPtr | workbook | ) |
Definition at line 112 of file gnumeric_link.c.
References NULL, and wb_view_get_workbook.
Referenced by coopy::store::gnumeric::GnumericTextBook::clear(), main(), and main_alt().
void gnumeric_free_string | ( | char * | str | ) |
Definition at line 446 of file gnumeric_link.c.
Referenced by main().
void gnumeric_free_style | ( | GnumericStylePtr | style | ) |
Definition at line 681 of file gnumeric_link.c.
GnumericSheetPtr gnumeric_get_sheet | ( | GnumericWorkbookPtr | workbook, |
int | index | ||
) |
Definition at line 204 of file gnumeric_link.c.
References wb_view_get_workbook.
Referenced by main(), and coopy::store::gnumeric::GnumericTextBook::readSheetByIndex().
GnumericSheetPtr gnumeric_get_sheet_by_name | ( | GnumericWorkbookPtr | workbook, |
const char * | name | ||
) |
Definition at line 210 of file gnumeric_link.c.
References wb_view_get_workbook.
Referenced by coopy::store::gnumeric::GnumericTextBook::readSheet().
int gnumeric_get_sheet_count | ( | GnumericWorkbookPtr | workbook | ) |
Definition at line 199 of file gnumeric_link.c.
References wb_view_get_workbook.
Referenced by gnumeric_add_sheet(), and main().
int gnumeric_init | ( | ) |
Definition at line 80 of file gnumeric_link.c.
References cc, gnumeric_atexit(), gnumeric_init_ct, NULL, and plugin_errs.
Referenced by coopy::store::gnumeric::GnumericTextBook::GnumericTextBook(), main(), and main_alt().
int gnumeric_insert_column | ( | GnumericSheetPtr | sheet, |
int | before | ||
) |
Definition at line 568 of file gnumeric_link.c.
References BEGIN_UNDO, cc, DO_UNDO, and END_UNDO.
Referenced by coopy::store::gnumeric::GnumericSheet::insertColumn().
int gnumeric_insert_row | ( | GnumericSheetPtr | sheet, |
int | before | ||
) |
Definition at line 583 of file gnumeric_link.c.
References BEGIN_UNDO, cc, DO_UNDO, and END_UNDO.
Referenced by coopy::store::gnumeric::GnumericSheet::insertRow().
GnumericWorkbookPtr gnumeric_load | ( | const char * | fname | ) |
Definition at line 121 of file gnumeric_link.c.
References cc, go_io_context_new, GOIOContext, and NULL.
Referenced by coopy::store::gnumeric::GnumericTextBook::load(), and main().
int gnumeric_move_column | ( | GnumericSheetPtr | sheet, |
int | src, | ||
int | dest | ||
) |
Definition at line 451 of file gnumeric_link.c.
References cc, gnumeric_sheet_get_size(), NULL, and PASTE_CONTENTS.
Referenced by main(), and coopy::store::gnumeric::GnumericSheet::moveColumn().
int gnumeric_move_row | ( | GnumericSheetPtr | sheet, |
int | src, | ||
int | dest | ||
) |
Definition at line 516 of file gnumeric_link.c.
References cc, gnumeric_sheet_get_size(), NULL, and PASTE_CONTENTS.
Referenced by coopy::store::gnumeric::GnumericSheet::moveRow().
int gnumeric_overlay_csv | ( | GnumericWorkbookPtr | workbook, |
const char * | start, | ||
const char * | stop | ||
) |
int gnumeric_save | ( | GnumericWorkbookPtr | workbook, |
const char * | fname, | ||
const char * | format | ||
) |
Definition at line 140 of file gnumeric_link.c.
References _, cc, GO_FILE_SAVE_WORKBOOK, and NULL.
Referenced by main(), main_alt(), and coopy::store::gnumeric::GnumericTextBook::save().
int gnumeric_sheet_get_cell | ( | GnumericSheetPtr | sheet, |
int | x, | ||
int | y, | ||
GSheetCellPtr | cell | ||
) |
Definition at line 264 of file gnumeric_link.c.
References GSheetCellStruct::all, gsheetcell_zero(), GSheetCellStruct::is_url, NULL, GSheetCellStruct::txt, and GSheetCellStruct::url.
Referenced by coopy::store::gnumeric::GnumericSheet::cellSummary().
char* gnumeric_sheet_get_cell_as_string | ( | GnumericSheetPtr | sheet, |
int | x, | ||
int | y | ||
) |
int gnumeric_sheet_get_cell_font_color | ( | GnumericSheetPtr | sheet, |
int | x, | ||
int | y, | ||
int * | r, | ||
int * | g, | ||
int * | b | ||
) |
const char* gnumeric_sheet_get_name | ( | GnumericSheetPtr | sheet | ) |
Definition at line 441 of file gnumeric_link.c.
Referenced by main().
int gnumeric_sheet_get_size | ( | GnumericSheetPtr | sheet, |
int * | w, | ||
int * | h | ||
) |
Definition at line 249 of file gnumeric_link.c.
References NULL.
Referenced by gnumeric_delete_data(), gnumeric_move_column(), gnumeric_move_row(), coopy::store::gnumeric::GnumericSheet::GnumericSheet(), and main().
GnumericStylePtr gnumeric_sheet_get_style | ( | GnumericSheetPtr | sheet, |
int | x, | ||
int | y | ||
) |
int gnumeric_sheet_remove_cell | ( | GnumericSheetPtr | sheet, |
int | x, | ||
int | y | ||
) |
Definition at line 431 of file gnumeric_link.c.
References NULL.
Referenced by coopy::store::gnumeric::GnumericSheet::cellSummary(), and gnumeric_sheet_set_cell().
int gnumeric_sheet_set_cell | ( | GnumericSheetPtr | sheet, |
int | x, | ||
int | y, | ||
GSheetCellPtr | cell | ||
) |
Definition at line 350 of file gnumeric_link.c.
References GSheetCellStruct::all, gnumeric_sheet_remove_cell(), gnumeric_sheet_set_cell_as_string(), GSheetCellStruct::is_url, NULL, sheet_cell_create, GSheetCellStruct::txt, and GSheetCellStruct::url.
Referenced by coopy::store::gnumeric::GnumericSheet::cellSummary().
int gnumeric_sheet_set_cell_as_string | ( | GnumericSheetPtr | sheet, |
int | x, | ||
int | y, | ||
const char * | str | ||
) |
Definition at line 396 of file gnumeric_link.c.
References NULL, and sheet_cell_create.
Referenced by coopy::store::gnumeric::GnumericSheet::cellSummary(), gnumeric_sheet_set_cell(), and main_alt().
int gnumeric_sheet_set_col_style | ( | GnumericSheetPtr | sheet, |
GnumericStylePtr | style, | ||
int | x | ||
) |
Definition at line 646 of file gnumeric_link.c.
int gnumeric_sheet_set_row_style | ( | GnumericSheetPtr | sheet, |
GnumericStylePtr | style, | ||
int | y | ||
) |
Definition at line 639 of file gnumeric_link.c.
int gnumeric_sheet_set_style | ( | GnumericSheetPtr | sheet, |
GnumericStylePtr | style, | ||
int | x, | ||
int | y | ||
) |
Definition at line 627 of file gnumeric_link.c.
Referenced by main_alt().
int gnumeric_style_set_back_color | ( | GnumericStylePtr | style, |
int | r16, | ||
int | g16, | ||
int | b16 | ||
) |
Definition at line 672 of file gnumeric_link.c.
int gnumeric_style_set_font_bold | ( | GnumericStylePtr | style, |
int | flag | ||
) |
Definition at line 660 of file gnumeric_link.c.
Referenced by main_alt().
int gnumeric_style_set_font_color | ( | GnumericStylePtr | style, |
int | r16, | ||
int | g16, | ||
int | b16 | ||
) |
Definition at line 665 of file gnumeric_link.c.
int gnumeric_style_set_font_strike | ( | GnumericStylePtr | style, |
int | flag | ||
) |
Definition at line 655 of file gnumeric_link.c.
void gsheetcell_free | ( | GSheetCellPtr | cell | ) |
Definition at line 710 of file gnumeric_link.c.
References GSheetCellStruct::all, gsheetcell_zero(), GSheetCellStruct::txt, and GSheetCellStruct::url.
Referenced by coopy::store::gnumeric::GnumericSheet::cellSummary().
void gsheetcell_zero | ( | GSheetCellPtr | cell | ) |
Definition at line 703 of file gnumeric_link.c.
References GSheetCellStruct::all, GSheetCellStruct::is_url, NULL, GSheetCellStruct::txt, and GSheetCellStruct::url.
Referenced by coopy::store::gnumeric::GnumericSheet::cellSummary(), gnumeric_sheet_get_cell(), and gsheetcell_free().