Trying to list of types and fields to save to implement full load/store
of Gnumeric spreadsheets.
Daniel V.
$Id$
This is totally out of date.
Update it to match the xml.
-------------- Workbook : a set of spreadsheets + a style --------------
Workbook:
Style . style
Sheet[] sheets
Summary summary information
-------------- Style : specific rendering informations --------------
Style
StyleFormat format
StyleFont font
StyleBorder border
StyleShade shading
int halign
int valign
int orientation
StyleFormat
char *format
StyleFont
char *font_name
int units
StyleBorder
int left
int right
int top
int bottom
GdkColor left_color
GdkColor right_color
GdkColor top_color
GdkColor bottom_color
GdkColor
ushort red
ushort green
ushort blue
StyleShade
pattern
------------ Sheet : big container, especially a set of Cells -----------
Sheet
Workbook parent_workbook /* save as URI if Sheet saved independantly ? */
char *name
double last_zoom_factor_used
Style style
ColRowInfo default_col_style
ColRowInfo cols_info[]
ColRowInfo default_row_style
ColRowInfo rows_info[]
Cells cell_hash[]
int max_col_used
int max_row_used
ColRowInfo
int pos
Style style
int units
int pixels
There were once (pre 1.7.1)
int margin_a
int margin_b
But they are now depricated and ignored.
GnmCell
GnmCellPos pos
StyleFormat *parse_format // The format used to parse the input text
------------ Summary : long list of items and their values -----------
Summary
Item[]
name
val-int / val-string ( + val-datestamp in future )
============================================================================
Sun Jul 26 17:34:14 EDT 1998 Saving the "default" Workbook produces:
---------------------- default.wb ------------------------
Sheet 0
----------------------------------------------------------
and Sheet_0 (lack a suffix ...).
Note that the ref_count on FontStyle is respected by using NAME and
HREF attribs so that they (will) share the same pointer when reloaded.
--------------------------- Sheet_0 ----------------------
Sheet 0
40
40
1.000000
-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
--------------------------------------------------------------------