1 /* vim: set sw=8 ts=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * excel.h: Excel support interface to gnumeric
6 * Jody Goldberg (jody@gnome.org)
7 * Michael Meeks (michael@ximian.com)
9 * (C) 1998-2001 Michael Meeks
10 * (C) 2002-2005 Jody Goldberg
12 #ifndef GNM_MS_EXCEL_H
13 #define GNM_MS_EXCEL_H
18 void excel_read_workbook (GOIOContext
*context
, WorkbookView
*new_wb
,
20 gboolean
*is_double_stream_file
,
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
);
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 */