COOPY » Guide  version 0.6.5
Data Structures | Typedefs | Functions
/home/paulfitz/cvs/coopy_scm/coopy/src/libgnumeric/include/coopy/gnumeric_link.h File Reference

Go to the source code of this file.

Data Structures

struct  GSheetCellStruct

Typedefs

typedef void * GnumericWorkbookPtr
typedef void * GnumericSheetPtr
typedef void * GnumericStylePtr
typedef struct GSheetCellStruct GSheetCell
typedef GSheetCellGSheetCellPtr

Functions

void gsheetcell_zero (GSheetCellPtr cell)
void gsheetcell_free (GSheetCellPtr cell)
int gnumeric_init ()
int gnumeric_fini ()
GnumericWorkbookPtr gnumeric_create ()
GnumericWorkbookPtr gnumeric_load (const char *fname)
int gnumeric_free (GnumericWorkbookPtr workbook)
int gnumeric_save (GnumericWorkbookPtr workbook, const char *fname, const char *format)
int gnumeric_overlay_csv (GnumericWorkbookPtr workbook, const char *start, const char *stop)
int gnumeric_get_sheet_count (GnumericWorkbookPtr workbook)
GnumericSheetPtr gnumeric_get_sheet (GnumericWorkbookPtr workbook, int index)
GnumericSheetPtr gnumeric_get_sheet_by_name (GnumericWorkbookPtr workbook, const char *name)
GnumericSheetPtr gnumeric_add_sheet (GnumericWorkbookPtr workbook, const char *name)
int gnumeric_sheet_get_size (GnumericSheetPtr sheet, int *w, int *h)
char * gnumeric_sheet_get_cell_as_string (GnumericSheetPtr sheet, int x, int y)
int gnumeric_sheet_set_cell_as_string (GnumericSheetPtr sheet, int x, int y, const char *str)
int gnumeric_sheet_get_cell (GnumericSheetPtr sheet, int x, int y, GSheetCellPtr cell)
int gnumeric_sheet_set_cell (GnumericSheetPtr sheet, int x, int y, GSheetCellPtr cell)
int gnumeric_sheet_remove_cell (GnumericSheetPtr sheet, int x, int y)
const char * gnumeric_sheet_get_name (GnumericSheetPtr sheet)
void gnumeric_free_string (char *str)
int gnumeric_move_column (GnumericSheetPtr sheet, int src, int dest)
int gnumeric_insert_column (GnumericSheetPtr sheet, int before)
int gnumeric_delete_column (GnumericSheetPtr sheet, int at)
int gnumeric_move_row (GnumericSheetPtr sheet, int src, int dest)
int gnumeric_insert_row (GnumericSheetPtr sheet, int before)
int gnumeric_delete_row (GnumericSheetPtr sheet, int at)
int gnumeric_delete_rows (GnumericSheetPtr sheet, int first, int last)
int gnumeric_delete_data (GnumericSheetPtr sheet)
GnumericStylePtr gnumeric_sheet_get_style (GnumericSheetPtr sheet, int x, int y)
int gnumeric_sheet_set_style (GnumericSheetPtr sheet, GnumericStylePtr style, int x, int y)
int gnumeric_sheet_set_row_style (GnumericSheetPtr sheet, GnumericStylePtr style, int y)
int gnumeric_sheet_set_col_style (GnumericSheetPtr sheet, GnumericStylePtr style, int x)
int gnumeric_style_set_font_strike (GnumericStylePtr style, int flag)
int gnumeric_style_set_font_bold (GnumericStylePtr style, int flag)
int gnumeric_style_set_font_color (GnumericStylePtr style, int r16, int g16, int b16)
int gnumeric_style_set_back_color (GnumericStylePtr style, int r16, int g16, int b16)
void gnumeric_free_style (GnumericStylePtr style)
int gnumeric_sheet_get_cell_font_color (GnumericSheetPtr sheet, int x, int y, int *r, int *g, int *b)

Typedef Documentation

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

Definition at line 14 of file gnumeric_link.h.


Function Documentation

GnumericSheetPtr gnumeric_add_sheet ( GnumericWorkbookPtr  workbook,
const char *  name 
)
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 
)
int gnumeric_fini ( )
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 
)
GnumericSheetPtr gnumeric_get_sheet_by_name ( GnumericWorkbookPtr  workbook,
const char *  name 
)
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 ( )
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 
)
int gnumeric_move_row ( GnumericSheetPtr  sheet,
int  src,
int  dest 
)
int gnumeric_overlay_csv ( GnumericWorkbookPtr  workbook,
const char *  start,
const char *  stop 
)

Definition at line 185 of file gnumeric_link.c.

References NULL.

Referenced by main().

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 
)
char* gnumeric_sheet_get_cell_as_string ( GnumericSheetPtr  sheet,
int  x,
int  y 
)

Definition at line 257 of file gnumeric_link.c.

References NULL.

Referenced by main().

int gnumeric_sheet_get_cell_font_color ( GnumericSheetPtr  sheet,
int  x,
int  y,
int *  r,
int *  g,
int *  b 
)

Definition at line 685 of file gnumeric_link.c.

References NULL.

Referenced by main().

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 
)
GnumericStylePtr gnumeric_sheet_get_style ( GnumericSheetPtr  sheet,
int  x,
int  y 
)

Definition at line 620 of file gnumeric_link.c.

References NULL.

Referenced by main_alt().

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 
)
int gnumeric_sheet_set_cell_as_string ( GnumericSheetPtr  sheet,
int  x,
int  y,
const char *  str 
)
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)
void gsheetcell_zero ( GSheetCellPtr  cell)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines