Fixed typos
[gnumeric.git] / plugins / excel / excel.h
blob6b31f2d8748e8750715cadcb589c5825ee287593
1 /* vim: set sw=8 ts=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /**
3 * excel.h: Excel support interface to gnumeric
5 * Authors:
6 * Jody Goldberg (jody@gnome.org)
7 * Michael Meeks (michael@ximian.com)
9 * (C) 1998-2001 Michael Meeks
10 * (C) 2002-2005 Jody Goldberg
11 **/
12 #ifndef GNM_MS_EXCEL_H
13 #define GNM_MS_EXCEL_H
15 #include "gnumeric.h"
16 #include "ms-biff.h"
18 void excel_read_workbook (GOIOContext *context, WorkbookView *new_wb,
19 GsfInput *input,
20 gboolean *is_double_stream_file,
21 char const *opt_enc);
23 typedef struct _XLSExporter ExcelWriteState;
24 void excel_write_state_free (ExcelWriteState *ewb);
25 ExcelWriteState *excel_write_state_new (GOIOContext *context, WorkbookView const *wbv,
26 gboolean biff7, gboolean biff8);
28 void excel_write_v7 (ExcelWriteState *ewb, GsfOutfile *output);
29 void excel_write_v8 (ExcelWriteState *ewb, GsfOutfile *output);
31 typedef struct {
32 guint8 r, g, b;
33 } ExcelPaletteEntry;
34 extern ExcelPaletteEntry const excel_default_palette_v8 [];
35 extern ExcelPaletteEntry const excel_default_palette_v7 [];
37 #define EXCEL_DEF_PAL_LEN 56
39 extern char const *excel_builtin_formats[];
40 #define EXCEL_BUILTIN_FORMAT_LEN 0x32
42 #define ROW_BLOCK_MAX_LEN 32
44 #define CODENAME_KEY "XL_CODENAME_utf8"
46 #endif /* GNM_MS_EXCEL_H */