1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
/**
* excel.h: Excel support interface to gnumeric
*
* Authors:
* Michael Meeks (michael@ximian.com)
* Jody Goldberg (jody@gnome.org)
*
* (C) 1998-2004 Michael Meeks, Jody Goldberg
**/
#ifndef GNM_MS_EXCEL_H
#define GNM_MS_EXCEL_H
#include "gnumeric.h"
#include <gsf/gsf.h>
void excel_read_workbook (IOContext *context, WorkbookView *new_wb,
GsfInput *input, gboolean *is_double_stream_file);
typedef struct _ExcelWriteState ExcelWriteState;
void excel_write_state_free (ExcelWriteState *ewb);
ExcelWriteState *excel_write_state_new (IOContext *context, WorkbookView const *wbv,
gboolean biff7, gboolean biff8);
void excel_write_v7 (ExcelWriteState *ewb, GsfOutfile *output);
void excel_write_v8 (ExcelWriteState *ewb, GsfOutfile *output);
typedef struct {
guint8 r, g, b;
} ExcelPaletteEntry;
extern ExcelPaletteEntry const excel_default_palette_v8 [];
extern ExcelPaletteEntry const excel_default_palette_v7 [];
#define EXCEL_DEF_PAL_LEN 56
extern char const *excel_builtin_formats[];
#define EXCEL_BUILTIN_FORMAT_LEN 0x32
#define ROW_BLOCK_MAX_LEN 32
#define CODENAME_KEY "XL_CODENAME_utf8"
#endif /* GNM_MS_EXCEL_H */
|