1.12.20
[gnumeric.git] / plugins / openoffice / ChangeLog
blobba1d707bfead1b6f0145a0f3011664bf90cd34b2
1 2015-02-04  Morten Welinder <terra@gnome.org>
3         * Release 1.12.20
5 2015-02-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
7         * openoffice-write.c (odf_write_data_element_range): add foreign
8         attribute argument and use it when the data specification is not
9         just a range. Change all callers.
11 2015-02-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
13         * openoffice-read.c (odf_chart_classes): extract from oo_chart
14         (odf_find_plot_type): new
15         (odf_create_plot): new
16         (oo_plot_area): use the above
17         (oo_plot_series): handle plot class override
18         (oo_chart): use odf_chart_classes
20 2015-02-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
22         * openoffice-write.c (odf_write_*_series): add argument and
23         write plot type if necessary
24         (odf_write_plot): add argument, change calls to odf_write_*_series,
25         and handle the second and later plots too.
26         (odf_write_graph_content): call odf_write_plot with additional
27         argument
29 2015-02-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
31         * openoffice-write.c (odf_write_series_lines): new
32         (odf_write_standard_series): call odf_write_series_lines
33         * openoffice-read.c (oo_series_serieslines): new
34         (opendoc_content_dtd): connect oo_series_serieslines
35         (opendoc_content_preparse_dtd): advertise new element here too
37 2015-01-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
39         * openoffice-write.c (odf_write_multi_chart_frame_size): new
40         (odf_write_graph): call odf_write_multi_chart_frame_size if app.
42 2015-01-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
44         * openoffice-read.c (oo_prop_list_apply_to_axis): handle pos-str
45         (od_style_prop_chart): read axis-position and friends
47 2015-01-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
49         * openoffice-write.c (odf_write_data_attribute): also handle constant
50         floats
51         (odf_write_axis_position): new
52         (odf_write_axis_style): call odf_write_axis_position from here
54 2015-01-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
56         * openoffice-write.c (odf_n_charts): new
57         (odf_write_graph): write a frame for each chart in the graph
58         (odf_write_frame): for graphs postpone writing the frame
59         (odf_write_graph_manifest): write info for each chart in a graph
60         (odf_write_graph_content): write the content for the specified chart in a graph
61         (odf_write_graphs): write each chart in the graph
63 2015-01-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
65         * openoffice-read.c (odf_apply_style_props): handle marker outline colour
66         (od_style_prop_chart): read marker outline colour
67         * openoffice-write.c (odf_write_gog_style_graphic): write marker outline
68         colour as extension.
70 2015-01-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
72         * openoffice-write.c (odf_write_fill_type): new
73         (odf_write_gog_style_chart): connect odf_write_fill_type
74         * openoffice-read.c (od_style_prop_chart): read gnm:fill-type
76 2015-01-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
78         * openoffice-write.c (odf_write_data_element_range): correctly write single cell
79         references
81 2015-01-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
83         * openoffice-write.c (odf_write_data_attribute): check for extensions
84         (+odf_add_expr): new
85         (odf_write_axis_style): write minimum- and maximum-expression
86         (odf_write_reg_name): use odf_add_expr
87         * openoffice-read.c (odf_apply_expression): new
88         (oo_prop_list_apply_to_axis): handle minimum_expression and
89         maximum_expression
90         (od_style_prop_chart): read minimum_expression and
91         maximum_expression
93 2015-01-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
95         * openoffice-write.c (odf_write_plot_style): correctly write chart lines
96         (odf_write_axis_style): add minor & major tick handling
97         * openoffice-read.c (od_style_prop_chart): add minor & major tick handling
99 2015-01-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
101         * openoffice-write.c (odf_write_lin_reg): write
102         loext:regression-max-degree
103         (odf_write_polynom_reg): ditto
104         * openoffice-read.c (od_style_prop_chart): read
105         loext:regression-max-degree
106         (od_series_regression): apply loext:regression-max-degree
108 2015-01-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
110         * openoffice-write.c (odf_write_plot_style_affine): new
111         (odf_write_lin_reg): call odf_write_plot_style_affine
112         (odf_write_polynom_reg): call odf_write_plot_style_affine
113         (odf_write_exp_reg): call odf_write_plot_style_affine
115 2015-01-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
117         * openoffice-write.c (odf_write_data_attribute): add argument, change all callers
118         and write loext extendion if appropriate
119         (odf_write_reg_name): pass loext extension name to odf_write_data_attribute
121 2015-01-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
123         * openoffice-read.c (od_style_prop_chart): store regression name constant
124         from loext: name space
125         (od_series_regression): apply regression name constant specified by style
127 2015-01-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
129         * openoffice-read.c (od_style_prop_chart): store regression name expression
130         from gnm: name space
131         (od_series_regression): apply regression name expression specified by style
132         * openoffice-write.c (odf_write_regression_curve): do not save trendline name here
133         (odf_write_reg_name): new
134         (odf_write_*_reg): call odf_write_reg_name
136 2015-01-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
138         * openoffice-read.c (od_series_regression): read trend line name
139         * openoffice-write.c (odf_write_regression_curve): save trendline name
141 2015-01-23  Morten Welinder <terra@gnome.org>
143         * Release 1.12.19
145 2014-09-25  Morten Welinder <terra@gnome.org>
147         * Release 1.12.18
149 2014-09-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
151         * openoffice-read.c (odf_push_text_p): initialize new field
152         span_style_list
153         (odf_pop_text_p): free span_style_list
154         (odf_text_content_end): apply text styles here
155         (odf_text_span_end): rather than here
156         (odf_text_span_start): save the ssi also in span_style_list
157         (openoffice_file_open): handle span_style_list
159 2014-09-11  Morten Welinder  <terra@gnome.org>
161         * openoffice-read.c (odf_text_p_apply_pango_attribute): Use
162         pango_attr_list_change, not pango_attr_list_insert_before.  The
163         latter does not merge ranges.
165 2014-06-09  Morten Welinder <terra@gnome.org>
167         * Release 1.12.17
169 2014-05-25  Morten Welinder  <terra@gnome.org>
171         * openoffice-read.c (oo_db_range_start): Fix uninitialized memory
172         usage.  [#730727]
174 2014-05-23  Morten Welinder <terra@gnome.org>
176         * Release 1.12.16
178 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
180         * openoffice-write.c (oo_item_name): provide a sufficient number
181         of prefixes
183 2014-05-21  Morten Welinder  <terra@gnome.org>
185         * openoffice-write.c (odf_write_office_styles)
186         (odf_write_graph_styles): Make this much more deterministic.
188 2014-05-20  Morten Welinder  <terra@gnome.org>
190         * openoffice-write.c
191         (openoffice_file_save_real): Write graphs and images in order of
192         name, not random hash order.
193         (oo_item_name): New function for naming various styles and objects
194         consistently.
196 2014-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
198         * openoffice-write.c (odf_write_axis_full): fix element order
200 2014-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
202         * openoffice-write.c (odf_write_title): do not write table:cell-address
204 2014-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
206         * openoffice-write.c (od_style_prop_chart): use gnm:interpolation rather
207         than using an invalid attirbute value with chart:interpolation
208         * openoffice-read.c (od_style_prop_chart): handle gnm:interpolation
210 2014-05-18  Morten Welinder  <terra@gnome.org>
212         * openoffice-read.c (odf_apply_style_props): For markers, map only
213         "none" to "auto" when the plot doesn't have markers by default.
215 2014-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
217         * openoffice-write.c (odf_write_interpolation_attribute): correctly write
218         the skip-invalid extension
220 2014-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
222         * openoffice-read.c (oo_db_range_start): use table:display-filter-buttons
223         attribute
225 2014-05-14  Morten Welinder  <terra@gnome.org>
227         * openoffice-write.c: Use gnm_object_has_readable_prop all over.
229         * openoffice-read.c (odf_apply_style_props): Set marker's colours
230         too.
232         * openoffice-write.c (odf_write_gog_style_graphic): Use marker's
233         colour if we don't have a line.
235 2014-05-12  Morten Welinder  <terra@gnome.org>
237         * openoffice-write.c (odf_write_gog_style_graphic): Improve
238         gostyle::auto-width roundtrip.
239         * openoffice-read.c (odf_apply_style_props): Ditto.
241 2014-05-11  Morten Welinder  <terra@gnome.org>
243         * openoffice-write.c (odf_add_pt): Use sufficient precision to
244         roundtrip.
246 2014-05-10  Morten Welinder  <terra@gnome.org>
248         * openoffice-write.c (odf_write_gog_style_chart): Write marker
249         size also for automatic shape.  Resolve confusion about whether
250         plot type has markers by default.  Only write marker information
251         for styles that have such information.
253         * openoffice-read.c (odf_apply_style_props): Even automatic
254         symbols can have a size attached.
256 2014-05-09  Morten Welinder  <terra@gnome.org>
258         * openoffice-read.c (od_style_prop_chart): Read text colour.
260         * openoffice-write.c (odf_write_gog_style_text): Write text colour
261         as appropriate.
263 2014-05-07  Morten Welinder  <terra@gnome.org>
265         * openoffice-read.c (odf_number): Remove escaped debug code.
266         (oo_canonical_format): New function.
267         (odf_number_style_end): Udr oo_canonical_format.
269 2014-04-30  Morten Welinder <terra@gnome.org>
271         * Release 1.12.15
273 2014-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
275         * openoffice-read.c (odf_number): read gnm:min-integer-chars
276         and create an appropriate number format
278 2014-04-22  Morten Welinder  <terra@gnome.org>
280         * openoffice-write.c (odf_write_axis_style): Plug leak.
281         (odf_write_gog_style_graphic): Plug leak.
282         (odf_write_plot): Plug leak.
284         * openoffice-read.c (odf_format_repeated_text_end): Imported "*x"
285         type format.
287 2014-04-20  Morten Welinder  <terra@gnome.org>
289         * openoffice-read.c: Read gnm:invisible for text formats too.
291 2014-04-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
293         * openoffice-read.c (oo_cell_start): watch for fake spans
294         * openoffice-write.c (odf_cellspan_is_empty): new
295         (odf_write_cell): simulate center-accross-selection as merges
297 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
299         * openoffice-read.c (odf_apply_style_props): handle auto-dash and
300         auto-color extensions; do not depend on order of attributes
301         * openoffice-write.c (odf_write_gog_style_graphic): writeauto-dash
302         and auto-color extensions
304 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
306         * openoffice-read.c (oo_parse_spec_distance): new
307         (oo_parse_distance): use oo_parse_spec_distance
308         (od_style_prop_chart): read fo:border
309         (oo_chart): use fo:border
310         * openoffice-write.c (odf_write_gog_style_graphic): add argument
311         and change all callers
312         (odf_get_border_info): new (partial implementation)
313         (odf_write_plot): write graphic properties for the chart style
315 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
317         * openoffice-read.c (od_style_prop_chart): read auto-type
318         * openoffice-write.c (odf_write_gog_style_graphic): write auto-type
320 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
322         * openoffice-read.c (odf_apply_style_props): set default
323         (od_style_prop_chart): handle interpolation-skip-invalid
324         * openoffice-write.c (odf_write_interpolation_attribute):
325         write interpolation-skip-invalid
326         (odf_write_gog_style_chart): write interpolations for GogLineSeries
328 2014-04-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
330         * openoffice-read.c (odf_apply_style_props): read both
331         svg:stroke-width and gnm:stroke-width
332         * openoffice-write.c (od_style_prop_chart): write gnm:stroke-width
333         to remember line-widths of 0.
335 2014-04-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
337         * openoffice-read.c (od_draw_object): set width-pts and height-pts
338         * openoffice-write.c (odf_add_pt): write 6 decimals
340 2014-04-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
342         * openoffice-read.c (oo_plot_area): default to manual size
343         if a manual size is given
345 2014-04-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
347         * openoffice-read.c (odf_parse_float): delete
348         (odf_custom_shape_end): use gnm_strto
350 2014-04-15  Morten Welinder  <terra@gnome.org>
352         * openoffice-read.c (oo_attr_float): Use gnm_float, not double.
353         (oo_attr_percent): Ditto, and fix syntax check.
354         (oo_parse_angle): Ditto, avoid overflows, and handle negatives.
356 2014-04-14  Morten Welinder  <terra@gnome.org>
358         * openoffice-write.c (odf_write_gog_style_text): Don't write
359         auto-angles.
361 2014-04-13  Morten Welinder <terra@gnome.org>
363         * Release 1.12.14
365 2014-03-31  Morten Welinder  <terra@gnome.org>
367         * openoffice-read.c (odf_insert_in_integer): Be a bit smarter.
369 2014-03-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
371         * openoffice-read.c (odf_number): try to recognize LO's GENERAL
373 2014-03-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
375         * openoffice-read.c (odf_embedded_text_end): remove print statement
376         (oo_date_text_append): cover '"'
378 2014-03-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
380         * openoffice-read.c (odf_embedded_text_start): new
381         (odf_embedded_text_end): new
382         (odf_insert_in_integer): simple minded insertion of embedded text
384 2014-03-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
386         * openoffice-read.c: expect number:fill-character
388 2014-03-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
390         * openoffice-read.c (odf_header_footer_left): only warn if the
391         provided left header/footer style is intended to be displayed
393 2014-03-30  Morten Welinder  <terra@gnome.org>
395         * openoffice-read.c (odf_number_color): Use new go_format_palette_
396         functions.  This also handles approximate matches.
397         (openoffice_file_open): Plug leak.
398         (oo_named_expr): If the expression is missing, substitute #REF.
400 2014-03-29  Morten Welinder  <terra@gnome.org>
402         * openoffice-read.c (oo_rangeref_parse): Handle parse failures (of
403         []) without reading undefined memory.
404         (oo_expr_rangeref_parse): Handle [] better.
406 2014-03-28  Morten Welinder  <terra@gnome.org>
408         * openoffice-read.c (odf_map): Fix condition !=.
409         (odf_number_color): Handle also numbered colours.
411 2014-03-27  Morten Welinder  <terra@gnome.org>
413         * openoffice-read.c (odf_number_style_end): Simplify building a
414         conditional xl-style format.
416         * openoffice-write.c (odf_write_style_cell_properties): Don't
417         assume pattern colour is set.  Fixes #727152.
419 2014-03-25  Morten Welinder  <terra@gnome.org>
421         * openoffice-write.c: Don't handle conditional number formats (of
422         the "[>10]0.00;0.000" type) here.  Let goffice do it.
424 2014-03-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
426         * openoffice-read.c: add gnm:invisible to CURRENCY_TEXT
428 2014-03-18  Morten Welinder <terra@gnome.org>
430         * Release 1.12.13
432 2014-03-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
434         * openoffice-read.c (h_align_is_valid): chnage type of field to int
435         (odf_style_set_align_h): set alignment
436         (oo_style_prop_cell): set h_align_is_valid
438 2014-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
440         * openoffice-write.c (odf_write_style_cell_properties): use
441         extension to determine high or low underlines
442         * openoffice-read.c (oo_style_prop_cell): read new gnm: attribute
443         and make sure we reverse the mapping we use when we write
445 2014-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
447         * openoffice-read.c (openoffice-read.c): also set the script to
448         standard when appropriate
450 2014-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
452         * openoffice-write.c (odf_write_style_cell_properties): even write
453         pattern and background colour for pattern 0
454         * openoffice-read.c (oo_style_prop_cell): set pattern and background
455         colour even for pattern 0
457 2014-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
459         * openoffice-write.c (odf_write_style_paragraph_properties): our indent
460         is fo:margin-left, not fo:indent
461         * openoffice-read.c (oo_style_prop_cell): read fo:margin-left
463 2014-03-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
465         * openoffice-write.c (odf_write_style_paragraph_properties): only
466         use LO's extension if we are in fact using extensions
468 2014-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
470         * openoffice-read.c (odf_style_load_two_values): do not force
471         explicit sheet references
472         (odf_style_load_one_value): ditto
473         (odf_style_add_condition): remove extra parentheses and trust
474         gnm_style_cond_canonicalize
476 2014-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
478         * openoffice-read.c (odf_style_add_condition): use
479         gnm_style_cond_canonicalize
481 2014-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
483         * openoffice-write.c (odf_save_style_map): use
484         gnm_style_cond_get_alternate_expr
486 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
488         * openoffice-read.c (oo_style_prop_cell): only set strikethrough
489         when read
491 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
493         * openoffice-write.c (odf_write_style_cell_properties): write
494         repeat-content only when it is defined
495         * openoffice-read.c (odf_style_set_align_h): don't set the slignment
496         if it isn't defined
498 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
500         * openoffice-write.c (odf_write_style_cell_properties):
501         GNM_HALIGN_CENTER_ACROSS_SELECTION should be source="fix"
502         (odf_write_style_paragraph_properties): use "center" for
503         GNM_HALIGN_CENTER_ACROSS_SELECTION
505 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
507         * openoffice-read.c (oo_style_prop_cell): read script info
509 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
511         * openoffice-read.c (odf_style_set_align_h): repeat_content and
512         gnm_halign take precedence
513         * openoffice-write.c (odf_write_style_cell_properties): write LO's
514         version of DISTRIBUTED
516 2014-03-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
518         * openoffice-read.c (oo_style_end): set alignment once
519         (odf_style_set_align_h): use repeat_content even if the
520         source is not set to 'fix'
521         (oo_style_prop_cell): don't set the alignment here
522         * openoffice-write.c (odf_write_cell): write a string-value
523         if repeat-content will be set to true
525 2014-03-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
527         * openoffice-read.c (oo_date_text_append_quoted): new
528         (oo_date_text_append_unquoted): new
529         (oo_date_text_append): use the above
530         (oo_date_text_end): use oo_date_text_append
531         (odf_number_invisible_text): Quoting is now handled in
532         oo_date_text_append
534 2014-03-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
536         * openoffice-read.c (oo_date_text_end_append): delete
537         (odf_date_text_start): new
538         (oo_date_text_append): new
539         (oo_date_text_end): use oo_date_text_append
540         (odf_number_invisible_text): remove corresponding blank
542 2014-03-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
544         * openoffice-read.c (odf_number_invisible_text): new
546 2014-03-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
548         * openoffice-write.c (odf_print_spreadsheet_content_validations):
549         fix order of elements
551 2014-03-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
553         * openoffice-write.c (odf_write_sheet_control_list): add argument
554         to diffferentiate list-boxes and change all callers.
556 2014-03-03  Morten Welinder <terra@gnome.org>
558         * Release 1.12.12
560 2014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
562         * openoffice-read.c (odf_filter_or): new, warn when we encounter
563         this element
564         (opendoc_content_dtd): handle table:filter-or and table:filter-and
565         elements
566         (opendoc_content_preparse_dtd): ditto
568 2014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
570         * openoffice-write.c (odf_write_autofilter): write table:filter-and
571         in the case of multiple conditions
573 2014-03-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
575         * openoffice-read.c (odf_validation_new_single_expr): only force
576         explicit sheet names if the base address is on a different sheet
577         (odf_validation_new_pair_expr): ditto
578         (odf_validations_analyze): also strip parentheses
580 2014-02-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
582         * openoffice-read.c (oo_table_start): handle new style fields
583         (oo_style_prop_table): read more style info
584         (odf_apply_ooo_table_config): read table properties
585         * openoffice-write.c (odf_write_table_style): write more style info
586         (odf_write_ooo_settings): write more table properties
588 2014-02-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
590         * openoffice-read.c (odf_config_item): read shorts
591         (odf_apply_ooo_table_config): handle frozen panes info
593 2014-02-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
595         * openoffice-write.c (odf_write_ooo_settings): write frozen panes
596         info
598 2014-02-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
600         * openoffice-write.c (write_row_style): write visibility
601         (write_col_style): write visibility
603 2014-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
605         * openoffice-read.c (oo_style_prop_cell): read new foreign elements
606         * openoffice-write.c (odf_write_style_cell_properties): write
607         foreign elements to describe pattern cell background fills
609 2014-02-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
611         * openoffice-write.c (odf_render_date*): don't create an unnecessary
612         format string
613         (odf_render_time*): ditto
614 2014-02-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
616         * openoffice-read.c (odf_apply_ooo_table_config): set viewport
617         (openoffice_file_open): use some ooo configs even if we have
618         foreign elements
620 2014-02-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
622         * openoffice-write.c (odf_write_ooo_settings): write viewport (topleft)
623         position
625 2014-02-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
627         * openoffice-read.c (oo_style_prop_cell): handle underline similarly
628         to od_style_prop_text
630 2014-02-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
632         * openoffice-read.c (oo_cell_start): handle gnm:error-value
633         * openoffice-write.c (odf_write_cell): write gnm:error-value
634         if we convert an error constant to a formula
636 2014-02-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
638         * openoffice-write.c (odf_expr_conventions_new): use same
639         decimal_digits as in gnumeric export.
641 2014-02-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
643         * openoffice-read.c (odf_apply_gnm_config): handle geometry
644         * openoffice-write.c (odf_write_gnm_settings): handle geometry
646 2014-02-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
648         * openoffice-read.c (odf_hf_sheet_name): fix capitalization
649         (odf_hf_date): ditto
650         (odf_hf_time): ditto
651         (odf_hf_page_number): ditto
652         (odf_hf_page_count): ditto
653         (odf_hf_file): ditto
654         (odf_hf_title): ditto
656 2014-02-16  Morten Welinder <terra@gnome.org>
658         * Release 1.12.11
660 2014-02-11  Morten Welinder <terra@gnome.org>
662         * Release 1.12.10
664 2013-11-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
666         * openoffice-read.c (oo_dash): fix typo
668 2013-11-28  Morten Welinder <terra@gnome.org>
670         * Release 1.12.9
672 2013-10-07  Morten Welinder <terra@gnome.org>
674         * Release 1.12.8
676 2013-09-01  Morten Welinder <terra@gnome.org>
678         * Release 1.12.7
680 2013-08-27  Morten Welinder <terra@gnome.org>
682         * Release 1.12.6
684 2013-08-19  Morten Welinder <terra@gnome.org>
686         * Release 1.12.5
688 2013-08-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
690         * openoffice-read.c (styles_dtd): add elements
691         (ooo1_content_preparse_dtd): new
692         (openoffice_file_open): use the correct dtd for preparsing
694 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
696         * openoffice-read.c (odf_parse_range_address_or_expr): initialize
697         GnmRangeRef
699 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
701         * openoffice-write.c (xl_find_conditional_format): There might
702         only be a single conditional part!
704 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
706         * openoffice-read.c (odf_validations_translate): NULL validation
707         conditions are expected for input-message only situations
709 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
711         * openoffice-write.c (odf_write_style_cell_properties): write
712         input messages as part of the validations
713         (odf_write_empty_cell): correctly write the name of an input-message
714         only validation.
715         (odf_validation_general_attributes): don't write the name here
716         (odf_print_spreadsheet_content_validations): write the correct name
718 2013-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
720         * openoffice-read.c (odf_validation_t): add fields
721         (odf_validation_get_input_message): new
722         (odf_validation_free): handle new fields
723         (odf_validation_help_message): new
724         (odf_validation_help_message_end): new
725         (oo_cell_start): handle input message
726         (opendoc_content_dtd): connect odf_validation_help_message*
728 2013-07-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
730         * openoffice-read.c (oo_set_gnm_border): check for old_border == NULL
732 2013-07-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
734         * openoffice-read.c (od_draw_object): clear chart.i_plot_styles
735 2013-07-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
737         * openoffice-read.c (od_draw_object): clear chart.i_plot_styles
739 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
741         * openoffice-write.c (odf_print_spreadsheet_content_validations): write
742         helpmessage (and warn on NULL validation only if the input message is
743         also NULL
744         (odf_write_plot): switch off pretty printing when writing text:p
746 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
748         * openoffice-write.c (odf_print_spreadsheet_content_validations): warn
749         on NULL validation
751 2013-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
753         * openoffice-read.c (odf_header_footer_left): new
754         (styles_dtd): connect the above and add subelements
756 2013-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
758         * openoffice-read.c (openoffice_file_open): don't free docs, unless we
759         in fact created them
761 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
763         * openoffice-read.c (opendoc_content_preparse_dtd): remove
764         unneeded handlers
766 2013-07-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
768         * openoffice-read.c: use odf_sheet_suggest_size instead of
769         gnm_sheet_suggest_size throughout (except in odf_sheet_suggest_size)
770         (odf_sheet_suggest_size): allow for NULL xin
772 2013-07-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
774         * openoffice-read.c (oo_cellref_parse): do not create new sheets
775         since we created them all during preparsing
776         (openoffice_file_open): since we never add additional sheets we need
777         not delete them
779 2013-07-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
781         * openoffice-read.c (oo_plot_assign_dim): clear the correct spaces
783 2013-07-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
785         * openoffice-write.c (odf_write_data_element_range): new
786         (odf_write_data_element): use odf_write_data_element_range
788 2013-07-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
790         * openoffice-read.c (oo_plot_assign_dim): accept a range list rather
791         than just a single range
793 2013-07-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
795         * openoffice-read.c (oo_table_start): don't store the extent any more
796         (oo_table_end): no need to reassign styles
797         (oo_col_start): only assign column default data styles on the extent
798         (oo_row_start): only assign row default data styles on the extent
799         (oo_cell_start): don't store the extent any more
800         (oo_cell_content_end): ditto
801         (odf_preparse_table_end): save the extent with the sheet
802         (openoffice_file_open): the extra tables are always at the end, and
803         everything is in the corect order
805 2013-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
807         * openoffice-read.c (oo_table_start): depends on a preparse
808         (odf_preparse_table_start): new
809         (odf_sheet_suggest_size): new
810         (odf_preparse_table_end): new
811         (odf_preparse_row_start): new
812         (odf_preparse_row_end): new
813         (odf_preparse_cell_start): new
814         (odf_preparse_covered_cell_start): new
815         (opendoc_content_preparse_dtd): new
816         (openoffice_file_open): preparse content.xml to create sheets of the
817         proper size.
819 2013-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
821         * openoffice-write.c (oo_table_end): just look at the data extent to
822         adjust styles
823         (oo_update_style_extent): delete and remove all calls
824         (oo_cell_end): the data extent includes empty cells specified by
825         table:table-cell
827 2013-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
829         * openoffice-write.c (odf_write_content_rows): write enough cells
830         in empty rows
832 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
834         * openoffice-write.c (odf_write_custom_shape): write the correct
835         viewbox
837 2013-07-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
839         * openoffice-write.c (odf_write_sheet_object_styles): write object
840         style for GNM_SO_PATH_TYPE
842 2013-07-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
844         * openoffice-read.c (odf_custom_shape_end): move declaration to
845         clarify variable use
846         * openoffice-write.c (custom_shape_path_collector): new
847         (odf_write_custom_shape): new
848         (odf_write_objects): connect the above
849         (odf_write_content_rows): write at least one cell per row.
851 2013-07-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
853         * openoffice-read.c (odf_text_content_end): reset offset
855 2013-07-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
857         * openoffice-read.c (opendoc_content_dtd): handle spaces, tabs
858         and spans inside hyperlinks
860 2013-07-10  Morten Welinder <terra@gnome.org>
862         * Release 1.12.4
864 2013-07-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
866         * openoffice-write.c (BORDERSTYLE): check for NULL border
868 2013-07-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
870         * openoffice-write.c (odf_write_gog_position_pts): only write
871         location if manual is set
872         (odf_write_gog_position): include compass specification
873         (odf_write_title): remove position argument, change all callers
874         and let odf_write_gog_position handle compass
876 2013-07-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
878         * openoffice-write.c (odf_write_regression_curve): write
879         location
880         (odf_write_plot): write manual legend position
882 2013-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
884         * openoffice-read.c (oo_chart_title_end): distinguisg axis
885         titles from chart titles
886         (oo_chart_title_end): avoid writing invalid properties for
887         axis titles
889 2013-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
891         * openoffice-read.c (ooo1_content_dtd): add draw:line
892         (oo_func_map_in): add LEGACY.TDIST to TDIST translation
893         * openoffice-write.c (odf_expr_func_handler): add TDIST
894         to LEGACY TDIST translation
896 2013-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
898         * openoffice-read.c (openoffice_file_open): make sure that the
899         text stack is empty
901 2013-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
903         * openoffice-read.c (odf_text_content_end): check for null
904         stack
905         (ooo1_content_dtd): also connect oo_cell_content_start
906         (openoffice_file_open): initialize text_p_stack
908 2013-06-25  Morten Welinder <terra@gnome.org>
910         * Release 1.12.3
912 2013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
914         * openoffice-write.c (GnmOOExport): new fields
915         (ODFConventions): new type
916         (odf_expr_func_handler): use state fields rather than static
917         variables for the hashes
918         (odf_expr_conventions_new): attach state to conventions
919         (openoffice_file_save_real): initialize and free new fields
921 2013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
923         * openoffice-read.c (_OOParseState): add fields
924         (oo_func_map_in): do not use static variables for the hash
925         (openoffice_file_open): initialize and free new fields
927 2013-06-21  Morten Welinder  <terra@gnome.org>
929         * openoffice-read.c (odf_validation_free): Plug leak.
931 2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
933         * openoffice-read.c (oo_legend): watch for missing chart style
934         (od_series_regression): ditto
935         (oo_series_droplines): ditto
936         (oo_chart_grid): ditto
937         (oo_chart_wall): ditto
939 2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
941         * openoffice-read.c (odf_annotation_end): check whether we have
942         indeed text
944 2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
946         * openoffice-read.c (openoffice_file_open): ensure we have no
947         sheet-object left in partial construction
949 2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
951         * openoffice-read.c (oo_parse_border): check for NULL color
953 2013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
955         * openoffice-read.c (odf_destroy_object_offset): new
956         (oo_table_end): use odf_destroy_object_offset
957         (openoffice_file_open): clean up properly even if the content file was
958         malformed.
960 2013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
962         * openoffice-read.c (odf_page_layout): always set state->print.cur_pi
963         (odf_master_page): ditto
965 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
967         * openoffice-read.c (odf_custom_shape_end): consider the possibility
968         of missing path information.
970 2013-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
972         * openoffice-read.c (unset_gvalue): deleted
973         (openoffice_file_open): use the correct GDestroyNotify
975 2013-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
977         * openoffice-read.c (openoffice_file_open): delete any tables that
978         were referred to but not included in the file.
980 2013-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
982         * openoffice-read.c (od_draw_object): We do not parse tables
983         inside charts! So no need to worry about them!
985 2013-06-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
987         * openoffice-read.c (odf_text_content_end): check for NULL
988         before dereferencing to avoid fedora crash
989         https://bugzilla.redhat.com/show_bug.cgi?id=971573
991 2013-04-26  Morten Welinder <terra@gnome.org>
993         * Release 1.12.2
995 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
997         * openoffice-read.c (odf_chart_set_default_style): new
998         (oo_chart): use odf_chart_set_default_style
1000 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1002         * openoffice-read.c (odf_draw_frame_store_location):
1003         initialize plot-area dimensions
1004         (oo_legend_set_position): new
1005         (oo_plot_area): also adjust position and size
1006         (oo_chart_end): zero legend ratherthan at the end of the legend.
1007         (oo_legend): use oo_legend_set_position
1008         (oo_legend_end): deleted
1010 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1012         * openoffice-write.c (col_row_styles_free): new
1013         (openoffice_file_save_real): use col_row_styles_free
1014         to free the styles lists
1016 2013-04-22  Morten Welinder  <terra@gnome.org>
1018         * openoffice-read.c (odf_text_span_end): Plug leak.
1020 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1022         * openoffice-read.c (oo_chart_title_end): fix typo
1023         (oo_legend): read location specifier
1025 2013-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1027         * openoffice-read.c (df_hf_item_start): new
1028         (odf_hf_sheet_name): call df_hf_item_start
1029         (odf_hf_date): ditto
1030         (odf_hf_item_w_data_style): ditto
1031         (odf_hf_time): ditto
1032         (odf_hf_page_number): ditto
1033         (odf_hf_page_count): ditto
1034         (odf_hf_file): ditto
1035         (odf_hf_expression): ditto
1036         (odf_hf_title): ditto
1038 2013-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1040         * openoffice-read.c (odf_header_footer_end): fix leak
1041         (odf_hf_file): don't try to circumvent the GString handling
1043 2013-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1045         * openoffice-read.c (od_draw_object): delete tables created during
1046         parsing of objects.
1048 2013-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1050         * openoffice-read.c (odf_apply_style_props): go_style angles are -180
1051         to 180
1053 2013-03-09  Morten Welinder <terra@gnome.org>
1055         * Release 1.12.1
1057 2013-02-20  Morten Welinder  <terra@gnome.org>
1059         * openoffice-write.c (odf_write_sheet): Plug leak.
1061 2013-01-01  Morten Welinder  <terra@gnome.org>
1063         * openoffice-write.c (odf_attrs_as_string): Don't use deprecated
1064         goffice stuff.
1066 2012-12-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1068         * openoffice-read.c (odf_fix_expr_names_t): new fields
1069         (odf_fix_expr_names_t_new): initialize new fields
1070         (odf_fix_en_find): new
1071         (odf_fix_en_apply): invoked per translated name
1072         (odf_fix_expr_names): do not cause hashes to be modified while we
1073         traverse them.
1075 2012-12-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1077         * openoffice-read.c (odf_fix_en_collect): we have to remove all
1078         non-alphanumerics to get expression names acceptable to Gnumeric
1080 2012-12-18  Morten Welinder <terra@gnome.org>
1082         * Release 1.12.0
1084 2012-11-29  Morten Welinder <terra@gnome.org>
1086         * Release 1.11.91
1088 2012-11-16  Morten Welinder <terra@gnome.org>
1090         * Release 1.11.90
1092 2012-11-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1094         * openoffice-read.c (odf_scientific): set simplify_mantissa
1096 2012-11-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1098         * openoffice-read.c (odf_scientific): read forced-exponent-sign foreign
1099         element
1101 2012-11-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1103         * openoffice-write.c (odf_write_cell): use
1104         gnm_cell_get_format_given_style
1105         instead of gnm_style_get_format instead
1107 2012-11-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1109         * openoffice-write.c (odf_write_cell): use gnm_style_get_format instead of
1110         gnm_cell_get_format if possible
1112 2012-11-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1114         * openoffice-write.c (odf_write_cell): add argument, change caller
1115         and use style even for NULL cells.
1117 2012-11-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1119         * openoffice-write.c (odf_write_content_rows): remove unused arguments
1120         and change all callers
1121         (odf_write_sheet): don't worry about the extent here.
1123 2012-11-03  Morten Welinder  <terra@gnome.org>
1125         * openoffice-write.c (row_info_equal): Rename from row_style_eq.
1126         (compare_row_styles): New function.
1127         (odf_write_content_rows): Handle repeated rows that have
1128         non-default style too.  Avoid single-cell style lookups in favour
1129         of getting the whole row in one go.  Fixes #687243.
1131 2012-10-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1133         * openoffice-write.c (finder): deleted
1134         (write_styled_cells): deleted
1135         (odf_write_styled_empty_rows): deleted
1136         (odf_write_sheet): trust odf_write_content_rows to be efficient on
1137         styled empty rows
1139 2012-10-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1141         * openoffice-read.c (oo_parse_angle): fix typo
1143 2012-10-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1145         * openoffice-read.c (oo_style_prop_cell): make strike-through handling
1146         match LO behaviour.
1148 2012-10-15  Morten Welinder  <terra@gnome.org>
1150         * openoffice-write.c (odf_write_content_rows): Merge boring rows
1151         into one with a repeat count.  Skip cell loop for boring rows.
1152         Fixes 662057.
1154 2012-09-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1156         * openoffice-read.c (odf_custom_shape_end): only split on "N" that
1157         isn't part of a variable name
1159 2012-09-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1161         * openoffice-write.c (odf_store_data_style_for_style_with_name): new
1162         (odf_write_office_styles): call odf_store_data_style_for_style_with_name
1163         to ensure data files for named styles are collected (and later written)
1165 2012-09-08  Jean Brefort  <jean.brefort@normalesup.org>
1167         * openoffice-read.c (odf_custom_shape_end): use the "paths" property for
1168         GnmSOPath objects when needed.
1170 2012-09-06  Morten Welinder <terra@gnome.org>
1172         * Release 1.11.6
1174 2012-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1176         * openoffice-read.c (odf_get_cs_formula_value): assume, contrary
1177         to spec, that function reference names consist of alphanumerics
1178         only since LO forgets to terminate the names with space or tab!
1180 2012-08-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1182         * openoffice-read.c (opendoc_content_dtd): support custom-shapes
1183         inside table-cells
1185 2012-08-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1187         * openoffice-read.c (odf_parse_float): skip the 'e'
1188         (odf_get_cs_formula_value): new
1189         (odf_custom_shape_end): calculate all variables and
1190         free viewbox info
1191         (odf_custom_shape_enhanced_geometry): check for viewbox
1192         (openoffice_file_open): free viewbox info
1194 2012-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1196         * openoffice-read.c (odf_custom_shape_end): put doubles in the hash
1197         since goffice does not know gnm_float.
1199 2012-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1201         * openoffice-read.c (odf_parse_float): new
1202         (odf_custom_shape_end): interpret modifiers
1203         (odf_custom_shape_equation): new
1204         (opendoc_content_dtd): connect odf_custom_shape_equation
1205         (openoffice_file_open): initialize and finalize new fields
1207 2012-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1209         * openoffice-read.c (odf_custom_shape_end): cs_type is optional and not
1210         needed for GnmSOPath, "ellipse" and "rectangle" are handled by GOPath so
1211         we need not special case them (especially since they are not defined by ODF)
1212         (odf_custom_shape): default to rectangles
1214 2012-08-26  Jean Brefort  <jean.brefort@normalesup.org>
1216         * openoffice-read.c (odf_custom_shape_end): use GnmSOPath when possible.
1218 2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1220         * plugin.xml.in: use the standards terms of conformance rather than
1221         referring to foreign elements
1223 2012-08-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1225         * openoffice-read.c (od_custom_shape_end): rename to odf_custom_shape_end
1226         throughout, expand list of custom-shapes handled
1227         (odf_custom_shape_replace_object): new
1229 2012-08-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1231         * openoffice-read.c (od_custom_shape_end): fix sense of test
1232         (opendoc_content_dtd): add draw:equation and draw:handle
1234 2012-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1236         * openoffice-read.c (OOChartInfo): add fields
1237         (od_custom_shape_end): new
1238         (odf_custom_shape): init new fields
1239         (odf_custom_shape_enhanced_geometry): new
1240         (opendoc_content_dtd): connect the above
1242 2012-08-03  Jean Brefort  <jean.brefort@normalesup.org>
1244         * openoffice-write.c (odf_write_meta), (odf_write_meta_graph),
1245         (openoffice_file_save_real): replace more deprecated functions calls.
1247 2012-08-03  Jean Brefort  <jean.brefort@normalesup.org>
1249         * openoffice-read.c (od_draw_object), (openoffice_file_open): replace
1250         deprecated functions calls.
1252 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1254         * openoffice-read.c (oo_filter_cond): adjust call of
1255         gnm_filter_condition_new_bucket
1257 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1259         * openoffice-read.c (odf_caption): new, copy of odf_rect + error
1260         message
1261         (odf_custom_shape): change error message
1262         (opendoc_content_dtd): connect odf_caption
1264 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1266         * openoffice-read.c (opendoc_content_dtd): add draw:caption
1267         and fix draw:custom-shape text handling
1269 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1271         * openoffice-read.c (object_offset_t): new field
1272         (odf_complete_control_setup): new
1273         (oo_table_end): call odf_complete_control_setup
1274         (od_draw_frame_end_full): add argument and change all callers
1275         (od_draw_control_start): move code that depends on the
1276         control to be attached to a sheet, to odf_complete_control_setup
1278 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1280         * openoffice-read.c (odf_custom_shape): new
1281         (opendoc_content_dtd): connect odf_custom_shape
1283 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1285         * openoffice-read.c (object_offset_t): add field
1286         (odf_set_z_index): deleted
1287         (odf_z_idx_compare): use object_offset_t
1288         (oo_table_end): use object_offset_t to determine z-ordering
1289         and attach the objects to the sheet here
1290         (od_draw_frame_end_full): postpone attaching of the object to
1291         the sheet.
1293 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1295         * openoffice-read.c (openoffice_file_open): initialize
1296         default_style.graphics
1298 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1300         * openoffice-read.c (_OOParseState): add field
1301         (odf_apply_style_props): modify existing style for fill-color
1302         and opacity
1303         (oo_style): also handle default style of graphics family
1304         (oo_chart_style_free): handle NULL
1305         (odf_so_filled): also apply default style
1306         (openoffice_file_open): free default graphics style
1308 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1310         * openoffice-read.c (odf_apply_style_props): handle opacity
1311         (od_style_prop_chart): save opacity
1313 2012-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1315         * openoffice-write.c (odf_go_color_opacity): new
1316         (odf_write_gog_style_graphic): write draw:opacity
1318 2012-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1320         * openoffice-read.c (odf_set_z_index ): new
1321         (odf_z_idx_compare): new
1322         (oo_table_end): sort the objects by z-index
1323         (od_draw_frame_start): save the z-index
1324         (od_draw_frame_end_full): store the z-index
1326 2012-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1328         * openoffice-write.c (odf_write_frame_size): write draw:z-index
1330 2012-08-01  Jean Brefort  <jean.brefort@normalesup.org>
1332         * openoffice-read.c (oo_parse_color): Rename style_color_new_i8.
1334 2012-07-15  Morten Welinder <terra@gnome.org>
1336         * Release 1.11.5
1338 2012-06-25  Morten Welinder <terra@gnome.org>
1340         * Release 1.11.4
1342 2012-05-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1344         * openoffice-read.c (oo_func_map_in): map TIME -> ODF.TIME
1345         * openoffice-write.c (odf_expr_func_handler): map ODF.TIME -> TIME
1347 2012-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1349         * openoffice-write.c (odf_write_content_rows): note that gnm_cell_is_empty
1350         may return TRUE for cells with expression, so we need to check this
1352 2012-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1354         * openoffice-read.c (oo_add_text_to_cell): even add empty strings
1355         * openoffice-write.c (odf_write_cell): write text:p also for empty
1356         strings
1358 2012-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1360         * openoffice-read.c (odf_text_space): default is 1.
1362 2012-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1364         * openoffice-read.c (oo_cell_content_end): check for NULL GString
1366 2012-05-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1368         * openoffice-read.c (odf_style_add_condition): try to recognize some
1369         of the Gnumeric specific expressions.
1371 2012-05-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1373         * openoffice-write.c (odf_determine_base): initialize pp even if we
1374         raise a warning
1375         (odf_save_style_map): make sure pp is initialized.
1377 2012-05-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1379         * openoffice-write.c (odf_determine_base): use a range that has this style,
1380         add argument and change all callers
1381         (odf_save_style_map): add range argument, change all callers
1382         (odf_save_this_style_with_name): replace argument, change all callers
1383         (odf_write_style): add range argument, change all callers
1384         (odf_store_this_named_style): add range argument, change all callers
1385         (odf_save_this_style): replace argument, change all callers
1386         (odf_write_cell_styles): use sheet_style_range_foreach
1387         (odf_write_office_styles): use new hash
1389 2012-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1391         * openoffice-write.c (odf_save_style_map_single_f): change arguments
1392         (odf_save_style_map_double_f): ditto
1393         (odf_determine_base): change arguments and simplify
1394         (odf_save_style_map): change the calls to the above
1396 2012-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1398         * openoffice-write.c (odf_save_style_map_single_f): add arguments
1399         (odf_save_style_map_double_f): ditto
1400         (odf_determine_base): new
1401         (odf_save_style_map): include the correct base
1403 2012-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1405         * openoffice-read.c (OOCellStyle): new type
1406         (_OOParseState.default_style.cells): change type
1407         (odf_init_pp): new
1408         (odf_validation_new_list): use odf_init_pp
1409         (odf_validation_new_single_expr): use odf_init_pp
1410         (odf_validation_new_pair_expr): use odf_init_pp
1411         (odf_oo_cell_style_new): new
1412         (odf_gnm_style_ref): new
1413         (odf_oo_cell_style_copy): new
1414         (odf_oo_cell_style_unref): new
1415         (odf_oo_cell_style_ref): new
1416         (odf_oo_cell_style_attach_condition): new
1417         (odf_style_load_two_values): modified odf_style_map_load_two_values
1418         (odf_style_load_one_value): modified odf_style_map_load_one_value
1419         (odf_style_add_condition): new
1420         (odf_style_from_oo_cell_style): new
1421         (oo_col_start): adjust for above type changes
1422         (oo_row_start): ditto
1423         (oo_cell_start): ditto
1424         (oo_style): ditto
1425         (oo_style_end): ditto
1426         (oo_style_prop_cell): ditto
1427         (oo_style_map): postpone resolution
1428         (openoffice_file_open): adjust for above type changes
1429         * openoffice-write.c (odf_save_style_map): base-cell-address requires
1430         a table name
1432 2012-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1434         * openoffice-read.c: replace GO_COLOR_FROM_GDK_RGBA with
1435         go_color_from_gdk_rgba throughout
1437 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1439         * openoffice-read.c (odf_adjust_offsets_col): add argument
1440         and change caller
1441         (odf_adjust_offsets_row): ditto
1442         (odf_adjust_offsets): ditto
1443         (od_draw_frame_end_full): new, replaces od_draw_frame_end
1444         (od_draw_frame_end): call od_draw_frame_end_full with
1445         appropriate arguments
1447 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1449         * openoffice-read.c (odf_adjust_offsets_col): we may not be in
1450         column 0
1451         (odf_adjust_offsets_row): we may not be in row 0
1453 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1455         * openoffice-read.c (odf_validations_analyze): add argument,
1456         change all callers
1457         (odf_validations_translate): check for namespaced condition
1458         (oo_style_map): check for namespaced condition
1460 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1462         * openoffice-write.c (odf_save_style_map): handle more conditions
1464 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1466         * openoffice-read.c (odf_text_p_apply_pango_attribute): new
1467         (odf_text_p_apply_style): splicing messes with the end indices of
1468         existing attributes, so just insert.
1469         (oo_pango_set_end): delete
1470         (odf_text_span_end): keep the original style attribute list
1472 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1474         * openoffice-write.c (odf_print_spreadsheet_content_validations):
1475         fix typos
1477 2012-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1479         * openoffice-read.c (odf_validation_new_list): check for empty
1480         message
1481         (odf_validation_new_single_expr): ditto
1482         (odf_validation_new_pair_expr): ditto
1483         (odf_validation_new_single_expr): ditto
1484         (odf_validation_new_pair_expr): ditto
1486 2012-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1488         * openoffice-write.c (odf_new_markup): handle NULL markup or text
1489         (odf_write_comment): let odf_new_markup handle the NULL cases
1490         (odf_write_so_filled): write a correct text:p element
1491         (odf_write_cell): ODF does not allow negative times, write these
1492         as floats
1494 2012-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1496         * openoffice-read.c (oo_table_end): retain the anchor direction
1497         (odf_draw_frame_store_location): new
1498         (od_draw_frame_start): use odf_draw_frame_store_location
1499         (odf_line_end): new
1500         (odf_line): use odf_draw_frame_store_location
1501         (opendoc_content_dtd): connect odf_line_end and read text content
1502         for lines
1504 2012-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1506         * openoffice-read.c (od_draw_text_box_p_end): delete
1507         (odf_ellipse): push text:p structure
1508         (opendoc_content_dtd): add elements to table:shapes
1510 2012-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1512         * openoffice-read.c (od_draw_frame_start): store width and height
1513         (oo_chart_title): read placement information
1514         (oo_chart_title_end): apply placement information
1516 2012-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1518         * openoffice-write.c (odf_write_gog_position_pts): new
1519         (odf_write_title): write svg:x and svg:y
1520         (odf_write_graph_content): create root view
1522 2012-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1524         * openoffice-read.c (oo_chart_title): handle compass position
1525         (oo_chart_title_end): ditto
1526         (opendoc_content_dtd): support chart:footer
1527         * openoffice-write.c (odf_write_title): write compass position,
1528         add argument and change all callers
1529         (odf_write_plot): write chart:footer or chart:subtitle depending
1530         on compass position
1532 2012-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1534         * openoffice-read.c (oo_chart_title_end): potetially add a title
1535         to the graph, not just the chart
1536         (opendoc_content_dtd): differentiate between chart:title and
1537         chart:subtitle
1538         * openoffice-write.c (odf_write_plot): write the graph title as
1539         chart:title and the chart title as chart:subtitle; add argument
1540         (odf_write_graph_content): call odf_write_plot with the
1541         additional argument
1543 2012-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1545         * openoffice-read.c (odf_pango_attrs_to_markup): move to goffice
1546         (odf_pango_attr_as_markup_string): move to goffice
1548 2012-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1550         * openoffice-read.c (odf_pango_attr_as_markup_string): add some
1551         more attribute types
1553 2012-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1555         * openoffice-read.c (odf_pango_attr_as_markup_string): new
1556         (odf_pango_attrs_to_markup): new
1557         (oo_chart_title_end): create markup if attributes where read
1559 2012-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1561         * openoffice-read.c (oo_chart_title): push text_p structure
1562         (oo_chart_title_end): get text from text_p structure and pop
1563         (oo_chart_title_text): delete, use the standard text:p handling
1564         instead
1566 2012-05-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1568         * openoffice-write.c (odf_write_manifest): do not write an entry
1569         for "Pictures/" itself
1570         (odf_write_title): write markup if necessary
1571         (odf_write_plot): write characters styles that may be needed for
1572         titles and labels
1574 2012-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1576         * openoffice-read.c (od_draw_text_frame_end): check for empty
1577         text content
1579 2012-05-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1581         * openoffice-write.c (odf_attrs_as_string): handle font colour
1582         (odf_write_text_colours): new
1583         (odf_write_office_styles): call odf_write_text_colours
1584         (openoffice_file_save_real): initialize and finalize new
1585         state.text_colours
1587 2012-04-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1589         * openoffice-read.c (oo_text_p_t): change fields
1590         (odf_push_text_p): drop arguments, handle changed fields,
1591         adjust all callers
1592         (odf_text_p_add_text): new
1593         (odf_text_p_apply_style): new
1594         (odf_pop_text_p): handle changed fields
1595         (odf_text_content_start): call odf_text_p_add_text
1596         (odf_text_content_end): ditto
1597         (odf_text_span_start): ditto
1598         (odf_text_span_end): ditto
1599         (odf_text_special): ditto
1600         (odf_get_curr_error_message_length): delete
1601         (odf_apply_character_style_to_error_message): delete
1602         (odf_add_text_to_error_message): delete
1603         (odf_validation_error_message_end): store text
1604         (odf_get_curr_cell_length): delete
1605         (oo_add_text_to_cell): add argument and also handle attributes
1606         (oo_apply_character_style): delete
1607         (oo_cell_content_end)
1608         (odf_get_curr_hf_length): delete
1609         (odf_apply_character_style_to_hf): delete
1610         (odf_add_text_to_hf): delete
1611         (odf_header_footer_end): save text
1612         (odf_hf_region_end): ditto
1613         (odf_hf_item): use odf_text_p_add_text
1614         (od_draw_text_frame_end): save text and markup
1615         (odf_get_curr_textbox_length): delete
1616         (odf_add_text_to_textbox): delete
1617         (odf_apply_markup_to_object): delete
1618         (odf_apply_character_style_to_textbox): delete
1619         (odf_get_curr_comment_length): delete
1620         (odf_add_text_to_comment): delete
1621         (odf_apply_character_style_to_comment): delete
1622         (odf_annotation_end): save text and markup
1623         (openoffice_file_open): initialize/free new fields
1625 2012-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1627         * openoffice-read.c (odf_validation_t): add fields
1628         (odf_validation_new_list): use title and message
1629         (odf_validation_new_single_expr): ditto
1630         (odf_validation_new_pair_expr): ditto
1631         (odf_validation_free): free new fields
1632         (odf_validation_new): initialize new fields
1633         (odf_validation): set cur_validation
1634         (odf_get_curr_error_message_length): new
1635         (odf_apply_character_style_to_error_message): new stub
1636         (odf_add_text_to_error_message): new
1637         (odf_validation_error_message): new
1638         (odf_validation_error_message_end): new
1639         (opendoc_content_dtd): connect the above
1640         * openoffice-write.c (odf_print_spreadsheet_content_validations):
1641         write even empty error messages to account for message type
1643 2012-04-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1645         * openoffice-read.c (odf_hf_file): use the correct attribute name
1646         * openoffice-write.c (odf_print_spreadsheet_content_validations):
1647         write validation error message
1649 2012-04-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1651         * openoffice-read.c (odf_header_footer): do not use the cell text
1652         (odf_hf_region_end): new
1653         (odf_hf_region): call odf_push_text_p
1654         (styles_dtd): connect odf_hf_region_end
1656 2012-04-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1658         * openoffice-read.c (odf_get_curr_hf_length): new
1659         (odf_apply_character_style_to_hf): new
1660         (odf_add_text_to_hf): new
1661         (odf_header_footer_end): new
1662         (odf_header_footer): call odf_push_text_p
1663         (odf_hf_span): delete
1664         (styles_dtd): connect the text_p handlers to "p" in style:header
1666 2012-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1668         * openoffice-read.c (oo_text_p_t): change arguments for apply_style
1669         (odf_push_text_p): ditto
1670         (odf_text_span_end): create attribute list here already
1671         (oo_apply_character_style): change arguments
1672         (od_draw_text_frame_end): new
1673         (odf_get_curr_textbox_length): new
1674         (odf_add_text_to_textbox): new
1675         (odf_apply_markup_to_object): new
1676         (odf_apply_character_style_to_textbox): new
1677         (od_draw_text_box): call odf_push_text_p
1678         (odf_apply_character_style_to_comment): use odf_apply_markup_to_object
1679         (odf_rect): call odf_push_text_p
1680         (opendoc_content_dtd): connect new handlers
1682 2012-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1684         * openoffice-read.c: collect all text:p handling functions together
1685         (odf_annotation_content_start): rename to odf_text_content_start
1686         (opendoc_content_dtd): remove duplicate declarations
1688 2012-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1690         * openoffice-read.c (od_style_prop_text): handle colours
1692 2012-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1694         * openoffice-write.c (odf_write_character_styles): also write AC-weight1000"
1695         * openoffice-read.c (oo_text_p_t): new
1696         (OOParseState): new fields
1697         (odf_push_text_p): new
1698         (odf_pop_text_p): new
1699         (oo_cell_start): use new field structure
1700         (odf_get_curr_cell_length): new
1701         (oo_cell_content_start): call odf_push_text_p
1702         (oo_cell_content_end): call odf_pop_text_p
1703         (oo_cell_content_span_start): rename to odf_text_span_start and use
1704         new fields
1705         (oo_cell_content_span_end): rename to odf_text_span_end
1706         (oo_cell_content_special): rename to odf_text_special
1707         (oo_cell_content_space): rename to odf_text_space
1708         (oo_cell_content_symbol): rename to odf_text_symbol
1709         (odf_get_curr_comment_length): new
1710         (odf_annotation_content_special): delete
1711         (odf_annotation_content_symbol): delete
1712         (odf_annotation_content_space): delete
1713         (odf_annotation_content_span_start): delete
1714         (odf_annotation_content_start): call odf_push_text_p
1715         (odf_annotation_content_span_end): odfrename to _text_content_end
1716         (openoffice_file_open): handle field changes
1718 2012-04-21  Morten Welinder <terra@gnome.org>
1720         * Release 1.11.3
1722 2012-03-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1724         * openoffice-write.c (odf_boolean_handler): new
1725         (odf_expr_conventions_new): connect the above
1727 2012-03-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1729         * openoffice-read.c (odf_func_true_handler): new
1730         (odf_func_false_handler): new
1731         (oo_func_map_in): connect the above
1733 2012-03-25  Morten Welinder  <terra@gnome.org>
1735         * openoffice-read.c (odf_func_chisqdist_handler): Simplify (at the
1736         expense of speed).  If we need a pile of these, they need to be
1737         simple.
1739 2012-03-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1741         * openoffice-read.c (odf_adjust_offsets_col): new
1742         (odf_adjust_offsets_row): new
1743         (odf_adjust_offsets): new
1744         (oo_table_end): fix anchors and offsets of all objects
1745         (od_draw_frame_end): record the given offsets
1746         (openoffice_file_open): initialize new chart_list field
1748 2012-03-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1750         * openoffice-read.c (OOChartStyle): add field
1751         (oo_style): set new OOChartStyle field
1752         (oo_prop_list_has) set the correct value
1753         (od_style_prop_chart): check for link-data-style-to-source
1754         (oo_chart_axis): set data style
1756 2012-03-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1758         * openoffice-write.c (odf_write_graph_styles): write number styles
1759         (odf_write_gog_style): write axis data format
1760         (odf_write_graphs): clear the data style hashes
1762 2012-03-21  Morten Welinder  <terra@gnome.org>
1764         * openoffice-write.c (create_new_xml_child): new function.
1766 2012-03-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1768         * openoffice-read.c (odf_apply_style_props): handle symbol-width and
1769         symbol-height
1770         (od_style_prop_chart) read symbol-width and symbol-height
1771         * openoffice-write.c (odf_write_gog_style_chart): write
1772         symbol-width and symbol-height
1774 2012-03-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1776         * openoffice-read.c (odf_number_style_end): skip the condition
1777         for the second part if we skipped it for the first and it is the
1778         default
1780 2012-03-20  Morten Welinder  <terra@gnome.org>
1782         * openoffice-read.c (openoffice_file_open): Don't refer to
1783         gsf_ooo_ns variable.
1785         * openoffice-write.c (openoffice_file_save_real): Store odf
1786         version in state.  Else store version elsewhere.
1787         (odf_write_xl_style): Supply new odf version argument to
1788         go_format_output_to_odf.
1790 2012-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1792         * openoffice-read.c (odf_annotation_content_start): new
1793         (odf_add_text_to_comment): new
1794         (odf_annotation_content_end): some text may already have been added
1795         (odf_annotation_content_special): new
1796         (odf_annotation_content_symbol): new
1797         (odf_annotation_content_space): new
1798         (odf_annotation_content_span_start): new
1799         (odf_apply_character_style_to_comment): new
1800         (odf_annotation_content_span_end): new
1801         (opendoc_content_dtd): attach the above
1802         (openoffice_file_open): free ann_span_style_stack in case something
1803         wasn't cleaned up
1805 2012-03-14  Morten Welinder  <terra@gnome.org>
1807         * openoffice-read.c (openoffice_file_open): Remove debug print.
1809 2012-03-13  Morten Welinder  <terra@gnome.org>
1811         * openoffice-read.c (oo_expr_parse_str): Share expressions because
1812         ODS sucks in that regard.
1814 2012-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1816         * openoffice-write.c (odf_write_one_axis_grid): write style name
1818 2012-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1820         * openoffice-read.c (oo_chart_grid): use style name
1822 2012-03-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1824         * openoffice-write.c (odf_write_style_cell_properties): allow for
1825         set background color without pattern, default to pattern 1
1827 2012-03-09  Morten Welinder  <terra@gnome.org>
1829         * openoffice-write.c (odf_write_sheet): Use new
1830         sheet_style_most_common.
1832 2012-03-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1834         * openoffice-write.c (odf_write_axis_style): only write user defined
1835         minimum and maximum
1837 2012-03-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1839         * openoffice-read.c (oo_plot_series): set interpolation-skip-invalids
1840         property
1842 2012-02-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1844         * openoffice-read.c (od_style_prop_chart): LO does not write overlap
1845         values when writing stacked charts. For percentage-stacked charts it does
1846         not write "stacked" either.
1848 2012-03-02  Morten Welinder <terra@gnome.org>
1850         * Release 1.11.2
1852 2012-02-05  Jean Brefort  <jean.brefort@normalesup.org>
1854         * openoffice-read.c (od_style_prop_chart): implrt cubic splies as the new
1855         odf compatible spline.
1856         * openoffice-write.c (odf_write_interpolation_attribute): export odf-spline.
1858 2011-11-27  Morten Welinder <terra@gnome.org>
1860         * Release 1.11.1
1862 2011-11-24  Morten Welinder <terra@gnome.org>
1864         * Release 1.11.0
1866 2011-11-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1868         * openoffice-read.c (od_style_prop_chart): correct the interpolation
1869         mapping
1870         (od_draw_frame_start): remove unused variable
1871         (opendoc_content_dtd): add elements to chart table
1872         * openoffice-write.c (odf_write_interpolation_attribute): correct the
1873         interpolation mapping
1875 2011-11-03  Morten Welinder  <terra@gnome.org>
1877         * openoffice-read.c (oo_chart_wall): Plug leak.
1878         (oo_legend): Plug leak.
1880 2011-11-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1882         * openoffice-read.c (oo_add_text_to_cell): check for NULL format
1883         (od_style_prop_text): handle underline and strikethrough
1885 2011-11-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1887         * openoffice-read.c (OOParseState): add fields
1888         (oo_add_text_to_cell): preserve markup
1889         (oo_cell_content_span_start): new
1890         (oo_cell_content_span_end): new
1891         (oo_pango_set_end): new
1892         (oo_apply_character_style): new
1893         (oo_style): handle text style
1894         (od_style_prop_text): new
1895         (oo_style_prop): connect od_style_prop_text
1896         (opendoc_content_dtd): connect oo_cell_content_span_*
1897         (openoffice_file_open): handle new fields
1899 2011-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1901         * openoffice-read.c (oo_cell_content_link): new
1902         (opendoc_content_dtd): connect oo_cell_content_link
1904 2011-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1906         * openoffice-read.c (oo_cell_content_start): new
1907         (oo_add_text_to_cell): new
1908         (oo_cell_content_end): we have shared content!
1909         (oo_cell_content_special): new
1910         (oo_cell_content_space): new
1911         (oo_cell_content_symbol): new
1912         (opendoc_content_dtd): connect oo_cell_content_symbol and oo_cell_content_start
1913         * openoffice-write.c (odf_write_cell): do not write office:string-value for
1914         non-expression cells, the element content should be used.
1916 2011-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1918         * openoffice-read.c (oo_func_map_in): adjust SUMPRODUCT import
1919         * openoffice-write.c (odf_expr_func_handler) adjust SUMPRODUCT export
1921 2011-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1923         * openoffice-read.c (opendoc_content_dtd): add table:shapes
1925 2011-10-28  Jean Brefort  <jean.brefort@normalesup.org>
1927         * openoffice-read.c (odf_apply_style_props): fixed compilation. [#662908]
1929 2011-10-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1931         * openoffice-write.c (odf_attrs_as_string): support sub-/superscript
1932         attributes
1933         (odf_write_character_styles): write non-sub-/superscript style
1935 2011-10-26  Jean Brefort  <jean.brefort@normalesup.org>
1937         * openoffice-write.c (odf_match_image): make things build again
1938         after goffice changes.
1940 2011-10-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1942         * openoffice-read.c (identified_google_docs): new
1943         (determine_oo_version): call identified_google_docs
1945 2011-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1947         * openoffice-read.c (oo_date_text_end): avoid duplicate percent signs
1949 2011-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1950         for Mikko Rasa <tdb@tdb.fi>:
1952         * openoffice-read.c (oo_date_text_end): fix potential for
1953         infinite loop
1955 2011-09-06  Jean Brefort  <jean.brefort@normalesup.org>
1957         * openoffice-write.c (odf_write_regression_curve): fixed criticals.
1958         [#658194]
1960 2011-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1962         * openoffice-read.c (oo_prop_list_apply_to_axis): handle
1963         tick spacing, add argument and change caller
1964         (od_style_prop_chart): read tick spacing
1965         * openoffice-write.c (odf_write_axis_style): write tick spacing
1967 2011-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1969         * openoffice-read.c (odf_fraction): read pi-fraction foreign
1970         element
1972 2011-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1974         * openoffice-read.c (oo_attr_percent_or_distance): new
1975         (oo_dash): use oo_attr_percent_or_distance
1977 2011-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1979         * openoffice-read.c (odf_attr_range): new
1980         (odf_selection_range): new
1981         (odf_selection): new
1982         (odf_selection_end): new
1983         (opendoc_content_dtd): connect the above
1984         * openoffice-write.c (odf_add_range): use gnm name space
1985         (odf_write_content): ditto
1987 2011-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1989         * openoffice-read.c (odf_apply_gnm_config): new
1990         (openoffice_file_open): connect odf_apply_gnm_config
1991         * openoffice-write.c (odf_add_range): new
1992         (odf_write_content): also write selection
1993         (odf_write_gnm_settings): write acive sheet info
1994         (odf_write_ooo_settings): do not hardcode sheet name
1996 2011-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1998         * openoffice-write.c (odf_write_ooo_settings): write edit positions and
1999         active sheet
2001 2011-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2003         * openoffice-read.c (odf_config_item_end): handle G_TYPE_STRING
2004         (odf_config_item): handle string type
2005         (odf_apply_ooo_table_config): set edit position
2006         (odf_apply_ooo_config): set active sheet
2008 2011-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2010         * openoffice-read.c (oo_style_prop_table): read LibreOffice
2011         foreign attribute and ODF 1.3 attribute for tab colour
2012         * openoffice-write.c (odf_write_table_style) write LibreOffice
2013         foreign attribute and ODF 1.3 attribute (if appropriate) for tab colour
2014         (odf_write_ooo_settings): don't write tab colour for ODF 1.3 here
2016 2011-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2018         * openoffice-read.c (odf_scientific): read gnm:literal-E
2020 2011-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2022         * openoffice-read.c (odf_scientific): read min-exponent-digits
2024 2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2026         * plugin.xml.in: correct mime types
2028 2011-07-31  Morten Welinder <terra@gnome.org>
2030         * Release 1.10.17
2032 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2034         * openoffice-read.c (styles_dtd): <style:background-image>
2035         may appear in <style:page-layout-properties>
2037 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2039         * openoffice-write.c (odf_write_drop_line): drop unused argument
2040         and change all callers
2042 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2044         * openoffice-write.c: use G_GNUC_UNUSED
2046 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2048         * openoffice-write.c (odf_write_page_layout): in ODF combine
2049         PRINT_COMMENTS_IN_PLACE and PRINT_COMMENTS_AT_END
2050         * openoffice-read.c (odf_page_layout_properties): do not count on the
2051         order of the attributes.
2053 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2055         * openoffice-read.c: use G_GNUC_UNUSED
2057 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2059         * openoffice-read.c (odf_master_page): show warning on missing style
2060         names
2062 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2064         * openoffice-read.c (odf_master_page): initialize pi
2066 2011-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2068         * openoffice-write.c (odf_add_font_weight): new
2069         (odf_write_style_text_properties): use odf_add_font_weight
2070         (odf_write_character_styles): ditto
2071         (odf_write_gog_style_text): ditto
2073 2011-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2075         * openoffice-write.c (odf_write_sheet): do not use <table:table-columns>
2076         and <table:table-rows> since MS Excel stumbles over them.
2078 2011-07-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2080         * openoffice-read.c (oo_style_have_three_dimensional): replace
2081         with oo_style_has_property
2082         (oo_style_have_multi_series): ditto
2083         (oo_style_has_property): new
2084         (oo_style_has_plot_property): new
2085         (oo_chart_axis): bar charts have differnt axes interpretaion than
2086         column charts
2087         * openoffice-write.c (odf_write_*_axes_styles): add arguments and
2088         change all callers
2089         (odf_write_axis_full): new
2090         (odf_write_axis): use odf_write_axis_full
2091         (odf_write_axis_no_cats): use odf_write_axis_full
2092         (odf_write_plot): we need to distinguish column charts from bar charts
2094 2011-07-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2096         * openoffice-write.c (odf_write_axis): do not confuse MS Excel by
2097         writing categories for Bubble Plots
2099 2011-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2101         * openoffice-read.c (oo_style): don't inherit style conditions
2103 2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2105         * openoffice-read.c (odf_parse_range_address_or_expr): new, extracted from
2106         oo_plot_series
2107         (oo_table_start): read table:print and table:print-ranges
2108         (odf_page_layout_properties): we will be using table:print instead of
2109         do_not_print in gnm:style-print
2110         * openoffice-write.c (odf_write_content): write table:print
2111         (odf_write_page_layout): do not include do_not_print in gnm:style-print
2113 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2115         * openoffice-read.c (opendoc_content_dtd): add more items
2116         * openoffice-write.c (odf_write_sheet): write table:table-header-rows
2118 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2120         * openoffice-read.c (oo_table_end): we may have repeating rows w/o
2121         repeating columns and vice versa
2122         (opendoc_content_dtd): add more items
2123         * openoffice-write.c (odf_write_style_cell_properties): don't write
2124         attributes outside of elements
2125         (odf_write_sheet): write table:table-header-columns as appropriate
2127 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2129         * openoffice-read.c (OOParseState): add fields
2130         (oo_table_start): initialize repeating rows/cols fields
2131         (oo_table_end): save repeating rows/cols data
2132         (odf_table_header_rows): new
2133         (odf_table_header_rows_end): new
2134         (odf_table_header_cols): new
2135         (odf_table_header_cols_end): new
2136         (opendoc_content_dtd): connect the last four
2138 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2140         * openoffice-read.c (OOParseState): group print items into a struct and
2141         change references throughout the file
2143 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2145         * openoffice-read.c (opendoc_content_dtd): add more items
2147 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2149         * openoffice-read.c (odf_header_properties): new
2150         (odf_footer_properties): new
2151         (odf_header_footer): don't overwrite already set footer/header height
2152         (styles_dtd): connect the above
2153         * openoffice-write.c (odf_write_style_cell_properties): use style:repeat-content
2154         (odf_write_style_paragraph_properties): HALIGN_FILL is recorded as
2155         style:repeat-content
2157 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2159         * openoffice-write.c (df_write_hf) change arguments and change all
2160         callers, allow for hidden headers/footers
2161         (odf_write_hf_style): new
2162         (odf_write_page_layout): call odf_write_hf_style
2164 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2166         * openoffice-read.c (odf_page_layout_properties): read style:print and
2167         gnm:style-print
2168         * openoffice-write.c (odf_write_page_layout) write
2169         style:print and gnm:style-print
2171 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2173         * openoffice-read.c (odf_get_paper_size): consider orientation
2174         (odf_page_layout_properties): read style:print-page-order and
2175         style:print-orientation
2176         * openoffice-write.c (odf_write_page_layout) write
2177         style:print-page-order, style:writing-mode and style:print-orientation
2179 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2181         * openoffice-read.c (odf_page_layout_properties): handle
2182         style:table-centering
2183         * openoffice-write.c (odf_write_page_layout) write
2184         style:table-centering
2186 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2188         * openoffice-read.c (odf_get_paper_size): new
2189         (odf_page_layout_properties): new
2190         (odf_page_layout): new
2191         (odf_page_layout_end): new
2192         (odf_master_page): use the specified page layout
2193         (odf_header_footer): text:p may occur outside a style:region-*
2194         (odf_hf_region): avoid null-dereference
2195         (odf_hf_span): ditto
2196         (odf_hf_item): ditto
2197         (odf_hf_title): also write the title item, skip the
2198           warning since LO includes unused layouts with this item.
2199         (styles_dtd): connect the above
2200         (openoffice_file_open):initialize and finalize new page layout hash
2202 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2204         * openoffice-write.c (page_layout_name): new
2205         (odf_write_page_layout): new
2206         (odf_write_automatic_styles): call odf_write_page_layout
2207         (odf_write_master_styles): use page_layout_name
2209 2011-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2211         * openoffice-write.c (odf_write_hf): turn the display of
2212         header/footer on here, not in
2213         (odf_write_hf_region)
2214         (odf_write_master_styles): add the display name here, not in
2215         (odf_write_table_style)
2217 2011-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2219         * openoffice-write.c (odf_write_table_style): drop two args and
2220         change all callers
2221         (odf_render_cell): We want to show the value, not the formula
2222         (odf_write_hf_region): explicitly turn the display of header/footer on.
2223         * openoffice-read.c (odf_string_id): new
2224         (odf_pi_parse_format_spec): new
2225         (odf_pi_parse_format): new
2226         (odf_pi_parse_hf): new
2227         (odf_pi_parse_expressions): new
2228         (oo_table_start): parse the embedded expressions in the hf info
2229         (odf_hf_item): assume the tag is already translated and adjust all
2230         callers
2231         (odf_hf_item_w_data_style): new
2232         (odf_hf_date): use odf_hf_item_w_data_style
2233         (odf_hf_time): use odf_hf_item_w_data_style
2234         (odf_hf_expression): implement
2235         (openoffice_file_open): initialize and finalize new strings hash
2237 2011-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2239         * openoffice-read.c (oo_table_start): handle master_page_name
2240         (oo_style): handle master-page-name
2241         (odf_master_page): new
2242         (odf_master_page_end): new
2243         (odf_header_footer): new
2244         (odf_hf_*): new
2245         (styles_dtd): connect the above
2247 2011-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2249         * openoffice-read.c (styles_dtd): add more elements
2250         * openoffice-write.c (odf_write_hf_region): don't write empty
2251         spans
2253 2011-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2255         * openoffice-write.c (xl_find_format_xl): new
2256         (xl_find_format) split off xl_find_format_xl
2257         (odf_render_date): write data style info
2258         (odf_render_time): ditto
2259         (odf_render_cell): skip non-formula part of the expression
2260         (odf_render_ops_to_xl): new
2261         (odf_render_opcode): add argument and change all callers
2262         (odf_hf_region_to_xl_styles): new
2263         (odf_master_styles_to_xl_styles): new
2264         (odf_write_office_styles): new
2265         (odf_write_styles): split off odf_write_office_styles and also
2266         call odf_write_automatic_styles
2267         (odf_write_automatic_styles): new
2269 2011-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2271         * openoffice-write.c (odf_write_table_style): add argument and
2272         write the correct master page name
2273         (table_master_page_style_name): new
2274         (odf_write_table_styles): determine master page name and pass to
2275         odf_write_table_style
2276         (odf_render_*): new
2277         (odf_write_hf_region): new
2278         (odf_write_hf): new
2279         (odf_write_master_styles): new
2280         (odf_write_styles): call odf_write_master_styles
2282 2011-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2284         * openoffice-read.c (oo_cell_start): for merged cells extent any
2285         style set by the row or column. Fixes [#652492]
2287 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2289         * openoffice-read.c (styles_dtd): add more elements
2291 2011-06-16  Morten Welinder <terra@gnome.org>
2293         * Release 1.10.16
2295 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2297         * openoffice-write.c (oo_style_prop_cell): add fo:font-family
2298         and simplify handling of fo:font-size
2299         (oo_style_prop_cell): fix some typos in property names
2301 2011-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2303         * openoffice-write.c (odf_write_plot): also write "xlink:type"
2304         attribute in ODF 1.2
2306 2011-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2308         * openoffice-read.c (od_series_regression): fix spelling of
2309         gnm:exponential-smoothed
2311 2011-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2313         * openoffice-read.c (od_series_regression): use "Trend line"
2314         rather than "Regression curve".
2316 2011-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2318         * openoffice-write.c (odf_write_regression_curve): new
2319         (odf_write_standard_series): move some code to odf_write_regression_curve
2320         and call it both for "Regression curve" and "Trend line"
2322 2011-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2324         * openoffice-write.c (odf_write_sheet): we need the full extent not
2325         just the cells-extent
2327 2011-06-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2329         * openoffice-read.c (odf_fraction): handle absence of min_i_digits
2330         correctly depending on ODF version
2331         (odf_find_version): new
2332         (styles_dtd): connect odf_find_version and add a bunch of stubs
2333         (opendoc_content_dtd): connect odf_find_version
2334         (openoffice_file_open): initialize new field ver_odf
2336 2011-05-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2338         * openoffice-write.c (odf_write_comment): fix leak
2340 2011-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2342         * openoffice-write.c (odf_write_comment): assume nothing
2344 2011-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2346         * openoffice-read.c (oo_rangeref_parse): handle foreign workbooks
2348 2011-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2350         * openoffice-read.c (oo_cellref_parse): add argument, change
2351         all callers, don't create sheets that are in foreign workbooks
2352         (odf_parse_external): new
2353         (oo_rangeref_parse): add argument, change all callers, consider
2354         foreign workbooks
2355         (oo_conventions_new): add arguments and create augmented conventions
2356         (oo_load_convention): add argument, change all callers
2357         (oo_col_start): use oo_warning rather than g_warning
2358         (odf_clear_conventions): new, use whenever xin changes
2359         (opendoc_content_dtd): add table:table-source
2361 2011-05-22  Morten Welinder  <terra@gnome.org>
2363         * openoffice-write.c (odf_write_ooo_settings): Plug leak.
2365         * openoffice-read.c (openoffice_file_open): Plug leak during
2366         debug.
2368         * openoffice-write.c (odf_write_content): Remove test for
2369         always-true condition.  If we must have that check, it should
2370         check for an active global name that we intend to write.
2372 2011-05-21  Morten Welinder  <terra@gnome.org>
2374         * openoffice-read.c (odf_fix_en_apply): Use expr_name_set_name.
2376 2011-05-21  Morten Welinder <terra@gnome.org>
2378         * Release 1.10.15
2380 2011-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2382         * openoffice-read.c (oo_cellref_check_for_err): look for #REF!
2383         (oo_cellref_parse): use oo_cellref_check_for_err, don't create
2384         new sheets until we know that we likely have a valid reference
2385         (oo_expr_parse_str_try): new
2386         (oo_expr_parse_str): use oo_expr_parse_str_try, handle references
2387         that are missing []
2389 2011-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2391         * openoffice-write.c (odf_write_named_expression): only write
2392         active names
2394 2011-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2396         * openoffice-read.c (oo_cellref_parse): return invalid_sheet when
2397         encountering #REF!, check for this return value in all callers
2398         (oo_rangeref_parse): check for invalid_sheet, check for this return
2399         value in all callers
2400         (oo_expr_rangeref_parse): check for [#REF!]
2402 2011-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2404         * openoffice-read.c (odf_fix_expr_names): implement
2405         (odf_fix_expr_names_t_new): new
2406         (odf_fix_expr_names_t_free): new
2407         (odf_fix_expr_names_t_add): new
2408         (odf_fix_en_validate): new
2409         (odf_fix_en_collect): new
2410         (odf_fix_en_apply): new
2412 2011-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2414         * openoffice-write.c (odf_write_sheet): use sheet_get_cells_extent
2416 2011-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2418         * openoffice-read.c (odf_fix_expr_names): new stub
2419         (odf_expr_name_validate): new
2420         (oo_conventions_new): connect odf_expr_name_validate
2421         (openoffice_file_open): connect odf_fix_expr_names
2423 2011-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2425         * openoffice-write.c (odf_write_named_expression): avoid writing some
2426         placeholder names
2428 2011-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2430         * openoffice-write.c (odf_validation_base_cell_address): new
2431         (odf_validation_append_expression): new
2432         (odf_validation_append_expression_pair): new
2433         (odf_validation_general): implement
2434         (odf_validation_length): implement
2435         (odf_validation_custom): implement
2436         (odf_validation_in_list): use odf_validation_append_expression, don't
2437         write base cell address
2438         (odf_print_spreadsheet_content_validations): write base cell address
2439         and pass initialized parse position onwards
2441 2011-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2443         * openoffice-read.c (odf_validations_analyze): warn if we drop part of a
2444         validation condition
2446 2011-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2448         * openoffice-read.c (opendoc_content_dtd): add CELL_ANNOTATION_TEXT_LINE_BREAK,
2449         * openoffice-write.c (odf_validation_general): new stub
2450         (odf_validation_length): new stub
2451         (odf_validation_custom): new stub
2452         (odf_print_spreadsheet_content_validations): connect above stubs
2454 2011-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2456         * openoffice-read.c (odf_validation_new_single_expr): make argument const
2457         (odf_validation_new_pair_expr): ditto
2458         (odf_validations_analyze): handle (plain) is-true-formula
2460 2011-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2462         * openoffice-read.c (odf_validation_new_list): add argument and
2463         permit non-zero offset
2464         (odf_validation_new_general): renamed to odf_validation_new_single_expr
2465         (odf_validation_new_pair_expr): new
2466         (odf_validation_new_between): new
2467         (odf_validation_new_op): new
2468         (odf_validation_new_tlength): use odf_validation_new_op
2469         (odf_validations_analyze): new
2470         (odf_validations_translate): use odf_validations_analyze
2472 2011-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2474         * openoffice-read.c (odf_validation_new_general): new
2475         (odf_validation_new_tlength): new
2476         (odf_validations_translate): connect odf_validation_new_tlength
2478 2011-05-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2480         * openoffice-read.c: change all styles into partial style and use
2481         sheet_style_apply_... rather than sheet_style_set_...
2482         (oo_row_start): handle default styles
2483         (oo_cell_start): don't change any of the saved styles.
2485 2011-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2487         * openoffice-write.c (odf_cellref_as_string_base): extracted from
2488         odf_cellref_as_string
2489         (odf_cellref_as_string): use odf_cellref_as_string_base
2490         (odf_rangeref_as_string): use odf_cellref_as_string
2491         * openoffice-read.c (oo_cell_start): add comments
2492         (oo_style): add comments
2493         (oo_style_end): check for NULL
2495 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2497         * openoffice-read.c (openoffice_file_open): initialize cur_control
2499 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2501         * openoffice-write.c (odf_string_handler): use odf_print_string
2502         (odf_print_string): new
2503         (odf_cellref_as_string): rewrite
2505 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2507         * openoffice-write.c (odf_string_handler): add comment
2508         * openoffice-read.c (odf_strunescape): new
2509         (oo_conventions_new): connect odf_strunescape
2511 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2513         * openoffice-write.c (odf_string_handler): new
2514         (odf_expr_conventions_new): connect odf_string_handler
2516 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2518         * openoffice-write.c (odf_write_manifest): write manifest
2519         version for ODF 1.2 or newer
2521 2011-04-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2523         * openoffice-write.c (odf_write_interpolation_attribute):
2524         only include foreign attribute values if asked to do
2525         (odf_write_axis_style): ditto
2527 2011-03-24  Morten Welinder <terra@gnome.org>
2529         * Release 1.10.14
2531 2011-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2533         * openoffice-read.c (oo_table_end): set sheet to NULL
2534         (oo_named_expr): handle missing base and expression name
2535         spaces
2536         (opendoc_content_dtd): connect named-expressions element to
2537         table
2538         * openoffice-write.c (odf_write_named_expression): write the
2539         for named-ranges also
2541 2011-03-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2543         * openoffice-write.c (odf_write_named_expression): new
2544         (odf_write_content): call odf_write_named_expression as
2545         appropriate
2546         (odf_write_gnm_settings): use odf_add_bool
2548 2011-02-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2550         * openoffice-read.c (odf_validation_new_list): also read
2551         expressions as allowed in ODF1.2
2552         (odf_validations_translate): add a few stubs for other
2553         validation types.
2554         * openoffice-write.c (odf_write_objects): don't write
2555         validation combos
2556         (odf_write_cell): write validation name
2557         (odf_validation_general_attributes): new
2558         (odf_validation_in_list): new
2559         (odf_print_spreadsheet_content_validations): new
2560         (odf_print_spreadsheet_content_prelude): connect the above
2562 2011-02-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2564         * openoffice-read.c (odf_validation_t): add field
2565         (odf_validation_new_list): new
2566         (odf_validations_translate): call odf_validation_new_list
2567         if applicable
2568         (odf_validation_new): initialize new field
2569         (odf_validation): determine name space
2571 2011-02-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2573         * openoffice-read.c (odf_validations_translate): new
2574         (odf_validation_t): new
2575         (odf_validation_free): new
2576         (odf_validation_new): new
2577         (odf_validation): new
2578         (oo_cell_start): read validation name
2579         (opendoc_content_dtd): connect odf_validation
2580         (openoffice_file_open): initialize and free validation hash
2582 2011-02-02  Morten Welinder <terra@gnome.org>
2584         * Release 1.10.13
2586 2010-12-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2588         * openoffice-read.c (oo_cellref_parse): enlarge the sheet if we
2589         encounter a reference off the sheet.
2591 2010-11-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2593         * openoffice-write.c (odf_write_cell): Write office:string-value.
2594         The element content may differ also for strings depending on format.
2595         * openoffice-read.c (oo_cell_start): ODF uses office:string-value,
2596         while oldstyle OOo uses table:string-value.
2597         (odf_text_content): new
2598         (styles_dtd): connect handlers for children of number:text-style
2600 2010-11-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2602         * openoffice-write.c (odf_write_style_goformat_name): also write
2603         data styles for text formats
2605 2010-11-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2607         * openoffice-read.c (styles_dtd): connect style:map handling to
2608         number:text-style since OOo seems to use maps attached to
2609         number:text-style to render dates that it flagged as numbers.
2611 2010-11-25  Morten Welinder <terra@gnome.org>
2613         * Release 1.10.12
2615 2010-11-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2617         * plugin.xml.in: we are supporting ots not odt files. [#635111]
2619 2010-11-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2621         * openoffice-write.c (odf_write_sheet): get the correct extent
2622         Fixes [#634135]
2624 2010-10-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2626         * openoffice-read.c (od_draw_control_start): use oc->as_index
2627         (odf_form_control): read the list-linkage-type
2628         * openoffice-write.c (odf_write_sheet_control_list): write
2629           the list-linkage-type
2631 2010-10-01  Morten Welinder <terra@gnome.org>
2633         * Release 1.10.11
2635 2010-09-20  Morten Welinder  <terra@gnome.org>
2637         * openoffice-read.c: Use OO_NS_CHART_OOO only conditionally.
2639 2010-09-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2641         * openoffice-read.c (oo_style_prop_cell): read strike-through
2642           info
2644 2010-09-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2646         * openoffice-read.c (odf_created_by_gnumeric): avoid null
2647           pointer on incomplete ODF file.
2649 2010-09-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2651         * openoffice-read.c (odf_created_by_gnumeric): new
2652         (openoffice_file_open): set saveinfo
2654 2010-09-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2656         * openoffice-read.c (od_style_prop_chart): add
2657            OO_NS_STYLE "rotation-angle"
2658         * openoffice-write.c (odf_write_axis_categories): new
2659         (odf_write_axis): call odf_write_axis_categories
2660         (odf_write_generic_axis): ditto
2661         (odf_write_axis_ring): deleted, use odf_write_generic_axis
2663 2010-09-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2665         * openoffice-read.c (oo_chart_axis): apply style info to gostyle
2667 2010-09-15  Morten Welinder  <terra@gnome.org>
2669         * openoffice-read.c (od_draw_control_start): Fix UMR.
2670         (odf_config_item): Fix type confusion.
2672 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2674         * openoffice-read.c (opendoc_content_dtd): text:p can
2675           occur in draw:line
2676         (od_style_prop_chart): ensure fields are NULL.
2678 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2680         * openoffice-read.c (od_style_prop_chart): check for NULL
2681         * openoffice-write.c (odf_write_line): an unknown
2682           anchor->base.direction should behave like
2683           GOD_ANCHOR_DIR_UNKNOWN
2685 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2687         * openoffice-read.c (oo_marker_free): new
2688         (odf_get_arrow_marker): use the imported markers
2689         (oo_marker): new
2690         (openoffice_file_open): new hash...
2692 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2694         * openoffice-read.c (od_style_prop_chart): this can be called
2695           by default cell styles
2697 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2699         * openoffice-read.c (od_style_prop_chart): add attributes
2700         (odf_get_arrow_marker): new
2701         (odf_line): add arrows
2703 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2705         * openoffice-read.c (oo_style): handle graphics styles
2706         (oo_style_prop): ditto
2707         (pop_hash): new
2708         (od_draw_object): save existing style information
2709         (odf_so_filled): apply style
2710         (odf_line): ditto
2711         (openoffice_file_open): initialize new fields
2713 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2715         * openoffice-write.c (odf_match_arrow_markers): new
2716         (odf_get_arrow_marker_name): new
2717         (odf_write_sheet_object_line_style): new
2718         (odf_write_sheet_object_styles): write line styles
2719         (odf_write_line): write marker info
2720         (odf_write_styles): write arrow marker info
2721         (odf_write_arrow_marker_info): new
2722         (openoffice_file_save_real): create and delete the arrow
2723           hashes
2725 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2727         * openoffice-write.c (odf_write_table_styles): fix leak
2728         (odf_write_sheet_object_style): new
2729         (odf_write_sheet_object_styles): new
2730         (odf_write_so_filled): write style name
2731         (odf_write_content): cause sheet object styles to be written
2732         (odf_write_styles): write gradient, hatch, etc. info
2733         (odf_write_graphs): we create the hashes elsewhere and later
2734           just empty, don't delete these hashes
2735         (openoffice_file_save_real): create and delete the hashes here.
2737 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2739         * openoffice-read.c (odf_so_filled): new
2740         (odf_rect): new
2741         (odf_ellipse): new
2742         (odf_line): new
2743         (opendoc_content_dtd): connect the above
2744         * openoffice-write.c (odf_write_line): fix the placement of the line
2746 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2748         * openoffice-read.c (od_draw_control_start): handle frames
2749         (odf_form_control): handle form:generic-control (our frames)
2750         (odf_form_generic): new
2751         (odf_form_button_end): rename to odf_form_control_end
2752         (odf_control_property): new
2753         (opendoc_content_dtd): connect the above
2755 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2757         * openoffice-read.c (opendoc_content_dtd): add more elements
2758         * openoffice-write.c (odf_write_frame_size): new (and use it where
2759           appropriate)
2760         (odf_write_image): new
2761         (odf_write_graph): new
2762         (odf_write_frame): restrict to frames
2763         (odf_write_control): new
2764         (odf_write_so_filled): new
2765         (odf_write_line): new
2766         (odf_write_objects): call the above
2767         (odf_write_sheet_control_frame): new
2768         (odf_write_sheet_controls): write frames
2770 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2772         * openoffice-read.c (od_draw_control_start): handle button
2773         (odf_form_control): save OOControl for subelements
2774         (odf_form_button): new
2775         (odf_form_button_end): new
2776         (odf_button_event_listener): new
2777         (opendoc_content_dtd): connect the above
2778         * openoffice-write.c (odf_write_sheet_control_content): assume the
2779           GnmExprTop reference; change all callers
2780         (odf_write_sheet_control_linked_cell): ditto
2781         (odf_write_sheet_control_button): new
2782         (odf_write_sheet_controls): write toggle button
2784 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2786         * openoffice-read.c (od_draw_control_start): handle combobox
2787         (odf_form_combobox): new
2788         (opendoc_content_dtd): connect odf_form_combobox
2789         * openoffice-write.c (odf_sheet_control_start_element): new
2790         (odf_write_sheet_control_*): use odf_sheet_control_start_element
2791         (odf_write_sheet_controls): write combo boxes
2793 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2795         * openoffice-read.c (od_draw_control_start): handle listboxes
2796         (oo_control_free): free new source_cell_range field
2797         (odf_form_control): handle new attributes
2798         (odf_form_listbox): new
2799         (opendoc_content_dtd): connect odf_form_listbox
2800         * openoffice-write.c (odf_write_sheet_control_conten): new
2801         (odf_write_sheet_control_list): new
2802         (odf_write_sheet_controls): also write listboxes
2804 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2806         * openoffice-read.c (od_draw_control_start): handle spinbuttons
2807           and sliders
2808         (oo_control_free): free new implementation field
2809         (odf_form_control): handle spinbuttons and sliders
2810         (odf_form_value_range): ditto
2811         * openoffice-write.c (odf_write_sheet_control_scrollbar):
2812           write the form:control-implementation and add argument
2813           indicating the control type
2814         (odf_write_sheet_controls): also write sliders and spinbuttons
2816 2010-09-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2818         * openoffice-read.c (od_draw_control_start): use gnm:value-type
2819           if available
2820         (oo_control_free): free value_type field
2821         (odf_form_control): read gnm:value-type
2822         * openoffice-write.c (odf_write_sheet_control_radio_button): new
2823         (odf_write_sheet_controls): connect odf_write_sheet_control_radio_button
2825 2010-09-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2827         * openoffice-read.c (od_draw_control_start): oc->value must be a
2828           string; handle radio button
2829         (oo_control_free): free value field
2830         (odf_form_control): form:value may be a string
2831         (odf_form_radio): new
2832         (opendoc_content_dtd): connect odf_form_radio
2834 2010-09-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2836         * openoffice-read.c (od_draw_control_start): handle checkboxes
2837         (oo_control_free): free new label field
2838         (odf_form_control): new
2839         (odf_form_value_range): use odf_form_control
2840         (odf_form_checkbox): new
2841         (opendoc_content_dtd): connect odf_form_checkbox
2842         * openoffice-write.c (odf_write_sheet_control_linked_cell): new
2843         (odf_write_sheet_control_scrollbar): use
2844           odf_write_sheet_control_linked_cell
2845         (odf_write_sheet_control_checkbox): new
2846         (odf_write_sheet_controls): also handle checkboxes
2848 2010-09-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2850         * openoffice-read.c (odf_form_value_range): fix attribute name and
2851           also read gnm:linked_cell
2852         * openoffice-write.c (odf_write_frame): write frame or control
2853         (odf_write_sheet_controls_get_id): new
2854         (odf_write_sheet_control_scrollbar): new
2855         (odf_write_sheet_controls): new
2856         (openoffice_file_save_real): initialize and finalize controls hash
2858 2010-09-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2860         * openoffice-read.c (od_draw_control_start): new
2861         (oo_control_free): new
2862         (odf_form_value_range): new
2863         (opendoc_content_dtd): connect od_draw_control_start
2864         (openoffice_file_open): initialize and finalize controls hash
2866 2010-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2868         * openoffice-read.c (oo_chart_title): also handle legend titles
2869         (oo_chart): initialize chart.legend
2870         (oo_legend_end): new
2871         (oo_legend): set chart.legend
2872         (opendoc_content_dtd): make connections
2874 2010-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2876         * openoffice-write.c (odf_write_title): add argument whether to allow
2877           subelements; change all callers
2878         (odf_write_plot): write legend title
2880 2010-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2882         * openoffice-read.c (oo_legend): read style-name
2883         * openoffice-write.c (odf_write_plot): write style-name
2885 2010-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2887         * openoffice-read.c (odf_get_formula_type): new
2888         (oo_cell_start): use odf_get_formula_type
2889         (oo_plot_series): fix handling of series label
2891 2010-09-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2893         * openoffice-write.c (odf_write_gnm_settings): new
2894         (odf_write_settings): call odf_write_gnm_settings
2896 2010-09-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2898         * openoffice-read.c (unset_gvalue): new
2899         (destroy_gvalue): new
2900         (odf_config_item_end): new
2901         (odf_config_item): new
2902         (odf_config_stack_pop): new
2903         (odf_config_item_set): new
2904         (dump_settings_hash): new
2905         (odf_has_gnm_foreign): new
2906         (odf_apply_ooo_table_config): new
2907         (odf_apply_ooo_config): new
2908         (opencalc_settings_dtd): rename to opendoc_settings_dtd and rewrite
2909         (openoffice_file_open): handle settings.xml
2911 2010-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2913         * openoffice-write.c (odf_write_fill_images_info): switch order of arguments
2914         (odf_write_gradient_info): switch order of arguments
2915         (odf_write_hatch_info): switch order of arguments
2916         (odf_write_fill_images): switch order of arguments
2917         (odf_match_gradient): turn into GEqualFunc
2918         (odf_match_image): ditto
2919         (odf_match_pattern): ditto
2920         (odf_get_gradient_name): switch keys and values in hatch
2921         (odf_get_image_name): ditto
2922         (odf_get_pattern_name): ditto
2923         (odf_write_graphs):  change gradient, image-fill and pattern hashes
2925 2010-09-04  Morten Welinder <terra@gnome.org>
2927         * Release 1.10.10
2929 2010-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2931         * openoffice-write.c (odf_get_gradient_name): create a new name for each
2932         item
2933         (odf_get_image_name): ditto
2934         (odf_get_pattern_name): ditto
2936 2010-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2938         * openoffice-write.c (odf_write_ooo_settings): new
2939         (odf_write_settings): call odf_write_ooo_settings
2941 2010-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2943         * openoffice-read.c (OOSheetStyle): add tab colors
2944         (oo_table_start): handle tab colors
2945         (oo_style_prop_table): ditto
2946         * openoffice-write.c (odf_write_table_style): write tab colors (as
2947           foreign elements)
2948         (table_style_name): give each table its own style.
2950 2010-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2952         * openoffice-read.c (odf_apply_style_props): stroke-color attribute
2953           added
2954         (od_style_prop_chart): ditto
2955         * openoffice-write.c (odf_write_gog_style_graphic): write stroke-color
2956           attribute
2958 2010-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2960         * openoffice-read.c (od_draw_image): don't assume that we know the
2961           directory name
2962         (opendoc_content_dtd): OOo's images contain a blank <text:p\> element
2964 2010-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2966         * openoffice-read.c (odf_apply_style_props): more attributes, handle
2967           image fill
2968         (oo_fill_image): new
2969         (od_style_prop_chart): new attributes
2970         (od_draw_object): store object directory name
2971         (openoffice_file_open): new hash
2973 2010-09-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2975         * openoffice-write.c (odf_write_fill_images_info): new
2976         (odf_write_graph_styles): connect odf_write_fill_images_info
2977         (odf_write_manifest): include fill-image files
2978         (odf_match_image): new
2979         (odf_get_image_name): new
2980         (odf_write_gog_style_graphic): write image fill
2981         (_gsf_gdk_pixbuf_save): new
2982         (odf_write_fill_images): new
2983         (odf_write_graphs): connect odf_write_fill_images
2984         (openoffice_file_save_real): delay writing of manifest until we know
2985           all files to be included
2987 2010-09-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2989         * openoffice-read.c (odf_apply_style_props): new gradient attributes
2990         (oo_dash): add warning
2991         (oo_gradient): new
2992         (od_style_prop_chart): new gradient attributes
2993         * openoffice-write.c (odf_write_gradient_info): new
2994         (odf_match_gradient): new
2995         (odf_get_gradient_name): new
2996         (odf_write_gog_style_graphic): add gradients
2998 2010-08-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3000         * openoffice-read.c (odf_apply_style_props): switch auto-colors off
3001         * openoffice-write.c (odf_write_standard_series): increase index
3003 2010-08-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3005         * openoffice-read.c (oo_dash): new
3006         (oo_parse_angle): permit absent unit
3007         (odf_match_dash_type): really try to match
3008         (oo_hatch): fix namespace
3010 2010-08-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3012         * openoffice-read.c (odf_apply_style_props): new attribute stroke-width
3013         (oo_hatch): use gnm_float, not double
3014         (oo_prop_new_float): rename to oo_prop_new_double and change all callers
3015         (od_style_prop_chart): handle stroke-width
3016         * openoffice-write.c (odf_write_gog_style_graphic): write stroke-width
3018 2010-08-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3020         * openoffice-read.c (odf_apply_style_props): don't use gnm-fore-color,
3021           use the stored hatch description
3022         (oo_parse_angle): new
3023         (oo_attr_angle): new
3024         (oo_hatch): new
3025         * openoffice-write.c (odf_write_gog_style_graphic): don't use gnm:fore-color
3027 2010-08-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3029         * openoffice-read.c: change these_plot_styles GSList into 2 style fields
3030           and change access throughout.
3031         (oo_chart_style_to_series): check for null style
3032         (oo_chart_axis): do not use any inherited style
3033         (oo_plot_area): chnage access to styles
3034         (oo_plot_series): store style for data point
3035         (oo_plot_series_end): drop remembered style
3036         (oo_chart): this style does not participate in the inheritance
3038 2010-08-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3040         * openoffice-read.c (get_styles_dtd): new
3041         (odf_apply_style_props): drop gnm-back-color
3042         (od_style_prop_chart): drop gnm:back-color
3043         (od_draw_object): read the object's styles.xml
3044         (styles_dtd): add "stroke-dash" and "hatch"
3045         * openoffice-write.c (odf_write_gog_style_graphic): background color
3046           can be stored in draw:fill-color
3048 2010-08-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3050         * openoffice-read.c (odf_match_dash_type): move
3051         (odf_apply_style_props): more attirbutes
3052         (oo_prop_list_to_series): rename to oo_chart_style_to_series and
3053           move code to odf_apply_style_props
3054         (od_style_prop_chart) : new attributes
3055         (oo_chart_style_free): drop series_props
3056         * openoffice-write.c (odf_write_standard_series): use gog_styles
3057         (odf_write_box_series): ditto
3058         (odf_write_gantt_series): ditto
3059         (odf_write_bubble_series): ditto
3060         (odf_write_min_max_series): ditto
3061         (odf_write_interpolation_attribute): add argument and change all callers
3062         (odf_write_scatter_series_style): deleted
3063         (odf_write_scatter_series_style_graphic): deleted
3064         (odf_write_gog_style_graphic): new atributes
3065         (odf_write_gog_style_chart): new atributes
3066         (odf_write_plot): use gog_styles instead of series named styles
3068 2010-08-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3070         * openoffice-read.c (odf_apply_style_props): add xin
3071           argument and change all callers; handle hatches
3072         (od_style_prop_chart): add attributes
3074 2010-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3076         * openoffice-write.c (odf_write_hatch_info): new
3077         (odf_write_graph_styles): write hatches
3078         (odf_match_pattern): new
3079         (odf_get_pattern_name): new
3080         (odf_write_gog_style_graphic): consider the true fill type
3081         (odf_write_graphs): initialize and finalize hatch hash
3083 2010-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3085         * openoffice-read.c (oo_cell_start): no need to duplicate the style name
3086         (od_style_prop_chart): new atribute
3087         (oo_plot_series): zero the data point count
3088         (oo_series_pt): implement
3089         * openoffice-write.c (cmp_data_points): new
3090         (odf_write_standard_series): write data points
3091         (odf_write_pie_point): new
3092         (odf_fill_chart_props_hash): connect odf_write_pie_point
3094 2010-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3096         * openoffice-write.c (odf_write_plot): write marker info for
3097           polar plots
3099 2010-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3101         * openoffice-read.c (oo_chart_axis): OO_PLOT_RADARAREA and
3102           OO_PLOT_POLAR behave like OO_PLOT_RADAR
3103         * openoffice-write.c (odf_write_plot): fix axis names for
3104           GogPolarPlot
3106 2010-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3108         * openoffice-read.c (odf_store_data): new
3109         (od_series_regression): handle upper and lower bounds of
3110           regression line
3111         * openoffice-write.c (odf_write_data_element): new
3112         (odf_write_data_attribute): new
3113         (odf_write_standard_series): use the above and write upper and
3114           lower bounds of regression line
3116 2010-08-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3118         * openoffice-read.c (oo_prop_list_free): use go_slist_free_custom
3119         (od_style_prop_chart): new attributes
3120         (odf_gog_check_position): new
3121         (odf_gog_plot_area_check_position): new
3122         (oo_plot_area): check position
3123         (od_series_reg_equation): ditto
3124         * openoffice-write.c (odf_write_gog_position): new
3125         (odf_write_gog_plot_area_position): new
3126         (odf_write_standard_series): write equation position
3127         (odf_write_plot): write plot area size
3129 2010-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3131         * openoffice-read.c (od_series_reg_equation): new
3132         (od_series_regression): store regression line
3133         (opendoc_content_dtd): connect od_series_reg_equation
3134         * openoffice-write.c (odf_write_plot_style_*): moved
3135         (odf_write_standard_series): write regression equation
3137 2010-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3139         * openoffice-read.c (od_style_prop_chart); new properties
3140         (od_series_regression): new
3141         (opendoc_content_dtd): connect od_series_regression
3142         * openoffice-write.c (odf_write_standard_series): write regression
3143         (odf_write_plot_style_uint): new
3144         (odf_write_standard_axes_styles): remove unused varaible
3145         (odf_write_*_reg): new
3146         (odf_fill_chart_props_hash): add various regression method objects
3148 2010-08-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3150         * openoffice-read.c (oo_prop_list_apply_to_axis): new
3151         (od_style_prop_chart): new attributes
3152         (oo_chart_axis): call oo_prop_list_apply_to_axis instead of
3153           (oo_prop_list_apply
3154         * openoffice-write.c (odf_write_standard_axes_styles): don't switch
3155           axes (otherwise we switch them twice: when we write the style and
3156           when we write the axes proper).
3158 2010-08-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3160         * openoffice-read.c (od_style_prop_chart): new attributes
3161         * openoffice-write.c (odf_write_axis_style): new attributes
3163 2010-08-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3165         * openoffice-write.c (odf_write_axis_style): split into
3166           odf_write_axis_style and df_write_generic_axis_style
3167         (odf_write_dropbar_axes_styles): delete
3168         (odf_write_circle_axes_styles): just determine the style names
3169         (odf_write_radar_axes_styles): ditto
3170         (odf_write_standard_axes_styles): ditto
3171         (odf_write_surface_axes_styles): ditto
3172         (odf_write_plot): adjust switch board and use the gog_styles
3173         (odf_fill_chart_props_hash): add GogAxis
3175 2010-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3177         * openoffice-read.c (oo_chart_axis): radar plots have different types
3178         * openoffice-write.c (odf_write_plot): radar plots should write their
3179           properties and children
3181 2010-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3183         * openoffice-read.c (oo_go_error_info_new_vprintf): new
3184         (oo_warning): create hierachical error information
3185         (openoffice_file_open): initialize and finalize error info
3187 2010-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3189         * openoffice-read.c: minor adjustments to oo_warning error strings.
3191 2010-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3193         * openoffice-read.c (oo_warning): assuming a new goffice, all
3194           errors can be filed
3196 2010-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3198         * openoffice-read.c (od_style_prop_chart): add attributes
3199         * openoffice-write.c (odf_get_gog_style_name): shorten names
3200         (odf_write_plot_style): drop unused argument and add attributes
3201         (odf_write_gog_style_graphic): check for NULL style
3202         (odf_write_gog_style_text): ditto
3203         (odf_write_gog_style_chart): handle plots
3204         (odf_write_plot): use the plot syle written elsewhere
3206 2010-08-23  Morten Welinder  <terra@gnome.org>
3208         * openoffice-read.c (od_draw_image): Unref the image zip member.
3209         (openoffice_file_open): Plug leak.  Fixes part of #627759.
3211 2010-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3213         * openoffice-read.c (oo_warning): fix return value
3214         (oo_series_droplines): new
3215         (opendoc_content_dtd): connect oo_series_droplines
3216         * openoffice-write.c (odf_get_gog_style_name): move and extend
3217         (odf_get_gog_style_name_from_obj): ditto
3218         (odf_write_drop_line): new
3219         (odf_write_standard_series): write drop lines
3220         (odf_write_gog_style): extend
3221         (odf_write_drop): new
3222         (odf_fill_chart_props_hash): new
3223         (odf_write_graphs): fine-tune progress reporting
3224         (openoffice_file_save_real): complete progress
3226 2010-08-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3228         * openoffice-write.c (odf_write_graph_content): fix role request
3229           (capitalization of role name)
3231 2010-08-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3233         * openoffice-read.c (oo_plot_area): handle OO_PLOT_UNKNOWN:
3234         (oo_chart): set type to OO_PLOT_UNKNOWN on unknown charts and raise
3235           a warning
3236         (oo_warning): make sure we are showing the first error
3238 2010-08-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3240         * openoffice-read.c (oo_plot_series): Also read
3241           gnm:label-cell-expression
3242         * openoffice-write.c (odf_update_progress): new
3243         (odf_write_content): call odf_update_progress
3244         (odf_write_label_cell_address): new
3245         (odf_write_standard_series): use odf_write_label_cell_address
3246         (odf_write_box_series): ditto
3247         (odf_write_plot_style): make sure we are using the correct type,
3248           add attributes
3249         (odf_write_surface_plot_style): replace with odf_write_plot_style
3250         (odf_write_xl_surface_plot_style): ditto
3251         (odf_write_plot): simplify
3252         (odf_write_graph_content): make sure we are finding a chart and plot,
3253           and write a fake if there is none.
3254         (odf_write_images): update progress
3255         (odf_write_graphs): update progress
3256         (openoffice_file_save_real): setup progress
3258 2010-08-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3260         * openoffice-write.c (odf_write_plot_style): new
3261         (odf_write_plot_style_int): new
3262         (odf_write_plot_style_double): new
3263         (odf_write_plot_style_double_percent): new
3264         (odf_write_plot_style_bool): new
3265         (odf_write_plot_style_from_bool): new
3266         (odf_write_scatter_chart_style_graphic): deleted
3267         (odf_write_surface_chart_style): renamed odf_write_surface_plot_style
3268         (odf_write_xl_surface_chart_style): renamed odf_write_xl_surface_plot_style
3269         (odf_write_bar_col_plot_style): replaced by odf_write_plot_style
3270         (odf_write_pie_plot_style): ditto
3271         (odf_write_box_plot_style): ditto
3272         (odf_write_ring_plot_styl): ditto
3273         (odf_write_line_plot_style): ditto
3274         (df_write_scatter_chart_style): ditto
3275         (odf_write_contour_chart_style): ditto
3276         (odf_write_plot): some adjustments
3278 2010-08-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3280         * openoffice-read.c (oo_attr_int_range): new
3281         (oo_attr_pos_int): delete and replace all of its occurrences by
3282           oo_attr_int_range
3283         (oo_attr_non_neg_int): ditto
3284         * openoffice-write.c (odf_write_bar_col_plot_style): more properties
3285         (odf_write_line_chart_style): add properties and rename to
3286           odf_write_line_plot_style
3288 2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3290         * openoffice-read.c (oo_attr_font_weight): new
3291         (odf_apply_style_props): apply additional props
3292         (oo_style_prop_cell): use oo_attr_font_weight
3293         (od_style_prop_chart): handle additional props
3294         * openoffice-write.c (odf_write_gog_style_text): write more
3295           attributes
3297 2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3299         * openoffice-read.c (odf_apply_style_props): handle font-size
3300         (oo_parse_distance): change argument to gnm_float and change all callers
3301         (od_style_prop_chart): handle font-size
3302         * openoffice-write.c (odf_write_gog_style_text): write font-size
3304 2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3306         * openoffice-read.c (oo_date_text_end_append): new
3307         (oo_date_text_end): take care of %-signs if we are in a percentage style
3308         (odf_number_percentage_style): new
3309         (opendoc_content_dtd): connect odf_number_percentage_style
3311 2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3313         * openoffice-read.c: mark all oo_warning texts for translation
3314         (oo_attr_non_neg_int): don't ignore excess values but clamp to max.
3315         (odf_apply_style_props): moved and handle text-rotation-angle
3316         (od_style_prop_chart): handle text-rotation-angle
3317         (oo_chart_title): handle style and ODF 1.0 bug
3318         (oo_chart_title_end): handle style
3319         (opendoc_content_dtd): add text:tab
3320         * openoffice-write.c (odf_get_gog_style_name): new
3321         (odf_get_gog_style_name_from_obj): new
3322         (odf_write_title): write style-name
3323         (odf_write_gog_style_graphic): new
3324         (odf_write_gog_style_text): new
3325         (odf_write_gog_style): new
3326         (odf_write_gog_styles): new
3327         (odf_write_plot): write gog_styles and use gog_styles for wall
3329 2010-08-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3331         * openoffice-read.c (odf_go_string_append_c_n): new
3332         (oo_attr_non_neg_int): new
3333         (oo_date_minutes): use odf_go_string_append_c_n
3334         (oo_date_seconds): use odf_go_string_append_c_n and oo_attr_non_neg_int
3335         (oo_date_style): ditto
3336         (odf_fraction): ditto
3337         (odf_number): ditto
3338         (odf_scientific): ditto
3339         (oo_style_prop_cell): use oo_attr_non_neg_int
3340         (opendoc_content_dtd): add data-pilot items
3342 2010-08-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3344         * openoffice-read.c (OOChartStyle): new field
3345         (oo_style): initalize new field
3346         (od_style_prop_chart): new attributes
3347         (odf_apply_style_props): new
3348         (oo_chart_wall): implement
3349         (oo_chart_style_free): finalize new field
3350         * openoffice-write.c (odf_go_color_to_string): new
3351         (gnm_xml_out_add_hex_color): use odf_go_color_to_string
3352         (odf_write_plot): Backplane belongs to chart, write wallstyle
3354 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3356         * openoffice-read.c (oo_chart_title_end): add to the correct object. That
3357           might be an axis.
3358         (oo_chart_axis_end): new
3359         (opendoc_content_dtd): connect oo_chart_axis_end
3360         * openoffice-write.c (odf_write_label): new
3361         (odf_write_axis): also write label
3363 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3365         * openoffice-read.c (oo_style): don't ignore non-default styles without
3366           name
3367         (oo_style_end): dispose of them here
3368         (cur_style): include the type in the struct and change the references
3369           throughout
3371 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3373         * openoffice-read.c (odf_number_style_end): check the return value
3374           of the style hash searches, some styles might be missing.
3376 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3378         * openoffice-read.c (oo_table_start): don't expect the attributes to
3379           appear in a nice order. In fact don't expect the table name to
3380           appear at all!
3382 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3384         * openoffice-write.c (odf_write_dash_info): new
3385         (odf_write_graph_styles): new
3386         (odf_write_scatter_series_style_graphic): save dash information
3387         (odf_write_graphs): write styles.xml for each graph
3389 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3391         * openoffice-write.c (odf_write_scatter_series_style_graphic): write
3392           dash info
3393         * openoffice-read.c (odf_match_dash_type): new (stub)
3394         (oo_prop_list_to_series): handle dashes, add argument and change all
3395           callers
3397 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3399         * openoffice-write.c (odf_write_scatter_chart_style): split into
3400         odf_write_scatter_chart_style and odf_write_scatter_chart_style_graphic
3401         (odf_write_scatter_series_style): split into
3402           odf_write_scatter_series_style and
3403           odf_write_scatter_series_style_graphic
3404         (odf_write_plot): we need to separate chart-properties and
3405           graphic-properties
3407 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3409         * openoffice-read.c (oo_prop_list_to_series): also set properties
3410         (oo_prop_list_has): new
3411         (oo_prop_list_has_three_dimensional): replace with oo_prop_list_has
3412         (oo_prop_list_has_multi_series): replace with oo_prop_list_has
3413         (od_style_prop_chart): handle interpolation attribute
3414         * openoffice-write.c (odf_write_interpolation_attribute): new
3415         (odf_write_scatter_chart_style): use odf_write_interpolation_attribute
3416         (odf_write_scatter_series_style): ditto
3418 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3420         * openoffice-write.c (odf_write_line_chart_style): check the plot
3421         (odf_write_scatter_chart_style): ditto
3422         (odf_get_marker): new
3423         (odf_write_scatter_series_style): handle symbol-type
3424           and symbol-name
3425         (odf_write_plot): add argument to odf_write_series_style
3426         * openoffice-read.c (oo_prop_list_to_series): handle symbol-type
3427           and symbol-name
3428         (od_style_prop_chart): ditto
3430 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3432         * openoffice-write.c (odf_write_scatter_series_style): expand
3433         * openoffice-read.c (oo_prop_list_to_series): new
3434         (od_style_prop_chart): save series properties
3435         (oo_plot_series): reorganize
3436         (oo_chart_style_free): ispose of series properties
3438 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3440         * openoffice-write.c (odf_write_axis_grid): check for NULL axis
3441         (odf_write_axis): only consider non-NULL axes
3442         (odf_write_generic_axis): NULL-axes case
3443         (odf_write_plot): use odf_write_generic_axis if appropriate
3445 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3447         * openoffice-write.c (odf_write_one_axis_grid): new
3448         (odf_write_axis_grid): new
3449         (odf_write_axis): call odf_write_axis_grid
3451 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3453         * openoffice-read.c (od_chart_axis_categories): new
3454         (oo_plot_series): use the chart:categories
3455         (oo_chart_end): new
3456         (opendoc_content_dtd): connect the above
3458 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3460         * openoffice-write.c (oo_attr_pos_int): new
3461         (oo_col_start): use oo_attr_pos_int instead of oo_attr_int for repeat
3462           counts
3463         (oo_row_start): ditto
3464         (oo_cell_start): ditto
3465         (oo_covered_cell_start): ditto
3467 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3469         * openoffice-write.c (odf_write_axis_ring): strip brackets
3470         (odf_write_plot): make sure we export the elements in the correct order.
3472 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3474         * openoffice-read.c (oo_cell_start): be more careful with the
3475           size of array functions. They could reach beyond the current
3476           sheet size.
3478 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3480         * openoffice-write.c (odf_write_axis): add argument
3481         (odf_write_axis_ring): new
3482         (odf_write_title): be more careful with picking a sheet
3483         (odf_write_plot): attach odf_write_axis_ring
3485 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3487         * openoffice-read.c (oo_chart_title): renamed to
3488           oo_chart_title_text
3489         (oo_chart_title): new
3490         (oo_chart_title_end): new
3491         (opendoc_content_dtd): connect the above
3492         * openoffice-write.c (odf_write_title): new
3493         (odf_write_plot): use odf_write_title for title and subtitle
3495 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3497         * openoffice-read.c (oo_date_style_end): set accum to NULL
3498           after freeing
3499         (odf_number_style): set all fields
3500         (odf_number_style_end): check for NULL name
3502 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3504         * openoffice-read.c (oo_date_style): set all fields
3505         (oo_date_style_end): check for NULL name
3507 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3509         * openoffice-write.c (odf_write_plot): export chart title
3511 2010-08-16  Morten Welinder <terra@gnome.org>
3513         * Release 1.10.9
3515 2010-08-16  Morten Welinder  <terra@gnome.org>
3517         * openoffice-read.c (oo_extent_sheet_rows, oo_extent_sheet_cols):
3518         Avoid criticals.
3520 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3522         * openoffice-write.c (odf_write_plot): export legend position
3524 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3526         * openoffice-write.c (odf_write_plot): export legend
3528 2010-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3530         * openoffice-read.c (od_style_prop_chart): add chart:pie-offset
3531         * openoffice-write.c (odf_write_pie_plot_style): use chart:pie-offset
3533 2010-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3535         * openoffice-read.c (oo_attr_percent): new
3536         (od_style_prop_chart): add more attributes
3537         * openoffice-write.c (odf_write_pie_plot_style): new
3538         (odf_write_ring_plot_style): extent
3539         (odf_write_plot): connect odf_write_pie_plot_style
3541 2010-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3543         * openoffice-read.c (od_draw_frame): rename to od_draw_frame_start,
3544           initialize chart.so
3545         (od_draw_frame_end): add frame content to sheet
3546         (od_draw_object): check whether we already have frame content
3547         (od_draw_image): ditto
3548         (od_draw_text_box): ditto
3549         (od_draw_text_box_end): deleted and code moved to od_draw_frame_end
3550         (opendoc_content_dtd): add od_draw_frame_end and delete od_draw_text_box_end
3552 2010-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3554         * openoffice-write.c (GnmOOExport): rename objects field to graphs
3555           and change throughout; add images field
3556         (odf_write_frame): handle images
3557         (odf_write_content): write images
3558         (odf_write_image_manifest): new
3559         (odf_write_manifest): connect odf_write_image_manifest
3560         (odf_write_images): new
3561         (openoffice_file_save_real): initialize and finalize  new hash and
3562           cause images to be written
3564 2010-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3566         * openoffice-read.c (OOParseState): add debug field and use
3567           throughout instead of a preparser def or fixed #if 0.
3568         (oo_table_start): check for duplicate sheet names
3569         (openoffice_file_open): initialize new field
3571 2010-08-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3573         * openoffice-write.c (odf_chart_type_t): add ODF_GNM_BOX
3574         (odf_write_box_series): new
3575         (odf_write_box_plot_style): new
3576         (odf_write_plot): add ODF_GNM_BOX
3577         * openoffice-read.c (oo_prop_new_float): new
3578         (od_style_prop_chart): add new properties
3579         (oo_plot_area): handle OO_PLOT_BOX
3580         (oo_chart): add gnm:box
3582 2010-08-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3584         * openoffice-read.c (oo_plot_area_end): fall back to
3585           chart:plot-area table:cell-range-address if no series were
3586           directly specified.
3588 2010-08-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3590         * openoffice-read.c (oo_chart_axis): check for NULL style_name
3592 2010-07-30  Morten Welinder <terra@gnome.org>
3594         * Release 1.10.8
3596 2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3598         * openoffice-read.c (oo_style_prop_cell): handle
3599           style:text-underline-type
3600         * openoffice-write.c (odf_write_style_text_properties): add
3601           UNDERLINE_*_LOW
3603 2010-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3605         * openoffice-read.c (oo_db_range_start): If this filter range
3606           has a name define it as a named-range. Some files created
3607           by OOo depend on it.
3609 2010-07-08  Morten Welinder  <terra@gnome.org>
3611         * openoffice-read.c (odf_scientific): Use go_format_details_new
3612         and _free.
3614 2010-06-28  Morten Welinder <terra@gnome.org>
3616         * Release 1.10.7
3618 2010-06-16  Morten Welinder <terra@gnome.org>
3620         * Release 1.10.6
3622 2010-05-30  Morten Welinder <terra@gnome.org>
3624         * Release 1.10.5
3626 2010-05-20  Morten Welinder <terra@gnome.org>
3628         * Release 1.10.4
3630 2010-05-07  Morten Welinder <terra@gnome.org>
3632         * Release 1.10.3
3634 2010-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3636         * openoffice-write.c (openoffice_file_save_real): use a more
3637           appropriate time format
3639 2010-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3641         * openoffice-write.c (odf_write_cell): only retrieve the value
3642           as gnm_float if we really need to.
3643         * openoffice-read.c (oo_cell_start): handle dates and times in
3644           GENERAL format
3645         (openoffice_file_open): setup and destroy new hashes
3647 2010-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3649         * openoffice-write.c (odf_write_cell): write times and dates
3650           correctly as time-value or date-value
3651         (openoffice_file_save_real): fix  time_fmt and setup
3652           date_long_fmt
3654 2010-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3656         * openoffice-write.c (odf_write_cell): write times and dates as
3657           time-value or date-value
3658         (openoffice_file_save_real): initialize and dispose of time_fmt
3659           and date_fmt
3661 2010-04-16  Morten Welinder <terra@gnome.org>
3663         * Release 1.10.2
3665 2010-04-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3667         * openoffice-read.c (odf_write_frame): write a dimple textbox
3669 2010-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3671         * openoffice-read.c (od_draw_text_box_end): new
3672         (opendoc_content_dtd): connect the above
3674 2010-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3676         * openoffice-read.c: rename stock_series to list throughout
3677         (od_draw_text_box): new
3678         (od_draw_text_box_p_end): new
3679         (opendoc_content_dtd): connect the above
3681 2010-04-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3683         * openoffice-write.c (odf_write_style_cell_properties):
3684           style:writing-mode in cell styles requires ODF 1.2
3685           style:text-align-source needs to be set here
3686         (odf_write_style_paragraph_properties): not here
3687         (odf_write_style_text_properties): font sizes must be lengths not
3688           just integers
3690 2010-04-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3692         * openoffice-write.c (odf_write_manifest): only write a manifest
3693           entry for Pictures/ if we have any
3695 2010-03-08  Morten Welinder <terra@gnome.org>
3697         * Release 1.10.1
3699 2010-03-05  Morten Welinder  <terra@gnome.org>
3701         * openoffice-write.c (odf_expr_conventions_new): Fix export of
3702         intersection.  Fixes #611824.
3704 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3706         * openoffice-write.c (oo_db_range_end): reapply filter [#610399]
3708 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3710         * openoffice-write.c (odf_write_objects): don't export the filter
3711           combos [#610399]
3713 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3715         * openoffice-write.c (odf_write_cell): use value_get_as_gstring
3716           rather than value_get_as_float [#610372]
3717         (odf_write_filter_cond): use value_get_as_gstring rather than
3718           value_get_as_string [#610372]
3720 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3722         * openoffice-write.c (odf_write_cell): Store error literals
3723           as assignment. Fixes #610175.
3725 2010-02-18  Morten Welinder  <terra@gnome.org>
3727         * openoffice-read.c (openoffice_file_open): Queue everything for
3728         recalc since we use gnm_cell_set_expr_and_value.  Fixes #610178.
3730 2010-02-13  Morten Welinder <terra@gnome.org>
3732         * Release 1.10.0
3734 2010-01-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3736         * openoffice-write.c (odf_write_frame): use the method prefered by the
3737           OASIS OIC interop report to address the object subfile
3739 2010-01-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3741         * openoffice-read.c (oo_plot_area): remove some unnecessary code
3743 2010-01-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3745         * openoffice-read.c (oo_plot_area): handle OO_PLOT_XYZ_SURFACE like
3746           OO_PLOT_XYZ_CONTOUR
3747         (oo_series_domain): ditto
3748         (oo_chart): replace OO_PLOT_XYZ_CONTOUR with OO_PLOT_XYZ_SURFACE
3750 2010-01-19  Morten Welinder <terra@gnome.org>
3752         * Release 1.9.18
3754 2009-12-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3756         * openoffice-write.c (odf_write_standard_series): also write
3757           series label
3759 2009-12-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3761         * openoffice-read.c (oo_plot_assign_dim): also set default labels
3762         (oo_plot_area): store info on labels that are part of
3763           cell-range-address
3765 2009-12-15  Morten Welinder <terra@gnome.org>
3767         * Release 1.9.17
3769 2009-12-15  Morten Welinder  <terra@gnome.org>
3771         * openoffice-read.c (oo_col_start, oo_row_start): Allocate the
3772         right amount of memory.  Fixes #604615.
3774 2009-12-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3776         * openoffice-write.c (gnm_xml_out_add_hex_color): use the
3777           pattern to determine transparency, add pattern argument
3778           and change all callers
3779         (odf_write_link_start): new
3780         (odf_write_link_end): new
3781         (odf_write_cell): write link
3782         (odf_write_content_rows): cells with links need to be written
3784 2009-11-29  Morten Welinder <terra@gnome.org>
3786         * Release 1.9.16
3788 2009-11-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3790         * openoffice-read.c: don't use float or atof throughout.
3791         (odf_number_style_end): no need to translate strings into
3792           floats and back.
3794 2009-11-17  Morten Welinder  <terra@gnome.org>
3796         * openoffice-read.c (oo_filter_cond): Don't look inside GnmValue.
3798 2009-11-01  Morten Welinder <terra@gnome.org>
3800         * Release 1.9.15
3802 2009-10-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3804         * openoffice-read.c (oo_func_map_in): we now have SHEET
3805         * openoffice-write.c (odf_expr_func_handler): ditto
3807 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3809         * openoffice-read.c (oo_func_map_in): we now have SHEETS
3810         * openoffice-write.c (odf_expr_func_handler): ditto
3812 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3814         * openoffice-read.c (oo_func_map_in): we now have IFNA
3815         * openoffice-write.c (odf_expr_func_handler): ditto
3817 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3819         * openoffice-read.c (oo_func_map_in): we now have BINOM.DIST.RANGE
3820           (equivalent to the ODF function B)
3821         * openoffice-write.c (odf_expr_func_handler): ditto
3823 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3825         * openoffice-read.c (oo_func_map_in): we now have NUMBERVALUE
3826         * openoffice-write.c (odf_expr_func_handler): ditto
3828 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3830         * openoffice-read.c (oo_func_map_in): we had COMBINA and ARABIC
3831           for a while
3832         * openoffice-write.c (odf_expr_func_handler): ditto
3834 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3836         * openoffice-read.c (oo_func_map_in): we now have ISFORMULA
3837         * openoffice-write.c (odf_expr_func_handler): ditto
3839 2009-10-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3841         * openoffice-read.c (oo_func_map_in): add EASTERSUNDAY
3842           and DAYS. Use case insensitive comparison for prefixes since
3843           OOo saves unknown functions in lower case.
3844         * openoffice-write.c (odf_func_eastersunday_handler): new
3845         (odf_expr_func_handler): add odf_func_eastersunday_handler and
3846           DAYS translation
3848 2009-10-11  Morten Welinder <terra@gnome.org>
3850         * Release 1.9.14
3852 2009-09-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3854         * openoffice-read.c (oo_style_prop_cell): fix diagonal borders
3855         * openoffice-write.c (odf_write_style_cell_properties): ditto
3857 2009-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3859         * openoffice-read.c (opendoc_content_dtd): add element stubs
3860         (styles_dtd): ditto
3862 2009-09-20  Morten Welinder <terra@gnome.org>
3864         * Release 1.9.13
3866 2009-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3868         * openoffice-write.c (odf_write_surface_chart_style): we consider
3869           multi-series=FALSE the default
3870         (odf_write_xl_surface_chart_style): obey state->with_extension
3872 2009-09-05  Morten Welinder <terra@gnome.org>
3874         * Release 1.9.12
3876 2009-09-05  Jean Brefort  <jean.brefort@normalesup.org>
3878         * openoffice-write.c (gnm_xml_out_add_hex_color),
3879         (odf_get_border_format): renamed go-color.h macros.
3881 2009-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3883         * openoffice-read.c (oo_prop_list_has_multi_series): new
3884         (oo_style_have_multi_series): new
3885         (oo_plot_area): use XLSurfacePlot in case of multiseries
3886         * openoffice-write.c (odf_write_xl_surface_chart_style): new
3887         (odf_write_plot): handle XLSurfacePlot
3889 2009-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3891         * openoffice-write.c (odf_graph_get_series): make sure texpr is non-NULL
3892         (odf_write_plot): check the correct end of array marker
3894 2009-09-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3896         * openoffice-write.c (gnm_xml_out_add_hex_color): simplify comparison
3898 2009-09-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3900         * openoffice-write.c (gnm_xml_out_add_hex_color): compare with
3901           automatic background to see whether we have transparency
3903 2009-09-01  Morten Welinder  <terra@gnome.org>
3905         * openoffice-read.c (oo_parse_color): Don't change color fields we
3906         do not own.  Fix leak.
3907         (go_plugin_init, go_plugin_shutdown): New functions.
3908         (oo_style_prop_cell): Fix handling of transparent colours.
3910 2009-09-01  Jean Brefort  <jean.brefort@normalesup.org>
3912         * openoffice-write.c (gnm_xml_out_add_hex_color): renamed GOColor macros.
3914 2009-08-30  Morten Welinder <terra@gnome.org>
3916         * Release 1.9.11
3918 2009-08-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3920         * openoffice-read.c (oo_func_map_in): no need to map RRI
3921           and MUNIT
3922         * openoffice-write.c (odf_expr_func_handler): we now have
3923           RRI and MUNIT
3925 2009-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3927         * openoffice-read.c (oo_func_map_in): map PDURATION to
3928           G_DURATION
3929         * openoffice-write.c (odf_expr_func_handler): map
3930           G_DURATION to PDURATION
3932 2009-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3934         * openoffice-read.c (odf_func_gauss_handler): use ERF
3935         (oo_func_map_in): map GAUSS to ODF.GAUSS if it has more than one
3936           argument
3938 2009-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3940         * openoffice-read.c (odf_func_gauss_handler): new
3941         (oo_func_map_in): map GAUSS to NORMDIST-0.5
3943 2009-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3945         * openoffice-read.c (odf_func_phi_handler): new
3946         (oo_func_map_in): map PHI to NORMDIST
3948 2009-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3950         * openoffice-read.c (oo_func_map_in): no need to map SEARCHB
3951         * openoffice-write.c (odf_expr_func_handler): we now have
3952           SEARCHB
3954 2009-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3956         * openoffice-read.c (oo_func_map_in): no need to map REPLACEB
3957         * openoffice-write.c (odf_expr_func_handler): we now have
3958           REPLACEB
3960 2009-08-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3962         * openoffice-read.c (oo_func_map_in): no need to map GAMMA and
3963           PERMUTATIONA
3964         * openoffice-write.c (odf_expr_func_handler): we now have
3965           GAMMA and PERMUTATIONA
3967 2009-08-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3969         * openoffice-write.c (odf_expr_func_handler): we now have a
3970           FINDB and AVERAGEIF
3971         * openoffice-read.c (oo_func_map_in): we now have a FINDB and
3972           AVERAGEIF
3974 2009-08-15  Morten Welinder <terra@gnome.org>
3976         * Release 1.9.10
3978 2009-07-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3980         * openoffice-write.c (odf_write_surface_chart_style): new
3981         (odf_write_contour_chart_style): new
3982         (odf_write_plot): hook-up above functions and drop
3983           gnm:xyz-surface & gnm:surface
3984         * openoffice-read.c (OOChartStyle): add new field
3985         (oo_style): initialize new field
3986         (oo_chart_style_free): free new field
3987         (oo_prop_list_has_three_dimensional): new
3988         (oo_style_have_three_dimensional): new
3989         (od_style_prop_chart): read chart:three-dimensional
3990         (oo_plot_area): handle chart:three-dimensional spec
3991         (oo_chart): drop unneeded gnm:xyz-surface & gnm:surface
3993 2009-07-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
3995         * openoffice-write.c (odf_write_series): renamed to
3996           odf_write_standard_series
3997         (odf_write_axis_style): moved some code to callers and simplify
3998         (odf_write_circle_axes_styles): new
3999         (odf_write_radar_axes_styles): new
4000         (odf_write_dropbar_axes_styles): new
4001         (odf_write_standard_axes_styles): new
4002         (odf_write_surface_axes_styles): new
4003         (odf_write_axis): moved some code to callers
4004         (odf_write_plot): use selection array
4006 2009-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4008         * openoffice-read.c (OO_PLOT_SURF): rename to OO_PLOT_CONTOUR throughout
4009         (OO_PLOT_XYZ_SURFACE): new
4010         (OO_PLOT_SURFACE): new
4011         (oo_plot_area): handle OO_PLOT_XYZ_SURFACE and OO_PLOT_SURFACE
4012         (oo_plot_series): ditto
4013         (oo_series_domain): ditto
4014         (oo_chart): ditto
4015         * openoffice-write.c (ODF_GNM_SURF): new
4016         (ODF_XYZ_GNM_SURF): new
4017         (odf_write_plot): handle ODF_GNM_SURF and ODF_XYZ_GNM_SURF
4019 2009-07-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4021         * openoffice-read.c (gog_series_map_dim_by_name): new
4022         (oo_plot_assign_dim): add optional name argument and change all callers
4023         (oo_series_domain): handle OO_PLOT_XYZ_CONTOUR
4024         * openoffice-write.c (odf_write_plot): handle ODF_XYZ_SURF
4026 2009-07-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4028         * openoffice-read.c (oo_plot_series): handle OO_PLOT_SCATTER_COLOUR
4029         (oo_series_domain): ditto
4030         (oo_chart): ditto
4031         * openoffice-write.c (odf_write_bubble_series): write all series
4032         (odf_write_plot): handle GogXYColorPlot/ODF_SCATTER_COLOUR
4034 2009-07-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4036         * openoffice-read.c (oo_plot_assign_dim): allow for
4037           dim_type pass through.
4038         (oo_plot_series): handle contour matrix
4039         (oo_plot_series_end): we are already done for OO_PLOT_SURF
4040         (oo_series_domain): handle OO_PLOT_SURF
4041         * openoffice-write.c (odf_write_plot): handle ODF_SURF
4043 2009-07-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4045         * openoffice-read.c (oo_plot_area): set up series handling for
4046           Stock plot
4047         (oo_plot_area_end): handle stock plot series
4048         (odf_create_stock_plot): new
4049         (oo_plot_series): for Stock plot just save the info
4050         (oo_plot_series_end): for Stock plots we don't want to do
4051           anything here
4052         (oo_chart): set up reading of more chart types
4053         * openoffice-write.c (odf_write_bubble_series): fix style name
4054         (odf_write_min_max_series): new
4055         (odf_write_plot): set up writing of more plot types
4056         (odf_write_plot): handle writing of minmax plots
4058 2009-07-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4060         * openoffice-read.c (od_style_prop_chart): handle
4061           chart:reverse-direction, chart:symbol-type,
4062           draw:stroke, chart:lines
4063         (oo_chart_axis): in ODF proper the axis style should not affect
4064           the overall graph.
4065         (oo_plot_area): handle double series for Gantt charts
4066         (oo_plot_area_end): ditto
4067         (oo_plot_series): ditto
4068         (oo_series_domain): handle dimensions for series:domain
4069         (oo_chart_wall): hook-up to the correct element
4070         * openoffice-write.c (odf_add_percent): new
4071         (odf_write_frame): fix leak
4072         (odf_write_series): handle more dimensions
4073         (odf_write_gantt_series): new
4074         (odf_write_bubble_series): new
4075         (odf_write_ring_plot_style): new
4076         (odf_write_line_chart_style): new
4077         (odf_write_scatter_chart_style): new
4078         (odf_write_scatter_series_style): new
4079         (odf_write_axis_style): differentiate based on plot type
4080         (odf_write_axis): ditto
4081         (df_write_plot): handle more plot types
4083 2009-07-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4085         * openoffice-read.c (od_draw_frame): use table:end-x and
4086           table:end-y together with table:end-cell-address if provided
4088 2009-07-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4090         * openoffice-read.c (oo_chart_axis): use more of the
4091           applicable styles
4092         (oo_plot_area): ditto
4093         (oo_plot_area_end): free GSList
4094         (oo_chart): save applicable style
4095         (openoffice_file_open): initialize chart.these_plot_styles
4096         (od_draw_frame): calculate correct offsets
4097         * openoffice-write.c (odf_write_bar_col_plot_style): new
4098         (odf_write_bar_col_plot_styles): deleted
4099         (odf_write_plot): try to implement basic support for all
4100           plot types
4101         (odf_write_bar_col_plot): deleted and incorporated in
4102           odf_write_plot
4104 2009-07-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4106         * openoffice-write.c (odf_write_frame): also link to a png
4107           representation
4108         (odf_write_graph_manifest): include the png representations
4109         (odf_write_axis_style): we should use "start" rather than 0
4110           as default axis-position
4111         (odf_write_graphs): write png representation
4113 2009-07-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4115         * openoffice-write.c (odf_write_cell): let gsf figure
4116           out precision
4117         (odf_print_spreadsheet_content_prelude): ditto
4118         (odf_write_axis_style): new
4119         (odf_write_axis): new
4120         (odf_write_bar_col_plot_styles): new
4121         (odf_write_bar_col_plot): move some of the chart
4122           construction here
4123         (odf_write_graph_content): from here and
4124         (odf_write_plot): from here, so that we write styles here
4126 2009-07-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4128         * openoffice-write.c (odf_write_series): new
4129         (odf_write_bar_col_plot): new
4130         (odf_write_graph_content): retrieve plot
4132 2009-07-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4134         * openoffice-write.c (odf_write_frame): also include
4135           an image of graphs
4136         (odf_write_graph_manifest): add svg image file
4137         (odf_write_manifest): write Pictures directory
4138         (odf_write_graph_content): new stub
4139         (odf_write_graphs): call odf_write_graph_content and
4140           write image of graph to image file
4141         (openoffice_file_save_real): create Pictures directory
4143 2009-07-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4145         * openoffice-write.c (odf_strip_brackets): new
4146         (odf_graph_get_series): new
4147         (odf_write_frame): use odf_strip_brackets and create
4148           draw:object for graphs
4149         (odf_write_content): use odf_strip_brackets
4150         (odf_write_meta_graph): new
4151         (odf_write_graph_manifest): new
4152         (odf_write_manifest): attach odf_write_graph_manifest
4153         (odf_write_graphs): also write meta.xml
4155 2009-07-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4157         * openoffice-read.c (od_draw_frame): we can only match
4158           once
4159         (openoffice_file_open): g_free can handle NULL
4160         * openoffice-write.c (odf_write_frame): new
4161         (odf_write_objects): new
4162         (odf_write_empty_cell): rather than calling
4163           odf_write_comment, call odf_write_objects
4164         (odf_write_covered_cell): change argument, and
4165           change all callers
4166         (odf_sheet_objects_get): new
4167         (odf_write_content_rows): handle all sheet objects,
4168           not just comments
4169         (odf_write_content): hash graphs
4170         (odf_write_graphs): new stub
4171         (openoffice_file_save_real): initialize graph hash
4172           and create include chart documents
4174 2009-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4176         * openoffice-read.c: split styles.col_row into
4177           split styles.col and split styles.row, change users
4178         (oo_table_start): use default
4179           row/column styles
4180         (cb_find_default_colrow_style): simplify
4181         (oo_colrow_reset_defaults): split into oo_col_reset_defaults
4182           and oo_row_reset_defaults, change callers
4183         (oo_col_row_style_apply_breaks): fix typo
4184         (oo_col_start)L if we don't have a default style but
4185           lots of repetition, use the repeated style as default
4186         (oo_row_start): ditto
4187         (oo_style): row and column styles can also be defaults
4189 2009-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4191         * openoffice-read.c (opendoc_content_dtd): add
4192           style:tab-stops to style:paragraph-properties
4193         (od_draw_object): handle both "Object 1/" and
4194           "./Object 1".
4196 2009-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4198         * openoffice-read.c (opendoc_content_dtd): add svg:desc
4199           to draw:frame and remove unneeded duplication
4201 2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4203         * openoffice-write.c (odf_rangeref_as_string): fix
4204           writing of range references without sheet.
4206 2009-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4208         * openoffice-write.c (odf_save_style_map_single_f):
4209           remove unneeded argument and change all callers
4210         (odf_save_style_map_double_f): ditto
4212 2009-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4214         * openoffice-write.c (GnmOOExport): add new hash
4215         (odf_find_style): check named_cell_styles hash first
4216         (odf_save_this_style_with_name): change argument order
4217           to be able to pass it to hash_foreach and change all
4218           callers
4219         (odf_store_this_named_style): new
4220         (odf_save_this_style): styles referenced in style:map
4221           must be named
4222         (odf_write_styles): write named styles and reorder to
4223           write referenced styles before referencing styles.
4224         (openoffice_file_save_real): handle new hashes and make sure
4225           styles referenced by the default cell style will be written
4227 2009-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4229         * openoffice-write.c (odf_write_style_cell_properties):
4230           MSTYLE_ROTATION should be MSTYLE_INPUT_MSG
4231         (odf_save_style_map_single_f): new
4232         (odf_save_style_map_double_f): new
4233         (odf_save_style_map): new
4234         (odf_write_style): also write style:maps
4235         (odf_write_character_styles): split into
4236           odf_write_character_styles and odf_write_cell_styles
4237         (odf_write_cell_styles): new
4238         (odf_write_sheet): use the sheet stored in the state
4240 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4242         * openoffice-read.c
4243         (odf_annotation_content_end): remove debug output
4244         (odf_annotation_author_end): ditto
4246 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4248         * openoffice-read.c (odf_scientific): handle gnm:engineering
4249         (oo_style): initialize new fields
4250         (oo_style_prop_cell): handle alignments (including our
4251           foreign elements) safely
4253 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4255         * openoffice-read.c (odf_style_map_load_one_value): new
4256         (oo_style_map): use odf_style_map_load_one_value and
4257           handle "is-true-formula"
4259 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4261         * openoffice-read.c (odf_style_map_load_two_values): new
4262         (oo_style_map): handle cell-content-is-between and try to
4263           handle cell-content-is-not-between
4265 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4267         * openoffice-read.c (oo_table_end): keep the styles also
4268           for the whole data extent.
4270 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4272         * openoffice-read.c (odf_map): simplify slightly
4273         (oo_style_map): implement
4275 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4277         * openoffice-read.c (oo_cell_start): do not overwrite formats
4278           from the file
4280 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4282         * openoffice-read.c (OOParseState): separate format item and
4283           change references throughout
4284         (oo_date_hours): handle elapsed times better
4285         (oo_date_minutes): ditto
4286         (oo_date_seconds): ditto
4287         (oo_date_style_end): ditto
4288         (oo_date_style_end_rm_elapsed): new
4290 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4292         * openoffice-read.c (odf_currency_symbol_end): mark the
4293           currency symbol as such.
4295 2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4297         * openoffice-write.c (xl_find_format): We may not use '+' inside a
4298           style name.
4300 2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4302         * openoffice-read.c (oo_func_map_in): we now have JIS
4303         * openoffice-write.c (odf_expr_func_handler): ditto
4305 2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4307         * openoffice-read.c (oo_func_map_in): adjust function listing
4308         * openoffice-write.c (odf_func_floor_ceiling_handler):
4309           handle all instances
4310         (odf_func_sec_handler): new
4311         (odf_func_sech_handler): new
4312         (odf_expr_func_handler): change the default behaviour to always
4313           precede functions with ORG.GNUMERIC, so we don't have to worry
4314           to miss functions from new plugins or that have been added.
4315           Also handle "ODF...." functions that were imported.
4317 2009-06-20  Morten Welinder <terra@gnome.org>
4319         * Release 1.9.9
4321 2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4323         * openoffice-read.c (odf_func_address_handler): new
4324         (oo_conventions_new): set conv->sheet_name_sep
4325         (oo_load_convention): new FORMULA_OLD_OPENOFFICE
4326         (odf_func_floor_handler): hoo up odf_func_address_handler
4327         (oo_cell_start): oooc prefix indicates that we may see
4328           missing A1 in ADDRESS
4330 2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4332         * openoffice-read.c (odf_func_floor_handler): new
4333         (oo_func_map_in): hook up above handler
4334         * openoffice-write.c (odf_func_ceiling_handler):  rename to
4335           odf_func_floor_ceiling_handler and change all callers
4336         (odf_expr_func_handler): hook up handler for FLOOR
4338 2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4340         * openoffice-read.c (odf_func_ceiling_handler): fix logic
4342 2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4344         * openoffice-read.c (odf_func_ceiling_handler): new
4345         (oo_func_map_in): hook up the above handler
4346         * openoffice-write.c (odf_func_ceiling_handler): new
4347         (odf_expr_func_handler): hook up the above handler
4349 2009-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4351         * openoffice-read.c (odf_func_chisqdist_handler): new
4352         (oo_func_map_in): new handler hash
4353         * openoffice-write.c (odf_func_r_dchisq_handler): new
4354         (odf_func_r_pchisq_handler): new
4355         (sc_func_handlers): hook up the above
4357 2009-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4359         * openoffice-write.c (odf_func_r_qchisq_handler): new
4360         (odf_expr_func_handler): add hash of individual handlers, map
4361           GET.FORMULA to FORMULA and 2-argument instances of R.QCHISQ to
4362           CHISQINV
4363         * openoffice-read.c (oo_func_map_in): map FORMULA to GET.FORMULA
4364           and CHISQINV to R.QCHISQ
4366 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4368         * openoffice-write.c (xl_find_format): use easier to follow style
4369           names
4370         (odf_write_styles): write styles in a more natural order
4372 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4374         * openoffice-read.c (h_alignments): include right and left
4376 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4378         * openoffice-write.c (odf_find_style): give more info in the case
4379           we don't find the style
4380         (odf_save_this_style_with_name): new
4381         (odf_save_this_style): use odf_save_this_style_with_name
4382         (odf_write_content_rows): THe style row contains styles already
4383           adjusted for the values. We can't use that. So access the real
4384           styles.
4386 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4388         * openoffice-read.c (oo_func_map_in): perform some function name
4389           translation
4390         * openoffice-write.c (odf_expr_func_handler): perform some function
4391           name translation
4393 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4395         * openoffice-read.c (oo_func_map_in): handle ORG.GNUMERIC. prefix
4396         * openoffice-write.c (odf_expr_func_handler): new
4397         (odf_expr_conventions_new): hook up odf_expr_func_handler
4399 2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4401         * openoffice-read.c (odf_annotation_start): new
4402         (odf_annotation_content_end): new
4403         (odf_annotation_author_end): new
4404         (odf_annotation_end): new
4405         (opendoc_content_dtd): hook-up the above
4407 2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4409         * openoffice-write.c (odf_write_sheet): don't confuse rows and cols
4410         * openoffice-read.c (opendoc_content_dtd): add annotation tags
4412 2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4414         * openoffice-write.c (odf_write_comment): new
4415         (equal_style): deleted
4416         (odf_write_empty_cell): change arguments and adjust all callers.
4417         (filter_style): just compare pointers
4418         (finder): new
4419         (write_styled_cells): new
4420         (odf_write_styled_empty_rows): new
4421         (odf_write_formatted_empty_rows): deleted
4422         (odf_write_content_rows): new
4423         (odf_write_sheet): split into parts
4425 2009-06-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4427         * openoffice-write.c (cell_styles_free): deleted
4428         (odf_compare_style): deleted
4429         (odf_find_style): just look in the hash. remove
4430           unnecessary arguments and change all callers
4431         (odf_save_automatic_character_styles): deleted
4432         (odf_save_this_style): write an individual style and
4433           save it in the hash
4434         (odf_write_character_styles): call odf_save_this_style
4435           for each style
4437 2009-06-10  Morten Welinder  <terra@gnome.org>
4439         * openoffice-read.c (oo_load_convention): Mark '^'
4440         left-associative in Excel formulas.
4441         (oo_conventions_new): Ditto for OO formulas.
4443 2009-06-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4445         * openoffice-write.c (odf_write_content): export print area to ODF
4447 2009-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4449         * openoffice-read.c (opendoc_content_dtd): include
4450           text:soft-page-break
4451         * openoffice-write.c (odf_write_formatted_empty_rows):
4452           write text:soft-page-break also in empty territory
4454 2009-06-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4456         * openoffice-read.c (oo_append_page_break): soft pagebreaks are
4457           stored as text:soft-page-breaks tag (and at this time can only
4458           be included between rows). The "auto" value for break-after
4459           and break-before reflects only the potential of a pagebreak.
4460         (oo_page_break_type): ditto
4461         * openoffice-write.c (odf_write_sheet): write text:soft-page-breaks
4462           elements at the location of paginated page breaks.
4464 2009-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4466         * openoffice-read.c (oo_append_page_break): add argument and
4467           change all callers
4468         (oo_set_page_break): new
4469         (oo_page_break_type): default to NONE (we did that anyways) and
4470           handle column type just in case
4472 2009-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4474         * openoffice-read.c (oo_cell_content_end): Since we may be
4475           assigning the result of an array calculation we should not
4476           check for array splits.
4478 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4480         * openoffice-read.c (odf_number_style_end): shorten code and
4481           distinguish <> from <
4483 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4485         * openoffice-read.c (oo_cell_start): fix style leak
4487 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4489         * openoffice-read.c (oo_cell_start): set a default date or
4490           time format if the incoming data is marked that way.
4492 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4494         * openoffice-read.c (attr_eq_ncase): new
4495         (odf_number_color): new
4496         (styles_dtd): hook-up odf_number_color
4497         (opendoc_content_dtd): ditto
4499 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4501         * openoffice-read.c (oo_date_text_end): don't quote single ()
4502         (odf_format_generate_number_str): delete (this is now handled by
4503           go_format_generate_number_str
4504         (odf_number): use go_format_generate_number_str
4505         (odf_scientific): use GOFormatDetails directly
4506         (odf_map): already check whether we may understand this and strip
4507           "value()"
4508         (odf_number_style_end): save the conditions in the order we might
4509           expect them
4511 2009-06-02  Morten Welinder  <terra@gnome.org>
4513         * openoffice-read.c (odf_format_generate_number_str): Handle
4514         min_digits too.
4516 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4518         * openoffice-read.c (oo_style_prop_cell): Use an older PANGO_WEIGHT
4519         for cutoff (which is equivalent).
4521 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4523         * openoffice-read.c (oo_style_prop_cell): Also check font weight
4524           rather than just descriptors.
4526 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4528         * openoffice-read.c (odf_map): new
4529         (oo_date_style): only use our magic if the format source is still
4530           set to language
4531         (odf_number_style_end): handle conditional number formats
4532         (styles_dtd): hook-up odf_map
4533         (opendoc_content_dtd): ditto
4535 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4537         * openoffice-read.c (odf_number): default minimum integer digits
4538           should be 1
4539         (odf_scientific): handle scientific numbers
4540         (odf_currency_symbol_end): handle currency symbols
4541         (styles_dtd): hook-up the above
4542         (opendoc_content_dtd): ditto
4544 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4546         * openoffice-read.c (odf_number): new
4547         (odf_format_generate_number_str): handle minimum integer digits
4548         (styles_dtd): hook-up odf_number and add number:embedded-text
4549         (opendoc_content_dtd): ditto
4551 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4553         * plugin.xml.in: add a second filesaver to allow the choice
4554           of with or without foreign elements
4555         * openoffice-write.c : throughout bracket all uses of
4556           foreign elements with a test whether they are permitted.
4558 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4560         * openoffice-read.c (odf_fraction): new
4561         (odf_number_style): new
4562         (odf_number_style_end): new
4563         (styles_dtd): hook-up the above
4564         (opendoc_content_dtd): ditto
4566 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4568         * openoffice-write.c (oo_date_hours): handle elapsed time
4569         (oo_date_minutes): ditto
4570         (oo_date_seconds): ditto
4572 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4574         * openoffice-write.c (odf_print_spreadsheet_content_prelude):
4575           give the correct null-date
4576         * openoffice-read.c (oo_date_text_end): we need to use
4577           apostrophes
4578         (oo_date_style): handle magic formats
4580 2009-05-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4582         * openoffice-write.c (xl_find_format): handle all three possible
4583           format positions
4584         (xl_find_conditional_format): new
4585         (odf_write_xl_stylet): new
4586         (odf_write_this_xl_style_neg): new
4587         (odf_write_this_xl_style_zero): new
4588         (odf_write_map): rewrite
4589         (odf_write_this_conditional_xl_style): new
4590         (openoffice_file_save): handle new hashes
4592 2009-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4594         * openoffice-write.c (odf_attrs_as_string): hadnle super and
4595           subscripts
4596         (odf_write_character_styles): create super and subscript styles
4598 2009-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4600         * openoffice-write.c (odf_write_cell): the office:annotation must
4601           precede the text:p of the cell content. The text inside the
4602           annotation must be contained inside a text:p.
4604 2009-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4606         * openoffice-write.c (odf_write_day): deleted (moved to goffice)
4607         (odf_write_month): ditto
4608         (odf_write_year): ditto
4609         (odf_write_hour): ditto
4610         (odf_write_minute): ditto
4611         (odf_write_second): ditto
4612         (odf_write_ampm): ditto
4613         (odf_write_date_style): ditto
4614         (odf_write_time_style): ditto
4615         (odf_write_number_style): ditto
4616         (odf_write_currency_style): ditto
4617         (odf_write_percentage_style): ditto
4618         (odf_write_fraction_style): ditto
4619         (odf_write_scientific_style): ditto
4620         (odf_write_this_xl_style): use go_format_output_to_odf for all
4621           but the conditional formats
4622         (odf_write_data_styles): deleted
4623         (odf_write_styles): call g_hash_table_foreach directly
4625 2009-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4627         * openoffice-write.c (xl_find_format): if the format is not simple
4628           also include the simple portions in the hash
4629         (odf_print_spreadsheet_content_prelude): use accessor functions for
4630           odf version
4631         (odf_write_styles): ditto
4632         (odf_write_settings): ditto
4633         (odf_write_conditional_style): new
4634         (odf_write_this_xl_style): use odf_write_conditional_style
4636 2009-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4638         * openoffice-write.c: replace xl_styles GSList with a GHashTable
4639           and remove unnecessary counter field in cell_styles_t and
4640           col_row_styles_t
4641         (xl_styles_free): deleted
4642         (xl_compare_style): deleted
4643         (xl_find_format): use g_hash_table_lookup
4644         (odf_write_this_xl_style): new
4645         (odf_write_data_styles): use g_hash_table_foreach
4646         (openoffice_file_save): create and dispose of hashtable
4648 2009-05-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4650         * openoffice-write.c: replace GSF_ODF_VERSION with gsf_odf_version
4651         since enums are handled at compile time.
4653 2009-05-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4655         * openoffice-write.c (odf_write_style_paragraph_properties): Since
4656           OOo ignores style:text-align-source we have to avoid setting
4657           fo:text-align in this case.
4658         (odf_write_number_style): write at least a default style
4659         (odf_write_currency_style): write a default currency style
4660         (odf_write_percentage_style): write a default percentage style
4661         (odf_write_fraction_style): write a default fraction style
4662         (odf_write_scientific_style): write a default scientific style
4663         (odf_write_data_styles): use go_format_get_family
4665 2009-05-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4667         * openoffice-write.c: adjust for change in GSF_ODF_VERSION to enum
4668           and replacement of GSF_ODF_VERSION_STRING with gsf_odf_version_string
4669         (odf_write_ampm): new
4670         (odf_write_date_style): handle am/pm
4671         (odf_write_time_style): ditto
4673 2009-05-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4675         * openoffice-write.c (xl_styles_free): new
4676         (xl_compare_style): new
4677         (xl_find_format): new
4678         (odf_write_style_goformat_name): write data styles
4679         (odf_find_style): add argument and change all callers
4680         (odf_print_spreadsheet_content_prelude): use GSF_ODF_VERSION
4681         (odf_write_day): new
4682         (odf_write_month): new
4683         (odf_write_year): new
4684         (odf_write_hour): new
4685         (odf_write_minute): new
4686         (odf_write_second): new
4687         (odf_write_date_style): new
4688         (odf_write_time_style): new
4689         (odf_write_number_style): new stub
4690         (openoffice_file_save): initialize and clear state.xl_styles
4692 2009-05-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4694         * openoffice-write.c (odf_new_markup): watch for strange starting
4695           positions of the pango iter
4696         (odf_write_style_cell_properties): handle input messages
4697         (odf_write_style_paragraph_properties): handle indent
4698         (odf_write_style_goformat_name): new
4700 2009-05-23  Morten Welinder <terra@gnome.org>
4702         * Release 1.9.8
4704 2009-05-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4706         * openoffice-write.c (odf_write_style): added more style info and split
4707           into 3 sections:
4708         (odf_write_style_cell_properties): new
4709         (odf_write_style_paragraph_properties): new
4710         (odf_write_style_text_properties): new
4712 2009-05-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4714         * openoffice-write.c (odf_add_angle): new
4715         (odf_write_style): handled wrapped text, shrink-to-fit, text direction,
4716           and rotation
4718 2009-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4720         * openoffice-write.c (odf_print_spreadsheet_content_prelude): add
4721           remaining items defined in ODF 1.0 and 1.2 (1.2 not currently used)
4723 2009-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4725         * openoffice-write.c (odf_write_style): write horizontal and
4726           vertical alignment
4727         (odf_print_spreadsheet_content_prelude): in ODF 1.0 date-value is
4728           incorrectly expected as date-value-type
4730 2009-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4732         * openoffice-write.c (odf_print_spreadsheet_content_prelude): new
4733         (odf_write_content): call odf_print_spreadsheet_content_prelude
4735 2009-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4737         * openoffice-write.c (equal_style): arguments can be const
4738         (odf_compare_style): use equal_style
4739         (odf_write_sheet): use equal_style
4740         (odf_write_meta): set generator string
4742 2009-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4744         * openoffice-write.c (gnm_xml_out_add_hex_color): make our background
4745           transparent.
4747 2009-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4749         * openoffice-write.c (odf_save_automatic_character_styles): we
4750           also need to save the formats associated with any empty cell
4751         (odf_write_empty_cell): also write attached formatting info to empty
4752           cells
4753         (odf_write_sheet): we cannot bundle all empty cells but need to
4754           watch for format changes
4756 2009-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4758         * openoffice-write.c (GnmOOExport): added field
4759         (odf_find_row_style): new
4760         (odf_write_row_styles): new
4761         (odf_write_formatted_columns): new
4762         (write_row_style): new
4763         (odf_write_formatted_empty_rows): new
4764         (odf_write_sheet): split out odf_write_formatted_columns and
4765           add handling of rows
4766         (openoffice_file_save): initialize and dispose of state.row_styles
4768 2009-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4770         * openoffice-write.c: clean-up g_string_new throughout
4771         (GnmOOExport): added fields
4772         (odf_write_row_style): new
4773         (odf_write_col_style): new
4774         (odf_find_col_style): use odf_write_col_style
4775         (odf_write_styles): write default row and column styles
4776         (openoffice_file_save): determine default styles for rows and
4777           columns
4779 2009-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4781         * openoffice-write.c (GnmOOExport): added field
4782         (col_styles_t): new type
4783         (odf_add_pt): new
4784         (odf_compare_ci): new
4785         (odf_find_col_style): new
4786         (odf_save_automatic_character_styles): rename
4787           odf_load_required_automatic_styles to this more appropriate
4788           name and change all callers
4789         (odf_write_column_styles): new
4790         (write_col_style): rename from write_last_col_style and change all
4791           callers
4792         (odf_write_sheet): write column info for all columns
4793         (openoffice_file_save): initialize and dispose of state.col_styles
4795 2009-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4797         * openoffice-write.c (odf_write_character_styles): also write the
4798           default style
4799         (equal_style): new
4800         (filter_style): new
4801         (write_last_col_style): new
4802         (odf_write_sheet): set default column styles for all columns
4804 2009-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4806         * openoffice-write.c (odf_find_style): make sure that we would
4807           correctly handle the case that we are trying to find a style we
4808           did not write.
4810 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4812         * openoffice-read.c (oo_set_gnm_border): new
4813         (oo_style_prop_cell): hook-up oo_set_gnm_border to handle gnumeric
4814           specific borders
4816 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4818         * openoffice-write.c (odf_write_style): change argument types and
4819           adjust all callers
4820         (odf_find_style) wrap and element around odf_write_style
4821         (odf_load_required_automatic_styles): load primary column cell styles
4822         (odf_write_styles): set default cell style
4823         (openoffice_file_save): determine default style
4825 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4827         * openoffice-write.c (odf_get_border_format): use goffice GO_PT_TO_CM
4828           utility
4829         * openoffice-read.c (oo_parse_border): spacing may vary and there are
4830           more borders including "none"
4831         (oo_style_prop_cell): The tag is officially called diagonal-bl-tr,
4832           not diagonal-tr-bl
4834 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4836         * openoffice-write.c (odf_write_cell): export border styles for
4837           non-empty cells
4838         (ns): add a gnumeric namespace to handle export of specifications
4839           currently not supported in ODF.
4840         (odf_get_border_format): new
4841         (odf_get_gnm_border_format): new
4842         (BORDERSTYLE): new temporary macro
4843         (UNDERLINESPECS): new temporary macro
4845 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4847         * openoffice-write.c (odf_write_cell): watch for string values
4848           without markup
4850 2009-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4852         * openoffice-write.c (odf_write_cell): watch for empty rendered
4853           strings
4855 2009-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4857         * openoffice-write.c (gnm_xml_out_add_hex_color): new
4858         (odf_write_style): write more aspects of this style
4860 2009-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4862         * openoffice-write.c (GnmOOExport): add cell_styles field
4863         (cell_styles_t): new type
4864         (cell_styles_free): new
4865         (odf_compare_style): new
4866         (odf_write_style): new
4867         (odf_find_style): new
4868         (odf_load_required_automatic_styles): new
4869         (odf_write_character_styles): call odf_load_required_automatic_styles
4870         (odf_write_cell): add cell styles, delete unneeded variable
4871         (openoffice_file_save): free cell_styles
4873 2009-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4875         * openoffice-read.c (opendoc_content_dtd): add text:line-break and
4876           a second insertion of text:s
4878 2009-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4880         * openoffice-write.c (cb_odf_add_chars): deleted
4881         (odf_add_chars_non_white): new
4882         (odf_add_chars): new
4883         (cb_odf_attrs_as_string): renamed to odf_attrs_as_string and use
4884           odf_add_chars
4885         (odf_new_markup): no need to use blank <text:span>, fix libgsf instead
4886         (odf_write_cell): use odf_add_chars for proper whitespace handling
4888 2009-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4890         * openoffice-write.c (odf_write_sheet): we need to write at least one
4891           cell per row.
4893 2009-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4895         * openoffice-write.c (odf_write_cell): also write unformatted text
4897 2009-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4899         * openoffice-read.c (opendoc_content_dtd): permit nested text:span
4901 2009-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4903         * openoffice-write.c (cb_odf_add_chars): new
4904         (odf_new_markup): new
4905         (odf_write_character_styles): new
4906         (odf_write_cell): write markup
4907         (odf_write_content): call odf_write_character_styles
4909 2009-05-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4911         * openoffice-read.c (styles_dtd): there can be column and row
4912           properties in the default style
4913         * plugin.xml.in: remove the UNFINISHED label to see what aspects
4914           people are in fact trying to use
4916 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4918         * openoffice-read.c (oo_extent_sheet_cols): new
4919         (oo_col_start): extent the required number of columns if necessary
4920         (oo_extent_sheet_rows): new
4921         (oo_row_start): extent the required number of rows if necessary
4923 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4925         * openoffice-read.c (opendoc_content_dtd): TABLE_ROW can also be contained
4926           in TABLE_ROWS
4928 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4930         * openoffice-read.c (OOParseState): use an array of conventions
4931         (oo_expr_parse_str): use oo_expr_parse_str
4932         (oo_load_convention): new
4933         (openoffice_file_open): initialize conv array members to NULL and free
4934           at end
4936 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4938         * openoffice-read.c (oo_expr_parse_str): use Gnumeric's conventions when
4939           parsing MS's formulas
4941 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4943         * openoffice-read.c (OOFormula): new type
4944         (oo_expr_parse_str): add OOFormula type argument and change all callers
4945         (oo_cell_start): recognize "msoxl" formulas
4947 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4949         * openoffice-read.c (oo_row_start): don't croak on many repeated lines
4950           beyond the size of our sheets
4952 2009-05-10  Morten Welinder  <terra@gnome.org>
4954         * openoffice-read.c (openoffice_file_open): Add progress display.
4956 2009-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4958         * openoffice-write.c (odf_write_table_style): use "table-properties"
4959           rather than "properties"
4960         (odf_write_cell): write all formulas
4962 2009-05-06  Morten Welinder <terra@gnome.org>
4964         * Release 1.9.7
4966 2009-05-04  Morten Welinder  <terra@gnome.org>
4968         * openoffice-read.c (openoffice_file_probe): Handle certain
4969         suffixes too, even if file has no mimetype.  Fixes #581143.
4970         (oo_cellref_parse): Use the ref sheet for size, if available.
4971         Fixes #581347.
4973 2009-04-25  Morten Welinder <terra@gnome.org>
4975         * Release 1.9.6
4977 2009-03-22  Morten Welinder <terra@gnome.org>
4979         * Release 1.9.5
4981 2009-03-19  Morten Welinder  <terra@gnome.org>
4983         * openoffice-read.c (various): Protect against going outside our
4984         supported sheet size.  Fixes #575843.
4985         (od_draw_object): Clear out cur_style_type and cur_graph_style as
4986         appropriate.  Fixes #575981.
4988 2009-03-18  Morten Welinder  <terra@gnome.org>
4990         * openoffice-read.c (oo_cellref_parse): Handle sheet name #REF!
4992 2009-03-17  Morten Welinder  <terra@gnome.org>
4994         * openoffice-read.c (oo_filter_cond): Fix crash #575600.
4996 2009-03-15  Jean Brefort  <jean.brefort@normalesup.org>
4998         * openoffice-read.c: (oo_plot_area): Fixed null pointer crash in
4999         oo_plot_area(). [#575403]
5001 2009-03-12  Morten Welinder  <terra@gnome.org>
5003         * openoffice-read.c (determine_oo_version): New function factored
5004         out from openoffice_file_open.
5005         (openoffice_file_probe): New function.
5007 2009-02-22  Morten Welinder <terra@gnome.org>
5009         * Release 1.9.4
5011 2009-02-20  Morten Welinder  <terra@gnome.org>
5013         * openoffice-read.c (oo_colrow_reset_defaults): Call
5014         colrow_reset_defaults with the right column/row.  Fixes #568010.
5016 2009-02-09  Morten Welinder  <terra@gnome.org>
5018         * openoffice-read.c (oo_cell_start): Handle "of" expression
5019         namespace same as "oooc".  Fixes 570890.
5021 2009-01-26  Morten Welinder  <terra@gnome.org>
5023         * openoffice-read.c (oo_table_start): Handle missing style.  Fixes
5024         part of #568994.
5026 2009-01-23  Morten Welinder  <terra@gnome.org>
5028         * openoffice-read.c (oo_cellref_parse): Don't try to create empty
5029         names.  Partially fixes #568928.
5031 2009-01-15  Morten Welinder  <terra@gnome.org>
5033         * openoffice-read.c (ooo1_content_dtd): Handle a bit more to
5034         silence file from bug 567389 a bit.
5036 2009-01-12  Morten Welinder  <terra@gnome.org>
5038         * openoffice-read.c (oo_col_start): Handle column-count
5039         discrepancies.
5041 2008-10-18  Jody Goldberg <jody@gnome.org>
5043         * Release 1.9.3
5045 2008-09-26  Jody Goldberg <jody@gnome.org>
5047         * plugins/openoffice/openoffice-read.c (oo_table_end) : style_extent
5048           has the max col/row with a style set, clear _outside_ that. [#553506]
5049         (oo_update_style_extent) : new.
5050         (oo_col_start) : called here.
5051         (oo_row_start) : here.
5052         (oo_cell_start) : and here.
5054 2008-09-10  Jody Goldberg <jody@gnome.org>
5056         * openoffice-write.c (odf_write_cell) : why were strings disabled ?
5057           [Coverity #248]
5059 2008-08-29  Jody Goldberg <jody@gnome.org>
5061         * Release 1.9.2
5063 2008-06-28  Morten Welinder  <terra@gnome.org>
5065         * openoffice-read.c (get_dtd): New function.  Fixes #540180.
5067 2008-06-27  Jody Goldberg <jody@gnome.org>
5069         * openoffice-read.c (oo_attr_int) : clear errno before use.  [#536552]
5071 2008-06-25  Jody Goldberg <jody@gnome.org>
5073         * Release 1.9.1
5075 2008-05-26  Jody Goldberg <jody@gnome.org>
5077         * openoffice-read.c : enable import of iteration and null-date for
5078           ODF.
5080 2008-05-04  Jody Goldberg <jody@gnome.org>
5082         * Release 1.9.0
5084 2008-02-24  Morten Welinder  <terra@gnome.org>
5086         * openoffice-read.c (oo_parse_border): Use g_strndup instead of
5087         doing it by hand.
5089 2007-12-21  Jody Goldberg <jody@gnome.org>
5091         * Release 1.8.0
5093 2007-12-03  Jody Goldberg <jody@gnome.org>
5095         * Release 1.7.91
5097 2007-11-24  Jody Goldberg <jody@gnome.org>
5099         * openoffice-read.c (oo_col_start) : swap sense of 'is_vert' for
5100           explicit page breaks.
5101         (oo_row_start) : ditto.
5103 2007-11-19  Jody Goldberg <jody@gnome.org>
5105         * Release 1.7.90
5107 2007-11-04  Morten Welinder <terra@gnome.org>
5109         * Release 1.7.14
5111 2007-11-03  Jody Goldberg <jody@gnome.org>
5113         All calls to *cell_set_* should be followed by an extent update.
5114         * openoffice-read.c (oo_update_data_extent) : create this to provide a
5115           single location for updating the data extent when debugging.
5116         (oo_cell_start) : use it here to update extent for arrays,
5117         expressions, and inline values.
5118         (oo_cell_end) : and here for repeated cols/rows.
5119         (oo_cell_content_end) : and here for child content.
5121 2007-10-29  Jody Goldberg <jody@gnome.org>
5123         * openoffice-read.c (od_draw_frame) : fix the namespace for y, and
5124           provide defaults of 0 incase of invalid input.
5126 2007-10-29  Jody Goldberg <jody@gnome.org>
5128         Data is implicitly allocated in all sorts of undocumented ways.
5129         * openoffice-read.c (oo_plot_area) : refactor the data handling into
5130         (oo_plot_assign_dim) : here.
5132         Clean up the way parameters are handled.
5133         (oo_prop_list_free) : new.
5134         (oo_prop_free) : new.
5135         (oo_prop_new_....) : new.
5136         (oo_prop_list_apply) : new.
5138 2007-10-27  Morten Welinder  <terra@gnome.org>
5140         * openoffice-read.c (od_chart_wall): Grid got renamed to
5141         Backplane, so change here.
5143 2007-10-26  Jody Goldberg <jody@gnome.org>
5145         * openoffice-write.c (openoffice_file_save) : compression-level is a
5146           construction time attribute.
5148 2007-10-25  Jody Goldberg <jody@gnome.org>
5150         * openoffice-read.c (oo_iteration) : new.
5152 2007-10-25  Jody Goldberg <jody@gnome.org>
5154         * plugin.xml.in : add stc.
5156 2007-10-25  Jody Goldberg <jody@gnome.org>
5158         * openoffice-read.c (openoffice_file_open) : Assume files without a
5159           mimetype entry are OO.o 1.x rather than failing.
5160           Be more flexible about which mimetypes are acceptable.
5161         (oo_row_start) : Do not set a size if none was specified (some .sxc files)
5162         (oo_col_start) : ditto.
5163         (oo_colrow_reset_defaults) : ditto.
5164         (oo_style_prop_cell) : valign==automatic is usually bottom, sometimes
5165           center, never top.
5166           Fully support protected and hidden.
5167         (oo_cell_content_end) : Handle a series of <p> in a single cell that
5168           designate embedded newlines.
5170         * openoffice-write.c (openoffice_file_save) : ensure that we do not
5171           compress the mimetype.
5173 2007-10-21  Morten Welinder <terra@gnome.org>
5175         * Release 1.7.13
5177 2007-09-04  Jody Goldberg <jody@gnome.org>
5179         * Release 1.7.12
5181 2007-07-24  Jody Goldberg <jody@gnome.org>
5183         * Release 1.7.11
5185 2007-07-22  Jody Goldberg <jody@gnome.org>
5187         * openoffice-read.c (oo_attr_int) : add some validation.
5189 2007-07-17  Jody Goldberg <jody@gnome.org>
5191         * openoffice-read.c (oo_colrow_reset_defaults) : typo breaks
5192           precedence.
5194 2007-06-27  Jody Goldberg <jody@gnome.org>
5196         * openoffice-read.c (oo_table_start) : keep track of the extent of
5197           col/row styling and the extent of cell content separately.
5198         (cb_find_default_colrow_style) : new.
5199         (oo_colrow_reset_defaults) : pick a default style and recompress the
5200           available cols/rows by using it.
5201         (oo_table_end) : assign the page breaks.  And restore the col/row
5202           defaults.
5203         (odf_append_page_break) : new.
5204         (odf_col_row_style_apply_breaks) : new.
5205         (oo_col_start) : keep a counter of style use to find the default.
5206           Handle manual vs auto (kludged, no default is specified in the
5207           std).
5208         (oo_row_start) : ditto.
5209         (oo_cell_content_end) : simple mechanism to track extent of cells
5210           with data.
5211         (oo_style_prop_col_row) : parse 'use-optimal-....' flags.  Cols seem
5212           to have a different default than rows ???
5214 2007-06-15  Jody Goldberg <jody@gnome.org>
5216         * openoffice-read.c (oo_expr_parse_str) : make this a real function
5217           and centralize the error handling.
5218         (oo_cell_start) : simplify expr parse error handling.
5219         (oo_named_expr) : ditto.
5220         (od_plot_area) : ditto.
5221         (oo_table_start) : apply the table style.
5222         (oo_col_start) : make the col/row style smarter in prep for page breaks.
5223         (oo_row_start) : ditto.
5224         (oo_style) : handle table styles.
5225         (oo_style_end) : ditto.
5226         (oo_style_prop) : ditto.
5227         (oo_page_break_type) : new.
5228         (oo_style_prop_col_row) : merge oo_style_prop_row and
5229           oo_style_prop_col and add support for page breaks.
5230         (oo_style_prop_table) : new.
5231         (openoffice_file_open) : init the table styles.
5233         * openoffice-write.c (odf_write_table_style) : new.
5234         (table_style_name) : new.
5235         (odf_write_table_styles) : generate the styles based on the sheets.
5236         (odf_write_content) : write a style appropriate for the sheet.
5238 2007-05-03  Morten Welinder <terra@gnome.org>
5240         * Release 1.7.10
5242 2007-04-29  Jody Goldberg <jody@gnome.org>
5244         * plugin.xml.in : add .odt
5246 2007-04-21  Morten Welinder <terra@gnome.org>
5248         * Release 1.7.9
5250 2007-03-04  Jody Goldberg <jody@gnome.org>
5252         * openoffice-read.c (odf_func_map_in) : adapt to the new mechanism of
5253           function renaming.
5254         (oo_conventions) : handle inline arrays.
5256 2007-03-04  Morten Welinder <terra@gnome.org>
5258         * Release 1.7.8
5260 2007-02-16  Morten Welinder <terra@gnome.org>
5262         * Release 1.7.7
5264 2007-01-19  Jody Goldberg <jody@gnome.org>
5266         * openoffice-write.c : re-prefix things s/oo_/odf_/ for consistency.
5267         (odf_add_bool) : new,  the stock gsf_xml_out_add_bool uses 1, but OOo
5268           doesn't support it.
5269         (odf_write_filter_cond) : new.
5270         (odf_write_autofilter) : new.
5271         (odf_write_content) : write the autofilters.
5273         * openoffice-read.c (oo_db_range_start) : new.
5274         (oo_db_range_end) : new.
5275         (oo_filter_cond) : new.
5276         (oo_table_end) : clear the cell pos at the end.
5277         (oo_rangeref_parse) : mark unused arg.
5278         (openoffice_file_open) : init filter.
5280 2007-01-19  Morten Welinder  <terra@gnome.org>
5282         * openoffice-read.c: Cleanups.
5284 2007-01-16  Morten Welinder  <terra@gnome.org>
5286         * openoffice-read.c (od_plot_area): Fix crash [#396200]
5288 2007-01-09  Morten Welinder  <terra@gnome.org>
5290         * openoffice-read.c (od_style_prop_chart): Don't use g_strtod.  We
5291         do not want dual-locale semantics.
5293 2006-12-17  Jody Goldberg <jody@gnome.org>
5295         * Release 1.7.6
5297 2006-12-04  Jody Goldberg <jody@gnome.org>
5299         * Release 1.7.5
5301 2006-11-20  Jody Goldberg <jody@gnome.org>
5303         * Release 1.7.4
5305 2006-11-19  Morten Welinder <terra@gnome.org>
5307         * Release 1.7.3
5309 2006-11-17  Jody Goldberg <jody@gnome.org>
5311         * openoffice-read.c (oo_unknown_hander) : add hook for oo-build
5312           specific extensions.
5314 2006-11-09  Jody Goldberg <jody@gnome.org>
5316         * openoffice-read.c (openoffice_file_open) : use the new
5317           gnm_push_C_locale/gnm_pop_C_locale utils.
5318         * openoffice-write.c (openoffice_file_save) : ditto.
5320 2006-10-17  Jody Goldberg <jody@gnome.org>
5322         * Release 1.7.2
5324 2006-10-02  Jody Goldberg <jody@gnome.org>
5326         * Release 1.7.1
5328 2006-09-23  Jody Goldberg <jody@gnome.org>
5330         * openoffice-read.c (openoffice_file_open) : remove size checks on
5331           substreams.  If gsf was crashing on an empty xml file, then we
5332           should fix it there.  [#350644]
5334 2006-09-14  Morten Welinder  <terra@gnome.org>
5336         * openoffice-read.c (oo_cell_start): Fix time value import.
5337         [#355943]
5339 2006-08-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5341         * openoffice-read.c (openoffice_file_open): Add two gsf_input_size()
5342           checks (patch by sum1_abi@yahoo.com)  [#350644]
5344 2006-08-09  Eduardo Lima <eduardo.lima@indt.org.br>
5346         * openoffice-write.c (od_write_cell): Changed casts from uint to
5347         unsigned int in calls to gsf_xml_out_add_uint().
5349 2006-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5351         * openoffice-write.c (oo_write_cell): We will also be called for
5352           empty cells with attached cell comment.
5353         (oo_write_sheet): we may not collapse empty cells that have comments
5354           attached to them
5356 2006-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5358         * openoffice-write.c (oo_write_cell): add GnmComment parameter and
5359         write annotation
5360         (oo_write_sheet): call oo_write_cell with new GnmComment parameter
5362 2006-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5364         * openoffice-write.c (oo_expr_conventions_new): set argument separator
5366 2006-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5368         * openoffice-write.c (oo_cellref_as_string): new
5369         (oo_rangeref_as_string): new
5370         (oo_expr_conventions_new): initialize cell_ref_, range_ref_handler
5371           and output_sheet_name_sep
5373 2006-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5375         * openoffice-write.c (od_write_cell): handle matrix functions and
5376           be careful with checking unnkown strings. Remove some duplicated code.
5377         (oo_write_sheet): extent is 0 based
5378         (oo_write_content): We are writing opendocument. We should be checking the
5379           standard rather than OOo limitations.
5381 2006-07-14  Jody Goldberg <jody@gnome.org>
5383         * openoffice-write.c (oo_write_mimetype) : use ods, rather than sxc
5385 2006-07-12  Jody Goldberg <jody@gnome.org>
5387         * openoffice-read.c (oo_cell_start) : be more flexible with spans. [#347263]
5389 2006-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5391         * openoffice-write.c (oo_write_content): move ns structure to file
5392           scope
5393         (oo_write_styles): implement stub
5394         (oo_write_settings): implement stub
5395         (oo_write_manifest): update to opendocument
5397 2006-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5399         * openoffice-write.c (oo_write_sheet): write table:table-column
5400         (oo_write_content): there is no office:class attribute in opendocument
5401           version 1.0 but we should use office:spreadsheet element
5403 2006-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5405         * openoffice-write.c (GnmOOExport): add GnmExprConventions
5406           field
5407         (oo_expr_conventions_new): new
5408         (od_write_cell): try to write some formulas
5409         (oo_write_content): fix some spelling, temporarily skip writing
5410           styles, don't use the office:spreadsheet element until we
5411           know why openoffice doesn't like it.
5412         (openoffice_file_save): initialize GnmExprConventions in
5413           GnmOOExport
5415 2006-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5417         * openoffice-write.c (od_write_empty_cell): don't write
5418           number-columns-repeated if value is 1
5419         (od_write_covered_cell): ditto
5420         (od_write_cell): handle various value types
5422 2006-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5424         * openoffice-write.c (od_cell_is_covered): implement
5425         (od_write_cell): handle merged cells
5426         (cb_sheet_merges_free): new
5427         (oo_write_sheet): initialize & clean up  merge handling
5429 2006-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5431         * plugin.xml.in : use .ods extension for writer
5432         * openoffice-write.c (oo_max_cols): deleted
5433         (oo_max_rows) : deleted
5434         (od_cell_is_covered): new
5435         (od_write_empty_cell): new
5436         (od_write_covered_cell): new
5437         (od_write_cell): new
5438         (oo_write_sheet): use the above and drop the check for whether the
5439           extent is too large for openoffice. OpenDocument has no limit
5440         (openoffice_file_save): use new ur[ln]s
5442 2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
5444         * plugins/openoffice/openoffice-read.c: replaced gi18n.h by gi18n-lib.h.
5445         * plugins/openoffice/openoffice-write.c:
5447 2006-05-23  Jody Goldberg <jody@gnome.org>
5449         * openoffice-write.c (oo_write_meta) : write the meta data.
5451 2006-05-09  Jody Goldberg <jody@gnome.org>
5453         * openoffice-read.c (oo_cellref_parse) : Eike just posted a newer
5454           definition of how sheet names are encoded.
5455             - only single quotes are allowed
5456             - in quoted names a quote is escaped by doubling it 'aa''a' == aa'a
5458 2006-05-08  Jody Goldberg <jody@gnome.org>
5460         * Release 1.7.0
5462 2006-05-07  Jody Goldberg <jody@gnome.org>
5464         * openoffice-read.c (oo_cellref_parse) : handled quoted sheet named.
5465         (oo_style_prop_cell) : Handle other forms of underlining.
5466         (oo_row_start) : collapsed/filtered rows.
5467         (oo_col_start) : ditto.
5469 2006-05-06  Jody Goldberg <jody@gnome.org>
5471         * openoffice-read.c (openoffice_file_open) : read metadata.
5473 2006-03-16  Morten Welinder  <terra@gnome.org>
5475         * openoffice-read.c (od_chart_grid): Use GOG_AXIS_UNKNOWN (== -1),
5476         not UNKNOWN (== 10).
5478 2006-02-16  Morten Welinder  <terra@gnome.org>
5480         * openoffice-read.c (openoffice_file_open): Don't leak the
5481         meta_data object.
5482         (od_style_prop_chart): Fix leaks.
5483         (od_chart_axis): Plug leak.
5484         (od_chart_grid): Plug leak.
5485         (clean_lists): Speed up and fix a pile of leaks.
5487 2006-02-15  Morten Welinder  <terra@gnome.org>
5489         * openoffice-read.c (openoffice_file_open): Updates from #316234.
5491 2006-01-22  Morten Welinder  <terra@gnome.org>
5493         * openoffice-read.c: Stub for table:named-range.
5495 2006-01-21  Morten Welinder  <terra@gnome.org>
5497         * openoffice-read.c (oo_conventions): Intersection character is '!'.
5499 2006-01-21  Morten Welinder  <terra@gnome.org>
5501         * openoffice-read.c (oo_conventions): Set range_sep_colon.
5503 2006-01-20  Morten Welinder  <terra@gnome.org>
5505         * openoffice-read.c (oo_cell_start): Fix loading of boolean
5506         constants from ods files.
5508 2005-11-16  Jody Goldberg <jody@gnome.org>
5510         * openoffice-read.c : Some minor polish
5512 2005-11-14  Jody Goldberg <jody@gnome.org>
5514         * Release 1.6.1
5516 2005-11-10  Jody Goldberg <jody@gnome.org>
5518         * openoffice-read.c (oo_col_start) : add full column style support.
5519         (oo_parse_border) : handle the space between the distance and the type.
5520         (oo_style_prop_cell) : diagonal borders, opendoc alignments, opendoc
5521                                font info.
5523 2005-11-06  Jody Goldberg <jody@gnome.org>
5525         http://bugzilla.gnome.org/show_bug.cgi?id=316234
5526         Patch from Luciano Miguel Wolf <luciano.wolf@indt.org.br>
5527         * openoffice-read.c : Some initial work on ods import.
5529 2005-11-06  Morten Welinder  <terra@gnome.org>
5531         * openoffice-read.c (oo_style): Attempt a fix for 320818.
5533 2005-10-10  Jody Goldberg <jody@gnome.org>
5535         * Release 1.6.0
5537 2005-09-08  Jody Goldberg <jody@gnome.org>
5539         * Release 1.5.90
5541 2005-08-28  Morten Welinder <terra@gnome.org>
5543         * Release 1.5.5
5545 2005-08-28  Morten Welinder <terra@gnome.org>
5547         * Release 1.5.4
5549 2005-08-15  Morten Welinder <terra@gnome.org>
5551         * Release 1.5.3
5553 2005-06-29  Jody Goldberg <jody@gnome.org>
5555         * openoffice-read.c : Add a hook for 'tab-stops'
5556         (oo_style) : suppress warning for default-style
5557           cell.  It does not have a name but we may still want to use it.  I'm
5558           not sure where.
5560 2005-06-13  Jody Goldberg <jody@gnome.org>
5562         * Release 1.5.2
5564 2005-05-10  Jody Goldberg <jody@gnome.org>
5566         * Release 1.5.1
5568 2005-05-08  Jody Goldberg <jody@gnome.org>
5570         * openoffice-read.c : quick hack to get a start on OASIS vs 1.0.x
5571           Add the name spaces.
5573 2005-05-07  Jean Brefort  <jean.brefort@normalesup.org>
5575         * openoffice-read.c: (openoffice_file_open): use go_setlocale
5576         instead of gnm_setlocale.
5577         * openoffice-write.c: (openoffice_file_save): ditto.
5579 2005-02-08  Jody Goldberg <jody@gnome.org>
5581         * Release 1.5.0
5583 2005-01-17  Jody Goldberg <jody@gnome.org>
5585         * Release 1.4.2
5587 2005-01-14  Jody Goldberg <jody@gnome.org>
5589         * openoffice-read.c (oo_conventions) : set dots_in_names to allow for
5590           addin functions like com.sun.star.sheet.addin.Analysis.getErf
5591         (oo_unknown_hander) :  Use a custom unknown handler to do a group map
5592           from com.sun.star.sheet.addin.Analysis.get*
5594 2004-12-09  Jody Goldberg <jody@gnome.org>
5596         * Release 1.4.1
5598 2004-11-28  Jody Goldberg <jody@gnome.org>
5600         * Release 1.4.0
5602 2004-11-07  Jody Goldberg <jody@gnome.org>
5604         * Release 1.3.93
5606 2004-10-31  Jody Goldberg <jody@gnome.org>
5608         * Release 1.3.92
5610 2004-10-18  Jody Goldberg <jody@gnome.org>
5612         * openoffice-read.c : Add support for date and time styles
5613         (oo_cell_start) : Handle time-values
5614         (openoffice_file_open) : read styles.
5616 2004-10-17  Jody Goldberg <jody@gnome.org>
5618         * openoffice-read.c : Add basic parser for date formats
5620 2004-10-05  Jody Goldberg <jody@gnome.org>
5622         * Release 1.3.91
5624 2004-09-08  Jody Goldberg <jody@gnome.org>
5626         * Release 1.3.90
5628 2004-08-29  Jody Goldberg <jody@gnome.org>
5630         * Release 1.3.2
5632 2004-07-19  Jody Goldberg <jody@gnome.org>
5634         * Release 1.3.1
5636 2004-05-10  Jody Goldberg <jody@gnome.org>
5638         * openoffice-write.c : A quick stub
5640 2004-05-06  Jody Goldberg <jody@gnome.org>
5642         * openoffice-read.c : Add some incomplete hooks to read rich text
5644 2004-04-03  Jody Goldberg <jody@gnome.org>
5646         * openoffice-read.c (oo_attr_distance) : new.
5647         (oo_style_prop_row) : new.
5648         (oo_style_prop_col) : new.
5649         (oo_style_prop) : break out parsers for each style type.
5650         (oo_style_start) : handle col/row sizes.
5652 2004-03-28  Jody Goldberg <jody@gnome.org>
5654         * Release 1.3.0
5656 2003-12-23  Jody Goldberg <jody@gnome.org>
5658         * Release 1.2.3
5660 2003-11-26  Jody Goldberg <jody@gnome.org>
5662         * Release 1.2.2
5664 2003-11-16  Jody Goldberg <jody@gnome.org>
5666         * openoffice-read.c (openoffice_file_open) : do not translate the
5667           bools.
5669 2003-10-27  Jody Goldberg <jody@gnome.org>
5671         * openoffice-read.c (opencalc_content_dtd) : tack on a few more nodes
5672           to silence warnings.
5674         http://bugzilla.gnome.org/show_bug.cgi?id=125611
5675         * openoffice-read.c (oo_attr_int) : OUCH!  Minor typo crept in when
5676           adding namespace support that broke importing all integers !  In
5677           this case it showed up because the integer was specifying spans.
5679         http://bugzilla.gnome.org/show_bug.cgi?id=125604
5680         * openoffice-read.c (openoffice_file_open) : OO uses C locale for
5681           numbers be careful to set and clear the locales appropriately.
5683 2003-10-08  Jody Goldberg <jody@gnome.org>
5685         * Release 1.2.1
5687 2003-09-15  Jody Goldberg <jody@gnome.org>
5689         * Release 1.2.0
5691 2003-09-10  Jody Goldberg <jody@gnome.org>
5693         * Release 1.1.90
5695 2003-08-21  Jody Goldberg <jody@gnome.org>
5697         * Release 1.1.20
5699 2003-06-07  Jody Goldberg <jody@gnome.org>
5701         * Release 1.1.19
5703 2003-06-07  Jody Goldberg <jody@gnome.org>
5705         * Release 1.1.18
5707 2003-05-11  Jody Goldberg <jody@gnome.org>
5709         * Release 1.1.17
5711 2003-01-28  Jody Goldberg <jody@gnome.org>
5713         * Release 1.1.16
5715 2003-01-22  Jody Goldberg <jody@gnome.org>
5717         * openoffice-read.c : Convert to the new gsf::xml interface to get
5718           namespace support.
5719         (oo_conventions) : add a map to convert ERRORTYPE -> ERROR.TYPE
5721 2003-01-02  Jody Goldberg <jody@gnome.org>
5723         * openoffice-read.c (oo_date_convention) : support 1904 date
5724           convention.
5726 2002-12-31  Jody Goldberg <jody@gnome.org>
5728         * Release 1.1.15
5730 2002-12-22  Jody Goldberg <jody@gnome.org>
5732         * Release 1.1.14
5734 2002-12-22  Jody Goldberg <jody@gnome.org>
5736         * Release 1.1.13
5738 2002-11-26  Morten Welinder  <terra@diku.dk>
5740         * openoffice-read.c (OOParseState): Add expression conventions.
5741         (oo_conventions): New function.
5742         (openoffice_file_open): Create and destroy expression conventions.
5744 2002-11-15  Jody Goldberg <jody@gnome.org>
5746         * Release 1.1.12
5748 2002-11-14  Jon K Hellan  <hellan@acm.org>
5750         * plugin.xml.in: Remove "open" and "import" attributes.
5752 2002-11-02  J.H.M. Dassen (Ray) <jdassen@debian.org>
5754         * openoffice-read.c (openoffice_file_open): Made static.
5756 2002-11-01  Jody Goldberg <jody@gnome.org>
5758         * Release 1.1.11
5760 2002-10-27  Jody Goldberg <jody@gnome.org>
5762         * Release 1.1.10
5764 2002-10-24  Jody Goldberg <jody@gnome.org>
5766         * openoffice-read.c (oo_style_prop) : fix handling of vertical
5767           alignment..
5769 2002-10-23  Jody Goldberg <jody@gnome.org>
5771         http://bugzilla.gnome.org/show_bug.cgi?id=96595
5772         * openoffice-read.c (oo_covered_cell_start) : new.
5773         (oo_covered_cell_end) : new.  covered cells, and repeated convered
5774           cells take up space.
5775         (oo_cell_end) : a repeated cell with content replicates the content.
5776         (oo_cell_start) : a repeated cell with a style replicates the style.
5778 2002-10-09  Morten Welinder  <terra@diku.dk>
5780         * openoffice-read.c (OOParseState): Avoid "gboolean ... : 1".
5782 2002-10-08  Jody Goldberg <jody@gnome.org>
5784         * openoffice-read.c (oo_style) : correctly layer parent styles but
5785           lose the relationship because we have no similar structure.
5786           Put the frame work in place to start supporting number formats but
5787           do not implement it yet.
5789 2002-10-08  Jody Goldberg <jody@gnome.org>
5791         * openoffice-read.c (oo_named_expr) : support named expressions.
5792         (oo_cell_start) : support merged ranges.
5794 2002-10-07  Jody Goldberg <jody@gnome.org>
5796         * openoffice-read.c (oo_table_start) : fix accidental offset of 1,1.
5798 2002-10-02  Jody Goldberg <jody@gnome.org>
5800         * openoffice-read.c : Ensure that the sheet ordering is correct.
5802 2002-10-01  Jody Goldberg <jody@gnome.org>
5804         * openoffice-read.c (oo_attr_enum) : new.
5805         (oo_style_prop) : some initial work.
5807 2002-09-30  Jody Goldberg <jody@gnome.org>
5809         * Release 1.1.9
5811 2002-09-29  Jody Goldberg <jody@gnome.org>
5813         * openoffice-read.c (oo_cell_start) : handle array expressions,
5814           and saved booleans, numbers, and strings (errors handled elsewhere)
5815           TODO : dates
5816         (xml_sax_attr_bool) : use oo_warning
5817         (xml_sax_attr_int) : use oo_warning
5818         (xml_sax_attr_float) : use oo_warning
5820 2002-09-29  Jody Goldberg <jody@gnome.org>
5822         * openoffice-read.c (oo_warning) : new utility.
5823         (oo_cellref_parse) : new.
5824         (oo_rangeref_parse) : new.
5825         (oo_cell_start) : initial support for expressions.  Still need to
5826           restore the saved values.
5828 2002-09-26  Jody Goldberg <jody@gnome.org>
5830         * openoffice-read.c : whip up a quick initial version that ignores
5831           formats, and expressions but does appear to handle values, and sheet
5832           names.