|
COOPY » Guide
version 0.6.5
|
#include <stdio.h>#include <glib/gi18n.h>#include "gnumeric.h"#include "position.h"#include "parse-util.h"#include "workbook.h"#include "workbook-priv.h"#include "workbook-control.h"#include "sheet.h"#include "dependent.h"#include "expr-name.h"#include "libgnumeric.h"#include "gutils.h"#include "gnm-plugin.h"#include "command-context.h"#include "command-context-stderr.h"#include "workbook-view.h"#include "cell.h"#include "value.h"#include <goffice/goffice.h>#include <goffice/utils/go-file.h>#include <goffice/app/io-context.h>#include <gsf/gsf-utils.h>#include <string.h>#include "stf-parse.h"#include "clipboard.h"#include "mstyle.h"#include "style.h"#include "sheet-style.h"#include "style-color.h"#include "hlink.h"#include "func.h"#include "expr.h"#include "expr-impl.h"#include "coopy/gnumeric_link.h"Go to the source code of this file.
| #define BEGIN_UNDO GnmRelocUndo tmp; |
Definition at line 59 of file gnumeric_link.c.
Referenced by gnumeric_delete_column(), gnumeric_delete_data(), gnumeric_delete_row(), gnumeric_delete_rows(), gnumeric_insert_column(), and gnumeric_insert_row().
| #define DO_UNDO NULL, &tmp |
Definition at line 58 of file gnumeric_link.c.
Referenced by gnumeric_delete_column(), gnumeric_delete_data(), gnumeric_delete_row(), gnumeric_delete_rows(), gnumeric_insert_column(), and gnumeric_insert_row().
| #define END_UNDO dependents_unrelocate_free (tmp.exprs); |
Definition at line 60 of file gnumeric_link.c.
Referenced by gnumeric_delete_column(), gnumeric_delete_data(), gnumeric_delete_row(), gnumeric_delete_rows(), gnumeric_insert_column(), and gnumeric_insert_row().
| #define GNM_VERSION_FULL GNUMERIC_VERSION |
Definition at line 51 of file gnumeric_link.c.
Referenced by main().
| #define GO_FILE_SAVE_WORKBOOK FILE_SAVE_WORKBOOK |
Definition at line 49 of file gnumeric_link.c.
Referenced by convert(), and gnumeric_save().
| #define go_get_file_openers get_file_openers |
Definition at line 53 of file gnumeric_link.c.
Referenced by main().
| #define go_get_file_savers get_file_savers |
Definition at line 52 of file gnumeric_link.c.
Referenced by main().
| #define go_io_context_new gnumeric_io_context_new |
Definition at line 54 of file gnumeric_link.c.
Referenced by convert(), and gnumeric_load().
| #define GOErrorInfo ErrorInfo |
Definition at line 50 of file gnumeric_link.c.
Referenced by main().
| #define GOIOContext IOContext |
Definition at line 48 of file gnumeric_link.c.
Referenced by convert(), and gnumeric_load().
| #define OLD_GNUMERIC |
Definition at line 44 of file gnumeric_link.c.
| #define PASTE_CONTENTS PASTE_CONTENT |
Definition at line 57 of file gnumeric_link.c.
Referenced by gnumeric_move_column(), and gnumeric_move_row().
| #define sheet_cell_create sheet_cell_new |
Definition at line 56 of file gnumeric_link.c.
Referenced by gnumeric_sheet_set_cell(), gnumeric_sheet_set_cell_as_string(), and merge_single().
| #define wb_view_get_workbook wb_view_workbook |
Definition at line 55 of file gnumeric_link.c.
Referenced by convert(), gnumeric_add_sheet(), gnumeric_free(), gnumeric_get_sheet(), gnumeric_get_sheet_by_name(), gnumeric_get_sheet_count(), and read_files_to_merge().
| static void coopy_add_attr | ( | PangoAttrList * | attrs, |
| PangoAttribute * | attr | ||
| ) | [static] |
Definition at line 389 of file gnumeric_link.c.
| 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().
| static void gnumeric_atexit | ( | void | ) | [static] |
Definition at line 72 of file gnumeric_link.c.
References cc, and gnumeric_inited.
Referenced by gnumeric_init().
| 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 * | r16, | ||
| int * | g16, | ||
| int * | b16 | ||
| ) |
| 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().
GOCmdContext* cc = NULL [static] |
Definition at line 68 of file gnumeric_link.c.
Referenced by gnumeric_add_sheet(), gnumeric_atexit(), gnumeric_delete_column(), gnumeric_delete_data(), gnumeric_delete_row(), gnumeric_delete_rows(), gnumeric_init(), gnumeric_insert_column(), gnumeric_insert_row(), gnumeric_load(), gnumeric_move_column(), gnumeric_move_row(), gnumeric_save(), main(), coopy::cmp::Merger::merge(), WideSheetManager::mergeToLocal(), and coopy::cmp::BookCompare::resolve().
int gnumeric_init_ct = 0 [static] |
Definition at line 69 of file gnumeric_link.c.
Referenced by gnumeric_init().
int gnumeric_inited = 0 [static] |
Definition at line 70 of file gnumeric_link.c.
Referenced by gnumeric_atexit().
GOErrorInfo* plugin_errs = NULL [static] |
Definition at line 67 of file gnumeric_link.c.
Referenced by gnumeric_init(), and main().
1.7.4