1.12.35
[gnumeric.git] / plugins / openoffice / ChangeLog
blobe26dd4185e4659d703d080be8059017525a076ae
1 2017-07-06  Morten Welinder <terra@gnome.org>
3         * Release 1.12.35
5 2017-03-20  Morten Welinder <terra@gnome.org>
7         * Release 1.12.34
9 2017-03-20  Morten Welinder  <terra@gnome.org>
11         * openoffice-read.c (oo_cell_content_link): Don't reinvent the
12         default tip here.
14 2017-03-10  Morten Welinder  <terra@gnome.org>
16         * openoffice-read.c (oo_cell_content_link): Handle both #Sheet1.A1
17         and #Sheet1!A1 syntax.  It's an open question what happens when
18         and if sheet names need quoting somehow.
19         (oo_named_exprs_preparse): Create the sheet here (except for
20         global names).
21         (odf_preparse_table_end): Only create the sheet here if we didn't
22         already create it.
23         (odf_preparse_create_sheet): New function extracted from
24         odf_preparse_create_sheet.
25         (odf_name_parser): New function to properly handle references to
26         sheet-local names.
28         * openoffice-write.c (odf_write_link_start): Write internal links
29         in the format Sheet1.A4 as both Excel and LO do.
31 2017-03-09  Morten Welinder  <terra@gnome.org>
33         * openoffice-write.c (odf_write_named_expression): Don't write
34         range-usable-as attribute.
36 2017-01-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
38         * openoffice-read.c (oo_cell_content_link) local links may be
39         prefixed with #
40         * openoffice-write.c (odf_write_objects) prefix local links with #
42 2017-03-06  Morten Welinder  <terra@gnome.org>
44         * openoffice-read.c: Use GSF_XML_2ND where appropriate.
46 2017-03-06  Morten Welinder  <terra@gnome.org>
48         * openoffice-read.c (oo_named_expr_common): Rename from
49         oo_named_expr and use for both preparse and parse.
51 2017-01-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
53         * openoffice-read.c (oo_named_expr_preparse): we do need to define global expressions during
54         preparse for internal links
55         (odf_create_named_expressions): new, extracted from odf_preparse_table_end
56         (odf_preparse_table_end) : use odf_create_named_expressions
57         (odf_preparse_spreadsheet_end): new
58         (opendoc_content_preparse_overrides): connect odf_preparse_spreadsheet_end
60 2017-01-30  Morten Welinder <terra@gnome.org>
62         * Release 1.12.33
64 2016-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
66         * openoffice-read.c (odf_page_layout_properties): scaling.percentage.? is in the range 0..100
67         * openoffice-write.c (odf_write_page_layout): scaling.percentage.? is in the range 0..100
69 2016-08-20  Morten Welinder <terra@gnome.org>
71         * Release 1.12.32
73 2016-08-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
75         * openoffice-read.c (oo_func_map_in): remove unneccessary COUNTIFS,
76         AVERAGEIFS, and SUMIFS
77         * openoffice-write.c (odf_expr_func_handler): add/correct export of COUNTIFS,
78         IFS, SWITCH, MAXIFS & MINIFS
80 2016-08-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
82         * openoffice-write.c (odf_expr_func_handler): export TEXTJOIN and
83         CONCAT with com.microsoft prefix.
85 2016-06-29  Morten Welinder <terra@gnome.org>
87         * Release 1.12.31
89 2016-06-17  Morten Welinder <terra@gnome.org>
91         * Release 1.12.30
93 2016-05-06  Morten Welinder <terra@gnome.org>
95         * Release 1.12.29
97 2016-03-22  Morten Welinder <terra@gnome.org>
99         * Release 1.12.28
101 2016-02-06  Morten Welinder <terra@gnome.org>
103         * Release 1.12.27
105 2016-01-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
107         * openoffice-read.c (oo_date_am_pm): read new foreign attributes
108         gnm:am-suffix and gnm:pm-suffix
110 2016-01-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
112         * openoffice-read.c (oo_date_am_pm): read new foreign attribute
113         gnm:style
115 2016-01-01  Morten Welinder  <terra@gnome.org>
117         * openoffice-read.c (oo_date_text_append): Colons don't need
118         quoting.
120 2015-12-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
122         * openoffice-write.c (odf_attrs_as_string): use named text style for
123         font size
124         (odf_write_font_sizes): new
125         (odf_write_character_styles): do not write font sizes as automatic styles
126         (openoffice_file_save_real): initialize and clear new font-size hash
128 2015-12-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
130         * openoffice-write.c (odf_write_ooo_settings): write ZoomValue
132 2015-12-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
134         * openoffice-read.c (odf_apply_ooo_table_config): read ZoomValue
136 2015-12-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
138         * openoffice-write.c (odf_attrs_as_string): handle font size
139         (odf_write_character_styles): write font size styles
141 2015-12-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
143         * openoffice-read.c (od_style_prop_text): read font-size
145 2015-12-28  Morten Welinder <terra@gnome.org>
147         * Release 1.12.26
149 2015-12-25  Morten Welinder <terra@gnome.org>
151         * Release 1.12.25
153 2015-09-20  Morten Welinder <terra@gnome.org>
155         * Release 1.12.24
157 2015-07-28  Morten Welinder <terra@gnome.org>
159         * Release 1.12.23
161 2015-07-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
163         * openoffice-read.c (oo_add_text_to_cell): check whether the cell
164         has a value.
166 2015-07-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
168         * openoffice-read.c (od_series_reg_equation): Do not asssume that
169         the specified style exists.
171 2015-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
173         * openoffice-read.c (od_style_prop_chart): fix handling of current
174         styles
176 2015-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
178         * openoffice-read.c (oo_col_start): warn if column style is missing
179         (oo_row_start): warn if row style is missing
180         (odf_free_cur_style): new (extracted from oo_style_end)
181         (oo_style_end): use odf_free_cur_style
182         (oo_style): free styles if appropriate
183         (openoffice_file_open): make sure the current styles are freed.
185 2015-06-24  Morten Welinder  <terra@gnome.org>
187         * openoffice-read.c (odf_oo_cell_style_copy): Use correct copy
188         function for styles.  Fixes #751259.
190 2015-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
192         * openoffice-read.c (oo_conventions_new): set union_char
194 2015-06-18  Morten Welinder  <terra@gnome.org>
196         * openoffice-read.c (go_plugin_init): Derive the preparse dtd from
197         the regular dtd.  (The two were not in sync.)
199 2015-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
201         * openoffice-read.c (_OOParseState): add named_expression_names
202         (oo_named_expr_preparse): new
203         (odf_preparse_table_start): initialize named_expression_names
204         (odf_preparse_table_end): define table scoped named expressions
206 2015-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
208         * openoffice-read.c (od_series_reg_equation): check whether
209         regression in fact exists.
211 2015-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
213         * openoffice-read.c (oo_func_map_in): Add MODE.MULT
214         * openoffice-write.c (odf_expr_func_handler): Export MODE.MULT
215         with Microsoft prefix
217 2015-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
219         * openoffice-read.c (oo_func_map_in): Add PERCENTRANK.EXC and
220         RANK.AVG
221         * openoffice-write.c (odf_expr_func_handler): Export PERCENTRANK.EXC
222         and RANK.AVG with Microsoft prefix
224 2015-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
226         * openoffice-read.c (oo_func_map_in): Add PERCENTILE.EXC
227         * openoffice-write.c (odf_expr_func_handler): Export PERCENTILE.EXC
228         with Microsoft prefix
230 2015-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
232         * openoffice-read.c (oo_func_map_in): Add QUARTILE.EXC
233         * openoffice-write.c (odf_expr_func_handler): Export QUARTILE.EXC
234         with Microsoft prefix
236 2015-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
238         * openoffice-read.c (oo_func_map_in): Add CONFIDENCE.T
239         * openoffice-write.c (odf_expr_func_handler): Export CONFIDENCE.T
240         with Microsoft prefix
242 2015-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
244         * openoffice-read.c (odf_func_dist4_handler): new
245         (odf_func_dist3_handler): new
246         (odf_func_norm_s_dist_handler): new
247         (odf_func_t_dist_tail_handler): new
248         (odf_func_t_dist_handler): new
249         (odf_func_t_dist_rt_handler): new
250         (odf_func_t_dist_2t_handler): new
251         (odf_func_lognorm_dist_handler): use odf_func_dist4_handler
252         (odf_func_negbinom_dist_handler): new
253         (oo_func_map_in): connect more handlers and add more mappings
255 2015-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
257         * openoffice-read.c (odf_func_f_dist_handler): new
258         (odf_func_lognorm_dist_handler): new
259         (oo_func_map_in): connect the above
261 2015-06-12  Morten Welinder  <terra@gnome.org>
263         * openoffice-write.c (odf_write_cell): Add check for null cell in
264         center-across-selection case.  Fixes #750857.
266 2015-06-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
268         * openoffice-read.c (oo_func_map_in): some mapping adjustment
270 2015-06-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
272         * openoffice-read.c (oo_func_map_in): Add some new excel function names
273         and handle a potential COM.MICROSOFT. prefix.
275 2015-06-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
277         * openoffice-write.c (odf_write_page_layout): write scaling information
278         * openoffice-read.c (odf_page_layout_properties): handle scaling
280 2015-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
282         * openoffice-write.c (odf_write_multi_chart_frame_size): add parentheses
284 2015-04-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
286         * openoffice-read.c (openoffice_file_open): initialize state.chart.name
288 2015-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
290         * openoffice-read.c (oo_extent_sheet_cols): delete
291         (oo_col_start): just check for the sheet size
292         (oo_extent_sheet_rows): delete
293         (oo_row_start): just check for the sheet size
294         (oo_cell_start): it is too late to try enlarge the sheet
296 2015-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
298         * openoffice-read.c (oo_col_start): avoid overflow
299         (oo_row_start): avoid overflow
300         (oo_cell_start): avoid overflow
301         (oo_covered_cell_start): avoid overflow
303 2015-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
305         * openoffice-read.c (odf_preparse_row_start): avoid overflow
306         (odf_preparse_cell_start): avoid overflow
307         (odf_preparse_covered_cell_start): avoid overflow
309 2015-04-18  Morten Welinder  <terra@gnome.org>
311         * openoffice-read.c (attr_eq_ncase): Delete.
313 2015-04-16  Morten Welinder <terra@gnome.org>
315         * Release 1.12.22
317 2015-04-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
319         * openoffice-read.c (od_style_prop_chart): don't use the real
320         property name, no need to set a default here
321         (oo_prop_list_has_double): new
322         (odf_create_plot): set the initial-angle for plots
324 2015-04-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
326         * openoffice-write.c (odf_write_office_styles): use
327         gnm_hash_table_foreach_ordered for text_colours
328         (odf_write_graphs): use gnm_hash_table_foreach_ordered
329         for fill_images
331 2015-04-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
333         * openoffice-read.c (odf_scale_initial_angle): new
334         (od_style_prop_chart): use odf_scale_initial_angle
335         (oo_chart_axis): do not add axes to ring and pie plots
336         * openoffice-write.c (odf_scale_initial_angle): new
337         (odf_write_plot_style): use odf_scale_initial_angle
338         (odf_write_pie_axis): new (former odf_write_generic_axis)
339         (odf_write_plot): connect odf_write_pie_axis
341 2015-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
343         * openoffice-read.c (od_style_prop_chart): read
344         chart:initial-angle
345         * openoffice-write.c (odf_write_plot_style): write
346         chart:initial-angle
348 2015-04-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
350         * openoffice-read.c (odf_apply_style_props): for hatch use
351         auto_color to set auto_fore
352         * openoffice-write.c (odf_write_gog_style_graphic): write
353         auto_fore as auto-color
355 2015-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
357         * openoffice-write.c (odf_write_generic_axis): deleted
358         (odf_write_plot): don't even try to write axes for Pie or
359         Ring plots.
361 2015-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
363         * openoffice-write.c (odf_write_regression_curve): we may use
364         several chart:regression-curve
366 2015-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
368         * openoffice-read.c (odf_apply_style_props): read and obey the
369         new foreground-solid flag
370         * openoffice-write.c (odf_write_gog_style_graphic): write the
371         new foreground-solid flag
373 2015-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
375         * openoffice-write.c (odf_write_image): don't keep image ref
377 2015-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
379         * openoffice-read.c (od_draw_image): don't keep image ref
381 2015-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
383         * openoffice-read.c (od_draw_frame_start): read and store the
384         image name
385         (od_draw_frame_end_full): clear the saved image name
386         (od_draw_image): apply the image name
387         * openoffice-write.c (odf_write_image): write image name
389 2015-04-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
391         * openoffice-write.c (odf_write_content): fix leak
393 2015-04-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
395         * openoffice-write.c (odf_write_axis_full): really fix leak
397 2015-04-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
399         * openoffice-write.c (odf_write_sheet_control_button): fix leak
400         (odf_write_axis_full): fix leak
402 2015-04-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
404         * openoffice-read.c (odf_validation_new_pair_expr): fix leak
406 2015-04-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
408         * openoffice-read.c (odf_complete_control_setup): setup value for
409         radio buttons
410         (odf_form_control): read form:current-selected
411         * openoffice-write.c (odf_write_sheet_control_checkbox): write
412         form:current-selected
414 2015-04-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
416         * openoffice-read.c (odf_complete_control_setup): setup value for
417         checkboxes
418         (oo_control_free): free current_state
419         (odf_form_control): read form:current-state
420         * openoffice-write.c (odf_write_sheet_control_checkbox): write
421         form:current-state
423 2015-04-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
425         * openoffice-read.c (od_draw_frame_start): ensure that the base address
426         is still on the sheet.
428 2015-04-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
430         * openoffice-read.c (oo_cell_content_start): avoid missing
431         the odf_push_text_p
433 2015-04-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
435         * openoffice-write.c (odf_func_sec_handler): deleted
436         (odf_func_sech_handler): deleted
437         (odf_expr_func_handler): disconnect the above
439 2015-03-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
441         * openoffice-read.c: use GSF_XML_2ND throughout
443 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
445         * openoffice-read.c (odf_shapes), (odf_shapes_end), (oo_table_end),
446         (od_draw_frame_start), (odf_line): support absolute sheet object anchoring.
447         * openoffice-write.c (odf_write_frame_size), (odf_write_line),
448         (odf_sheet_objects_get), (odf_write_content): ditto.
450 2015-03-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
452         * openoffice-write.c (odf_write_circle_axes_styles): deleted
453         (odf_write_radar_axes_styles): deleted
454         (odf_write_standard_axes_styles): deleted
455         (odf_write_surface_axes_styles): deleted
456         (odf_write_axis_full): trim argument, change all callers
457         (odf_write_generic_axis): trim argument
458         (odf_write_plot): drop array field
460 2015-03-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
462         * openoffice-write.c (odf_write_standard_axes_styles): allow NULL style
463         pointers
464         (odf_write_axis_full): retrieve style name when it isn't given.
466 2015-03-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
468         * openoffice-write.c (odf_write_attached_axes): avoid
469         pre-mature exit on missing axes.
471 2015-03-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
473         * openoffice-write.c (odf_write_attached_axis): new
474         (odf_write_attached_axes): new
475         (odf_write_standard_series): call odf_write_attached_axes
476         (odf_write_axis_full): write axis name
478 2015-03-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
480         * openoffice-read.c (oo_chart_axis): store axis name
481         (oo_plot_area): create named_axes hash
482         (oo_plot_area_end): destroy named axes hash
483         (oo_plot_series): handle attached axes
485 2015-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
487         * openoffice-read.c (oo_chart_axis): determine the axis id from the sequence
488         unless we stored it
489         (oo_plot_area): reset new axes counters
491 2015-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
493         * openoffice-write.c (odf_write_axis_full): the ODF schema allows multiple
494         chart:axis with the same dimension
496 2015-03-07  Morten Welinder  <terra@gnome.org>
498         * openoffice-write.c: Use new go_xml_out_add_double.
500 2015-03-04  Morten Welinder <terra@gnome.org>
502         * Release 1.12.21
504 2015-02-28  Morten Welinder  <terra@gnome.org>
506         * openoffice-read.c (odf_apply_style_props): Simplify using
507         go_image_new_from_data.
509 2015-02-26  Morten Welinder  <terra@gnome.org>
511         * openoffice-read.c: Don't change the style of an object.  Copy,
512         change, and reset it.
514 2015-02-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
516         * openoffice-write.c (odf_write_gog_style_graphic): write colours also
517         when we have a marker
518         (odf_write_gog_style_chart): write markers more often!
520 2015-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
522         * openoffice-read.c (od_style_prop_chart): without a stroke style and
523         chart:lines set, assume that there are no lines.
524         (oo_plot_series): set the style for overridden plots from the series style.
526 2015-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
528         * openoffice-read.c (oo_chart_axis): read and use gnm:id
529         (opendoc_content_dtd): attach gnm:axis
530         (opendoc_content_preparse_dtd): ditto
531         * openoffice-write.c (odf_write_axis_full): write all axes
533 2015-02-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
535         * openoffice-write.c (odf_write_gradient_info): use positive angles
537 2015-02-17  Morten Welinder  <terra@gnome.org>
539         * openoffice-write.c (odf_write_regression_curve): Plug leak.
540         (odf_write_axis_position): Plug leak.
541         (openoffice_file_save_real): Plug leak.
542         (odf_write_axislines): Plug leak.
543         (odf_new_markup): Plug leak.
545 2015-02-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
547         * openoffice-read.c (odf_apply_style_props): handle auto-font
548         (od_style_prop_chart): read auto-font
549         * openoffice-write.c (odf_write_gog_style_text): write auto-font
551 2015-02-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
553         * openoffice-read.c (oo_prop_list_apply_to_axisline): new
554         (oo_prop_list_apply_to_axis): use oo_prop_list_apply_to_axisline
555         (oo_chart_axisline): new
556         (opendoc_content_dtd): connect oo_chart_axisline
557         * openoffice-write.c (odf_write_axisline_style): new
558         (odf_write_axis_style): use odf_write_axisline_style
559         (odf_write_axislines): new
560         (odf_write_axis_full): call odf_write_axislines
561         (odf_fill_chart_props_hash): connect odf_write_axisline_style
563 2015-02-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
565         * openoffice-read.c (od_style_prop_chart): read chart:display-label
566         * openoffice-write.c (odf_write_axis_style): write the correct chart:display-label
568 2015-02-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
570         * openoffice-write.c (odf_write_series_lines): don't use
571         gog_object_get_child_by_name since it may return the wrong objects. Get teh correct
572         style name.
574 2015-02-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
576         * openoffice-write.c (odf_write_multi_chart_frame_size): For manually positioned
577         charts we may have 0 columns and/or rows.
579 2015-02-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
581         * openoffice-read.c (odf_apply_style_props): handle marker-fill-colour,
582         gnm-auto-marker-outline-colour & gnm-auto-marker-fill-colour
583         (od_style_prop_chart): read the above
584         * openoffice-write.c (odf_write_gog_style_graphic): write the above
586 2015-02-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
588         * openoffice-write.c (odf_write_axis_position): Gnumeric uses a default crossing
589         position of 0 if pos-str==cross
591 2015-02-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
593         * openoffice-read.c (odf_apply_style_props): apply gnm-auto-type
594         (od_style_prop_chart): use a name indicative of it being an extension
596 2015-02-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
598         * openoffice-write.c (odf_write_gog_style_graphic): we need to write fill colour
599         info even if auto-type == TRUE since nobody else understands auto-type
601 2015-02-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
603         * openoffice-read.c (odf_apply_style_props): add argument and evaluate depending
604         on whether we are in a chart context. Change all callers.
606 2015-02-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
608         * openoffice-read.c (odf_line): read the z-index
609         * openoffice-write.c (odf_write_line): write a z-index
611 2015-02-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
613         * openoffice-read.c (oo_table_end): put all objects without z-index at the top.
615 2015-02-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
617         * openoffice-read.c (oo_plot_assign_dim): add argument to handle
618         general expressions. Change all callers.
619         (oo_plot_series): handle new gnm:values-cell-range-expression attribute
620         (oo_plot_series_end): reset overridden plot type
621         (oo_series_domain): handle new gnm:cell-range-expression attribute
623 2015-02-04  Morten Welinder <terra@gnome.org>
625         * Release 1.12.20
627 2015-02-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
629         * openoffice-write.c (odf_write_data_element_range): add foreign
630         attribute argument and use it when the data specification is not
631         just a range. Change all callers.
633 2015-02-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
635         * openoffice-read.c (odf_chart_classes): extract from oo_chart
636         (odf_find_plot_type): new
637         (odf_create_plot): new
638         (oo_plot_area): use the above
639         (oo_plot_series): handle plot class override
640         (oo_chart): use odf_chart_classes
642 2015-02-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
644         * openoffice-write.c (odf_write_*_series): add argument and
645         write plot type if necessary
646         (odf_write_plot): add argument, change calls to odf_write_*_series,
647         and handle the second and later plots too.
648         (odf_write_graph_content): call odf_write_plot with additional
649         argument
651 2015-02-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
653         * openoffice-write.c (odf_write_series_lines): new
654         (odf_write_standard_series): call odf_write_series_lines
655         * openoffice-read.c (oo_series_serieslines): new
656         (opendoc_content_dtd): connect oo_series_serieslines
657         (opendoc_content_preparse_dtd): advertise new element here too
659 2015-01-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
661         * openoffice-write.c (odf_write_multi_chart_frame_size): new
662         (odf_write_graph): call odf_write_multi_chart_frame_size if app.
664 2015-01-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
666         * openoffice-read.c (oo_prop_list_apply_to_axis): handle pos-str
667         (od_style_prop_chart): read axis-position and friends
669 2015-01-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
671         * openoffice-write.c (odf_write_data_attribute): also handle constant
672         floats
673         (odf_write_axis_position): new
674         (odf_write_axis_style): call odf_write_axis_position from here
676 2015-01-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
678         * openoffice-write.c (odf_n_charts): new
679         (odf_write_graph): write a frame for each chart in the graph
680         (odf_write_frame): for graphs postpone writing the frame
681         (odf_write_graph_manifest): write info for each chart in a graph
682         (odf_write_graph_content): write the content for the specified chart in a graph
683         (odf_write_graphs): write each chart in the graph
685 2015-01-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
687         * openoffice-read.c (odf_apply_style_props): handle marker outline colour
688         (od_style_prop_chart): read marker outline colour
689         * openoffice-write.c (odf_write_gog_style_graphic): write marker outline
690         colour as extension.
692 2015-01-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
694         * openoffice-write.c (odf_write_fill_type): new
695         (odf_write_gog_style_chart): connect odf_write_fill_type
696         * openoffice-read.c (od_style_prop_chart): read gnm:fill-type
698 2015-01-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
700         * openoffice-write.c (odf_write_data_element_range): correctly write single cell
701         references
703 2015-01-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
705         * openoffice-write.c (odf_write_data_attribute): check for extensions
706         (+odf_add_expr): new
707         (odf_write_axis_style): write minimum- and maximum-expression
708         (odf_write_reg_name): use odf_add_expr
709         * openoffice-read.c (odf_apply_expression): new
710         (oo_prop_list_apply_to_axis): handle minimum_expression and
711         maximum_expression
712         (od_style_prop_chart): read minimum_expression and
713         maximum_expression
715 2015-01-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
717         * openoffice-write.c (odf_write_plot_style): correctly write chart lines
718         (odf_write_axis_style): add minor & major tick handling
719         * openoffice-read.c (od_style_prop_chart): add minor & major tick handling
721 2015-01-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
723         * openoffice-write.c (odf_write_lin_reg): write
724         loext:regression-max-degree
725         (odf_write_polynom_reg): ditto
726         * openoffice-read.c (od_style_prop_chart): read
727         loext:regression-max-degree
728         (od_series_regression): apply loext:regression-max-degree
730 2015-01-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
732         * openoffice-write.c (odf_write_plot_style_affine): new
733         (odf_write_lin_reg): call odf_write_plot_style_affine
734         (odf_write_polynom_reg): call odf_write_plot_style_affine
735         (odf_write_exp_reg): call odf_write_plot_style_affine
737 2015-01-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
739         * openoffice-write.c (odf_write_data_attribute): add argument, change all callers
740         and write loext extendion if appropriate
741         (odf_write_reg_name): pass loext extension name to odf_write_data_attribute
743 2015-01-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
745         * openoffice-read.c (od_style_prop_chart): store regression name constant
746         from loext: name space
747         (od_series_regression): apply regression name constant specified by style
749 2015-01-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
751         * openoffice-read.c (od_style_prop_chart): store regression name expression
752         from gnm: name space
753         (od_series_regression): apply regression name expression specified by style
754         * openoffice-write.c (odf_write_regression_curve): do not save trendline name here
755         (odf_write_reg_name): new
756         (odf_write_*_reg): call odf_write_reg_name
758 2015-01-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
760         * openoffice-read.c (od_series_regression): read trend line name
761         * openoffice-write.c (odf_write_regression_curve): save trendline name
763 2015-01-23  Morten Welinder <terra@gnome.org>
765         * Release 1.12.19
767 2014-09-25  Morten Welinder <terra@gnome.org>
769         * Release 1.12.18
771 2014-09-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
773         * openoffice-read.c (odf_push_text_p): initialize new field
774         span_style_list
775         (odf_pop_text_p): free span_style_list
776         (odf_text_content_end): apply text styles here
777         (odf_text_span_end): rather than here
778         (odf_text_span_start): save the ssi also in span_style_list
779         (openoffice_file_open): handle span_style_list
781 2014-09-11  Morten Welinder  <terra@gnome.org>
783         * openoffice-read.c (odf_text_p_apply_pango_attribute): Use
784         pango_attr_list_change, not pango_attr_list_insert_before.  The
785         latter does not merge ranges.
787 2014-06-09  Morten Welinder <terra@gnome.org>
789         * Release 1.12.17
791 2014-05-25  Morten Welinder  <terra@gnome.org>
793         * openoffice-read.c (oo_db_range_start): Fix uninitialized memory
794         usage.  [#730727]
796 2014-05-23  Morten Welinder <terra@gnome.org>
798         * Release 1.12.16
800 2014-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
802         * openoffice-write.c (oo_item_name): provide a sufficient number
803         of prefixes
805 2014-05-21  Morten Welinder  <terra@gnome.org>
807         * openoffice-write.c (odf_write_office_styles)
808         (odf_write_graph_styles): Make this much more deterministic.
810 2014-05-20  Morten Welinder  <terra@gnome.org>
812         * openoffice-write.c
813         (openoffice_file_save_real): Write graphs and images in order of
814         name, not random hash order.
815         (oo_item_name): New function for naming various styles and objects
816         consistently.
818 2014-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
820         * openoffice-write.c (odf_write_axis_full): fix element order
822 2014-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
824         * openoffice-write.c (odf_write_title): do not write table:cell-address
826 2014-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
828         * openoffice-write.c (od_style_prop_chart): use gnm:interpolation rather
829         than using an invalid attirbute value with chart:interpolation
830         * openoffice-read.c (od_style_prop_chart): handle gnm:interpolation
832 2014-05-18  Morten Welinder  <terra@gnome.org>
834         * openoffice-read.c (odf_apply_style_props): For markers, map only
835         "none" to "auto" when the plot doesn't have markers by default.
837 2014-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
839         * openoffice-write.c (odf_write_interpolation_attribute): correctly write
840         the skip-invalid extension
842 2014-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
844         * openoffice-read.c (oo_db_range_start): use table:display-filter-buttons
845         attribute
847 2014-05-14  Morten Welinder  <terra@gnome.org>
849         * openoffice-write.c: Use gnm_object_has_readable_prop all over.
851         * openoffice-read.c (odf_apply_style_props): Set marker's colours
852         too.
854         * openoffice-write.c (odf_write_gog_style_graphic): Use marker's
855         colour if we don't have a line.
857 2014-05-12  Morten Welinder  <terra@gnome.org>
859         * openoffice-write.c (odf_write_gog_style_graphic): Improve
860         gostyle::auto-width roundtrip.
861         * openoffice-read.c (odf_apply_style_props): Ditto.
863 2014-05-11  Morten Welinder  <terra@gnome.org>
865         * openoffice-write.c (odf_add_pt): Use sufficient precision to
866         roundtrip.
868 2014-05-10  Morten Welinder  <terra@gnome.org>
870         * openoffice-write.c (odf_write_gog_style_chart): Write marker
871         size also for automatic shape.  Resolve confusion about whether
872         plot type has markers by default.  Only write marker information
873         for styles that have such information.
875         * openoffice-read.c (odf_apply_style_props): Even automatic
876         symbols can have a size attached.
878 2014-05-09  Morten Welinder  <terra@gnome.org>
880         * openoffice-read.c (od_style_prop_chart): Read text colour.
882         * openoffice-write.c (odf_write_gog_style_text): Write text colour
883         as appropriate.
885 2014-05-07  Morten Welinder  <terra@gnome.org>
887         * openoffice-read.c (odf_number): Remove escaped debug code.
888         (oo_canonical_format): New function.
889         (odf_number_style_end): Udr oo_canonical_format.
891 2014-04-30  Morten Welinder <terra@gnome.org>
893         * Release 1.12.15
895 2014-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
897         * openoffice-read.c (odf_number): read gnm:min-integer-chars
898         and create an appropriate number format
900 2014-04-22  Morten Welinder  <terra@gnome.org>
902         * openoffice-write.c (odf_write_axis_style): Plug leak.
903         (odf_write_gog_style_graphic): Plug leak.
904         (odf_write_plot): Plug leak.
906         * openoffice-read.c (odf_format_repeated_text_end): Imported "*x"
907         type format.
909 2014-04-20  Morten Welinder  <terra@gnome.org>
911         * openoffice-read.c: Read gnm:invisible for text formats too.
913 2014-04-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
915         * openoffice-read.c (oo_cell_start): watch for fake spans
916         * openoffice-write.c (odf_cellspan_is_empty): new
917         (odf_write_cell): simulate center-accross-selection as merges
919 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
921         * openoffice-read.c (odf_apply_style_props): handle auto-dash and
922         auto-color extensions; do not depend on order of attributes
923         * openoffice-write.c (odf_write_gog_style_graphic): writeauto-dash
924         and auto-color extensions
926 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
928         * openoffice-read.c (oo_parse_spec_distance): new
929         (oo_parse_distance): use oo_parse_spec_distance
930         (od_style_prop_chart): read fo:border
931         (oo_chart): use fo:border
932         * openoffice-write.c (odf_write_gog_style_graphic): add argument
933         and change all callers
934         (odf_get_border_info): new (partial implementation)
935         (odf_write_plot): write graphic properties for the chart style
937 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
939         * openoffice-read.c (od_style_prop_chart): read auto-type
940         * openoffice-write.c (odf_write_gog_style_graphic): write auto-type
942 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
944         * openoffice-read.c (odf_apply_style_props): set default
945         (od_style_prop_chart): handle interpolation-skip-invalid
946         * openoffice-write.c (odf_write_interpolation_attribute):
947         write interpolation-skip-invalid
948         (odf_write_gog_style_chart): write interpolations for GogLineSeries
950 2014-04-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
952         * openoffice-read.c (odf_apply_style_props): read both
953         svg:stroke-width and gnm:stroke-width
954         * openoffice-write.c (od_style_prop_chart): write gnm:stroke-width
955         to remember line-widths of 0.
957 2014-04-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
959         * openoffice-read.c (od_draw_object): set width-pts and height-pts
960         * openoffice-write.c (odf_add_pt): write 6 decimals
962 2014-04-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
964         * openoffice-read.c (oo_plot_area): default to manual size
965         if a manual size is given
967 2014-04-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
969         * openoffice-read.c (odf_parse_float): delete
970         (odf_custom_shape_end): use gnm_strto
972 2014-04-15  Morten Welinder  <terra@gnome.org>
974         * openoffice-read.c (oo_attr_float): Use gnm_float, not double.
975         (oo_attr_percent): Ditto, and fix syntax check.
976         (oo_parse_angle): Ditto, avoid overflows, and handle negatives.
978 2014-04-14  Morten Welinder  <terra@gnome.org>
980         * openoffice-write.c (odf_write_gog_style_text): Don't write
981         auto-angles.
983 2014-04-13  Morten Welinder <terra@gnome.org>
985         * Release 1.12.14
987 2014-03-31  Morten Welinder  <terra@gnome.org>
989         * openoffice-read.c (odf_insert_in_integer): Be a bit smarter.
991 2014-03-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
993         * openoffice-read.c (odf_number): try to recognize LO's GENERAL
995 2014-03-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
997         * openoffice-read.c (odf_embedded_text_end): remove print statement
998         (oo_date_text_append): cover '"'
1000 2014-03-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1002         * openoffice-read.c (odf_embedded_text_start): new
1003         (odf_embedded_text_end): new
1004         (odf_insert_in_integer): simple minded insertion of embedded text
1006 2014-03-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1008         * openoffice-read.c: expect number:fill-character
1010 2014-03-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1012         * openoffice-read.c (odf_header_footer_left): only warn if the
1013         provided left header/footer style is intended to be displayed
1015 2014-03-30  Morten Welinder  <terra@gnome.org>
1017         * openoffice-read.c (odf_number_color): Use new go_format_palette_
1018         functions.  This also handles approximate matches.
1019         (openoffice_file_open): Plug leak.
1020         (oo_named_expr): If the expression is missing, substitute #REF.
1022 2014-03-29  Morten Welinder  <terra@gnome.org>
1024         * openoffice-read.c (oo_rangeref_parse): Handle parse failures (of
1025         []) without reading undefined memory.
1026         (oo_expr_rangeref_parse): Handle [] better.
1028 2014-03-28  Morten Welinder  <terra@gnome.org>
1030         * openoffice-read.c (odf_map): Fix condition !=.
1031         (odf_number_color): Handle also numbered colours.
1033 2014-03-27  Morten Welinder  <terra@gnome.org>
1035         * openoffice-read.c (odf_number_style_end): Simplify building a
1036         conditional xl-style format.
1038         * openoffice-write.c (odf_write_style_cell_properties): Don't
1039         assume pattern colour is set.  Fixes #727152.
1041 2014-03-25  Morten Welinder  <terra@gnome.org>
1043         * openoffice-write.c: Don't handle conditional number formats (of
1044         the "[>10]0.00;0.000" type) here.  Let goffice do it.
1046 2014-03-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1048         * openoffice-read.c: add gnm:invisible to CURRENCY_TEXT
1050 2014-03-18  Morten Welinder <terra@gnome.org>
1052         * Release 1.12.13
1054 2014-03-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1056         * openoffice-read.c (h_align_is_valid): chnage type of field to int
1057         (odf_style_set_align_h): set alignment
1058         (oo_style_prop_cell): set h_align_is_valid
1060 2014-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1062         * openoffice-write.c (odf_write_style_cell_properties): use
1063         extension to determine high or low underlines
1064         * openoffice-read.c (oo_style_prop_cell): read new gnm: attribute
1065         and make sure we reverse the mapping we use when we write
1067 2014-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1069         * openoffice-read.c (openoffice-read.c): also set the script to
1070         standard when appropriate
1072 2014-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1074         * openoffice-write.c (odf_write_style_cell_properties): even write
1075         pattern and background colour for pattern 0
1076         * openoffice-read.c (oo_style_prop_cell): set pattern and background
1077         colour even for pattern 0
1079 2014-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1081         * openoffice-write.c (odf_write_style_paragraph_properties): our indent
1082         is fo:margin-left, not fo:indent
1083         * openoffice-read.c (oo_style_prop_cell): read fo:margin-left
1085 2014-03-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1087         * openoffice-write.c (odf_write_style_paragraph_properties): only
1088         use LO's extension if we are in fact using extensions
1090 2014-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1092         * openoffice-read.c (odf_style_load_two_values): do not force
1093         explicit sheet references
1094         (odf_style_load_one_value): ditto
1095         (odf_style_add_condition): remove extra parentheses and trust
1096         gnm_style_cond_canonicalize
1098 2014-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1100         * openoffice-read.c (odf_style_add_condition): use
1101         gnm_style_cond_canonicalize
1103 2014-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1105         * openoffice-write.c (odf_save_style_map): use
1106         gnm_style_cond_get_alternate_expr
1108 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1110         * openoffice-read.c (oo_style_prop_cell): only set strikethrough
1111         when read
1113 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1115         * openoffice-write.c (odf_write_style_cell_properties): write
1116         repeat-content only when it is defined
1117         * openoffice-read.c (odf_style_set_align_h): don't set the slignment
1118         if it isn't defined
1120 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1122         * openoffice-write.c (odf_write_style_cell_properties):
1123         GNM_HALIGN_CENTER_ACROSS_SELECTION should be source="fix"
1124         (odf_write_style_paragraph_properties): use "center" for
1125         GNM_HALIGN_CENTER_ACROSS_SELECTION
1127 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1129         * openoffice-read.c (oo_style_prop_cell): read script info
1131 2014-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1133         * openoffice-read.c (odf_style_set_align_h): repeat_content and
1134         gnm_halign take precedence
1135         * openoffice-write.c (odf_write_style_cell_properties): write LO's
1136         version of DISTRIBUTED
1138 2014-03-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1140         * openoffice-read.c (oo_style_end): set alignment once
1141         (odf_style_set_align_h): use repeat_content even if the
1142         source is not set to 'fix'
1143         (oo_style_prop_cell): don't set the alignment here
1144         * openoffice-write.c (odf_write_cell): write a string-value
1145         if repeat-content will be set to true
1147 2014-03-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1149         * openoffice-read.c (oo_date_text_append_quoted): new
1150         (oo_date_text_append_unquoted): new
1151         (oo_date_text_append): use the above
1152         (oo_date_text_end): use oo_date_text_append
1153         (odf_number_invisible_text): Quoting is now handled in
1154         oo_date_text_append
1156 2014-03-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1158         * openoffice-read.c (oo_date_text_end_append): delete
1159         (odf_date_text_start): new
1160         (oo_date_text_append): new
1161         (oo_date_text_end): use oo_date_text_append
1162         (odf_number_invisible_text): remove corresponding blank
1164 2014-03-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1166         * openoffice-read.c (odf_number_invisible_text): new
1168 2014-03-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1170         * openoffice-write.c (odf_print_spreadsheet_content_validations):
1171         fix order of elements
1173 2014-03-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1175         * openoffice-write.c (odf_write_sheet_control_list): add argument
1176         to diffferentiate list-boxes and change all callers.
1178 2014-03-03  Morten Welinder <terra@gnome.org>
1180         * Release 1.12.12
1182 2014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1184         * openoffice-read.c (odf_filter_or): new, warn when we encounter
1185         this element
1186         (opendoc_content_dtd): handle table:filter-or and table:filter-and
1187         elements
1188         (opendoc_content_preparse_dtd): ditto
1190 2014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1192         * openoffice-write.c (odf_write_autofilter): write table:filter-and
1193         in the case of multiple conditions
1195 2014-03-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1197         * openoffice-read.c (odf_validation_new_single_expr): only force
1198         explicit sheet names if the base address is on a different sheet
1199         (odf_validation_new_pair_expr): ditto
1200         (odf_validations_analyze): also strip parentheses
1202 2014-02-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1204         * openoffice-read.c (oo_table_start): handle new style fields
1205         (oo_style_prop_table): read more style info
1206         (odf_apply_ooo_table_config): read table properties
1207         * openoffice-write.c (odf_write_table_style): write more style info
1208         (odf_write_ooo_settings): write more table properties
1210 2014-02-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1212         * openoffice-read.c (odf_config_item): read shorts
1213         (odf_apply_ooo_table_config): handle frozen panes info
1215 2014-02-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1217         * openoffice-write.c (odf_write_ooo_settings): write frozen panes
1218         info
1220 2014-02-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1222         * openoffice-write.c (write_row_style): write visibility
1223         (write_col_style): write visibility
1225 2014-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1227         * openoffice-read.c (oo_style_prop_cell): read new foreign elements
1228         * openoffice-write.c (odf_write_style_cell_properties): write
1229         foreign elements to describe pattern cell background fills
1231 2014-02-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1233         * openoffice-write.c (odf_render_date*): don't create an unnecessary
1234         format string
1235         (odf_render_time*): ditto
1236 2014-02-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1238         * openoffice-read.c (odf_apply_ooo_table_config): set viewport
1239         (openoffice_file_open): use some ooo configs even if we have
1240         foreign elements
1242 2014-02-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1244         * openoffice-write.c (odf_write_ooo_settings): write viewport (topleft)
1245         position
1247 2014-02-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1249         * openoffice-read.c (oo_style_prop_cell): handle underline similarly
1250         to od_style_prop_text
1252 2014-02-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1254         * openoffice-read.c (oo_cell_start): handle gnm:error-value
1255         * openoffice-write.c (odf_write_cell): write gnm:error-value
1256         if we convert an error constant to a formula
1258 2014-02-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1260         * openoffice-write.c (odf_expr_conventions_new): use same
1261         decimal_digits as in gnumeric export.
1263 2014-02-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1265         * openoffice-read.c (odf_apply_gnm_config): handle geometry
1266         * openoffice-write.c (odf_write_gnm_settings): handle geometry
1268 2014-02-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1270         * openoffice-read.c (odf_hf_sheet_name): fix capitalization
1271         (odf_hf_date): ditto
1272         (odf_hf_time): ditto
1273         (odf_hf_page_number): ditto
1274         (odf_hf_page_count): ditto
1275         (odf_hf_file): ditto
1276         (odf_hf_title): ditto
1278 2014-02-16  Morten Welinder <terra@gnome.org>
1280         * Release 1.12.11
1282 2014-02-11  Morten Welinder <terra@gnome.org>
1284         * Release 1.12.10
1286 2013-11-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1288         * openoffice-read.c (oo_dash): fix typo
1290 2013-11-28  Morten Welinder <terra@gnome.org>
1292         * Release 1.12.9
1294 2013-10-07  Morten Welinder <terra@gnome.org>
1296         * Release 1.12.8
1298 2013-09-01  Morten Welinder <terra@gnome.org>
1300         * Release 1.12.7
1302 2013-08-27  Morten Welinder <terra@gnome.org>
1304         * Release 1.12.6
1306 2013-08-19  Morten Welinder <terra@gnome.org>
1308         * Release 1.12.5
1310 2013-08-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1312         * openoffice-read.c (styles_dtd): add elements
1313         (ooo1_content_preparse_dtd): new
1314         (openoffice_file_open): use the correct dtd for preparsing
1316 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1318         * openoffice-read.c (odf_parse_range_address_or_expr): initialize
1319         GnmRangeRef
1321 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1323         * openoffice-write.c (xl_find_conditional_format): There might
1324         only be a single conditional part!
1326 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1328         * openoffice-read.c (odf_validations_translate): NULL validation
1329         conditions are expected for input-message only situations
1331 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1333         * openoffice-write.c (odf_write_style_cell_properties): write
1334         input messages as part of the validations
1335         (odf_write_empty_cell): correctly write the name of an input-message
1336         only validation.
1337         (odf_validation_general_attributes): don't write the name here
1338         (odf_print_spreadsheet_content_validations): write the correct name
1340 2013-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1342         * openoffice-read.c (odf_validation_t): add fields
1343         (odf_validation_get_input_message): new
1344         (odf_validation_free): handle new fields
1345         (odf_validation_help_message): new
1346         (odf_validation_help_message_end): new
1347         (oo_cell_start): handle input message
1348         (opendoc_content_dtd): connect odf_validation_help_message*
1350 2013-07-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1352         * openoffice-read.c (oo_set_gnm_border): check for old_border == NULL
1354 2013-07-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1356         * openoffice-read.c (od_draw_object): clear chart.i_plot_styles
1357 2013-07-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1359         * openoffice-read.c (od_draw_object): clear chart.i_plot_styles
1361 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1363         * openoffice-write.c (odf_print_spreadsheet_content_validations): write
1364         helpmessage (and warn on NULL validation only if the input message is
1365         also NULL
1366         (odf_write_plot): switch off pretty printing when writing text:p
1368 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1370         * openoffice-write.c (odf_print_spreadsheet_content_validations): warn
1371         on NULL validation
1373 2013-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1375         * openoffice-read.c (odf_header_footer_left): new
1376         (styles_dtd): connect the above and add subelements
1378 2013-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1380         * openoffice-read.c (openoffice_file_open): don't free docs, unless we
1381         in fact created them
1383 2013-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1385         * openoffice-read.c (opendoc_content_preparse_dtd): remove
1386         unneeded handlers
1388 2013-07-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1390         * openoffice-read.c: use odf_sheet_suggest_size instead of
1391         gnm_sheet_suggest_size throughout (except in odf_sheet_suggest_size)
1392         (odf_sheet_suggest_size): allow for NULL xin
1394 2013-07-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1396         * openoffice-read.c (oo_cellref_parse): do not create new sheets
1397         since we created them all during preparsing
1398         (openoffice_file_open): since we never add additional sheets we need
1399         not delete them
1401 2013-07-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1403         * openoffice-read.c (oo_plot_assign_dim): clear the correct spaces
1405 2013-07-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1407         * openoffice-write.c (odf_write_data_element_range): new
1408         (odf_write_data_element): use odf_write_data_element_range
1410 2013-07-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1412         * openoffice-read.c (oo_plot_assign_dim): accept a range list rather
1413         than just a single range
1415 2013-07-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1417         * openoffice-read.c (oo_table_start): don't store the extent any more
1418         (oo_table_end): no need to reassign styles
1419         (oo_col_start): only assign column default data styles on the extent
1420         (oo_row_start): only assign row default data styles on the extent
1421         (oo_cell_start): don't store the extent any more
1422         (oo_cell_content_end): ditto
1423         (odf_preparse_table_end): save the extent with the sheet
1424         (openoffice_file_open): the extra tables are always at the end, and
1425         everything is in the corect order
1427 2013-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1429         * openoffice-read.c (oo_table_start): depends on a preparse
1430         (odf_preparse_table_start): new
1431         (odf_sheet_suggest_size): new
1432         (odf_preparse_table_end): new
1433         (odf_preparse_row_start): new
1434         (odf_preparse_row_end): new
1435         (odf_preparse_cell_start): new
1436         (odf_preparse_covered_cell_start): new
1437         (opendoc_content_preparse_dtd): new
1438         (openoffice_file_open): preparse content.xml to create sheets of the
1439         proper size.
1441 2013-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1443         * openoffice-write.c (oo_table_end): just look at the data extent to
1444         adjust styles
1445         (oo_update_style_extent): delete and remove all calls
1446         (oo_cell_end): the data extent includes empty cells specified by
1447         table:table-cell
1449 2013-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1451         * openoffice-write.c (odf_write_content_rows): write enough cells
1452         in empty rows
1454 2013-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1456         * openoffice-write.c (odf_write_custom_shape): write the correct
1457         viewbox
1459 2013-07-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1461         * openoffice-write.c (odf_write_sheet_object_styles): write object
1462         style for GNM_SO_PATH_TYPE
1464 2013-07-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1466         * openoffice-read.c (odf_custom_shape_end): move declaration to
1467         clarify variable use
1468         * openoffice-write.c (custom_shape_path_collector): new
1469         (odf_write_custom_shape): new
1470         (odf_write_objects): connect the above
1471         (odf_write_content_rows): write at least one cell per row.
1473 2013-07-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1475         * openoffice-read.c (odf_text_content_end): reset offset
1477 2013-07-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1479         * openoffice-read.c (opendoc_content_dtd): handle spaces, tabs
1480         and spans inside hyperlinks
1482 2013-07-10  Morten Welinder <terra@gnome.org>
1484         * Release 1.12.4
1486 2013-07-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1488         * openoffice-write.c (BORDERSTYLE): check for NULL border
1490 2013-07-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1492         * openoffice-write.c (odf_write_gog_position_pts): only write
1493         location if manual is set
1494         (odf_write_gog_position): include compass specification
1495         (odf_write_title): remove position argument, change all callers
1496         and let odf_write_gog_position handle compass
1498 2013-07-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1500         * openoffice-write.c (odf_write_regression_curve): write
1501         location
1502         (odf_write_plot): write manual legend position
1504 2013-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1506         * openoffice-read.c (oo_chart_title_end): distinguisg axis
1507         titles from chart titles
1508         (oo_chart_title_end): avoid writing invalid properties for
1509         axis titles
1511 2013-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1513         * openoffice-read.c (ooo1_content_dtd): add draw:line
1514         (oo_func_map_in): add LEGACY.TDIST to TDIST translation
1515         * openoffice-write.c (odf_expr_func_handler): add TDIST
1516         to LEGACY TDIST translation
1518 2013-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1520         * openoffice-read.c (openoffice_file_open): make sure that the
1521         text stack is empty
1523 2013-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1525         * openoffice-read.c (odf_text_content_end): check for null
1526         stack
1527         (ooo1_content_dtd): also connect oo_cell_content_start
1528         (openoffice_file_open): initialize text_p_stack
1530 2013-06-25  Morten Welinder <terra@gnome.org>
1532         * Release 1.12.3
1534 2013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1536         * openoffice-write.c (GnmOOExport): new fields
1537         (ODFConventions): new type
1538         (odf_expr_func_handler): use state fields rather than static
1539         variables for the hashes
1540         (odf_expr_conventions_new): attach state to conventions
1541         (openoffice_file_save_real): initialize and free new fields
1543 2013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1545         * openoffice-read.c (_OOParseState): add fields
1546         (oo_func_map_in): do not use static variables for the hash
1547         (openoffice_file_open): initialize and free new fields
1549 2013-06-21  Morten Welinder  <terra@gnome.org>
1551         * openoffice-read.c (odf_validation_free): Plug leak.
1553 2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1555         * openoffice-read.c (oo_legend): watch for missing chart style
1556         (od_series_regression): ditto
1557         (oo_series_droplines): ditto
1558         (oo_chart_grid): ditto
1559         (oo_chart_wall): ditto
1561 2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1563         * openoffice-read.c (odf_annotation_end): check whether we have
1564         indeed text
1566 2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1568         * openoffice-read.c (openoffice_file_open): ensure we have no
1569         sheet-object left in partial construction
1571 2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1573         * openoffice-read.c (oo_parse_border): check for NULL color
1575 2013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1577         * openoffice-read.c (odf_destroy_object_offset): new
1578         (oo_table_end): use odf_destroy_object_offset
1579         (openoffice_file_open): clean up properly even if the content file was
1580         malformed.
1582 2013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1584         * openoffice-read.c (odf_page_layout): always set state->print.cur_pi
1585         (odf_master_page): ditto
1587 2013-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1589         * openoffice-read.c (odf_custom_shape_end): consider the possibility
1590         of missing path information.
1592 2013-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1594         * openoffice-read.c (unset_gvalue): deleted
1595         (openoffice_file_open): use the correct GDestroyNotify
1597 2013-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1599         * openoffice-read.c (openoffice_file_open): delete any tables that
1600         were referred to but not included in the file.
1602 2013-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1604         * openoffice-read.c (od_draw_object): We do not parse tables
1605         inside charts! So no need to worry about them!
1607 2013-06-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1609         * openoffice-read.c (odf_text_content_end): check for NULL
1610         before dereferencing to avoid fedora crash
1611         https://bugzilla.redhat.com/show_bug.cgi?id=971573
1613 2013-04-26  Morten Welinder <terra@gnome.org>
1615         * Release 1.12.2
1617 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1619         * openoffice-read.c (odf_chart_set_default_style): new
1620         (oo_chart): use odf_chart_set_default_style
1622 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1624         * openoffice-read.c (odf_draw_frame_store_location):
1625         initialize plot-area dimensions
1626         (oo_legend_set_position): new
1627         (oo_plot_area): also adjust position and size
1628         (oo_chart_end): zero legend ratherthan at the end of the legend.
1629         (oo_legend): use oo_legend_set_position
1630         (oo_legend_end): deleted
1632 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1634         * openoffice-write.c (col_row_styles_free): new
1635         (openoffice_file_save_real): use col_row_styles_free
1636         to free the styles lists
1638 2013-04-22  Morten Welinder  <terra@gnome.org>
1640         * openoffice-read.c (odf_text_span_end): Plug leak.
1642 2013-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1644         * openoffice-read.c (oo_chart_title_end): fix typo
1645         (oo_legend): read location specifier
1647 2013-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1649         * openoffice-read.c (df_hf_item_start): new
1650         (odf_hf_sheet_name): call df_hf_item_start
1651         (odf_hf_date): ditto
1652         (odf_hf_item_w_data_style): ditto
1653         (odf_hf_time): ditto
1654         (odf_hf_page_number): ditto
1655         (odf_hf_page_count): ditto
1656         (odf_hf_file): ditto
1657         (odf_hf_expression): ditto
1658         (odf_hf_title): ditto
1660 2013-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1662         * openoffice-read.c (odf_header_footer_end): fix leak
1663         (odf_hf_file): don't try to circumvent the GString handling
1665 2013-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1667         * openoffice-read.c (od_draw_object): delete tables created during
1668         parsing of objects.
1670 2013-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1672         * openoffice-read.c (odf_apply_style_props): go_style angles are -180
1673         to 180
1675 2013-03-09  Morten Welinder <terra@gnome.org>
1677         * Release 1.12.1
1679 2013-02-20  Morten Welinder  <terra@gnome.org>
1681         * openoffice-write.c (odf_write_sheet): Plug leak.
1683 2013-01-01  Morten Welinder  <terra@gnome.org>
1685         * openoffice-write.c (odf_attrs_as_string): Don't use deprecated
1686         goffice stuff.
1688 2012-12-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1690         * openoffice-read.c (odf_fix_expr_names_t): new fields
1691         (odf_fix_expr_names_t_new): initialize new fields
1692         (odf_fix_en_find): new
1693         (odf_fix_en_apply): invoked per translated name
1694         (odf_fix_expr_names): do not cause hashes to be modified while we
1695         traverse them.
1697 2012-12-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1699         * openoffice-read.c (odf_fix_en_collect): we have to remove all
1700         non-alphanumerics to get expression names acceptable to Gnumeric
1702 2012-12-18  Morten Welinder <terra@gnome.org>
1704         * Release 1.12.0
1706 2012-11-29  Morten Welinder <terra@gnome.org>
1708         * Release 1.11.91
1710 2012-11-16  Morten Welinder <terra@gnome.org>
1712         * Release 1.11.90
1714 2012-11-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1716         * openoffice-read.c (odf_scientific): set simplify_mantissa
1718 2012-11-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1720         * openoffice-read.c (odf_scientific): read forced-exponent-sign foreign
1721         element
1723 2012-11-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1725         * openoffice-write.c (odf_write_cell): use
1726         gnm_cell_get_format_given_style
1727         instead of gnm_style_get_format instead
1729 2012-11-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1731         * openoffice-write.c (odf_write_cell): use gnm_style_get_format instead of
1732         gnm_cell_get_format if possible
1734 2012-11-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1736         * openoffice-write.c (odf_write_cell): add argument, change caller
1737         and use style even for NULL cells.
1739 2012-11-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1741         * openoffice-write.c (odf_write_content_rows): remove unused arguments
1742         and change all callers
1743         (odf_write_sheet): don't worry about the extent here.
1745 2012-11-03  Morten Welinder  <terra@gnome.org>
1747         * openoffice-write.c (row_info_equal): Rename from row_style_eq.
1748         (compare_row_styles): New function.
1749         (odf_write_content_rows): Handle repeated rows that have
1750         non-default style too.  Avoid single-cell style lookups in favour
1751         of getting the whole row in one go.  Fixes #687243.
1753 2012-10-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1755         * openoffice-write.c (finder): deleted
1756         (write_styled_cells): deleted
1757         (odf_write_styled_empty_rows): deleted
1758         (odf_write_sheet): trust odf_write_content_rows to be efficient on
1759         styled empty rows
1761 2012-10-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1763         * openoffice-read.c (oo_parse_angle): fix typo
1765 2012-10-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1767         * openoffice-read.c (oo_style_prop_cell): make strike-through handling
1768         match LO behaviour.
1770 2012-10-15  Morten Welinder  <terra@gnome.org>
1772         * openoffice-write.c (odf_write_content_rows): Merge boring rows
1773         into one with a repeat count.  Skip cell loop for boring rows.
1774         Fixes 662057.
1776 2012-09-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1778         * openoffice-read.c (odf_custom_shape_end): only split on "N" that
1779         isn't part of a variable name
1781 2012-09-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1783         * openoffice-write.c (odf_store_data_style_for_style_with_name): new
1784         (odf_write_office_styles): call odf_store_data_style_for_style_with_name
1785         to ensure data files for named styles are collected (and later written)
1787 2012-09-08  Jean Brefort  <jean.brefort@normalesup.org>
1789         * openoffice-read.c (odf_custom_shape_end): use the "paths" property for
1790         GnmSOPath objects when needed.
1792 2012-09-06  Morten Welinder <terra@gnome.org>
1794         * Release 1.11.6
1796 2012-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1798         * openoffice-read.c (odf_get_cs_formula_value): assume, contrary
1799         to spec, that function reference names consist of alphanumerics
1800         only since LO forgets to terminate the names with space or tab!
1802 2012-08-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1804         * openoffice-read.c (opendoc_content_dtd): support custom-shapes
1805         inside table-cells
1807 2012-08-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1809         * openoffice-read.c (odf_parse_float): skip the 'e'
1810         (odf_get_cs_formula_value): new
1811         (odf_custom_shape_end): calculate all variables and
1812         free viewbox info
1813         (odf_custom_shape_enhanced_geometry): check for viewbox
1814         (openoffice_file_open): free viewbox info
1816 2012-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1818         * openoffice-read.c (odf_custom_shape_end): put doubles in the hash
1819         since goffice does not know gnm_float.
1821 2012-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1823         * openoffice-read.c (odf_parse_float): new
1824         (odf_custom_shape_end): interpret modifiers
1825         (odf_custom_shape_equation): new
1826         (opendoc_content_dtd): connect odf_custom_shape_equation
1827         (openoffice_file_open): initialize and finalize new fields
1829 2012-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1831         * openoffice-read.c (odf_custom_shape_end): cs_type is optional and not
1832         needed for GnmSOPath, "ellipse" and "rectangle" are handled by GOPath so
1833         we need not special case them (especially since they are not defined by ODF)
1834         (odf_custom_shape): default to rectangles
1836 2012-08-26  Jean Brefort  <jean.brefort@normalesup.org>
1838         * openoffice-read.c (odf_custom_shape_end): use GnmSOPath when possible.
1840 2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1842         * plugin.xml.in: use the standards terms of conformance rather than
1843         referring to foreign elements
1845 2012-08-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1847         * openoffice-read.c (od_custom_shape_end): rename to odf_custom_shape_end
1848         throughout, expand list of custom-shapes handled
1849         (odf_custom_shape_replace_object): new
1851 2012-08-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1853         * openoffice-read.c (od_custom_shape_end): fix sense of test
1854         (opendoc_content_dtd): add draw:equation and draw:handle
1856 2012-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1858         * openoffice-read.c (OOChartInfo): add fields
1859         (od_custom_shape_end): new
1860         (odf_custom_shape): init new fields
1861         (odf_custom_shape_enhanced_geometry): new
1862         (opendoc_content_dtd): connect the above
1864 2012-08-03  Jean Brefort  <jean.brefort@normalesup.org>
1866         * openoffice-write.c (odf_write_meta), (odf_write_meta_graph),
1867         (openoffice_file_save_real): replace more deprecated functions calls.
1869 2012-08-03  Jean Brefort  <jean.brefort@normalesup.org>
1871         * openoffice-read.c (od_draw_object), (openoffice_file_open): replace
1872         deprecated functions calls.
1874 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1876         * openoffice-read.c (oo_filter_cond): adjust call of
1877         gnm_filter_condition_new_bucket
1879 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1881         * openoffice-read.c (odf_caption): new, copy of odf_rect + error
1882         message
1883         (odf_custom_shape): change error message
1884         (opendoc_content_dtd): connect odf_caption
1886 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1888         * openoffice-read.c (opendoc_content_dtd): add draw:caption
1889         and fix draw:custom-shape text handling
1891 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1893         * openoffice-read.c (object_offset_t): new field
1894         (odf_complete_control_setup): new
1895         (oo_table_end): call odf_complete_control_setup
1896         (od_draw_frame_end_full): add argument and change all callers
1897         (od_draw_control_start): move code that depends on the
1898         control to be attached to a sheet, to odf_complete_control_setup
1900 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1902         * openoffice-read.c (odf_custom_shape): new
1903         (opendoc_content_dtd): connect odf_custom_shape
1905 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1907         * openoffice-read.c (object_offset_t): add field
1908         (odf_set_z_index): deleted
1909         (odf_z_idx_compare): use object_offset_t
1910         (oo_table_end): use object_offset_t to determine z-ordering
1911         and attach the objects to the sheet here
1912         (od_draw_frame_end_full): postpone attaching of the object to
1913         the sheet.
1915 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1917         * openoffice-read.c (openoffice_file_open): initialize
1918         default_style.graphics
1920 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1922         * openoffice-read.c (_OOParseState): add field
1923         (odf_apply_style_props): modify existing style for fill-color
1924         and opacity
1925         (oo_style): also handle default style of graphics family
1926         (oo_chart_style_free): handle NULL
1927         (odf_so_filled): also apply default style
1928         (openoffice_file_open): free default graphics style
1930 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1932         * openoffice-read.c (odf_apply_style_props): handle opacity
1933         (od_style_prop_chart): save opacity
1935 2012-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1937         * openoffice-write.c (odf_go_color_opacity): new
1938         (odf_write_gog_style_graphic): write draw:opacity
1940 2012-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1942         * openoffice-read.c (odf_set_z_index ): new
1943         (odf_z_idx_compare): new
1944         (oo_table_end): sort the objects by z-index
1945         (od_draw_frame_start): save the z-index
1946         (od_draw_frame_end_full): store the z-index
1948 2012-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1950         * openoffice-write.c (odf_write_frame_size): write draw:z-index
1952 2012-08-01  Jean Brefort  <jean.brefort@normalesup.org>
1954         * openoffice-read.c (oo_parse_color): Rename style_color_new_i8.
1956 2012-07-15  Morten Welinder <terra@gnome.org>
1958         * Release 1.11.5
1960 2012-06-25  Morten Welinder <terra@gnome.org>
1962         * Release 1.11.4
1964 2012-05-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1966         * openoffice-read.c (oo_func_map_in): map TIME -> ODF.TIME
1967         * openoffice-write.c (odf_expr_func_handler): map ODF.TIME -> TIME
1969 2012-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1971         * openoffice-write.c (odf_write_content_rows): note that gnm_cell_is_empty
1972         may return TRUE for cells with expression, so we need to check this
1974 2012-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1976         * openoffice-read.c (oo_add_text_to_cell): even add empty strings
1977         * openoffice-write.c (odf_write_cell): write text:p also for empty
1978         strings
1980 2012-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1982         * openoffice-read.c (odf_text_space): default is 1.
1984 2012-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1986         * openoffice-read.c (oo_cell_content_end): check for NULL GString
1988 2012-05-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1990         * openoffice-read.c (odf_style_add_condition): try to recognize some
1991         of the Gnumeric specific expressions.
1993 2012-05-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1995         * openoffice-write.c (odf_determine_base): initialize pp even if we
1996         raise a warning
1997         (odf_save_style_map): make sure pp is initialized.
1999 2012-05-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2001         * openoffice-write.c (odf_determine_base): use a range that has this style,
2002         add argument and change all callers
2003         (odf_save_style_map): add range argument, change all callers
2004         (odf_save_this_style_with_name): replace argument, change all callers
2005         (odf_write_style): add range argument, change all callers
2006         (odf_store_this_named_style): add range argument, change all callers
2007         (odf_save_this_style): replace argument, change all callers
2008         (odf_write_cell_styles): use sheet_style_range_foreach
2009         (odf_write_office_styles): use new hash
2011 2012-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2013         * openoffice-write.c (odf_save_style_map_single_f): change arguments
2014         (odf_save_style_map_double_f): ditto
2015         (odf_determine_base): change arguments and simplify
2016         (odf_save_style_map): change the calls to the above
2018 2012-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2020         * openoffice-write.c (odf_save_style_map_single_f): add arguments
2021         (odf_save_style_map_double_f): ditto
2022         (odf_determine_base): new
2023         (odf_save_style_map): include the correct base
2025 2012-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2027         * openoffice-read.c (OOCellStyle): new type
2028         (_OOParseState.default_style.cells): change type
2029         (odf_init_pp): new
2030         (odf_validation_new_list): use odf_init_pp
2031         (odf_validation_new_single_expr): use odf_init_pp
2032         (odf_validation_new_pair_expr): use odf_init_pp
2033         (odf_oo_cell_style_new): new
2034         (odf_gnm_style_ref): new
2035         (odf_oo_cell_style_copy): new
2036         (odf_oo_cell_style_unref): new
2037         (odf_oo_cell_style_ref): new
2038         (odf_oo_cell_style_attach_condition): new
2039         (odf_style_load_two_values): modified odf_style_map_load_two_values
2040         (odf_style_load_one_value): modified odf_style_map_load_one_value
2041         (odf_style_add_condition): new
2042         (odf_style_from_oo_cell_style): new
2043         (oo_col_start): adjust for above type changes
2044         (oo_row_start): ditto
2045         (oo_cell_start): ditto
2046         (oo_style): ditto
2047         (oo_style_end): ditto
2048         (oo_style_prop_cell): ditto
2049         (oo_style_map): postpone resolution
2050         (openoffice_file_open): adjust for above type changes
2051         * openoffice-write.c (odf_save_style_map): base-cell-address requires
2052         a table name
2054 2012-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2056         * openoffice-read.c: replace GO_COLOR_FROM_GDK_RGBA with
2057         go_color_from_gdk_rgba throughout
2059 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2061         * openoffice-read.c (odf_adjust_offsets_col): add argument
2062         and change caller
2063         (odf_adjust_offsets_row): ditto
2064         (odf_adjust_offsets): ditto
2065         (od_draw_frame_end_full): new, replaces od_draw_frame_end
2066         (od_draw_frame_end): call od_draw_frame_end_full with
2067         appropriate arguments
2069 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2071         * openoffice-read.c (odf_adjust_offsets_col): we may not be in
2072         column 0
2073         (odf_adjust_offsets_row): we may not be in row 0
2075 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2077         * openoffice-read.c (odf_validations_analyze): add argument,
2078         change all callers
2079         (odf_validations_translate): check for namespaced condition
2080         (oo_style_map): check for namespaced condition
2082 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2084         * openoffice-write.c (odf_save_style_map): handle more conditions
2086 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2088         * openoffice-read.c (odf_text_p_apply_pango_attribute): new
2089         (odf_text_p_apply_style): splicing messes with the end indices of
2090         existing attributes, so just insert.
2091         (oo_pango_set_end): delete
2092         (odf_text_span_end): keep the original style attribute list
2094 2012-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2096         * openoffice-write.c (odf_print_spreadsheet_content_validations):
2097         fix typos
2099 2012-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2101         * openoffice-read.c (odf_validation_new_list): check for empty
2102         message
2103         (odf_validation_new_single_expr): ditto
2104         (odf_validation_new_pair_expr): ditto
2105         (odf_validation_new_single_expr): ditto
2106         (odf_validation_new_pair_expr): ditto
2108 2012-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2110         * openoffice-write.c (odf_new_markup): handle NULL markup or text
2111         (odf_write_comment): let odf_new_markup handle the NULL cases
2112         (odf_write_so_filled): write a correct text:p element
2113         (odf_write_cell): ODF does not allow negative times, write these
2114         as floats
2116 2012-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2118         * openoffice-read.c (oo_table_end): retain the anchor direction
2119         (odf_draw_frame_store_location): new
2120         (od_draw_frame_start): use odf_draw_frame_store_location
2121         (odf_line_end): new
2122         (odf_line): use odf_draw_frame_store_location
2123         (opendoc_content_dtd): connect odf_line_end and read text content
2124         for lines
2126 2012-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2128         * openoffice-read.c (od_draw_text_box_p_end): delete
2129         (odf_ellipse): push text:p structure
2130         (opendoc_content_dtd): add elements to table:shapes
2132 2012-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2134         * openoffice-read.c (od_draw_frame_start): store width and height
2135         (oo_chart_title): read placement information
2136         (oo_chart_title_end): apply placement information
2138 2012-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2140         * openoffice-write.c (odf_write_gog_position_pts): new
2141         (odf_write_title): write svg:x and svg:y
2142         (odf_write_graph_content): create root view
2144 2012-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2146         * openoffice-read.c (oo_chart_title): handle compass position
2147         (oo_chart_title_end): ditto
2148         (opendoc_content_dtd): support chart:footer
2149         * openoffice-write.c (odf_write_title): write compass position,
2150         add argument and change all callers
2151         (odf_write_plot): write chart:footer or chart:subtitle depending
2152         on compass position
2154 2012-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2156         * openoffice-read.c (oo_chart_title_end): potetially add a title
2157         to the graph, not just the chart
2158         (opendoc_content_dtd): differentiate between chart:title and
2159         chart:subtitle
2160         * openoffice-write.c (odf_write_plot): write the graph title as
2161         chart:title and the chart title as chart:subtitle; add argument
2162         (odf_write_graph_content): call odf_write_plot with the
2163         additional argument
2165 2012-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2167         * openoffice-read.c (odf_pango_attrs_to_markup): move to goffice
2168         (odf_pango_attr_as_markup_string): move to goffice
2170 2012-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2172         * openoffice-read.c (odf_pango_attr_as_markup_string): add some
2173         more attribute types
2175 2012-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2177         * openoffice-read.c (odf_pango_attr_as_markup_string): new
2178         (odf_pango_attrs_to_markup): new
2179         (oo_chart_title_end): create markup if attributes where read
2181 2012-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2183         * openoffice-read.c (oo_chart_title): push text_p structure
2184         (oo_chart_title_end): get text from text_p structure and pop
2185         (oo_chart_title_text): delete, use the standard text:p handling
2186         instead
2188 2012-05-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2190         * openoffice-write.c (odf_write_manifest): do not write an entry
2191         for "Pictures/" itself
2192         (odf_write_title): write markup if necessary
2193         (odf_write_plot): write characters styles that may be needed for
2194         titles and labels
2196 2012-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2198         * openoffice-read.c (od_draw_text_frame_end): check for empty
2199         text content
2201 2012-05-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2203         * openoffice-write.c (odf_attrs_as_string): handle font colour
2204         (odf_write_text_colours): new
2205         (odf_write_office_styles): call odf_write_text_colours
2206         (openoffice_file_save_real): initialize and finalize new
2207         state.text_colours
2209 2012-04-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2211         * openoffice-read.c (oo_text_p_t): change fields
2212         (odf_push_text_p): drop arguments, handle changed fields,
2213         adjust all callers
2214         (odf_text_p_add_text): new
2215         (odf_text_p_apply_style): new
2216         (odf_pop_text_p): handle changed fields
2217         (odf_text_content_start): call odf_text_p_add_text
2218         (odf_text_content_end): ditto
2219         (odf_text_span_start): ditto
2220         (odf_text_span_end): ditto
2221         (odf_text_special): ditto
2222         (odf_get_curr_error_message_length): delete
2223         (odf_apply_character_style_to_error_message): delete
2224         (odf_add_text_to_error_message): delete
2225         (odf_validation_error_message_end): store text
2226         (odf_get_curr_cell_length): delete
2227         (oo_add_text_to_cell): add argument and also handle attributes
2228         (oo_apply_character_style): delete
2229         (oo_cell_content_end)
2230         (odf_get_curr_hf_length): delete
2231         (odf_apply_character_style_to_hf): delete
2232         (odf_add_text_to_hf): delete
2233         (odf_header_footer_end): save text
2234         (odf_hf_region_end): ditto
2235         (odf_hf_item): use odf_text_p_add_text
2236         (od_draw_text_frame_end): save text and markup
2237         (odf_get_curr_textbox_length): delete
2238         (odf_add_text_to_textbox): delete
2239         (odf_apply_markup_to_object): delete
2240         (odf_apply_character_style_to_textbox): delete
2241         (odf_get_curr_comment_length): delete
2242         (odf_add_text_to_comment): delete
2243         (odf_apply_character_style_to_comment): delete
2244         (odf_annotation_end): save text and markup
2245         (openoffice_file_open): initialize/free new fields
2247 2012-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2249         * openoffice-read.c (odf_validation_t): add fields
2250         (odf_validation_new_list): use title and message
2251         (odf_validation_new_single_expr): ditto
2252         (odf_validation_new_pair_expr): ditto
2253         (odf_validation_free): free new fields
2254         (odf_validation_new): initialize new fields
2255         (odf_validation): set cur_validation
2256         (odf_get_curr_error_message_length): new
2257         (odf_apply_character_style_to_error_message): new stub
2258         (odf_add_text_to_error_message): new
2259         (odf_validation_error_message): new
2260         (odf_validation_error_message_end): new
2261         (opendoc_content_dtd): connect the above
2262         * openoffice-write.c (odf_print_spreadsheet_content_validations):
2263         write even empty error messages to account for message type
2265 2012-04-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2267         * openoffice-read.c (odf_hf_file): use the correct attribute name
2268         * openoffice-write.c (odf_print_spreadsheet_content_validations):
2269         write validation error message
2271 2012-04-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2273         * openoffice-read.c (odf_header_footer): do not use the cell text
2274         (odf_hf_region_end): new
2275         (odf_hf_region): call odf_push_text_p
2276         (styles_dtd): connect odf_hf_region_end
2278 2012-04-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2280         * openoffice-read.c (odf_get_curr_hf_length): new
2281         (odf_apply_character_style_to_hf): new
2282         (odf_add_text_to_hf): new
2283         (odf_header_footer_end): new
2284         (odf_header_footer): call odf_push_text_p
2285         (odf_hf_span): delete
2286         (styles_dtd): connect the text_p handlers to "p" in style:header
2288 2012-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2290         * openoffice-read.c (oo_text_p_t): change arguments for apply_style
2291         (odf_push_text_p): ditto
2292         (odf_text_span_end): create attribute list here already
2293         (oo_apply_character_style): change arguments
2294         (od_draw_text_frame_end): new
2295         (odf_get_curr_textbox_length): new
2296         (odf_add_text_to_textbox): new
2297         (odf_apply_markup_to_object): new
2298         (odf_apply_character_style_to_textbox): new
2299         (od_draw_text_box): call odf_push_text_p
2300         (odf_apply_character_style_to_comment): use odf_apply_markup_to_object
2301         (odf_rect): call odf_push_text_p
2302         (opendoc_content_dtd): connect new handlers
2304 2012-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2306         * openoffice-read.c: collect all text:p handling functions together
2307         (odf_annotation_content_start): rename to odf_text_content_start
2308         (opendoc_content_dtd): remove duplicate declarations
2310 2012-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2312         * openoffice-read.c (od_style_prop_text): handle colours
2314 2012-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2316         * openoffice-write.c (odf_write_character_styles): also write AC-weight1000"
2317         * openoffice-read.c (oo_text_p_t): new
2318         (OOParseState): new fields
2319         (odf_push_text_p): new
2320         (odf_pop_text_p): new
2321         (oo_cell_start): use new field structure
2322         (odf_get_curr_cell_length): new
2323         (oo_cell_content_start): call odf_push_text_p
2324         (oo_cell_content_end): call odf_pop_text_p
2325         (oo_cell_content_span_start): rename to odf_text_span_start and use
2326         new fields
2327         (oo_cell_content_span_end): rename to odf_text_span_end
2328         (oo_cell_content_special): rename to odf_text_special
2329         (oo_cell_content_space): rename to odf_text_space
2330         (oo_cell_content_symbol): rename to odf_text_symbol
2331         (odf_get_curr_comment_length): new
2332         (odf_annotation_content_special): delete
2333         (odf_annotation_content_symbol): delete
2334         (odf_annotation_content_space): delete
2335         (odf_annotation_content_span_start): delete
2336         (odf_annotation_content_start): call odf_push_text_p
2337         (odf_annotation_content_span_end): odfrename to _text_content_end
2338         (openoffice_file_open): handle field changes
2340 2012-04-21  Morten Welinder <terra@gnome.org>
2342         * Release 1.11.3
2344 2012-03-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2346         * openoffice-write.c (odf_boolean_handler): new
2347         (odf_expr_conventions_new): connect the above
2349 2012-03-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2351         * openoffice-read.c (odf_func_true_handler): new
2352         (odf_func_false_handler): new
2353         (oo_func_map_in): connect the above
2355 2012-03-25  Morten Welinder  <terra@gnome.org>
2357         * openoffice-read.c (odf_func_chisqdist_handler): Simplify (at the
2358         expense of speed).  If we need a pile of these, they need to be
2359         simple.
2361 2012-03-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2363         * openoffice-read.c (odf_adjust_offsets_col): new
2364         (odf_adjust_offsets_row): new
2365         (odf_adjust_offsets): new
2366         (oo_table_end): fix anchors and offsets of all objects
2367         (od_draw_frame_end): record the given offsets
2368         (openoffice_file_open): initialize new chart_list field
2370 2012-03-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2372         * openoffice-read.c (OOChartStyle): add field
2373         (oo_style): set new OOChartStyle field
2374         (oo_prop_list_has) set the correct value
2375         (od_style_prop_chart): check for link-data-style-to-source
2376         (oo_chart_axis): set data style
2378 2012-03-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2380         * openoffice-write.c (odf_write_graph_styles): write number styles
2381         (odf_write_gog_style): write axis data format
2382         (odf_write_graphs): clear the data style hashes
2384 2012-03-21  Morten Welinder  <terra@gnome.org>
2386         * openoffice-write.c (create_new_xml_child): new function.
2388 2012-03-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2390         * openoffice-read.c (odf_apply_style_props): handle symbol-width and
2391         symbol-height
2392         (od_style_prop_chart) read symbol-width and symbol-height
2393         * openoffice-write.c (odf_write_gog_style_chart): write
2394         symbol-width and symbol-height
2396 2012-03-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2398         * openoffice-read.c (odf_number_style_end): skip the condition
2399         for the second part if we skipped it for the first and it is the
2400         default
2402 2012-03-20  Morten Welinder  <terra@gnome.org>
2404         * openoffice-read.c (openoffice_file_open): Don't refer to
2405         gsf_ooo_ns variable.
2407         * openoffice-write.c (openoffice_file_save_real): Store odf
2408         version in state.  Else store version elsewhere.
2409         (odf_write_xl_style): Supply new odf version argument to
2410         go_format_output_to_odf.
2412 2012-03-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2414         * openoffice-read.c (odf_annotation_content_start): new
2415         (odf_add_text_to_comment): new
2416         (odf_annotation_content_end): some text may already have been added
2417         (odf_annotation_content_special): new
2418         (odf_annotation_content_symbol): new
2419         (odf_annotation_content_space): new
2420         (odf_annotation_content_span_start): new
2421         (odf_apply_character_style_to_comment): new
2422         (odf_annotation_content_span_end): new
2423         (opendoc_content_dtd): attach the above
2424         (openoffice_file_open): free ann_span_style_stack in case something
2425         wasn't cleaned up
2427 2012-03-14  Morten Welinder  <terra@gnome.org>
2429         * openoffice-read.c (openoffice_file_open): Remove debug print.
2431 2012-03-13  Morten Welinder  <terra@gnome.org>
2433         * openoffice-read.c (oo_expr_parse_str): Share expressions because
2434         ODS sucks in that regard.
2436 2012-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2438         * openoffice-write.c (odf_write_one_axis_grid): write style name
2440 2012-03-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2442         * openoffice-read.c (oo_chart_grid): use style name
2444 2012-03-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2446         * openoffice-write.c (odf_write_style_cell_properties): allow for
2447         set background color without pattern, default to pattern 1
2449 2012-03-09  Morten Welinder  <terra@gnome.org>
2451         * openoffice-write.c (odf_write_sheet): Use new
2452         sheet_style_most_common.
2454 2012-03-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2456         * openoffice-write.c (odf_write_axis_style): only write user defined
2457         minimum and maximum
2459 2012-03-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2461         * openoffice-read.c (oo_plot_series): set interpolation-skip-invalids
2462         property
2464 2012-02-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2466         * openoffice-read.c (od_style_prop_chart): LO does not write overlap
2467         values when writing stacked charts. For percentage-stacked charts it does
2468         not write "stacked" either.
2470 2012-03-02  Morten Welinder <terra@gnome.org>
2472         * Release 1.11.2
2474 2012-02-05  Jean Brefort  <jean.brefort@normalesup.org>
2476         * openoffice-read.c (od_style_prop_chart): implrt cubic splies as the new
2477         odf compatible spline.
2478         * openoffice-write.c (odf_write_interpolation_attribute): export odf-spline.
2480 2011-11-27  Morten Welinder <terra@gnome.org>
2482         * Release 1.11.1
2484 2011-11-24  Morten Welinder <terra@gnome.org>
2486         * Release 1.11.0
2488 2011-11-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2490         * openoffice-read.c (od_style_prop_chart): correct the interpolation
2491         mapping
2492         (od_draw_frame_start): remove unused variable
2493         (opendoc_content_dtd): add elements to chart table
2494         * openoffice-write.c (odf_write_interpolation_attribute): correct the
2495         interpolation mapping
2497 2011-11-03  Morten Welinder  <terra@gnome.org>
2499         * openoffice-read.c (oo_chart_wall): Plug leak.
2500         (oo_legend): Plug leak.
2502 2011-11-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2504         * openoffice-read.c (oo_add_text_to_cell): check for NULL format
2505         (od_style_prop_text): handle underline and strikethrough
2507 2011-11-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2509         * openoffice-read.c (OOParseState): add fields
2510         (oo_add_text_to_cell): preserve markup
2511         (oo_cell_content_span_start): new
2512         (oo_cell_content_span_end): new
2513         (oo_pango_set_end): new
2514         (oo_apply_character_style): new
2515         (oo_style): handle text style
2516         (od_style_prop_text): new
2517         (oo_style_prop): connect od_style_prop_text
2518         (opendoc_content_dtd): connect oo_cell_content_span_*
2519         (openoffice_file_open): handle new fields
2521 2011-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2523         * openoffice-read.c (oo_cell_content_link): new
2524         (opendoc_content_dtd): connect oo_cell_content_link
2526 2011-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2528         * openoffice-read.c (oo_cell_content_start): new
2529         (oo_add_text_to_cell): new
2530         (oo_cell_content_end): we have shared content!
2531         (oo_cell_content_special): new
2532         (oo_cell_content_space): new
2533         (oo_cell_content_symbol): new
2534         (opendoc_content_dtd): connect oo_cell_content_symbol and oo_cell_content_start
2535         * openoffice-write.c (odf_write_cell): do not write office:string-value for
2536         non-expression cells, the element content should be used.
2538 2011-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2540         * openoffice-read.c (oo_func_map_in): adjust SUMPRODUCT import
2541         * openoffice-write.c (odf_expr_func_handler) adjust SUMPRODUCT export
2543 2011-10-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2545         * openoffice-read.c (opendoc_content_dtd): add table:shapes
2547 2011-10-28  Jean Brefort  <jean.brefort@normalesup.org>
2549         * openoffice-read.c (odf_apply_style_props): fixed compilation. [#662908]
2551 2011-10-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2553         * openoffice-write.c (odf_attrs_as_string): support sub-/superscript
2554         attributes
2555         (odf_write_character_styles): write non-sub-/superscript style
2557 2011-10-26  Jean Brefort  <jean.brefort@normalesup.org>
2559         * openoffice-write.c (odf_match_image): make things build again
2560         after goffice changes.
2562 2011-10-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2564         * openoffice-read.c (identified_google_docs): new
2565         (determine_oo_version): call identified_google_docs
2567 2011-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2569         * openoffice-read.c (oo_date_text_end): avoid duplicate percent signs
2571 2011-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2572         for Mikko Rasa <tdb@tdb.fi>:
2574         * openoffice-read.c (oo_date_text_end): fix potential for
2575         infinite loop
2577 2011-09-06  Jean Brefort  <jean.brefort@normalesup.org>
2579         * openoffice-write.c (odf_write_regression_curve): fixed criticals.
2580         [#658194]
2582 2011-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2584         * openoffice-read.c (oo_prop_list_apply_to_axis): handle
2585         tick spacing, add argument and change caller
2586         (od_style_prop_chart): read tick spacing
2587         * openoffice-write.c (odf_write_axis_style): write tick spacing
2589 2011-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2591         * openoffice-read.c (odf_fraction): read pi-fraction foreign
2592         element
2594 2011-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2596         * openoffice-read.c (oo_attr_percent_or_distance): new
2597         (oo_dash): use oo_attr_percent_or_distance
2599 2011-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2601         * openoffice-read.c (odf_attr_range): new
2602         (odf_selection_range): new
2603         (odf_selection): new
2604         (odf_selection_end): new
2605         (opendoc_content_dtd): connect the above
2606         * openoffice-write.c (odf_add_range): use gnm name space
2607         (odf_write_content): ditto
2609 2011-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2611         * openoffice-read.c (odf_apply_gnm_config): new
2612         (openoffice_file_open): connect odf_apply_gnm_config
2613         * openoffice-write.c (odf_add_range): new
2614         (odf_write_content): also write selection
2615         (odf_write_gnm_settings): write acive sheet info
2616         (odf_write_ooo_settings): do not hardcode sheet name
2618 2011-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2620         * openoffice-write.c (odf_write_ooo_settings): write edit positions and
2621         active sheet
2623 2011-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2625         * openoffice-read.c (odf_config_item_end): handle G_TYPE_STRING
2626         (odf_config_item): handle string type
2627         (odf_apply_ooo_table_config): set edit position
2628         (odf_apply_ooo_config): set active sheet
2630 2011-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2632         * openoffice-read.c (oo_style_prop_table): read LibreOffice
2633         foreign attribute and ODF 1.3 attribute for tab colour
2634         * openoffice-write.c (odf_write_table_style) write LibreOffice
2635         foreign attribute and ODF 1.3 attribute (if appropriate) for tab colour
2636         (odf_write_ooo_settings): don't write tab colour for ODF 1.3 here
2638 2011-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2640         * openoffice-read.c (odf_scientific): read gnm:literal-E
2642 2011-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2644         * openoffice-read.c (odf_scientific): read min-exponent-digits
2646 2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2648         * plugin.xml.in: correct mime types
2650 2011-07-31  Morten Welinder <terra@gnome.org>
2652         * Release 1.10.17
2654 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2656         * openoffice-read.c (styles_dtd): <style:background-image>
2657         may appear in <style:page-layout-properties>
2659 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2661         * openoffice-write.c (odf_write_drop_line): drop unused argument
2662         and change all callers
2664 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2666         * openoffice-write.c: use G_GNUC_UNUSED
2668 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2670         * openoffice-write.c (odf_write_page_layout): in ODF combine
2671         PRINT_COMMENTS_IN_PLACE and PRINT_COMMENTS_AT_END
2672         * openoffice-read.c (odf_page_layout_properties): do not count on the
2673         order of the attributes.
2675 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2677         * openoffice-read.c: use G_GNUC_UNUSED
2679 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2681         * openoffice-read.c (odf_master_page): show warning on missing style
2682         names
2684 2011-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2686         * openoffice-read.c (odf_master_page): initialize pi
2688 2011-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2690         * openoffice-write.c (odf_add_font_weight): new
2691         (odf_write_style_text_properties): use odf_add_font_weight
2692         (odf_write_character_styles): ditto
2693         (odf_write_gog_style_text): ditto
2695 2011-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2697         * openoffice-write.c (odf_write_sheet): do not use <table:table-columns>
2698         and <table:table-rows> since MS Excel stumbles over them.
2700 2011-07-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2702         * openoffice-read.c (oo_style_have_three_dimensional): replace
2703         with oo_style_has_property
2704         (oo_style_have_multi_series): ditto
2705         (oo_style_has_property): new
2706         (oo_style_has_plot_property): new
2707         (oo_chart_axis): bar charts have differnt axes interpretaion than
2708         column charts
2709         * openoffice-write.c (odf_write_*_axes_styles): add arguments and
2710         change all callers
2711         (odf_write_axis_full): new
2712         (odf_write_axis): use odf_write_axis_full
2713         (odf_write_axis_no_cats): use odf_write_axis_full
2714         (odf_write_plot): we need to distinguish column charts from bar charts
2716 2011-07-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2718         * openoffice-write.c (odf_write_axis): do not confuse MS Excel by
2719         writing categories for Bubble Plots
2721 2011-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2723         * openoffice-read.c (oo_style): don't inherit style conditions
2725 2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2727         * openoffice-read.c (odf_parse_range_address_or_expr): new, extracted from
2728         oo_plot_series
2729         (oo_table_start): read table:print and table:print-ranges
2730         (odf_page_layout_properties): we will be using table:print instead of
2731         do_not_print in gnm:style-print
2732         * openoffice-write.c (odf_write_content): write table:print
2733         (odf_write_page_layout): do not include do_not_print in gnm:style-print
2735 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2737         * openoffice-read.c (opendoc_content_dtd): add more items
2738         * openoffice-write.c (odf_write_sheet): write table:table-header-rows
2740 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2742         * openoffice-read.c (oo_table_end): we may have repeating rows w/o
2743         repeating columns and vice versa
2744         (opendoc_content_dtd): add more items
2745         * openoffice-write.c (odf_write_style_cell_properties): don't write
2746         attributes outside of elements
2747         (odf_write_sheet): write table:table-header-columns as appropriate
2749 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2751         * openoffice-read.c (OOParseState): add fields
2752         (oo_table_start): initialize repeating rows/cols fields
2753         (oo_table_end): save repeating rows/cols data
2754         (odf_table_header_rows): new
2755         (odf_table_header_rows_end): new
2756         (odf_table_header_cols): new
2757         (odf_table_header_cols_end): new
2758         (opendoc_content_dtd): connect the last four
2760 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2762         * openoffice-read.c (OOParseState): group print items into a struct and
2763         change references throughout the file
2765 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2767         * openoffice-read.c (opendoc_content_dtd): add more items
2769 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2771         * openoffice-read.c (odf_header_properties): new
2772         (odf_footer_properties): new
2773         (odf_header_footer): don't overwrite already set footer/header height
2774         (styles_dtd): connect the above
2775         * openoffice-write.c (odf_write_style_cell_properties): use style:repeat-content
2776         (odf_write_style_paragraph_properties): HALIGN_FILL is recorded as
2777         style:repeat-content
2779 2011-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2781         * openoffice-write.c (df_write_hf) change arguments and change all
2782         callers, allow for hidden headers/footers
2783         (odf_write_hf_style): new
2784         (odf_write_page_layout): call odf_write_hf_style
2786 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2788         * openoffice-read.c (odf_page_layout_properties): read style:print and
2789         gnm:style-print
2790         * openoffice-write.c (odf_write_page_layout) write
2791         style:print and gnm:style-print
2793 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2795         * openoffice-read.c (odf_get_paper_size): consider orientation
2796         (odf_page_layout_properties): read style:print-page-order and
2797         style:print-orientation
2798         * openoffice-write.c (odf_write_page_layout) write
2799         style:print-page-order, style:writing-mode and style:print-orientation
2801 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2803         * openoffice-read.c (odf_page_layout_properties): handle
2804         style:table-centering
2805         * openoffice-write.c (odf_write_page_layout) write
2806         style:table-centering
2808 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2810         * openoffice-read.c (odf_get_paper_size): new
2811         (odf_page_layout_properties): new
2812         (odf_page_layout): new
2813         (odf_page_layout_end): new
2814         (odf_master_page): use the specified page layout
2815         (odf_header_footer): text:p may occur outside a style:region-*
2816         (odf_hf_region): avoid null-dereference
2817         (odf_hf_span): ditto
2818         (odf_hf_item): ditto
2819         (odf_hf_title): also write the title item, skip the
2820           warning since LO includes unused layouts with this item.
2821         (styles_dtd): connect the above
2822         (openoffice_file_open):initialize and finalize new page layout hash
2824 2011-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2826         * openoffice-write.c (page_layout_name): new
2827         (odf_write_page_layout): new
2828         (odf_write_automatic_styles): call odf_write_page_layout
2829         (odf_write_master_styles): use page_layout_name
2831 2011-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2833         * openoffice-write.c (odf_write_hf): turn the display of
2834         header/footer on here, not in
2835         (odf_write_hf_region)
2836         (odf_write_master_styles): add the display name here, not in
2837         (odf_write_table_style)
2839 2011-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2841         * openoffice-write.c (odf_write_table_style): drop two args and
2842         change all callers
2843         (odf_render_cell): We want to show the value, not the formula
2844         (odf_write_hf_region): explicitly turn the display of header/footer on.
2845         * openoffice-read.c (odf_string_id): new
2846         (odf_pi_parse_format_spec): new
2847         (odf_pi_parse_format): new
2848         (odf_pi_parse_hf): new
2849         (odf_pi_parse_expressions): new
2850         (oo_table_start): parse the embedded expressions in the hf info
2851         (odf_hf_item): assume the tag is already translated and adjust all
2852         callers
2853         (odf_hf_item_w_data_style): new
2854         (odf_hf_date): use odf_hf_item_w_data_style
2855         (odf_hf_time): use odf_hf_item_w_data_style
2856         (odf_hf_expression): implement
2857         (openoffice_file_open): initialize and finalize new strings hash
2859 2011-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2861         * openoffice-read.c (oo_table_start): handle master_page_name
2862         (oo_style): handle master-page-name
2863         (odf_master_page): new
2864         (odf_master_page_end): new
2865         (odf_header_footer): new
2866         (odf_hf_*): new
2867         (styles_dtd): connect the above
2869 2011-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2871         * openoffice-read.c (styles_dtd): add more elements
2872         * openoffice-write.c (odf_write_hf_region): don't write empty
2873         spans
2875 2011-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2877         * openoffice-write.c (xl_find_format_xl): new
2878         (xl_find_format) split off xl_find_format_xl
2879         (odf_render_date): write data style info
2880         (odf_render_time): ditto
2881         (odf_render_cell): skip non-formula part of the expression
2882         (odf_render_ops_to_xl): new
2883         (odf_render_opcode): add argument and change all callers
2884         (odf_hf_region_to_xl_styles): new
2885         (odf_master_styles_to_xl_styles): new
2886         (odf_write_office_styles): new
2887         (odf_write_styles): split off odf_write_office_styles and also
2888         call odf_write_automatic_styles
2889         (odf_write_automatic_styles): new
2891 2011-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2893         * openoffice-write.c (odf_write_table_style): add argument and
2894         write the correct master page name
2895         (table_master_page_style_name): new
2896         (odf_write_table_styles): determine master page name and pass to
2897         odf_write_table_style
2898         (odf_render_*): new
2899         (odf_write_hf_region): new
2900         (odf_write_hf): new
2901         (odf_write_master_styles): new
2902         (odf_write_styles): call odf_write_master_styles
2904 2011-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2906         * openoffice-read.c (oo_cell_start): for merged cells extent any
2907         style set by the row or column. Fixes [#652492]
2909 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2911         * openoffice-read.c (styles_dtd): add more elements
2913 2011-06-16  Morten Welinder <terra@gnome.org>
2915         * Release 1.10.16
2917 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2919         * openoffice-write.c (oo_style_prop_cell): add fo:font-family
2920         and simplify handling of fo:font-size
2921         (oo_style_prop_cell): fix some typos in property names
2923 2011-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2925         * openoffice-write.c (odf_write_plot): also write "xlink:type"
2926         attribute in ODF 1.2
2928 2011-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2930         * openoffice-read.c (od_series_regression): fix spelling of
2931         gnm:exponential-smoothed
2933 2011-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2935         * openoffice-read.c (od_series_regression): use "Trend line"
2936         rather than "Regression curve".
2938 2011-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2940         * openoffice-write.c (odf_write_regression_curve): new
2941         (odf_write_standard_series): move some code to odf_write_regression_curve
2942         and call it both for "Regression curve" and "Trend line"
2944 2011-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2946         * openoffice-write.c (odf_write_sheet): we need the full extent not
2947         just the cells-extent
2949 2011-06-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2951         * openoffice-read.c (odf_fraction): handle absence of min_i_digits
2952         correctly depending on ODF version
2953         (odf_find_version): new
2954         (styles_dtd): connect odf_find_version and add a bunch of stubs
2955         (opendoc_content_dtd): connect odf_find_version
2956         (openoffice_file_open): initialize new field ver_odf
2958 2011-05-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2960         * openoffice-write.c (odf_write_comment): fix leak
2962 2011-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2964         * openoffice-write.c (odf_write_comment): assume nothing
2966 2011-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2968         * openoffice-read.c (oo_rangeref_parse): handle foreign workbooks
2970 2011-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2972         * openoffice-read.c (oo_cellref_parse): add argument, change
2973         all callers, don't create sheets that are in foreign workbooks
2974         (odf_parse_external): new
2975         (oo_rangeref_parse): add argument, change all callers, consider
2976         foreign workbooks
2977         (oo_conventions_new): add arguments and create augmented conventions
2978         (oo_load_convention): add argument, change all callers
2979         (oo_col_start): use oo_warning rather than g_warning
2980         (odf_clear_conventions): new, use whenever xin changes
2981         (opendoc_content_dtd): add table:table-source
2983 2011-05-22  Morten Welinder  <terra@gnome.org>
2985         * openoffice-write.c (odf_write_ooo_settings): Plug leak.
2987         * openoffice-read.c (openoffice_file_open): Plug leak during
2988         debug.
2990         * openoffice-write.c (odf_write_content): Remove test for
2991         always-true condition.  If we must have that check, it should
2992         check for an active global name that we intend to write.
2994 2011-05-21  Morten Welinder  <terra@gnome.org>
2996         * openoffice-read.c (odf_fix_en_apply): Use expr_name_set_name.
2998 2011-05-21  Morten Welinder <terra@gnome.org>
3000         * Release 1.10.15
3002 2011-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3004         * openoffice-read.c (oo_cellref_check_for_err): look for #REF!
3005         (oo_cellref_parse): use oo_cellref_check_for_err, don't create
3006         new sheets until we know that we likely have a valid reference
3007         (oo_expr_parse_str_try): new
3008         (oo_expr_parse_str): use oo_expr_parse_str_try, handle references
3009         that are missing []
3011 2011-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3013         * openoffice-write.c (odf_write_named_expression): only write
3014         active names
3016 2011-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3018         * openoffice-read.c (oo_cellref_parse): return invalid_sheet when
3019         encountering #REF!, check for this return value in all callers
3020         (oo_rangeref_parse): check for invalid_sheet, check for this return
3021         value in all callers
3022         (oo_expr_rangeref_parse): check for [#REF!]
3024 2011-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3026         * openoffice-read.c (odf_fix_expr_names): implement
3027         (odf_fix_expr_names_t_new): new
3028         (odf_fix_expr_names_t_free): new
3029         (odf_fix_expr_names_t_add): new
3030         (odf_fix_en_validate): new
3031         (odf_fix_en_collect): new
3032         (odf_fix_en_apply): new
3034 2011-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3036         * openoffice-write.c (odf_write_sheet): use sheet_get_cells_extent
3038 2011-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3040         * openoffice-read.c (odf_fix_expr_names): new stub
3041         (odf_expr_name_validate): new
3042         (oo_conventions_new): connect odf_expr_name_validate
3043         (openoffice_file_open): connect odf_fix_expr_names
3045 2011-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3047         * openoffice-write.c (odf_write_named_expression): avoid writing some
3048         placeholder names
3050 2011-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3052         * openoffice-write.c (odf_validation_base_cell_address): new
3053         (odf_validation_append_expression): new
3054         (odf_validation_append_expression_pair): new
3055         (odf_validation_general): implement
3056         (odf_validation_length): implement
3057         (odf_validation_custom): implement
3058         (odf_validation_in_list): use odf_validation_append_expression, don't
3059         write base cell address
3060         (odf_print_spreadsheet_content_validations): write base cell address
3061         and pass initialized parse position onwards
3063 2011-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3065         * openoffice-read.c (odf_validations_analyze): warn if we drop part of a
3066         validation condition
3068 2011-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3070         * openoffice-read.c (opendoc_content_dtd): add CELL_ANNOTATION_TEXT_LINE_BREAK,
3071         * openoffice-write.c (odf_validation_general): new stub
3072         (odf_validation_length): new stub
3073         (odf_validation_custom): new stub
3074         (odf_print_spreadsheet_content_validations): connect above stubs
3076 2011-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3078         * openoffice-read.c (odf_validation_new_single_expr): make argument const
3079         (odf_validation_new_pair_expr): ditto
3080         (odf_validations_analyze): handle (plain) is-true-formula
3082 2011-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3084         * openoffice-read.c (odf_validation_new_list): add argument and
3085         permit non-zero offset
3086         (odf_validation_new_general): renamed to odf_validation_new_single_expr
3087         (odf_validation_new_pair_expr): new
3088         (odf_validation_new_between): new
3089         (odf_validation_new_op): new
3090         (odf_validation_new_tlength): use odf_validation_new_op
3091         (odf_validations_analyze): new
3092         (odf_validations_translate): use odf_validations_analyze
3094 2011-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3096         * openoffice-read.c (odf_validation_new_general): new
3097         (odf_validation_new_tlength): new
3098         (odf_validations_translate): connect odf_validation_new_tlength
3100 2011-05-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3102         * openoffice-read.c: change all styles into partial style and use
3103         sheet_style_apply_... rather than sheet_style_set_...
3104         (oo_row_start): handle default styles
3105         (oo_cell_start): don't change any of the saved styles.
3107 2011-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3109         * openoffice-write.c (odf_cellref_as_string_base): extracted from
3110         odf_cellref_as_string
3111         (odf_cellref_as_string): use odf_cellref_as_string_base
3112         (odf_rangeref_as_string): use odf_cellref_as_string
3113         * openoffice-read.c (oo_cell_start): add comments
3114         (oo_style): add comments
3115         (oo_style_end): check for NULL
3117 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3119         * openoffice-read.c (openoffice_file_open): initialize cur_control
3121 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3123         * openoffice-write.c (odf_string_handler): use odf_print_string
3124         (odf_print_string): new
3125         (odf_cellref_as_string): rewrite
3127 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3129         * openoffice-write.c (odf_string_handler): add comment
3130         * openoffice-read.c (odf_strunescape): new
3131         (oo_conventions_new): connect odf_strunescape
3133 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3135         * openoffice-write.c (odf_string_handler): new
3136         (odf_expr_conventions_new): connect odf_string_handler
3138 2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3140         * openoffice-write.c (odf_write_manifest): write manifest
3141         version for ODF 1.2 or newer
3143 2011-04-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3145         * openoffice-write.c (odf_write_interpolation_attribute):
3146         only include foreign attribute values if asked to do
3147         (odf_write_axis_style): ditto
3149 2011-03-24  Morten Welinder <terra@gnome.org>
3151         * Release 1.10.14
3153 2011-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3155         * openoffice-read.c (oo_table_end): set sheet to NULL
3156         (oo_named_expr): handle missing base and expression name
3157         spaces
3158         (opendoc_content_dtd): connect named-expressions element to
3159         table
3160         * openoffice-write.c (odf_write_named_expression): write the
3161         for named-ranges also
3163 2011-03-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3165         * openoffice-write.c (odf_write_named_expression): new
3166         (odf_write_content): call odf_write_named_expression as
3167         appropriate
3168         (odf_write_gnm_settings): use odf_add_bool
3170 2011-02-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3172         * openoffice-read.c (odf_validation_new_list): also read
3173         expressions as allowed in ODF1.2
3174         (odf_validations_translate): add a few stubs for other
3175         validation types.
3176         * openoffice-write.c (odf_write_objects): don't write
3177         validation combos
3178         (odf_write_cell): write validation name
3179         (odf_validation_general_attributes): new
3180         (odf_validation_in_list): new
3181         (odf_print_spreadsheet_content_validations): new
3182         (odf_print_spreadsheet_content_prelude): connect the above
3184 2011-02-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3186         * openoffice-read.c (odf_validation_t): add field
3187         (odf_validation_new_list): new
3188         (odf_validations_translate): call odf_validation_new_list
3189         if applicable
3190         (odf_validation_new): initialize new field
3191         (odf_validation): determine name space
3193 2011-02-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3195         * openoffice-read.c (odf_validations_translate): new
3196         (odf_validation_t): new
3197         (odf_validation_free): new
3198         (odf_validation_new): new
3199         (odf_validation): new
3200         (oo_cell_start): read validation name
3201         (opendoc_content_dtd): connect odf_validation
3202         (openoffice_file_open): initialize and free validation hash
3204 2011-02-02  Morten Welinder <terra@gnome.org>
3206         * Release 1.10.13
3208 2010-12-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3210         * openoffice-read.c (oo_cellref_parse): enlarge the sheet if we
3211         encounter a reference off the sheet.
3213 2010-11-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3215         * openoffice-write.c (odf_write_cell): Write office:string-value.
3216         The element content may differ also for strings depending on format.
3217         * openoffice-read.c (oo_cell_start): ODF uses office:string-value,
3218         while oldstyle OOo uses table:string-value.
3219         (odf_text_content): new
3220         (styles_dtd): connect handlers for children of number:text-style
3222 2010-11-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3224         * openoffice-write.c (odf_write_style_goformat_name): also write
3225         data styles for text formats
3227 2010-11-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3229         * openoffice-read.c (styles_dtd): connect style:map handling to
3230         number:text-style since OOo seems to use maps attached to
3231         number:text-style to render dates that it flagged as numbers.
3233 2010-11-25  Morten Welinder <terra@gnome.org>
3235         * Release 1.10.12
3237 2010-11-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3239         * plugin.xml.in: we are supporting ots not odt files. [#635111]
3241 2010-11-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3243         * openoffice-write.c (odf_write_sheet): get the correct extent
3244         Fixes [#634135]
3246 2010-10-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3248         * openoffice-read.c (od_draw_control_start): use oc->as_index
3249         (odf_form_control): read the list-linkage-type
3250         * openoffice-write.c (odf_write_sheet_control_list): write
3251           the list-linkage-type
3253 2010-10-01  Morten Welinder <terra@gnome.org>
3255         * Release 1.10.11
3257 2010-09-20  Morten Welinder  <terra@gnome.org>
3259         * openoffice-read.c: Use OO_NS_CHART_OOO only conditionally.
3261 2010-09-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3263         * openoffice-read.c (oo_style_prop_cell): read strike-through
3264           info
3266 2010-09-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3268         * openoffice-read.c (odf_created_by_gnumeric): avoid null
3269           pointer on incomplete ODF file.
3271 2010-09-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3273         * openoffice-read.c (odf_created_by_gnumeric): new
3274         (openoffice_file_open): set saveinfo
3276 2010-09-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3278         * openoffice-read.c (od_style_prop_chart): add
3279            OO_NS_STYLE "rotation-angle"
3280         * openoffice-write.c (odf_write_axis_categories): new
3281         (odf_write_axis): call odf_write_axis_categories
3282         (odf_write_generic_axis): ditto
3283         (odf_write_axis_ring): deleted, use odf_write_generic_axis
3285 2010-09-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3287         * openoffice-read.c (oo_chart_axis): apply style info to gostyle
3289 2010-09-15  Morten Welinder  <terra@gnome.org>
3291         * openoffice-read.c (od_draw_control_start): Fix UMR.
3292         (odf_config_item): Fix type confusion.
3294 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3296         * openoffice-read.c (opendoc_content_dtd): text:p can
3297           occur in draw:line
3298         (od_style_prop_chart): ensure fields are NULL.
3300 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3302         * openoffice-read.c (od_style_prop_chart): check for NULL
3303         * openoffice-write.c (odf_write_line): an unknown
3304           anchor->base.direction should behave like
3305           GOD_ANCHOR_DIR_UNKNOWN
3307 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3309         * openoffice-read.c (oo_marker_free): new
3310         (odf_get_arrow_marker): use the imported markers
3311         (oo_marker): new
3312         (openoffice_file_open): new hash...
3314 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3316         * openoffice-read.c (od_style_prop_chart): this can be called
3317           by default cell styles
3319 2010-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3321         * openoffice-read.c (od_style_prop_chart): add attributes
3322         (odf_get_arrow_marker): new
3323         (odf_line): add arrows
3325 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3327         * openoffice-read.c (oo_style): handle graphics styles
3328         (oo_style_prop): ditto
3329         (pop_hash): new
3330         (od_draw_object): save existing style information
3331         (odf_so_filled): apply style
3332         (odf_line): ditto
3333         (openoffice_file_open): initialize new fields
3335 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3337         * openoffice-write.c (odf_match_arrow_markers): new
3338         (odf_get_arrow_marker_name): new
3339         (odf_write_sheet_object_line_style): new
3340         (odf_write_sheet_object_styles): write line styles
3341         (odf_write_line): write marker info
3342         (odf_write_styles): write arrow marker info
3343         (odf_write_arrow_marker_info): new
3344         (openoffice_file_save_real): create and delete the arrow
3345           hashes
3347 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3349         * openoffice-write.c (odf_write_table_styles): fix leak
3350         (odf_write_sheet_object_style): new
3351         (odf_write_sheet_object_styles): new
3352         (odf_write_so_filled): write style name
3353         (odf_write_content): cause sheet object styles to be written
3354         (odf_write_styles): write gradient, hatch, etc. info
3355         (odf_write_graphs): we create the hashes elsewhere and later
3356           just empty, don't delete these hashes
3357         (openoffice_file_save_real): create and delete the hashes here.
3359 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3361         * openoffice-read.c (odf_so_filled): new
3362         (odf_rect): new
3363         (odf_ellipse): new
3364         (odf_line): new
3365         (opendoc_content_dtd): connect the above
3366         * openoffice-write.c (odf_write_line): fix the placement of the line
3368 2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3370         * openoffice-read.c (od_draw_control_start): handle frames
3371         (odf_form_control): handle form:generic-control (our frames)
3372         (odf_form_generic): new
3373         (odf_form_button_end): rename to odf_form_control_end
3374         (odf_control_property): new
3375         (opendoc_content_dtd): connect the above
3377 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3379         * openoffice-read.c (opendoc_content_dtd): add more elements
3380         * openoffice-write.c (odf_write_frame_size): new (and use it where
3381           appropriate)
3382         (odf_write_image): new
3383         (odf_write_graph): new
3384         (odf_write_frame): restrict to frames
3385         (odf_write_control): new
3386         (odf_write_so_filled): new
3387         (odf_write_line): new
3388         (odf_write_objects): call the above
3389         (odf_write_sheet_control_frame): new
3390         (odf_write_sheet_controls): write frames
3392 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3394         * openoffice-read.c (od_draw_control_start): handle button
3395         (odf_form_control): save OOControl for subelements
3396         (odf_form_button): new
3397         (odf_form_button_end): new
3398         (odf_button_event_listener): new
3399         (opendoc_content_dtd): connect the above
3400         * openoffice-write.c (odf_write_sheet_control_content): assume the
3401           GnmExprTop reference; change all callers
3402         (odf_write_sheet_control_linked_cell): ditto
3403         (odf_write_sheet_control_button): new
3404         (odf_write_sheet_controls): write toggle button
3406 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3408         * openoffice-read.c (od_draw_control_start): handle combobox
3409         (odf_form_combobox): new
3410         (opendoc_content_dtd): connect odf_form_combobox
3411         * openoffice-write.c (odf_sheet_control_start_element): new
3412         (odf_write_sheet_control_*): use odf_sheet_control_start_element
3413         (odf_write_sheet_controls): write combo boxes
3415 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3417         * openoffice-read.c (od_draw_control_start): handle listboxes
3418         (oo_control_free): free new source_cell_range field
3419         (odf_form_control): handle new attributes
3420         (odf_form_listbox): new
3421         (opendoc_content_dtd): connect odf_form_listbox
3422         * openoffice-write.c (odf_write_sheet_control_conten): new
3423         (odf_write_sheet_control_list): new
3424         (odf_write_sheet_controls): also write listboxes
3426 2010-09-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3428         * openoffice-read.c (od_draw_control_start): handle spinbuttons
3429           and sliders
3430         (oo_control_free): free new implementation field
3431         (odf_form_control): handle spinbuttons and sliders
3432         (odf_form_value_range): ditto
3433         * openoffice-write.c (odf_write_sheet_control_scrollbar):
3434           write the form:control-implementation and add argument
3435           indicating the control type
3436         (odf_write_sheet_controls): also write sliders and spinbuttons
3438 2010-09-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3440         * openoffice-read.c (od_draw_control_start): use gnm:value-type
3441           if available
3442         (oo_control_free): free value_type field
3443         (odf_form_control): read gnm:value-type
3444         * openoffice-write.c (odf_write_sheet_control_radio_button): new
3445         (odf_write_sheet_controls): connect odf_write_sheet_control_radio_button
3447 2010-09-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3449         * openoffice-read.c (od_draw_control_start): oc->value must be a
3450           string; handle radio button
3451         (oo_control_free): free value field
3452         (odf_form_control): form:value may be a string
3453         (odf_form_radio): new
3454         (opendoc_content_dtd): connect odf_form_radio
3456 2010-09-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3458         * openoffice-read.c (od_draw_control_start): handle checkboxes
3459         (oo_control_free): free new label field
3460         (odf_form_control): new
3461         (odf_form_value_range): use odf_form_control
3462         (odf_form_checkbox): new
3463         (opendoc_content_dtd): connect odf_form_checkbox
3464         * openoffice-write.c (odf_write_sheet_control_linked_cell): new
3465         (odf_write_sheet_control_scrollbar): use
3466           odf_write_sheet_control_linked_cell
3467         (odf_write_sheet_control_checkbox): new
3468         (odf_write_sheet_controls): also handle checkboxes
3470 2010-09-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3472         * openoffice-read.c (odf_form_value_range): fix attribute name and
3473           also read gnm:linked_cell
3474         * openoffice-write.c (odf_write_frame): write frame or control
3475         (odf_write_sheet_controls_get_id): new
3476         (odf_write_sheet_control_scrollbar): new
3477         (odf_write_sheet_controls): new
3478         (openoffice_file_save_real): initialize and finalize controls hash
3480 2010-09-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3482         * openoffice-read.c (od_draw_control_start): new
3483         (oo_control_free): new
3484         (odf_form_value_range): new
3485         (opendoc_content_dtd): connect od_draw_control_start
3486         (openoffice_file_open): initialize and finalize controls hash
3488 2010-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3490         * openoffice-read.c (oo_chart_title): also handle legend titles
3491         (oo_chart): initialize chart.legend
3492         (oo_legend_end): new
3493         (oo_legend): set chart.legend
3494         (opendoc_content_dtd): make connections
3496 2010-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3498         * openoffice-write.c (odf_write_title): add argument whether to allow
3499           subelements; change all callers
3500         (odf_write_plot): write legend title
3502 2010-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3504         * openoffice-read.c (oo_legend): read style-name
3505         * openoffice-write.c (odf_write_plot): write style-name
3507 2010-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3509         * openoffice-read.c (odf_get_formula_type): new
3510         (oo_cell_start): use odf_get_formula_type
3511         (oo_plot_series): fix handling of series label
3513 2010-09-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3515         * openoffice-write.c (odf_write_gnm_settings): new
3516         (odf_write_settings): call odf_write_gnm_settings
3518 2010-09-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3520         * openoffice-read.c (unset_gvalue): new
3521         (destroy_gvalue): new
3522         (odf_config_item_end): new
3523         (odf_config_item): new
3524         (odf_config_stack_pop): new
3525         (odf_config_item_set): new
3526         (dump_settings_hash): new
3527         (odf_has_gnm_foreign): new
3528         (odf_apply_ooo_table_config): new
3529         (odf_apply_ooo_config): new
3530         (opencalc_settings_dtd): rename to opendoc_settings_dtd and rewrite
3531         (openoffice_file_open): handle settings.xml
3533 2010-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3535         * openoffice-write.c (odf_write_fill_images_info): switch order of arguments
3536         (odf_write_gradient_info): switch order of arguments
3537         (odf_write_hatch_info): switch order of arguments
3538         (odf_write_fill_images): switch order of arguments
3539         (odf_match_gradient): turn into GEqualFunc
3540         (odf_match_image): ditto
3541         (odf_match_pattern): ditto
3542         (odf_get_gradient_name): switch keys and values in hatch
3543         (odf_get_image_name): ditto
3544         (odf_get_pattern_name): ditto
3545         (odf_write_graphs):  change gradient, image-fill and pattern hashes
3547 2010-09-04  Morten Welinder <terra@gnome.org>
3549         * Release 1.10.10
3551 2010-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3553         * openoffice-write.c (odf_get_gradient_name): create a new name for each
3554         item
3555         (odf_get_image_name): ditto
3556         (odf_get_pattern_name): ditto
3558 2010-09-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3560         * openoffice-write.c (odf_write_ooo_settings): new
3561         (odf_write_settings): call odf_write_ooo_settings
3563 2010-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3565         * openoffice-read.c (OOSheetStyle): add tab colors
3566         (oo_table_start): handle tab colors
3567         (oo_style_prop_table): ditto
3568         * openoffice-write.c (odf_write_table_style): write tab colors (as
3569           foreign elements)
3570         (table_style_name): give each table its own style.
3572 2010-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3574         * openoffice-read.c (odf_apply_style_props): stroke-color attribute
3575           added
3576         (od_style_prop_chart): ditto
3577         * openoffice-write.c (odf_write_gog_style_graphic): write stroke-color
3578           attribute
3580 2010-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3582         * openoffice-read.c (od_draw_image): don't assume that we know the
3583           directory name
3584         (opendoc_content_dtd): OOo's images contain a blank <text:p\> element
3586 2010-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3588         * openoffice-read.c (odf_apply_style_props): more attributes, handle
3589           image fill
3590         (oo_fill_image): new
3591         (od_style_prop_chart): new attributes
3592         (od_draw_object): store object directory name
3593         (openoffice_file_open): new hash
3595 2010-09-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3597         * openoffice-write.c (odf_write_fill_images_info): new
3598         (odf_write_graph_styles): connect odf_write_fill_images_info
3599         (odf_write_manifest): include fill-image files
3600         (odf_match_image): new
3601         (odf_get_image_name): new
3602         (odf_write_gog_style_graphic): write image fill
3603         (_gsf_gdk_pixbuf_save): new
3604         (odf_write_fill_images): new
3605         (odf_write_graphs): connect odf_write_fill_images
3606         (openoffice_file_save_real): delay writing of manifest until we know
3607           all files to be included
3609 2010-09-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3611         * openoffice-read.c (odf_apply_style_props): new gradient attributes
3612         (oo_dash): add warning
3613         (oo_gradient): new
3614         (od_style_prop_chart): new gradient attributes
3615         * openoffice-write.c (odf_write_gradient_info): new
3616         (odf_match_gradient): new
3617         (odf_get_gradient_name): new
3618         (odf_write_gog_style_graphic): add gradients
3620 2010-08-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3622         * openoffice-read.c (odf_apply_style_props): switch auto-colors off
3623         * openoffice-write.c (odf_write_standard_series): increase index
3625 2010-08-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3627         * openoffice-read.c (oo_dash): new
3628         (oo_parse_angle): permit absent unit
3629         (odf_match_dash_type): really try to match
3630         (oo_hatch): fix namespace
3632 2010-08-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3634         * openoffice-read.c (odf_apply_style_props): new attribute stroke-width
3635         (oo_hatch): use gnm_float, not double
3636         (oo_prop_new_float): rename to oo_prop_new_double and change all callers
3637         (od_style_prop_chart): handle stroke-width
3638         * openoffice-write.c (odf_write_gog_style_graphic): write stroke-width
3640 2010-08-31  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3642         * openoffice-read.c (odf_apply_style_props): don't use gnm-fore-color,
3643           use the stored hatch description
3644         (oo_parse_angle): new
3645         (oo_attr_angle): new
3646         (oo_hatch): new
3647         * openoffice-write.c (odf_write_gog_style_graphic): don't use gnm:fore-color
3649 2010-08-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3651         * openoffice-read.c: change these_plot_styles GSList into 2 style fields
3652           and change access throughout.
3653         (oo_chart_style_to_series): check for null style
3654         (oo_chart_axis): do not use any inherited style
3655         (oo_plot_area): chnage access to styles
3656         (oo_plot_series): store style for data point
3657         (oo_plot_series_end): drop remembered style
3658         (oo_chart): this style does not participate in the inheritance
3660 2010-08-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3662         * openoffice-read.c (get_styles_dtd): new
3663         (odf_apply_style_props): drop gnm-back-color
3664         (od_style_prop_chart): drop gnm:back-color
3665         (od_draw_object): read the object's styles.xml
3666         (styles_dtd): add "stroke-dash" and "hatch"
3667         * openoffice-write.c (odf_write_gog_style_graphic): background color
3668           can be stored in draw:fill-color
3670 2010-08-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3672         * openoffice-read.c (odf_match_dash_type): move
3673         (odf_apply_style_props): more attirbutes
3674         (oo_prop_list_to_series): rename to oo_chart_style_to_series and
3675           move code to odf_apply_style_props
3676         (od_style_prop_chart) : new attributes
3677         (oo_chart_style_free): drop series_props
3678         * openoffice-write.c (odf_write_standard_series): use gog_styles
3679         (odf_write_box_series): ditto
3680         (odf_write_gantt_series): ditto
3681         (odf_write_bubble_series): ditto
3682         (odf_write_min_max_series): ditto
3683         (odf_write_interpolation_attribute): add argument and change all callers
3684         (odf_write_scatter_series_style): deleted
3685         (odf_write_scatter_series_style_graphic): deleted
3686         (odf_write_gog_style_graphic): new atributes
3687         (odf_write_gog_style_chart): new atributes
3688         (odf_write_plot): use gog_styles instead of series named styles
3690 2010-08-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3692         * openoffice-read.c (odf_apply_style_props): add xin
3693           argument and change all callers; handle hatches
3694         (od_style_prop_chart): add attributes
3696 2010-08-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3698         * openoffice-write.c (odf_write_hatch_info): new
3699         (odf_write_graph_styles): write hatches
3700         (odf_match_pattern): new
3701         (odf_get_pattern_name): new
3702         (odf_write_gog_style_graphic): consider the true fill type
3703         (odf_write_graphs): initialize and finalize hatch hash
3705 2010-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3707         * openoffice-read.c (oo_cell_start): no need to duplicate the style name
3708         (od_style_prop_chart): new atribute
3709         (oo_plot_series): zero the data point count
3710         (oo_series_pt): implement
3711         * openoffice-write.c (cmp_data_points): new
3712         (odf_write_standard_series): write data points
3713         (odf_write_pie_point): new
3714         (odf_fill_chart_props_hash): connect odf_write_pie_point
3716 2010-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3718         * openoffice-write.c (odf_write_plot): write marker info for
3719           polar plots
3721 2010-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3723         * openoffice-read.c (oo_chart_axis): OO_PLOT_RADARAREA and
3724           OO_PLOT_POLAR behave like OO_PLOT_RADAR
3725         * openoffice-write.c (odf_write_plot): fix axis names for
3726           GogPolarPlot
3728 2010-08-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3730         * openoffice-read.c (odf_store_data): new
3731         (od_series_regression): handle upper and lower bounds of
3732           regression line
3733         * openoffice-write.c (odf_write_data_element): new
3734         (odf_write_data_attribute): new
3735         (odf_write_standard_series): use the above and write upper and
3736           lower bounds of regression line
3738 2010-08-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3740         * openoffice-read.c (oo_prop_list_free): use go_slist_free_custom
3741         (od_style_prop_chart): new attributes
3742         (odf_gog_check_position): new
3743         (odf_gog_plot_area_check_position): new
3744         (oo_plot_area): check position
3745         (od_series_reg_equation): ditto
3746         * openoffice-write.c (odf_write_gog_position): new
3747         (odf_write_gog_plot_area_position): new
3748         (odf_write_standard_series): write equation position
3749         (odf_write_plot): write plot area size
3751 2010-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3753         * openoffice-read.c (od_series_reg_equation): new
3754         (od_series_regression): store regression line
3755         (opendoc_content_dtd): connect od_series_reg_equation
3756         * openoffice-write.c (odf_write_plot_style_*): moved
3757         (odf_write_standard_series): write regression equation
3759 2010-08-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3761         * openoffice-read.c (od_style_prop_chart); new properties
3762         (od_series_regression): new
3763         (opendoc_content_dtd): connect od_series_regression
3764         * openoffice-write.c (odf_write_standard_series): write regression
3765         (odf_write_plot_style_uint): new
3766         (odf_write_standard_axes_styles): remove unused varaible
3767         (odf_write_*_reg): new
3768         (odf_fill_chart_props_hash): add various regression method objects
3770 2010-08-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3772         * openoffice-read.c (oo_prop_list_apply_to_axis): new
3773         (od_style_prop_chart): new attributes
3774         (oo_chart_axis): call oo_prop_list_apply_to_axis instead of
3775           (oo_prop_list_apply
3776         * openoffice-write.c (odf_write_standard_axes_styles): don't switch
3777           axes (otherwise we switch them twice: when we write the style and
3778           when we write the axes proper).
3780 2010-08-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3782         * openoffice-read.c (od_style_prop_chart): new attributes
3783         * openoffice-write.c (odf_write_axis_style): new attributes
3785 2010-08-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3787         * openoffice-write.c (odf_write_axis_style): split into
3788           odf_write_axis_style and df_write_generic_axis_style
3789         (odf_write_dropbar_axes_styles): delete
3790         (odf_write_circle_axes_styles): just determine the style names
3791         (odf_write_radar_axes_styles): ditto
3792         (odf_write_standard_axes_styles): ditto
3793         (odf_write_surface_axes_styles): ditto
3794         (odf_write_plot): adjust switch board and use the gog_styles
3795         (odf_fill_chart_props_hash): add GogAxis
3797 2010-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3799         * openoffice-read.c (oo_chart_axis): radar plots have different types
3800         * openoffice-write.c (odf_write_plot): radar plots should write their
3801           properties and children
3803 2010-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3805         * openoffice-read.c (oo_go_error_info_new_vprintf): new
3806         (oo_warning): create hierachical error information
3807         (openoffice_file_open): initialize and finalize error info
3809 2010-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3811         * openoffice-read.c: minor adjustments to oo_warning error strings.
3813 2010-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3815         * openoffice-read.c (oo_warning): assuming a new goffice, all
3816           errors can be filed
3818 2010-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3820         * openoffice-read.c (od_style_prop_chart): add attributes
3821         * openoffice-write.c (odf_get_gog_style_name): shorten names
3822         (odf_write_plot_style): drop unused argument and add attributes
3823         (odf_write_gog_style_graphic): check for NULL style
3824         (odf_write_gog_style_text): ditto
3825         (odf_write_gog_style_chart): handle plots
3826         (odf_write_plot): use the plot syle written elsewhere
3828 2010-08-23  Morten Welinder  <terra@gnome.org>
3830         * openoffice-read.c (od_draw_image): Unref the image zip member.
3831         (openoffice_file_open): Plug leak.  Fixes part of #627759.
3833 2010-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3835         * openoffice-read.c (oo_warning): fix return value
3836         (oo_series_droplines): new
3837         (opendoc_content_dtd): connect oo_series_droplines
3838         * openoffice-write.c (odf_get_gog_style_name): move and extend
3839         (odf_get_gog_style_name_from_obj): ditto
3840         (odf_write_drop_line): new
3841         (odf_write_standard_series): write drop lines
3842         (odf_write_gog_style): extend
3843         (odf_write_drop): new
3844         (odf_fill_chart_props_hash): new
3845         (odf_write_graphs): fine-tune progress reporting
3846         (openoffice_file_save_real): complete progress
3848 2010-08-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3850         * openoffice-write.c (odf_write_graph_content): fix role request
3851           (capitalization of role name)
3853 2010-08-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3855         * openoffice-read.c (oo_plot_area): handle OO_PLOT_UNKNOWN:
3856         (oo_chart): set type to OO_PLOT_UNKNOWN on unknown charts and raise
3857           a warning
3858         (oo_warning): make sure we are showing the first error
3860 2010-08-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3862         * openoffice-read.c (oo_plot_series): Also read
3863           gnm:label-cell-expression
3864         * openoffice-write.c (odf_update_progress): new
3865         (odf_write_content): call odf_update_progress
3866         (odf_write_label_cell_address): new
3867         (odf_write_standard_series): use odf_write_label_cell_address
3868         (odf_write_box_series): ditto
3869         (odf_write_plot_style): make sure we are using the correct type,
3870           add attributes
3871         (odf_write_surface_plot_style): replace with odf_write_plot_style
3872         (odf_write_xl_surface_plot_style): ditto
3873         (odf_write_plot): simplify
3874         (odf_write_graph_content): make sure we are finding a chart and plot,
3875           and write a fake if there is none.
3876         (odf_write_images): update progress
3877         (odf_write_graphs): update progress
3878         (openoffice_file_save_real): setup progress
3880 2010-08-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3882         * openoffice-write.c (odf_write_plot_style): new
3883         (odf_write_plot_style_int): new
3884         (odf_write_plot_style_double): new
3885         (odf_write_plot_style_double_percent): new
3886         (odf_write_plot_style_bool): new
3887         (odf_write_plot_style_from_bool): new
3888         (odf_write_scatter_chart_style_graphic): deleted
3889         (odf_write_surface_chart_style): renamed odf_write_surface_plot_style
3890         (odf_write_xl_surface_chart_style): renamed odf_write_xl_surface_plot_style
3891         (odf_write_bar_col_plot_style): replaced by odf_write_plot_style
3892         (odf_write_pie_plot_style): ditto
3893         (odf_write_box_plot_style): ditto
3894         (odf_write_ring_plot_styl): ditto
3895         (odf_write_line_plot_style): ditto
3896         (df_write_scatter_chart_style): ditto
3897         (odf_write_contour_chart_style): ditto
3898         (odf_write_plot): some adjustments
3900 2010-08-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3902         * openoffice-read.c (oo_attr_int_range): new
3903         (oo_attr_pos_int): delete and replace all of its occurrences by
3904           oo_attr_int_range
3905         (oo_attr_non_neg_int): ditto
3906         * openoffice-write.c (odf_write_bar_col_plot_style): more properties
3907         (odf_write_line_chart_style): add properties and rename to
3908           odf_write_line_plot_style
3910 2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3912         * openoffice-read.c (oo_attr_font_weight): new
3913         (odf_apply_style_props): apply additional props
3914         (oo_style_prop_cell): use oo_attr_font_weight
3915         (od_style_prop_chart): handle additional props
3916         * openoffice-write.c (odf_write_gog_style_text): write more
3917           attributes
3919 2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3921         * openoffice-read.c (odf_apply_style_props): handle font-size
3922         (oo_parse_distance): change argument to gnm_float and change all callers
3923         (od_style_prop_chart): handle font-size
3924         * openoffice-write.c (odf_write_gog_style_text): write font-size
3926 2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3928         * openoffice-read.c (oo_date_text_end_append): new
3929         (oo_date_text_end): take care of %-signs if we are in a percentage style
3930         (odf_number_percentage_style): new
3931         (opendoc_content_dtd): connect odf_number_percentage_style
3933 2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3935         * openoffice-read.c: mark all oo_warning texts for translation
3936         (oo_attr_non_neg_int): don't ignore excess values but clamp to max.
3937         (odf_apply_style_props): moved and handle text-rotation-angle
3938         (od_style_prop_chart): handle text-rotation-angle
3939         (oo_chart_title): handle style and ODF 1.0 bug
3940         (oo_chart_title_end): handle style
3941         (opendoc_content_dtd): add text:tab
3942         * openoffice-write.c (odf_get_gog_style_name): new
3943         (odf_get_gog_style_name_from_obj): new
3944         (odf_write_title): write style-name
3945         (odf_write_gog_style_graphic): new
3946         (odf_write_gog_style_text): new
3947         (odf_write_gog_style): new
3948         (odf_write_gog_styles): new
3949         (odf_write_plot): write gog_styles and use gog_styles for wall
3951 2010-08-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3953         * openoffice-read.c (odf_go_string_append_c_n): new
3954         (oo_attr_non_neg_int): new
3955         (oo_date_minutes): use odf_go_string_append_c_n
3956         (oo_date_seconds): use odf_go_string_append_c_n and oo_attr_non_neg_int
3957         (oo_date_style): ditto
3958         (odf_fraction): ditto
3959         (odf_number): ditto
3960         (odf_scientific): ditto
3961         (oo_style_prop_cell): use oo_attr_non_neg_int
3962         (opendoc_content_dtd): add data-pilot items
3964 2010-08-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3966         * openoffice-read.c (OOChartStyle): new field
3967         (oo_style): initalize new field
3968         (od_style_prop_chart): new attributes
3969         (odf_apply_style_props): new
3970         (oo_chart_wall): implement
3971         (oo_chart_style_free): finalize new field
3972         * openoffice-write.c (odf_go_color_to_string): new
3973         (gnm_xml_out_add_hex_color): use odf_go_color_to_string
3974         (odf_write_plot): Backplane belongs to chart, write wallstyle
3976 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3978         * openoffice-read.c (oo_chart_title_end): add to the correct object. That
3979           might be an axis.
3980         (oo_chart_axis_end): new
3981         (opendoc_content_dtd): connect oo_chart_axis_end
3982         * openoffice-write.c (odf_write_label): new
3983         (odf_write_axis): also write label
3985 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3987         * openoffice-read.c (oo_style): don't ignore non-default styles without
3988           name
3989         (oo_style_end): dispose of them here
3990         (cur_style): include the type in the struct and change the references
3991           throughout
3993 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3995         * openoffice-read.c (odf_number_style_end): check the return value
3996           of the style hash searches, some styles might be missing.
3998 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4000         * openoffice-read.c (oo_table_start): don't expect the attributes to
4001           appear in a nice order. In fact don't expect the table name to
4002           appear at all!
4004 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4006         * openoffice-write.c (odf_write_dash_info): new
4007         (odf_write_graph_styles): new
4008         (odf_write_scatter_series_style_graphic): save dash information
4009         (odf_write_graphs): write styles.xml for each graph
4011 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4013         * openoffice-write.c (odf_write_scatter_series_style_graphic): write
4014           dash info
4015         * openoffice-read.c (odf_match_dash_type): new (stub)
4016         (oo_prop_list_to_series): handle dashes, add argument and change all
4017           callers
4019 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4021         * openoffice-write.c (odf_write_scatter_chart_style): split into
4022         odf_write_scatter_chart_style and odf_write_scatter_chart_style_graphic
4023         (odf_write_scatter_series_style): split into
4024           odf_write_scatter_series_style and
4025           odf_write_scatter_series_style_graphic
4026         (odf_write_plot): we need to separate chart-properties and
4027           graphic-properties
4029 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4031         * openoffice-read.c (oo_prop_list_to_series): also set properties
4032         (oo_prop_list_has): new
4033         (oo_prop_list_has_three_dimensional): replace with oo_prop_list_has
4034         (oo_prop_list_has_multi_series): replace with oo_prop_list_has
4035         (od_style_prop_chart): handle interpolation attribute
4036         * openoffice-write.c (odf_write_interpolation_attribute): new
4037         (odf_write_scatter_chart_style): use odf_write_interpolation_attribute
4038         (odf_write_scatter_series_style): ditto
4040 2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4042         * openoffice-write.c (odf_write_line_chart_style): check the plot
4043         (odf_write_scatter_chart_style): ditto
4044         (odf_get_marker): new
4045         (odf_write_scatter_series_style): handle symbol-type
4046           and symbol-name
4047         (odf_write_plot): add argument to odf_write_series_style
4048         * openoffice-read.c (oo_prop_list_to_series): handle symbol-type
4049           and symbol-name
4050         (od_style_prop_chart): ditto
4052 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4054         * openoffice-write.c (odf_write_scatter_series_style): expand
4055         * openoffice-read.c (oo_prop_list_to_series): new
4056         (od_style_prop_chart): save series properties
4057         (oo_plot_series): reorganize
4058         (oo_chart_style_free): ispose of series properties
4060 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4062         * openoffice-write.c (odf_write_axis_grid): check for NULL axis
4063         (odf_write_axis): only consider non-NULL axes
4064         (odf_write_generic_axis): NULL-axes case
4065         (odf_write_plot): use odf_write_generic_axis if appropriate
4067 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4069         * openoffice-write.c (odf_write_one_axis_grid): new
4070         (odf_write_axis_grid): new
4071         (odf_write_axis): call odf_write_axis_grid
4073 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4075         * openoffice-read.c (od_chart_axis_categories): new
4076         (oo_plot_series): use the chart:categories
4077         (oo_chart_end): new
4078         (opendoc_content_dtd): connect the above
4080 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4082         * openoffice-write.c (oo_attr_pos_int): new
4083         (oo_col_start): use oo_attr_pos_int instead of oo_attr_int for repeat
4084           counts
4085         (oo_row_start): ditto
4086         (oo_cell_start): ditto
4087         (oo_covered_cell_start): ditto
4089 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4091         * openoffice-write.c (odf_write_axis_ring): strip brackets
4092         (odf_write_plot): make sure we export the elements in the correct order.
4094 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4096         * openoffice-read.c (oo_cell_start): be more careful with the
4097           size of array functions. They could reach beyond the current
4098           sheet size.
4100 2010-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4102         * openoffice-write.c (odf_write_axis): add argument
4103         (odf_write_axis_ring): new
4104         (odf_write_title): be more careful with picking a sheet
4105         (odf_write_plot): attach odf_write_axis_ring
4107 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4109         * openoffice-read.c (oo_chart_title): renamed to
4110           oo_chart_title_text
4111         (oo_chart_title): new
4112         (oo_chart_title_end): new
4113         (opendoc_content_dtd): connect the above
4114         * openoffice-write.c (odf_write_title): new
4115         (odf_write_plot): use odf_write_title for title and subtitle
4117 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4119         * openoffice-read.c (oo_date_style_end): set accum to NULL
4120           after freeing
4121         (odf_number_style): set all fields
4122         (odf_number_style_end): check for NULL name
4124 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4126         * openoffice-read.c (oo_date_style): set all fields
4127         (oo_date_style_end): check for NULL name
4129 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4131         * openoffice-write.c (odf_write_plot): export chart title
4133 2010-08-16  Morten Welinder <terra@gnome.org>
4135         * Release 1.10.9
4137 2010-08-16  Morten Welinder  <terra@gnome.org>
4139         * openoffice-read.c (oo_extent_sheet_rows, oo_extent_sheet_cols):
4140         Avoid criticals.
4142 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4144         * openoffice-write.c (odf_write_plot): export legend position
4146 2010-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4148         * openoffice-write.c (odf_write_plot): export legend
4150 2010-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4152         * openoffice-read.c (od_style_prop_chart): add chart:pie-offset
4153         * openoffice-write.c (odf_write_pie_plot_style): use chart:pie-offset
4155 2010-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4157         * openoffice-read.c (oo_attr_percent): new
4158         (od_style_prop_chart): add more attributes
4159         * openoffice-write.c (odf_write_pie_plot_style): new
4160         (odf_write_ring_plot_style): extent
4161         (odf_write_plot): connect odf_write_pie_plot_style
4163 2010-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4165         * openoffice-read.c (od_draw_frame): rename to od_draw_frame_start,
4166           initialize chart.so
4167         (od_draw_frame_end): add frame content to sheet
4168         (od_draw_object): check whether we already have frame content
4169         (od_draw_image): ditto
4170         (od_draw_text_box): ditto
4171         (od_draw_text_box_end): deleted and code moved to od_draw_frame_end
4172         (opendoc_content_dtd): add od_draw_frame_end and delete od_draw_text_box_end
4174 2010-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4176         * openoffice-write.c (GnmOOExport): rename objects field to graphs
4177           and change throughout; add images field
4178         (odf_write_frame): handle images
4179         (odf_write_content): write images
4180         (odf_write_image_manifest): new
4181         (odf_write_manifest): connect odf_write_image_manifest
4182         (odf_write_images): new
4183         (openoffice_file_save_real): initialize and finalize  new hash and
4184           cause images to be written
4186 2010-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4188         * openoffice-read.c (OOParseState): add debug field and use
4189           throughout instead of a preparser def or fixed #if 0.
4190         (oo_table_start): check for duplicate sheet names
4191         (openoffice_file_open): initialize new field
4193 2010-08-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4195         * openoffice-write.c (odf_chart_type_t): add ODF_GNM_BOX
4196         (odf_write_box_series): new
4197         (odf_write_box_plot_style): new
4198         (odf_write_plot): add ODF_GNM_BOX
4199         * openoffice-read.c (oo_prop_new_float): new
4200         (od_style_prop_chart): add new properties
4201         (oo_plot_area): handle OO_PLOT_BOX
4202         (oo_chart): add gnm:box
4204 2010-08-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4206         * openoffice-read.c (oo_plot_area_end): fall back to
4207           chart:plot-area table:cell-range-address if no series were
4208           directly specified.
4210 2010-08-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4212         * openoffice-read.c (oo_chart_axis): check for NULL style_name
4214 2010-07-30  Morten Welinder <terra@gnome.org>
4216         * Release 1.10.8
4218 2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4220         * openoffice-read.c (oo_style_prop_cell): handle
4221           style:text-underline-type
4222         * openoffice-write.c (odf_write_style_text_properties): add
4223           UNDERLINE_*_LOW
4225 2010-07-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4227         * openoffice-read.c (oo_db_range_start): If this filter range
4228           has a name define it as a named-range. Some files created
4229           by OOo depend on it.
4231 2010-07-08  Morten Welinder  <terra@gnome.org>
4233         * openoffice-read.c (odf_scientific): Use go_format_details_new
4234         and _free.
4236 2010-06-28  Morten Welinder <terra@gnome.org>
4238         * Release 1.10.7
4240 2010-06-16  Morten Welinder <terra@gnome.org>
4242         * Release 1.10.6
4244 2010-05-30  Morten Welinder <terra@gnome.org>
4246         * Release 1.10.5
4248 2010-05-20  Morten Welinder <terra@gnome.org>
4250         * Release 1.10.4
4252 2010-05-07  Morten Welinder <terra@gnome.org>
4254         * Release 1.10.3
4256 2010-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4258         * openoffice-write.c (openoffice_file_save_real): use a more
4259           appropriate time format
4261 2010-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4263         * openoffice-write.c (odf_write_cell): only retrieve the value
4264           as gnm_float if we really need to.
4265         * openoffice-read.c (oo_cell_start): handle dates and times in
4266           GENERAL format
4267         (openoffice_file_open): setup and destroy new hashes
4269 2010-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4271         * openoffice-write.c (odf_write_cell): write times and dates
4272           correctly as time-value or date-value
4273         (openoffice_file_save_real): fix  time_fmt and setup
4274           date_long_fmt
4276 2010-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4278         * openoffice-write.c (odf_write_cell): write times and dates as
4279           time-value or date-value
4280         (openoffice_file_save_real): initialize and dispose of time_fmt
4281           and date_fmt
4283 2010-04-16  Morten Welinder <terra@gnome.org>
4285         * Release 1.10.2
4287 2010-04-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4289         * openoffice-read.c (odf_write_frame): write a dimple textbox
4291 2010-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4293         * openoffice-read.c (od_draw_text_box_end): new
4294         (opendoc_content_dtd): connect the above
4296 2010-04-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4298         * openoffice-read.c: rename stock_series to list throughout
4299         (od_draw_text_box): new
4300         (od_draw_text_box_p_end): new
4301         (opendoc_content_dtd): connect the above
4303 2010-04-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4305         * openoffice-write.c (odf_write_style_cell_properties):
4306           style:writing-mode in cell styles requires ODF 1.2
4307           style:text-align-source needs to be set here
4308         (odf_write_style_paragraph_properties): not here
4309         (odf_write_style_text_properties): font sizes must be lengths not
4310           just integers
4312 2010-04-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4314         * openoffice-write.c (odf_write_manifest): only write a manifest
4315           entry for Pictures/ if we have any
4317 2010-03-08  Morten Welinder <terra@gnome.org>
4319         * Release 1.10.1
4321 2010-03-05  Morten Welinder  <terra@gnome.org>
4323         * openoffice-write.c (odf_expr_conventions_new): Fix export of
4324         intersection.  Fixes #611824.
4326 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4328         * openoffice-write.c (oo_db_range_end): reapply filter [#610399]
4330 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4332         * openoffice-write.c (odf_write_objects): don't export the filter
4333           combos [#610399]
4335 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4337         * openoffice-write.c (odf_write_cell): use value_get_as_gstring
4338           rather than value_get_as_float [#610372]
4339         (odf_write_filter_cond): use value_get_as_gstring rather than
4340           value_get_as_string [#610372]
4342 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4344         * openoffice-write.c (odf_write_cell): Store error literals
4345           as assignment. Fixes #610175.
4347 2010-02-18  Morten Welinder  <terra@gnome.org>
4349         * openoffice-read.c (openoffice_file_open): Queue everything for
4350         recalc since we use gnm_cell_set_expr_and_value.  Fixes #610178.
4352 2010-02-13  Morten Welinder <terra@gnome.org>
4354         * Release 1.10.0
4356 2010-01-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4358         * openoffice-write.c (odf_write_frame): use the method prefered by the
4359           OASIS OIC interop report to address the object subfile
4361 2010-01-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4363         * openoffice-read.c (oo_plot_area): remove some unnecessary code
4365 2010-01-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4367         * openoffice-read.c (oo_plot_area): handle OO_PLOT_XYZ_SURFACE like
4368           OO_PLOT_XYZ_CONTOUR
4369         (oo_series_domain): ditto
4370         (oo_chart): replace OO_PLOT_XYZ_CONTOUR with OO_PLOT_XYZ_SURFACE
4372 2010-01-19  Morten Welinder <terra@gnome.org>
4374         * Release 1.9.18
4376 2009-12-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4378         * openoffice-write.c (odf_write_standard_series): also write
4379           series label
4381 2009-12-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4383         * openoffice-read.c (oo_plot_assign_dim): also set default labels
4384         (oo_plot_area): store info on labels that are part of
4385           cell-range-address
4387 2009-12-15  Morten Welinder <terra@gnome.org>
4389         * Release 1.9.17
4391 2009-12-15  Morten Welinder  <terra@gnome.org>
4393         * openoffice-read.c (oo_col_start, oo_row_start): Allocate the
4394         right amount of memory.  Fixes #604615.
4396 2009-12-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4398         * openoffice-write.c (gnm_xml_out_add_hex_color): use the
4399           pattern to determine transparency, add pattern argument
4400           and change all callers
4401         (odf_write_link_start): new
4402         (odf_write_link_end): new
4403         (odf_write_cell): write link
4404         (odf_write_content_rows): cells with links need to be written
4406 2009-11-29  Morten Welinder <terra@gnome.org>
4408         * Release 1.9.16
4410 2009-11-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4412         * openoffice-read.c: don't use float or atof throughout.
4413         (odf_number_style_end): no need to translate strings into
4414           floats and back.
4416 2009-11-17  Morten Welinder  <terra@gnome.org>
4418         * openoffice-read.c (oo_filter_cond): Don't look inside GnmValue.
4420 2009-11-01  Morten Welinder <terra@gnome.org>
4422         * Release 1.9.15
4424 2009-10-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4426         * openoffice-read.c (oo_func_map_in): we now have SHEET
4427         * openoffice-write.c (odf_expr_func_handler): ditto
4429 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4431         * openoffice-read.c (oo_func_map_in): we now have SHEETS
4432         * openoffice-write.c (odf_expr_func_handler): ditto
4434 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4436         * openoffice-read.c (oo_func_map_in): we now have IFNA
4437         * openoffice-write.c (odf_expr_func_handler): ditto
4439 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4441         * openoffice-read.c (oo_func_map_in): we now have BINOM.DIST.RANGE
4442           (equivalent to the ODF function B)
4443         * openoffice-write.c (odf_expr_func_handler): ditto
4445 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4447         * openoffice-read.c (oo_func_map_in): we now have NUMBERVALUE
4448         * openoffice-write.c (odf_expr_func_handler): ditto
4450 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4452         * openoffice-read.c (oo_func_map_in): we had COMBINA and ARABIC
4453           for a while
4454         * openoffice-write.c (odf_expr_func_handler): ditto
4456 2009-10-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4458         * openoffice-read.c (oo_func_map_in): we now have ISFORMULA
4459         * openoffice-write.c (odf_expr_func_handler): ditto
4461 2009-10-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4463         * openoffice-read.c (oo_func_map_in): add EASTERSUNDAY
4464           and DAYS. Use case insensitive comparison for prefixes since
4465           OOo saves unknown functions in lower case.
4466         * openoffice-write.c (odf_func_eastersunday_handler): new
4467         (odf_expr_func_handler): add odf_func_eastersunday_handler and
4468           DAYS translation
4470 2009-10-11  Morten Welinder <terra@gnome.org>
4472         * Release 1.9.14
4474 2009-09-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4476         * openoffice-read.c (oo_style_prop_cell): fix diagonal borders
4477         * openoffice-write.c (odf_write_style_cell_properties): ditto
4479 2009-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4481         * openoffice-read.c (opendoc_content_dtd): add element stubs
4482         (styles_dtd): ditto
4484 2009-09-20  Morten Welinder <terra@gnome.org>
4486         * Release 1.9.13
4488 2009-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4490         * openoffice-write.c (odf_write_surface_chart_style): we consider
4491           multi-series=FALSE the default
4492         (odf_write_xl_surface_chart_style): obey state->with_extension
4494 2009-09-05  Morten Welinder <terra@gnome.org>
4496         * Release 1.9.12
4498 2009-09-05  Jean Brefort  <jean.brefort@normalesup.org>
4500         * openoffice-write.c (gnm_xml_out_add_hex_color),
4501         (odf_get_border_format): renamed go-color.h macros.
4503 2009-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4505         * openoffice-read.c (oo_prop_list_has_multi_series): new
4506         (oo_style_have_multi_series): new
4507         (oo_plot_area): use XLSurfacePlot in case of multiseries
4508         * openoffice-write.c (odf_write_xl_surface_chart_style): new
4509         (odf_write_plot): handle XLSurfacePlot
4511 2009-09-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4513         * openoffice-write.c (odf_graph_get_series): make sure texpr is non-NULL
4514         (odf_write_plot): check the correct end of array marker
4516 2009-09-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4518         * openoffice-write.c (gnm_xml_out_add_hex_color): simplify comparison
4520 2009-09-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4522         * openoffice-write.c (gnm_xml_out_add_hex_color): compare with
4523           automatic background to see whether we have transparency
4525 2009-09-01  Morten Welinder  <terra@gnome.org>
4527         * openoffice-read.c (oo_parse_color): Don't change color fields we
4528         do not own.  Fix leak.
4529         (go_plugin_init, go_plugin_shutdown): New functions.
4530         (oo_style_prop_cell): Fix handling of transparent colours.
4532 2009-09-01  Jean Brefort  <jean.brefort@normalesup.org>
4534         * openoffice-write.c (gnm_xml_out_add_hex_color): renamed GOColor macros.
4536 2009-08-30  Morten Welinder <terra@gnome.org>
4538         * Release 1.9.11
4540 2009-08-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4542         * openoffice-read.c (oo_func_map_in): no need to map RRI
4543           and MUNIT
4544         * openoffice-write.c (odf_expr_func_handler): we now have
4545           RRI and MUNIT
4547 2009-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4549         * openoffice-read.c (oo_func_map_in): map PDURATION to
4550           G_DURATION
4551         * openoffice-write.c (odf_expr_func_handler): map
4552           G_DURATION to PDURATION
4554 2009-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4556         * openoffice-read.c (odf_func_gauss_handler): use ERF
4557         (oo_func_map_in): map GAUSS to ODF.GAUSS if it has more than one
4558           argument
4560 2009-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4562         * openoffice-read.c (odf_func_gauss_handler): new
4563         (oo_func_map_in): map GAUSS to NORMDIST-0.5
4565 2009-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4567         * openoffice-read.c (odf_func_phi_handler): new
4568         (oo_func_map_in): map PHI to NORMDIST
4570 2009-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4572         * openoffice-read.c (oo_func_map_in): no need to map SEARCHB
4573         * openoffice-write.c (odf_expr_func_handler): we now have
4574           SEARCHB
4576 2009-08-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4578         * openoffice-read.c (oo_func_map_in): no need to map REPLACEB
4579         * openoffice-write.c (odf_expr_func_handler): we now have
4580           REPLACEB
4582 2009-08-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4584         * openoffice-read.c (oo_func_map_in): no need to map GAMMA and
4585           PERMUTATIONA
4586         * openoffice-write.c (odf_expr_func_handler): we now have
4587           GAMMA and PERMUTATIONA
4589 2009-08-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4591         * openoffice-write.c (odf_expr_func_handler): we now have a
4592           FINDB and AVERAGEIF
4593         * openoffice-read.c (oo_func_map_in): we now have a FINDB and
4594           AVERAGEIF
4596 2009-08-15  Morten Welinder <terra@gnome.org>
4598         * Release 1.9.10
4600 2009-07-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4602         * openoffice-write.c (odf_write_surface_chart_style): new
4603         (odf_write_contour_chart_style): new
4604         (odf_write_plot): hook-up above functions and drop
4605           gnm:xyz-surface & gnm:surface
4606         * openoffice-read.c (OOChartStyle): add new field
4607         (oo_style): initialize new field
4608         (oo_chart_style_free): free new field
4609         (oo_prop_list_has_three_dimensional): new
4610         (oo_style_have_three_dimensional): new
4611         (od_style_prop_chart): read chart:three-dimensional
4612         (oo_plot_area): handle chart:three-dimensional spec
4613         (oo_chart): drop unneeded gnm:xyz-surface & gnm:surface
4615 2009-07-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4617         * openoffice-write.c (odf_write_series): renamed to
4618           odf_write_standard_series
4619         (odf_write_axis_style): moved some code to callers and simplify
4620         (odf_write_circle_axes_styles): new
4621         (odf_write_radar_axes_styles): new
4622         (odf_write_dropbar_axes_styles): new
4623         (odf_write_standard_axes_styles): new
4624         (odf_write_surface_axes_styles): new
4625         (odf_write_axis): moved some code to callers
4626         (odf_write_plot): use selection array
4628 2009-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4630         * openoffice-read.c (OO_PLOT_SURF): rename to OO_PLOT_CONTOUR throughout
4631         (OO_PLOT_XYZ_SURFACE): new
4632         (OO_PLOT_SURFACE): new
4633         (oo_plot_area): handle OO_PLOT_XYZ_SURFACE and OO_PLOT_SURFACE
4634         (oo_plot_series): ditto
4635         (oo_series_domain): ditto
4636         (oo_chart): ditto
4637         * openoffice-write.c (ODF_GNM_SURF): new
4638         (ODF_XYZ_GNM_SURF): new
4639         (odf_write_plot): handle ODF_GNM_SURF and ODF_XYZ_GNM_SURF
4641 2009-07-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4643         * openoffice-read.c (gog_series_map_dim_by_name): new
4644         (oo_plot_assign_dim): add optional name argument and change all callers
4645         (oo_series_domain): handle OO_PLOT_XYZ_CONTOUR
4646         * openoffice-write.c (odf_write_plot): handle ODF_XYZ_SURF
4648 2009-07-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4650         * openoffice-read.c (oo_plot_series): handle OO_PLOT_SCATTER_COLOUR
4651         (oo_series_domain): ditto
4652         (oo_chart): ditto
4653         * openoffice-write.c (odf_write_bubble_series): write all series
4654         (odf_write_plot): handle GogXYColorPlot/ODF_SCATTER_COLOUR
4656 2009-07-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4658         * openoffice-read.c (oo_plot_assign_dim): allow for
4659           dim_type pass through.
4660         (oo_plot_series): handle contour matrix
4661         (oo_plot_series_end): we are already done for OO_PLOT_SURF
4662         (oo_series_domain): handle OO_PLOT_SURF
4663         * openoffice-write.c (odf_write_plot): handle ODF_SURF
4665 2009-07-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4667         * openoffice-read.c (oo_plot_area): set up series handling for
4668           Stock plot
4669         (oo_plot_area_end): handle stock plot series
4670         (odf_create_stock_plot): new
4671         (oo_plot_series): for Stock plot just save the info
4672         (oo_plot_series_end): for Stock plots we don't want to do
4673           anything here
4674         (oo_chart): set up reading of more chart types
4675         * openoffice-write.c (odf_write_bubble_series): fix style name
4676         (odf_write_min_max_series): new
4677         (odf_write_plot): set up writing of more plot types
4678         (odf_write_plot): handle writing of minmax plots
4680 2009-07-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4682         * openoffice-read.c (od_style_prop_chart): handle
4683           chart:reverse-direction, chart:symbol-type,
4684           draw:stroke, chart:lines
4685         (oo_chart_axis): in ODF proper the axis style should not affect
4686           the overall graph.
4687         (oo_plot_area): handle double series for Gantt charts
4688         (oo_plot_area_end): ditto
4689         (oo_plot_series): ditto
4690         (oo_series_domain): handle dimensions for series:domain
4691         (oo_chart_wall): hook-up to the correct element
4692         * openoffice-write.c (odf_add_percent): new
4693         (odf_write_frame): fix leak
4694         (odf_write_series): handle more dimensions
4695         (odf_write_gantt_series): new
4696         (odf_write_bubble_series): new
4697         (odf_write_ring_plot_style): new
4698         (odf_write_line_chart_style): new
4699         (odf_write_scatter_chart_style): new
4700         (odf_write_scatter_series_style): new
4701         (odf_write_axis_style): differentiate based on plot type
4702         (odf_write_axis): ditto
4703         (df_write_plot): handle more plot types
4705 2009-07-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4707         * openoffice-read.c (od_draw_frame): use table:end-x and
4708           table:end-y together with table:end-cell-address if provided
4710 2009-07-12 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4712         * openoffice-read.c (oo_chart_axis): use more of the
4713           applicable styles
4714         (oo_plot_area): ditto
4715         (oo_plot_area_end): free GSList
4716         (oo_chart): save applicable style
4717         (openoffice_file_open): initialize chart.these_plot_styles
4718         (od_draw_frame): calculate correct offsets
4719         * openoffice-write.c (odf_write_bar_col_plot_style): new
4720         (odf_write_bar_col_plot_styles): deleted
4721         (odf_write_plot): try to implement basic support for all
4722           plot types
4723         (odf_write_bar_col_plot): deleted and incorporated in
4724           odf_write_plot
4726 2009-07-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4728         * openoffice-write.c (odf_write_frame): also link to a png
4729           representation
4730         (odf_write_graph_manifest): include the png representations
4731         (odf_write_axis_style): we should use "start" rather than 0
4732           as default axis-position
4733         (odf_write_graphs): write png representation
4735 2009-07-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4737         * openoffice-write.c (odf_write_cell): let gsf figure
4738           out precision
4739         (odf_print_spreadsheet_content_prelude): ditto
4740         (odf_write_axis_style): new
4741         (odf_write_axis): new
4742         (odf_write_bar_col_plot_styles): new
4743         (odf_write_bar_col_plot): move some of the chart
4744           construction here
4745         (odf_write_graph_content): from here and
4746         (odf_write_plot): from here, so that we write styles here
4748 2009-07-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4750         * openoffice-write.c (odf_write_series): new
4751         (odf_write_bar_col_plot): new
4752         (odf_write_graph_content): retrieve plot
4754 2009-07-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4756         * openoffice-write.c (odf_write_frame): also include
4757           an image of graphs
4758         (odf_write_graph_manifest): add svg image file
4759         (odf_write_manifest): write Pictures directory
4760         (odf_write_graph_content): new stub
4761         (odf_write_graphs): call odf_write_graph_content and
4762           write image of graph to image file
4763         (openoffice_file_save_real): create Pictures directory
4765 2009-07-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4767         * openoffice-write.c (odf_strip_brackets): new
4768         (odf_graph_get_series): new
4769         (odf_write_frame): use odf_strip_brackets and create
4770           draw:object for graphs
4771         (odf_write_content): use odf_strip_brackets
4772         (odf_write_meta_graph): new
4773         (odf_write_graph_manifest): new
4774         (odf_write_manifest): attach odf_write_graph_manifest
4775         (odf_write_graphs): also write meta.xml
4777 2009-07-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4779         * openoffice-read.c (od_draw_frame): we can only match
4780           once
4781         (openoffice_file_open): g_free can handle NULL
4782         * openoffice-write.c (odf_write_frame): new
4783         (odf_write_objects): new
4784         (odf_write_empty_cell): rather than calling
4785           odf_write_comment, call odf_write_objects
4786         (odf_write_covered_cell): change argument, and
4787           change all callers
4788         (odf_sheet_objects_get): new
4789         (odf_write_content_rows): handle all sheet objects,
4790           not just comments
4791         (odf_write_content): hash graphs
4792         (odf_write_graphs): new stub
4793         (openoffice_file_save_real): initialize graph hash
4794           and create include chart documents
4796 2009-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4798         * openoffice-read.c: split styles.col_row into
4799           split styles.col and split styles.row, change users
4800         (oo_table_start): use default
4801           row/column styles
4802         (cb_find_default_colrow_style): simplify
4803         (oo_colrow_reset_defaults): split into oo_col_reset_defaults
4804           and oo_row_reset_defaults, change callers
4805         (oo_col_row_style_apply_breaks): fix typo
4806         (oo_col_start)L if we don't have a default style but
4807           lots of repetition, use the repeated style as default
4808         (oo_row_start): ditto
4809         (oo_style): row and column styles can also be defaults
4811 2009-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4813         * openoffice-read.c (opendoc_content_dtd): add
4814           style:tab-stops to style:paragraph-properties
4815         (od_draw_object): handle both "Object 1/" and
4816           "./Object 1".
4818 2009-07-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4820         * openoffice-read.c (opendoc_content_dtd): add svg:desc
4821           to draw:frame and remove unneeded duplication
4823 2009-06-28 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4825         * openoffice-write.c (odf_rangeref_as_string): fix
4826           writing of range references without sheet.
4828 2009-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4830         * openoffice-write.c (odf_save_style_map_single_f):
4831           remove unneeded argument and change all callers
4832         (odf_save_style_map_double_f): ditto
4834 2009-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4836         * openoffice-write.c (GnmOOExport): add new hash
4837         (odf_find_style): check named_cell_styles hash first
4838         (odf_save_this_style_with_name): change argument order
4839           to be able to pass it to hash_foreach and change all
4840           callers
4841         (odf_store_this_named_style): new
4842         (odf_save_this_style): styles referenced in style:map
4843           must be named
4844         (odf_write_styles): write named styles and reorder to
4845           write referenced styles before referencing styles.
4846         (openoffice_file_save_real): handle new hashes and make sure
4847           styles referenced by the default cell style will be written
4849 2009-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4851         * openoffice-write.c (odf_write_style_cell_properties):
4852           MSTYLE_ROTATION should be MSTYLE_INPUT_MSG
4853         (odf_save_style_map_single_f): new
4854         (odf_save_style_map_double_f): new
4855         (odf_save_style_map): new
4856         (odf_write_style): also write style:maps
4857         (odf_write_character_styles): split into
4858           odf_write_character_styles and odf_write_cell_styles
4859         (odf_write_cell_styles): new
4860         (odf_write_sheet): use the sheet stored in the state
4862 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4864         * openoffice-read.c
4865         (odf_annotation_content_end): remove debug output
4866         (odf_annotation_author_end): ditto
4868 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4870         * openoffice-read.c (odf_scientific): handle gnm:engineering
4871         (oo_style): initialize new fields
4872         (oo_style_prop_cell): handle alignments (including our
4873           foreign elements) safely
4875 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4877         * openoffice-read.c (odf_style_map_load_one_value): new
4878         (oo_style_map): use odf_style_map_load_one_value and
4879           handle "is-true-formula"
4881 2009-06-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4883         * openoffice-read.c (odf_style_map_load_two_values): new
4884         (oo_style_map): handle cell-content-is-between and try to
4885           handle cell-content-is-not-between
4887 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4889         * openoffice-read.c (oo_table_end): keep the styles also
4890           for the whole data extent.
4892 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4894         * openoffice-read.c (odf_map): simplify slightly
4895         (oo_style_map): implement
4897 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4899         * openoffice-read.c (oo_cell_start): do not overwrite formats
4900           from the file
4902 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4904         * openoffice-read.c (OOParseState): separate format item and
4905           change references throughout
4906         (oo_date_hours): handle elapsed times better
4907         (oo_date_minutes): ditto
4908         (oo_date_seconds): ditto
4909         (oo_date_style_end): ditto
4910         (oo_date_style_end_rm_elapsed): new
4912 2009-06-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4914         * openoffice-read.c (odf_currency_symbol_end): mark the
4915           currency symbol as such.
4917 2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4919         * openoffice-write.c (xl_find_format): We may not use '+' inside a
4920           style name.
4922 2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4924         * openoffice-read.c (oo_func_map_in): we now have JIS
4925         * openoffice-write.c (odf_expr_func_handler): ditto
4927 2009-06-21 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4929         * openoffice-read.c (oo_func_map_in): adjust function listing
4930         * openoffice-write.c (odf_func_floor_ceiling_handler):
4931           handle all instances
4932         (odf_func_sec_handler): new
4933         (odf_func_sech_handler): new
4934         (odf_expr_func_handler): change the default behaviour to always
4935           precede functions with ORG.GNUMERIC, so we don't have to worry
4936           to miss functions from new plugins or that have been added.
4937           Also handle "ODF...." functions that were imported.
4939 2009-06-20  Morten Welinder <terra@gnome.org>
4941         * Release 1.9.9
4943 2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4945         * openoffice-read.c (odf_func_address_handler): new
4946         (oo_conventions_new): set conv->sheet_name_sep
4947         (oo_load_convention): new FORMULA_OLD_OPENOFFICE
4948         (odf_func_floor_handler): hoo up odf_func_address_handler
4949         (oo_cell_start): oooc prefix indicates that we may see
4950           missing A1 in ADDRESS
4952 2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4954         * openoffice-read.c (odf_func_floor_handler): new
4955         (oo_func_map_in): hook up above handler
4956         * openoffice-write.c (odf_func_ceiling_handler):  rename to
4957           odf_func_floor_ceiling_handler and change all callers
4958         (odf_expr_func_handler): hook up handler for FLOOR
4960 2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4962         * openoffice-read.c (odf_func_ceiling_handler): fix logic
4964 2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4966         * openoffice-read.c (odf_func_ceiling_handler): new
4967         (oo_func_map_in): hook up the above handler
4968         * openoffice-write.c (odf_func_ceiling_handler): new
4969         (odf_expr_func_handler): hook up the above handler
4971 2009-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4973         * openoffice-read.c (odf_func_chisqdist_handler): new
4974         (oo_func_map_in): new handler hash
4975         * openoffice-write.c (odf_func_r_dchisq_handler): new
4976         (odf_func_r_pchisq_handler): new
4977         (sc_func_handlers): hook up the above
4979 2009-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4981         * openoffice-write.c (odf_func_r_qchisq_handler): new
4982         (odf_expr_func_handler): add hash of individual handlers, map
4983           GET.FORMULA to FORMULA and 2-argument instances of R.QCHISQ to
4984           CHISQINV
4985         * openoffice-read.c (oo_func_map_in): map FORMULA to GET.FORMULA
4986           and CHISQINV to R.QCHISQ
4988 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4990         * openoffice-write.c (xl_find_format): use easier to follow style
4991           names
4992         (odf_write_styles): write styles in a more natural order
4994 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
4996         * openoffice-read.c (h_alignments): include right and left
4998 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5000         * openoffice-write.c (odf_find_style): give more info in the case
5001           we don't find the style
5002         (odf_save_this_style_with_name): new
5003         (odf_save_this_style): use odf_save_this_style_with_name
5004         (odf_write_content_rows): THe style row contains styles already
5005           adjusted for the values. We can't use that. So access the real
5006           styles.
5008 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5010         * openoffice-read.c (oo_func_map_in): perform some function name
5011           translation
5012         * openoffice-write.c (odf_expr_func_handler): perform some function
5013           name translation
5015 2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5017         * openoffice-read.c (oo_func_map_in): handle ORG.GNUMERIC. prefix
5018         * openoffice-write.c (odf_expr_func_handler): new
5019         (odf_expr_conventions_new): hook up odf_expr_func_handler
5021 2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5023         * openoffice-read.c (odf_annotation_start): new
5024         (odf_annotation_content_end): new
5025         (odf_annotation_author_end): new
5026         (odf_annotation_end): new
5027         (opendoc_content_dtd): hook-up the above
5029 2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5031         * openoffice-write.c (odf_write_sheet): don't confuse rows and cols
5032         * openoffice-read.c (opendoc_content_dtd): add annotation tags
5034 2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5036         * openoffice-write.c (odf_write_comment): new
5037         (equal_style): deleted
5038         (odf_write_empty_cell): change arguments and adjust all callers.
5039         (filter_style): just compare pointers
5040         (finder): new
5041         (write_styled_cells): new
5042         (odf_write_styled_empty_rows): new
5043         (odf_write_formatted_empty_rows): deleted
5044         (odf_write_content_rows): new
5045         (odf_write_sheet): split into parts
5047 2009-06-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5049         * openoffice-write.c (cell_styles_free): deleted
5050         (odf_compare_style): deleted
5051         (odf_find_style): just look in the hash. remove
5052           unnecessary arguments and change all callers
5053         (odf_save_automatic_character_styles): deleted
5054         (odf_save_this_style): write an individual style and
5055           save it in the hash
5056         (odf_write_character_styles): call odf_save_this_style
5057           for each style
5059 2009-06-10  Morten Welinder  <terra@gnome.org>
5061         * openoffice-read.c (oo_load_convention): Mark '^'
5062         left-associative in Excel formulas.
5063         (oo_conventions_new): Ditto for OO formulas.
5065 2009-06-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5067         * openoffice-write.c (odf_write_content): export print area to ODF
5069 2009-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5071         * openoffice-read.c (opendoc_content_dtd): include
5072           text:soft-page-break
5073         * openoffice-write.c (odf_write_formatted_empty_rows):
5074           write text:soft-page-break also in empty territory
5076 2009-06-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5078         * openoffice-read.c (oo_append_page_break): soft pagebreaks are
5079           stored as text:soft-page-breaks tag (and at this time can only
5080           be included between rows). The "auto" value for break-after
5081           and break-before reflects only the potential of a pagebreak.
5082         (oo_page_break_type): ditto
5083         * openoffice-write.c (odf_write_sheet): write text:soft-page-breaks
5084           elements at the location of paginated page breaks.
5086 2009-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5088         * openoffice-read.c (oo_append_page_break): add argument and
5089           change all callers
5090         (oo_set_page_break): new
5091         (oo_page_break_type): default to NONE (we did that anyways) and
5092           handle column type just in case
5094 2009-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5096         * openoffice-read.c (oo_cell_content_end): Since we may be
5097           assigning the result of an array calculation we should not
5098           check for array splits.
5100 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5102         * openoffice-read.c (odf_number_style_end): shorten code and
5103           distinguish <> from <
5105 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5107         * openoffice-read.c (oo_cell_start): fix style leak
5109 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5111         * openoffice-read.c (oo_cell_start): set a default date or
5112           time format if the incoming data is marked that way.
5114 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5116         * openoffice-read.c (attr_eq_ncase): new
5117         (odf_number_color): new
5118         (styles_dtd): hook-up odf_number_color
5119         (opendoc_content_dtd): ditto
5121 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5123         * openoffice-read.c (oo_date_text_end): don't quote single ()
5124         (odf_format_generate_number_str): delete (this is now handled by
5125           go_format_generate_number_str
5126         (odf_number): use go_format_generate_number_str
5127         (odf_scientific): use GOFormatDetails directly
5128         (odf_map): already check whether we may understand this and strip
5129           "value()"
5130         (odf_number_style_end): save the conditions in the order we might
5131           expect them
5133 2009-06-02  Morten Welinder  <terra@gnome.org>
5135         * openoffice-read.c (odf_format_generate_number_str): Handle
5136         min_digits too.
5138 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5140         * openoffice-read.c (oo_style_prop_cell): Use an older PANGO_WEIGHT
5141         for cutoff (which is equivalent).
5143 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5145         * openoffice-read.c (oo_style_prop_cell): Also check font weight
5146           rather than just descriptors.
5148 2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5150         * openoffice-read.c (odf_map): new
5151         (oo_date_style): only use our magic if the format source is still
5152           set to language
5153         (odf_number_style_end): handle conditional number formats
5154         (styles_dtd): hook-up odf_map
5155         (opendoc_content_dtd): ditto
5157 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5159         * openoffice-read.c (odf_number): default minimum integer digits
5160           should be 1
5161         (odf_scientific): handle scientific numbers
5162         (odf_currency_symbol_end): handle currency symbols
5163         (styles_dtd): hook-up the above
5164         (opendoc_content_dtd): ditto
5166 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5168         * openoffice-read.c (odf_number): new
5169         (odf_format_generate_number_str): handle minimum integer digits
5170         (styles_dtd): hook-up odf_number and add number:embedded-text
5171         (opendoc_content_dtd): ditto
5173 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5175         * plugin.xml.in: add a second filesaver to allow the choice
5176           of with or without foreign elements
5177         * openoffice-write.c : throughout bracket all uses of
5178           foreign elements with a test whether they are permitted.
5180 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5182         * openoffice-read.c (odf_fraction): new
5183         (odf_number_style): new
5184         (odf_number_style_end): new
5185         (styles_dtd): hook-up the above
5186         (opendoc_content_dtd): ditto
5188 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5190         * openoffice-write.c (oo_date_hours): handle elapsed time
5191         (oo_date_minutes): ditto
5192         (oo_date_seconds): ditto
5194 2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
5196         * openoffice-write.c (odf_print_spreadsheet_content_prelude):
5197           give the correct null-date
5198         * openoffice-read.c (oo_date_text_end): we need to use
5199           apostrophes
5200         (oo_date_style): handle magic formats
5202 2009-05-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5204         * openoffice-write.c (xl_find_format): handle all three possible
5205           format positions
5206         (xl_find_conditional_format): new
5207         (odf_write_xl_stylet): new
5208         (odf_write_this_xl_style_neg): new
5209         (odf_write_this_xl_style_zero): new
5210         (odf_write_map): rewrite
5211         (odf_write_this_conditional_xl_style): new
5212         (openoffice_file_save): handle new hashes
5214 2009-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5216         * openoffice-write.c (odf_attrs_as_string): hadnle super and
5217           subscripts
5218         (odf_write_character_styles): create super and subscript styles
5220 2009-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5222         * openoffice-write.c (odf_write_cell): the office:annotation must
5223           precede the text:p of the cell content. The text inside the
5224           annotation must be contained inside a text:p.
5226 2009-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5228         * openoffice-write.c (odf_write_day): deleted (moved to goffice)
5229         (odf_write_month): ditto
5230         (odf_write_year): ditto
5231         (odf_write_hour): ditto
5232         (odf_write_minute): ditto
5233         (odf_write_second): ditto
5234         (odf_write_ampm): ditto
5235         (odf_write_date_style): ditto
5236         (odf_write_time_style): ditto
5237         (odf_write_number_style): ditto
5238         (odf_write_currency_style): ditto
5239         (odf_write_percentage_style): ditto
5240         (odf_write_fraction_style): ditto
5241         (odf_write_scientific_style): ditto
5242         (odf_write_this_xl_style): use go_format_output_to_odf for all
5243           but the conditional formats
5244         (odf_write_data_styles): deleted
5245         (odf_write_styles): call g_hash_table_foreach directly
5247 2009-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5249         * openoffice-write.c (xl_find_format): if the format is not simple
5250           also include the simple portions in the hash
5251         (odf_print_spreadsheet_content_prelude): use accessor functions for
5252           odf version
5253         (odf_write_styles): ditto
5254         (odf_write_settings): ditto
5255         (odf_write_conditional_style): new
5256         (odf_write_this_xl_style): use odf_write_conditional_style
5258 2009-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5260         * openoffice-write.c: replace xl_styles GSList with a GHashTable
5261           and remove unnecessary counter field in cell_styles_t and
5262           col_row_styles_t
5263         (xl_styles_free): deleted
5264         (xl_compare_style): deleted
5265         (xl_find_format): use g_hash_table_lookup
5266         (odf_write_this_xl_style): new
5267         (odf_write_data_styles): use g_hash_table_foreach
5268         (openoffice_file_save): create and dispose of hashtable
5270 2009-05-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5272         * openoffice-write.c: replace GSF_ODF_VERSION with gsf_odf_version
5273         since enums are handled at compile time.
5275 2009-05-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5277         * openoffice-write.c (odf_write_style_paragraph_properties): Since
5278           OOo ignores style:text-align-source we have to avoid setting
5279           fo:text-align in this case.
5280         (odf_write_number_style): write at least a default style
5281         (odf_write_currency_style): write a default currency style
5282         (odf_write_percentage_style): write a default percentage style
5283         (odf_write_fraction_style): write a default fraction style
5284         (odf_write_scientific_style): write a default scientific style
5285         (odf_write_data_styles): use go_format_get_family
5287 2009-05-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5289         * openoffice-write.c: adjust for change in GSF_ODF_VERSION to enum
5290           and replacement of GSF_ODF_VERSION_STRING with gsf_odf_version_string
5291         (odf_write_ampm): new
5292         (odf_write_date_style): handle am/pm
5293         (odf_write_time_style): ditto
5295 2009-05-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5297         * openoffice-write.c (xl_styles_free): new
5298         (xl_compare_style): new
5299         (xl_find_format): new
5300         (odf_write_style_goformat_name): write data styles
5301         (odf_find_style): add argument and change all callers
5302         (odf_print_spreadsheet_content_prelude): use GSF_ODF_VERSION
5303         (odf_write_day): new
5304         (odf_write_month): new
5305         (odf_write_year): new
5306         (odf_write_hour): new
5307         (odf_write_minute): new
5308         (odf_write_second): new
5309         (odf_write_date_style): new
5310         (odf_write_time_style): new
5311         (odf_write_number_style): new stub
5312         (openoffice_file_save): initialize and clear state.xl_styles
5314 2009-05-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5316         * openoffice-write.c (odf_new_markup): watch for strange starting
5317           positions of the pango iter
5318         (odf_write_style_cell_properties): handle input messages
5319         (odf_write_style_paragraph_properties): handle indent
5320         (odf_write_style_goformat_name): new
5322 2009-05-23  Morten Welinder <terra@gnome.org>
5324         * Release 1.9.8
5326 2009-05-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5328         * openoffice-write.c (odf_write_style): added more style info and split
5329           into 3 sections:
5330         (odf_write_style_cell_properties): new
5331         (odf_write_style_paragraph_properties): new
5332         (odf_write_style_text_properties): new
5334 2009-05-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5336         * openoffice-write.c (odf_add_angle): new
5337         (odf_write_style): handled wrapped text, shrink-to-fit, text direction,
5338           and rotation
5340 2009-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5342         * openoffice-write.c (odf_print_spreadsheet_content_prelude): add
5343           remaining items defined in ODF 1.0 and 1.2 (1.2 not currently used)
5345 2009-05-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5347         * openoffice-write.c (odf_write_style): write horizontal and
5348           vertical alignment
5349         (odf_print_spreadsheet_content_prelude): in ODF 1.0 date-value is
5350           incorrectly expected as date-value-type
5352 2009-05-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5354         * openoffice-write.c (odf_print_spreadsheet_content_prelude): new
5355         (odf_write_content): call odf_print_spreadsheet_content_prelude
5357 2009-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5359         * openoffice-write.c (equal_style): arguments can be const
5360         (odf_compare_style): use equal_style
5361         (odf_write_sheet): use equal_style
5362         (odf_write_meta): set generator string
5364 2009-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5366         * openoffice-write.c (gnm_xml_out_add_hex_color): make our background
5367           transparent.
5369 2009-05-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5371         * openoffice-write.c (odf_save_automatic_character_styles): we
5372           also need to save the formats associated with any empty cell
5373         (odf_write_empty_cell): also write attached formatting info to empty
5374           cells
5375         (odf_write_sheet): we cannot bundle all empty cells but need to
5376           watch for format changes
5378 2009-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5380         * openoffice-write.c (GnmOOExport): added field
5381         (odf_find_row_style): new
5382         (odf_write_row_styles): new
5383         (odf_write_formatted_columns): new
5384         (write_row_style): new
5385         (odf_write_formatted_empty_rows): new
5386         (odf_write_sheet): split out odf_write_formatted_columns and
5387           add handling of rows
5388         (openoffice_file_save): initialize and dispose of state.row_styles
5390 2009-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5392         * openoffice-write.c: clean-up g_string_new throughout
5393         (GnmOOExport): added fields
5394         (odf_write_row_style): new
5395         (odf_write_col_style): new
5396         (odf_find_col_style): use odf_write_col_style
5397         (odf_write_styles): write default row and column styles
5398         (openoffice_file_save): determine default styles for rows and
5399           columns
5401 2009-05-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5403         * openoffice-write.c (GnmOOExport): added field
5404         (col_styles_t): new type
5405         (odf_add_pt): new
5406         (odf_compare_ci): new
5407         (odf_find_col_style): new
5408         (odf_save_automatic_character_styles): rename
5409           odf_load_required_automatic_styles to this more appropriate
5410           name and change all callers
5411         (odf_write_column_styles): new
5412         (write_col_style): rename from write_last_col_style and change all
5413           callers
5414         (odf_write_sheet): write column info for all columns
5415         (openoffice_file_save): initialize and dispose of state.col_styles
5417 2009-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5419         * openoffice-write.c (odf_write_character_styles): also write the
5420           default style
5421         (equal_style): new
5422         (filter_style): new
5423         (write_last_col_style): new
5424         (odf_write_sheet): set default column styles for all columns
5426 2009-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5428         * openoffice-write.c (odf_find_style): make sure that we would
5429           correctly handle the case that we are trying to find a style we
5430           did not write.
5432 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5434         * openoffice-read.c (oo_set_gnm_border): new
5435         (oo_style_prop_cell): hook-up oo_set_gnm_border to handle gnumeric
5436           specific borders
5438 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5440         * openoffice-write.c (odf_write_style): change argument types and
5441           adjust all callers
5442         (odf_find_style) wrap and element around odf_write_style
5443         (odf_load_required_automatic_styles): load primary column cell styles
5444         (odf_write_styles): set default cell style
5445         (openoffice_file_save): determine default style
5447 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5449         * openoffice-write.c (odf_get_border_format): use goffice GO_PT_TO_CM
5450           utility
5451         * openoffice-read.c (oo_parse_border): spacing may vary and there are
5452           more borders including "none"
5453         (oo_style_prop_cell): The tag is officially called diagonal-bl-tr,
5454           not diagonal-tr-bl
5456 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5458         * openoffice-write.c (odf_write_cell): export border styles for
5459           non-empty cells
5460         (ns): add a gnumeric namespace to handle export of specifications
5461           currently not supported in ODF.
5462         (odf_get_border_format): new
5463         (odf_get_gnm_border_format): new
5464         (BORDERSTYLE): new temporary macro
5465         (UNDERLINESPECS): new temporary macro
5467 2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5469         * openoffice-write.c (odf_write_cell): watch for string values
5470           without markup
5472 2009-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5474         * openoffice-write.c (odf_write_cell): watch for empty rendered
5475           strings
5477 2009-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5479         * openoffice-write.c (gnm_xml_out_add_hex_color): new
5480         (odf_write_style): write more aspects of this style
5482 2009-05-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5484         * openoffice-write.c (GnmOOExport): add cell_styles field
5485         (cell_styles_t): new type
5486         (cell_styles_free): new
5487         (odf_compare_style): new
5488         (odf_write_style): new
5489         (odf_find_style): new
5490         (odf_load_required_automatic_styles): new
5491         (odf_write_character_styles): call odf_load_required_automatic_styles
5492         (odf_write_cell): add cell styles, delete unneeded variable
5493         (openoffice_file_save): free cell_styles
5495 2009-05-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5497         * openoffice-read.c (opendoc_content_dtd): add text:line-break and
5498           a second insertion of text:s
5500 2009-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5502         * openoffice-write.c (cb_odf_add_chars): deleted
5503         (odf_add_chars_non_white): new
5504         (odf_add_chars): new
5505         (cb_odf_attrs_as_string): renamed to odf_attrs_as_string and use
5506           odf_add_chars
5507         (odf_new_markup): no need to use blank <text:span>, fix libgsf instead
5508         (odf_write_cell): use odf_add_chars for proper whitespace handling
5510 2009-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5512         * openoffice-write.c (odf_write_sheet): we need to write at least one
5513           cell per row.
5515 2009-05-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5517         * openoffice-write.c (odf_write_cell): also write unformatted text
5519 2009-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5521         * openoffice-read.c (opendoc_content_dtd): permit nested text:span
5523 2009-05-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5525         * openoffice-write.c (cb_odf_add_chars): new
5526         (odf_new_markup): new
5527         (odf_write_character_styles): new
5528         (odf_write_cell): write markup
5529         (odf_write_content): call odf_write_character_styles
5531 2009-05-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5533         * openoffice-read.c (styles_dtd): there can be column and row
5534           properties in the default style
5535         * plugin.xml.in: remove the UNFINISHED label to see what aspects
5536           people are in fact trying to use
5538 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5540         * openoffice-read.c (oo_extent_sheet_cols): new
5541         (oo_col_start): extent the required number of columns if necessary
5542         (oo_extent_sheet_rows): new
5543         (oo_row_start): extent the required number of rows if necessary
5545 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5547         * openoffice-read.c (opendoc_content_dtd): TABLE_ROW can also be contained
5548           in TABLE_ROWS
5550 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5552         * openoffice-read.c (OOParseState): use an array of conventions
5553         (oo_expr_parse_str): use oo_expr_parse_str
5554         (oo_load_convention): new
5555         (openoffice_file_open): initialize conv array members to NULL and free
5556           at end
5558 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5560         * openoffice-read.c (oo_expr_parse_str): use Gnumeric's conventions when
5561           parsing MS's formulas
5563 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5565         * openoffice-read.c (OOFormula): new type
5566         (oo_expr_parse_str): add OOFormula type argument and change all callers
5567         (oo_cell_start): recognize "msoxl" formulas
5569 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5571         * openoffice-read.c (oo_row_start): don't croak on many repeated lines
5572           beyond the size of our sheets
5574 2009-05-10  Morten Welinder  <terra@gnome.org>
5576         * openoffice-read.c (openoffice_file_open): Add progress display.
5578 2009-05-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5580         * openoffice-write.c (odf_write_table_style): use "table-properties"
5581           rather than "properties"
5582         (odf_write_cell): write all formulas
5584 2009-05-06  Morten Welinder <terra@gnome.org>
5586         * Release 1.9.7
5588 2009-05-04  Morten Welinder  <terra@gnome.org>
5590         * openoffice-read.c (openoffice_file_probe): Handle certain
5591         suffixes too, even if file has no mimetype.  Fixes #581143.
5592         (oo_cellref_parse): Use the ref sheet for size, if available.
5593         Fixes #581347.
5595 2009-04-25  Morten Welinder <terra@gnome.org>
5597         * Release 1.9.6
5599 2009-03-22  Morten Welinder <terra@gnome.org>
5601         * Release 1.9.5
5603 2009-03-19  Morten Welinder  <terra@gnome.org>
5605         * openoffice-read.c (various): Protect against going outside our
5606         supported sheet size.  Fixes #575843.
5607         (od_draw_object): Clear out cur_style_type and cur_graph_style as
5608         appropriate.  Fixes #575981.
5610 2009-03-18  Morten Welinder  <terra@gnome.org>
5612         * openoffice-read.c (oo_cellref_parse): Handle sheet name #REF!
5614 2009-03-17  Morten Welinder  <terra@gnome.org>
5616         * openoffice-read.c (oo_filter_cond): Fix crash #575600.
5618 2009-03-15  Jean Brefort  <jean.brefort@normalesup.org>
5620         * openoffice-read.c: (oo_plot_area): Fixed null pointer crash in
5621         oo_plot_area(). [#575403]
5623 2009-03-12  Morten Welinder  <terra@gnome.org>
5625         * openoffice-read.c (determine_oo_version): New function factored
5626         out from openoffice_file_open.
5627         (openoffice_file_probe): New function.
5629 2009-02-22  Morten Welinder <terra@gnome.org>
5631         * Release 1.9.4
5633 2009-02-20  Morten Welinder  <terra@gnome.org>
5635         * openoffice-read.c (oo_colrow_reset_defaults): Call
5636         colrow_reset_defaults with the right column/row.  Fixes #568010.
5638 2009-02-09  Morten Welinder  <terra@gnome.org>
5640         * openoffice-read.c (oo_cell_start): Handle "of" expression
5641         namespace same as "oooc".  Fixes 570890.
5643 2009-01-26  Morten Welinder  <terra@gnome.org>
5645         * openoffice-read.c (oo_table_start): Handle missing style.  Fixes
5646         part of #568994.
5648 2009-01-23  Morten Welinder  <terra@gnome.org>
5650         * openoffice-read.c (oo_cellref_parse): Don't try to create empty
5651         names.  Partially fixes #568928.
5653 2009-01-15  Morten Welinder  <terra@gnome.org>
5655         * openoffice-read.c (ooo1_content_dtd): Handle a bit more to
5656         silence file from bug 567389 a bit.
5658 2009-01-12  Morten Welinder  <terra@gnome.org>
5660         * openoffice-read.c (oo_col_start): Handle column-count
5661         discrepancies.
5663 2008-10-18  Jody Goldberg <jody@gnome.org>
5665         * Release 1.9.3
5667 2008-09-26  Jody Goldberg <jody@gnome.org>
5669         * plugins/openoffice/openoffice-read.c (oo_table_end) : style_extent
5670           has the max col/row with a style set, clear _outside_ that. [#553506]
5671         (oo_update_style_extent) : new.
5672         (oo_col_start) : called here.
5673         (oo_row_start) : here.
5674         (oo_cell_start) : and here.
5676 2008-09-10  Jody Goldberg <jody@gnome.org>
5678         * openoffice-write.c (odf_write_cell) : why were strings disabled ?
5679           [Coverity #248]
5681 2008-08-29  Jody Goldberg <jody@gnome.org>
5683         * Release 1.9.2
5685 2008-06-28  Morten Welinder  <terra@gnome.org>
5687         * openoffice-read.c (get_dtd): New function.  Fixes #540180.
5689 2008-06-27  Jody Goldberg <jody@gnome.org>
5691         * openoffice-read.c (oo_attr_int) : clear errno before use.  [#536552]
5693 2008-06-25  Jody Goldberg <jody@gnome.org>
5695         * Release 1.9.1
5697 2008-05-26  Jody Goldberg <jody@gnome.org>
5699         * openoffice-read.c : enable import of iteration and null-date for
5700           ODF.
5702 2008-05-04  Jody Goldberg <jody@gnome.org>
5704         * Release 1.9.0
5706 2008-02-24  Morten Welinder  <terra@gnome.org>
5708         * openoffice-read.c (oo_parse_border): Use g_strndup instead of
5709         doing it by hand.
5711 2007-12-21  Jody Goldberg <jody@gnome.org>
5713         * Release 1.8.0
5715 2007-12-03  Jody Goldberg <jody@gnome.org>
5717         * Release 1.7.91
5719 2007-11-24  Jody Goldberg <jody@gnome.org>
5721         * openoffice-read.c (oo_col_start) : swap sense of 'is_vert' for
5722           explicit page breaks.
5723         (oo_row_start) : ditto.
5725 2007-11-19  Jody Goldberg <jody@gnome.org>
5727         * Release 1.7.90
5729 2007-11-04  Morten Welinder <terra@gnome.org>
5731         * Release 1.7.14
5733 2007-11-03  Jody Goldberg <jody@gnome.org>
5735         All calls to *cell_set_* should be followed by an extent update.
5736         * openoffice-read.c (oo_update_data_extent) : create this to provide a
5737           single location for updating the data extent when debugging.
5738         (oo_cell_start) : use it here to update extent for arrays,
5739         expressions, and inline values.
5740         (oo_cell_end) : and here for repeated cols/rows.
5741         (oo_cell_content_end) : and here for child content.
5743 2007-10-29  Jody Goldberg <jody@gnome.org>
5745         * openoffice-read.c (od_draw_frame) : fix the namespace for y, and
5746           provide defaults of 0 incase of invalid input.
5748 2007-10-29  Jody Goldberg <jody@gnome.org>
5750         Data is implicitly allocated in all sorts of undocumented ways.
5751         * openoffice-read.c (oo_plot_area) : refactor the data handling into
5752         (oo_plot_assign_dim) : here.
5754         Clean up the way parameters are handled.
5755         (oo_prop_list_free) : new.
5756         (oo_prop_free) : new.
5757         (oo_prop_new_....) : new.
5758         (oo_prop_list_apply) : new.
5760 2007-10-27  Morten Welinder  <terra@gnome.org>
5762         * openoffice-read.c (od_chart_wall): Grid got renamed to
5763         Backplane, so change here.
5765 2007-10-26  Jody Goldberg <jody@gnome.org>
5767         * openoffice-write.c (openoffice_file_save) : compression-level is a
5768           construction time attribute.
5770 2007-10-25  Jody Goldberg <jody@gnome.org>
5772         * openoffice-read.c (oo_iteration) : new.
5774 2007-10-25  Jody Goldberg <jody@gnome.org>
5776         * plugin.xml.in : add stc.
5778 2007-10-25  Jody Goldberg <jody@gnome.org>
5780         * openoffice-read.c (openoffice_file_open) : Assume files without a
5781           mimetype entry are OO.o 1.x rather than failing.
5782           Be more flexible about which mimetypes are acceptable.
5783         (oo_row_start) : Do not set a size if none was specified (some .sxc files)
5784         (oo_col_start) : ditto.
5785         (oo_colrow_reset_defaults) : ditto.
5786         (oo_style_prop_cell) : valign==automatic is usually bottom, sometimes
5787           center, never top.
5788           Fully support protected and hidden.
5789         (oo_cell_content_end) : Handle a series of <p> in a single cell that
5790           designate embedded newlines.
5792         * openoffice-write.c (openoffice_file_save) : ensure that we do not
5793           compress the mimetype.
5795 2007-10-21  Morten Welinder <terra@gnome.org>
5797         * Release 1.7.13
5799 2007-09-04  Jody Goldberg <jody@gnome.org>
5801         * Release 1.7.12
5803 2007-07-24  Jody Goldberg <jody@gnome.org>
5805         * Release 1.7.11
5807 2007-07-22  Jody Goldberg <jody@gnome.org>
5809         * openoffice-read.c (oo_attr_int) : add some validation.
5811 2007-07-17  Jody Goldberg <jody@gnome.org>
5813         * openoffice-read.c (oo_colrow_reset_defaults) : typo breaks
5814           precedence.
5816 2007-06-27  Jody Goldberg <jody@gnome.org>
5818         * openoffice-read.c (oo_table_start) : keep track of the extent of
5819           col/row styling and the extent of cell content separately.
5820         (cb_find_default_colrow_style) : new.
5821         (oo_colrow_reset_defaults) : pick a default style and recompress the
5822           available cols/rows by using it.
5823         (oo_table_end) : assign the page breaks.  And restore the col/row
5824           defaults.
5825         (odf_append_page_break) : new.
5826         (odf_col_row_style_apply_breaks) : new.
5827         (oo_col_start) : keep a counter of style use to find the default.
5828           Handle manual vs auto (kludged, no default is specified in the
5829           std).
5830         (oo_row_start) : ditto.
5831         (oo_cell_content_end) : simple mechanism to track extent of cells
5832           with data.
5833         (oo_style_prop_col_row) : parse 'use-optimal-....' flags.  Cols seem
5834           to have a different default than rows ???
5836 2007-06-15  Jody Goldberg <jody@gnome.org>
5838         * openoffice-read.c (oo_expr_parse_str) : make this a real function
5839           and centralize the error handling.
5840         (oo_cell_start) : simplify expr parse error handling.
5841         (oo_named_expr) : ditto.
5842         (od_plot_area) : ditto.
5843         (oo_table_start) : apply the table style.
5844         (oo_col_start) : make the col/row style smarter in prep for page breaks.
5845         (oo_row_start) : ditto.
5846         (oo_style) : handle table styles.
5847         (oo_style_end) : ditto.
5848         (oo_style_prop) : ditto.
5849         (oo_page_break_type) : new.
5850         (oo_style_prop_col_row) : merge oo_style_prop_row and
5851           oo_style_prop_col and add support for page breaks.
5852         (oo_style_prop_table) : new.
5853         (openoffice_file_open) : init the table styles.
5855         * openoffice-write.c (odf_write_table_style) : new.
5856         (table_style_name) : new.
5857         (odf_write_table_styles) : generate the styles based on the sheets.
5858         (odf_write_content) : write a style appropriate for the sheet.
5860 2007-05-03  Morten Welinder <terra@gnome.org>
5862         * Release 1.7.10
5864 2007-04-29  Jody Goldberg <jody@gnome.org>
5866         * plugin.xml.in : add .odt
5868 2007-04-21  Morten Welinder <terra@gnome.org>
5870         * Release 1.7.9
5872 2007-03-04  Jody Goldberg <jody@gnome.org>
5874         * openoffice-read.c (odf_func_map_in) : adapt to the new mechanism of
5875           function renaming.
5876         (oo_conventions) : handle inline arrays.
5878 2007-03-04  Morten Welinder <terra@gnome.org>
5880         * Release 1.7.8
5882 2007-02-16  Morten Welinder <terra@gnome.org>
5884         * Release 1.7.7
5886 2007-01-19  Jody Goldberg <jody@gnome.org>
5888         * openoffice-write.c : re-prefix things s/oo_/odf_/ for consistency.
5889         (odf_add_bool) : new,  the stock gsf_xml_out_add_bool uses 1, but OOo
5890           doesn't support it.
5891         (odf_write_filter_cond) : new.
5892         (odf_write_autofilter) : new.
5893         (odf_write_content) : write the autofilters.
5895         * openoffice-read.c (oo_db_range_start) : new.
5896         (oo_db_range_end) : new.
5897         (oo_filter_cond) : new.
5898         (oo_table_end) : clear the cell pos at the end.
5899         (oo_rangeref_parse) : mark unused arg.
5900         (openoffice_file_open) : init filter.
5902 2007-01-19  Morten Welinder  <terra@gnome.org>
5904         * openoffice-read.c: Cleanups.
5906 2007-01-16  Morten Welinder  <terra@gnome.org>
5908         * openoffice-read.c (od_plot_area): Fix crash [#396200]
5910 2007-01-09  Morten Welinder  <terra@gnome.org>
5912         * openoffice-read.c (od_style_prop_chart): Don't use g_strtod.  We
5913         do not want dual-locale semantics.
5915 2006-12-17  Jody Goldberg <jody@gnome.org>
5917         * Release 1.7.6
5919 2006-12-04  Jody Goldberg <jody@gnome.org>
5921         * Release 1.7.5
5923 2006-11-20  Jody Goldberg <jody@gnome.org>
5925         * Release 1.7.4
5927 2006-11-19  Morten Welinder <terra@gnome.org>
5929         * Release 1.7.3
5931 2006-11-17  Jody Goldberg <jody@gnome.org>
5933         * openoffice-read.c (oo_unknown_hander) : add hook for oo-build
5934           specific extensions.
5936 2006-11-09  Jody Goldberg <jody@gnome.org>
5938         * openoffice-read.c (openoffice_file_open) : use the new
5939           gnm_push_C_locale/gnm_pop_C_locale utils.
5940         * openoffice-write.c (openoffice_file_save) : ditto.
5942 2006-10-17  Jody Goldberg <jody@gnome.org>
5944         * Release 1.7.2
5946 2006-10-02  Jody Goldberg <jody@gnome.org>
5948         * Release 1.7.1
5950 2006-09-23  Jody Goldberg <jody@gnome.org>
5952         * openoffice-read.c (openoffice_file_open) : remove size checks on
5953           substreams.  If gsf was crashing on an empty xml file, then we
5954           should fix it there.  [#350644]
5956 2006-09-14  Morten Welinder  <terra@gnome.org>
5958         * openoffice-read.c (oo_cell_start): Fix time value import.
5959         [#355943]
5961 2006-08-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5963         * openoffice-read.c (openoffice_file_open): Add two gsf_input_size()
5964           checks (patch by sum1_abi@yahoo.com)  [#350644]
5966 2006-08-09  Eduardo Lima <eduardo.lima@indt.org.br>
5968         * openoffice-write.c (od_write_cell): Changed casts from uint to
5969         unsigned int in calls to gsf_xml_out_add_uint().
5971 2006-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5973         * openoffice-write.c (oo_write_cell): We will also be called for
5974           empty cells with attached cell comment.
5975         (oo_write_sheet): we may not collapse empty cells that have comments
5976           attached to them
5978 2006-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5980         * openoffice-write.c (oo_write_cell): add GnmComment parameter and
5981         write annotation
5982         (oo_write_sheet): call oo_write_cell with new GnmComment parameter
5984 2006-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5986         * openoffice-write.c (oo_expr_conventions_new): set argument separator
5988 2006-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5990         * openoffice-write.c (oo_cellref_as_string): new
5991         (oo_rangeref_as_string): new
5992         (oo_expr_conventions_new): initialize cell_ref_, range_ref_handler
5993           and output_sheet_name_sep
5995 2006-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
5997         * openoffice-write.c (od_write_cell): handle matrix functions and
5998           be careful with checking unnkown strings. Remove some duplicated code.
5999         (oo_write_sheet): extent is 0 based
6000         (oo_write_content): We are writing opendocument. We should be checking the
6001           standard rather than OOo limitations.
6003 2006-07-14  Jody Goldberg <jody@gnome.org>
6005         * openoffice-write.c (oo_write_mimetype) : use ods, rather than sxc
6007 2006-07-12  Jody Goldberg <jody@gnome.org>
6009         * openoffice-read.c (oo_cell_start) : be more flexible with spans. [#347263]
6011 2006-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
6013         * openoffice-write.c (oo_write_content): move ns structure to file
6014           scope
6015         (oo_write_styles): implement stub
6016         (oo_write_settings): implement stub
6017         (oo_write_manifest): update to opendocument
6019 2006-06-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>
6021         * openoffice-write.c (oo_write_sheet): write table:table-column
6022         (oo_write_content): there is no office:class attribute in opendocument
6023           version 1.0 but we should use office:spreadsheet element
6025 2006-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
6027         * openoffice-write.c (GnmOOExport): add GnmExprConventions
6028           field
6029         (oo_expr_conventions_new): new
6030         (od_write_cell): try to write some formulas
6031         (oo_write_content): fix some spelling, temporarily skip writing
6032           styles, don't use the office:spreadsheet element until we
6033           know why openoffice doesn't like it.
6034         (openoffice_file_save): initialize GnmExprConventions in
6035           GnmOOExport
6037 2006-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
6039         * openoffice-write.c (od_write_empty_cell): don't write
6040           number-columns-repeated if value is 1
6041         (od_write_covered_cell): ditto
6042         (od_write_cell): handle various value types
6044 2006-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
6046         * openoffice-write.c (od_cell_is_covered): implement
6047         (od_write_cell): handle merged cells
6048         (cb_sheet_merges_free): new
6049         (oo_write_sheet): initialize & clean up  merge handling
6051 2006-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
6053         * plugin.xml.in : use .ods extension for writer
6054         * openoffice-write.c (oo_max_cols): deleted
6055         (oo_max_rows) : deleted
6056         (od_cell_is_covered): new
6057         (od_write_empty_cell): new
6058         (od_write_covered_cell): new
6059         (od_write_cell): new
6060         (oo_write_sheet): use the above and drop the check for whether the
6061           extent is too large for openoffice. OpenDocument has no limit
6062         (openoffice_file_save): use new ur[ln]s
6064 2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
6066         * plugins/openoffice/openoffice-read.c: replaced gi18n.h by gi18n-lib.h.
6067         * plugins/openoffice/openoffice-write.c:
6069 2006-05-23  Jody Goldberg <jody@gnome.org>
6071         * openoffice-write.c (oo_write_meta) : write the meta data.
6073 2006-05-09  Jody Goldberg <jody@gnome.org>
6075         * openoffice-read.c (oo_cellref_parse) : Eike just posted a newer
6076           definition of how sheet names are encoded.
6077             - only single quotes are allowed
6078             - in quoted names a quote is escaped by doubling it 'aa''a' == aa'a
6080 2006-05-08  Jody Goldberg <jody@gnome.org>
6082         * Release 1.7.0
6084 2006-05-07  Jody Goldberg <jody@gnome.org>
6086         * openoffice-read.c (oo_cellref_parse) : handled quoted sheet named.
6087         (oo_style_prop_cell) : Handle other forms of underlining.
6088         (oo_row_start) : collapsed/filtered rows.
6089         (oo_col_start) : ditto.
6091 2006-05-06  Jody Goldberg <jody@gnome.org>
6093         * openoffice-read.c (openoffice_file_open) : read metadata.
6095 2006-03-16  Morten Welinder  <terra@gnome.org>
6097         * openoffice-read.c (od_chart_grid): Use GOG_AXIS_UNKNOWN (== -1),
6098         not UNKNOWN (== 10).
6100 2006-02-16  Morten Welinder  <terra@gnome.org>
6102         * openoffice-read.c (openoffice_file_open): Don't leak the
6103         meta_data object.
6104         (od_style_prop_chart): Fix leaks.
6105         (od_chart_axis): Plug leak.
6106         (od_chart_grid): Plug leak.
6107         (clean_lists): Speed up and fix a pile of leaks.
6109 2006-02-15  Morten Welinder  <terra@gnome.org>
6111         * openoffice-read.c (openoffice_file_open): Updates from #316234.
6113 2006-01-22  Morten Welinder  <terra@gnome.org>
6115         * openoffice-read.c: Stub for table:named-range.
6117 2006-01-21  Morten Welinder  <terra@gnome.org>
6119         * openoffice-read.c (oo_conventions): Intersection character is '!'.
6121 2006-01-21  Morten Welinder  <terra@gnome.org>
6123         * openoffice-read.c (oo_conventions): Set range_sep_colon.
6125 2006-01-20  Morten Welinder  <terra@gnome.org>
6127         * openoffice-read.c (oo_cell_start): Fix loading of boolean
6128         constants from ods files.
6130 2005-11-16  Jody Goldberg <jody@gnome.org>
6132         * openoffice-read.c : Some minor polish
6134 2005-11-14  Jody Goldberg <jody@gnome.org>
6136         * Release 1.6.1
6138 2005-11-10  Jody Goldberg <jody@gnome.org>
6140         * openoffice-read.c (oo_col_start) : add full column style support.
6141         (oo_parse_border) : handle the space between the distance and the type.
6142         (oo_style_prop_cell) : diagonal borders, opendoc alignments, opendoc
6143                                font info.
6145 2005-11-06  Jody Goldberg <jody@gnome.org>
6147         http://bugzilla.gnome.org/show_bug.cgi?id=316234
6148         Patch from Luciano Miguel Wolf <luciano.wolf@indt.org.br>
6149         * openoffice-read.c : Some initial work on ods import.
6151 2005-11-06  Morten Welinder  <terra@gnome.org>
6153         * openoffice-read.c (oo_style): Attempt a fix for 320818.
6155 2005-10-10  Jody Goldberg <jody@gnome.org>
6157         * Release 1.6.0
6159 2005-09-08  Jody Goldberg <jody@gnome.org>
6161         * Release 1.5.90
6163 2005-08-28  Morten Welinder <terra@gnome.org>
6165         * Release 1.5.5
6167 2005-08-28  Morten Welinder <terra@gnome.org>
6169         * Release 1.5.4
6171 2005-08-15  Morten Welinder <terra@gnome.org>
6173         * Release 1.5.3
6175 2005-06-29  Jody Goldberg <jody@gnome.org>
6177         * openoffice-read.c : Add a hook for 'tab-stops'
6178         (oo_style) : suppress warning for default-style
6179           cell.  It does not have a name but we may still want to use it.  I'm
6180           not sure where.
6182 2005-06-13  Jody Goldberg <jody@gnome.org>
6184         * Release 1.5.2
6186 2005-05-10  Jody Goldberg <jody@gnome.org>
6188         * Release 1.5.1
6190 2005-05-08  Jody Goldberg <jody@gnome.org>
6192         * openoffice-read.c : quick hack to get a start on OASIS vs 1.0.x
6193           Add the name spaces.
6195 2005-05-07  Jean Brefort  <jean.brefort@normalesup.org>
6197         * openoffice-read.c: (openoffice_file_open): use go_setlocale
6198         instead of gnm_setlocale.
6199         * openoffice-write.c: (openoffice_file_save): ditto.
6201 2005-02-08  Jody Goldberg <jody@gnome.org>
6203         * Release 1.5.0
6205 2005-01-17  Jody Goldberg <jody@gnome.org>
6207         * Release 1.4.2
6209 2005-01-14  Jody Goldberg <jody@gnome.org>
6211         * openoffice-read.c (oo_conventions) : set dots_in_names to allow for
6212           addin functions like com.sun.star.sheet.addin.Analysis.getErf
6213         (oo_unknown_hander) :  Use a custom unknown handler to do a group map
6214           from com.sun.star.sheet.addin.Analysis.get*
6216 2004-12-09  Jody Goldberg <jody@gnome.org>
6218         * Release 1.4.1
6220 2004-11-28  Jody Goldberg <jody@gnome.org>
6222         * Release 1.4.0
6224 2004-11-07  Jody Goldberg <jody@gnome.org>
6226         * Release 1.3.93
6228 2004-10-31  Jody Goldberg <jody@gnome.org>
6230         * Release 1.3.92
6232 2004-10-18  Jody Goldberg <jody@gnome.org>
6234         * openoffice-read.c : Add support for date and time styles
6235         (oo_cell_start) : Handle time-values
6236         (openoffice_file_open) : read styles.
6238 2004-10-17  Jody Goldberg <jody@gnome.org>
6240         * openoffice-read.c : Add basic parser for date formats
6242 2004-10-05  Jody Goldberg <jody@gnome.org>
6244         * Release 1.3.91
6246 2004-09-08  Jody Goldberg <jody@gnome.org>
6248         * Release 1.3.90
6250 2004-08-29  Jody Goldberg <jody@gnome.org>
6252         * Release 1.3.2
6254 2004-07-19  Jody Goldberg <jody@gnome.org>
6256         * Release 1.3.1
6258 2004-05-10  Jody Goldberg <jody@gnome.org>
6260         * openoffice-write.c : A quick stub
6262 2004-05-06  Jody Goldberg <jody@gnome.org>
6264         * openoffice-read.c : Add some incomplete hooks to read rich text
6266 2004-04-03  Jody Goldberg <jody@gnome.org>
6268         * openoffice-read.c (oo_attr_distance) : new.
6269         (oo_style_prop_row) : new.
6270         (oo_style_prop_col) : new.
6271         (oo_style_prop) : break out parsers for each style type.
6272         (oo_style_start) : handle col/row sizes.
6274 2004-03-28  Jody Goldberg <jody@gnome.org>
6276         * Release 1.3.0
6278 2003-12-23  Jody Goldberg <jody@gnome.org>
6280         * Release 1.2.3
6282 2003-11-26  Jody Goldberg <jody@gnome.org>
6284         * Release 1.2.2
6286 2003-11-16  Jody Goldberg <jody@gnome.org>
6288         * openoffice-read.c (openoffice_file_open) : do not translate the
6289           bools.
6291 2003-10-27  Jody Goldberg <jody@gnome.org>
6293         * openoffice-read.c (opencalc_content_dtd) : tack on a few more nodes
6294           to silence warnings.
6296         http://bugzilla.gnome.org/show_bug.cgi?id=125611
6297         * openoffice-read.c (oo_attr_int) : OUCH!  Minor typo crept in when
6298           adding namespace support that broke importing all integers !  In
6299           this case it showed up because the integer was specifying spans.
6301         http://bugzilla.gnome.org/show_bug.cgi?id=125604
6302         * openoffice-read.c (openoffice_file_open) : OO uses C locale for
6303           numbers be careful to set and clear the locales appropriately.
6305 2003-10-08  Jody Goldberg <jody@gnome.org>
6307         * Release 1.2.1
6309 2003-09-15  Jody Goldberg <jody@gnome.org>
6311         * Release 1.2.0
6313 2003-09-10  Jody Goldberg <jody@gnome.org>
6315         * Release 1.1.90
6317 2003-08-21  Jody Goldberg <jody@gnome.org>
6319         * Release 1.1.20
6321 2003-06-07  Jody Goldberg <jody@gnome.org>
6323         * Release 1.1.19
6325 2003-06-07  Jody Goldberg <jody@gnome.org>
6327         * Release 1.1.18
6329 2003-05-11  Jody Goldberg <jody@gnome.org>
6331         * Release 1.1.17
6333 2003-01-28  Jody Goldberg <jody@gnome.org>
6335         * Release 1.1.16
6337 2003-01-22  Jody Goldberg <jody@gnome.org>
6339         * openoffice-read.c : Convert to the new gsf::xml interface to get
6340           namespace support.
6341         (oo_conventions) : add a map to convert ERRORTYPE -> ERROR.TYPE
6343 2003-01-02  Jody Goldberg <jody@gnome.org>
6345         * openoffice-read.c (oo_date_convention) : support 1904 date
6346           convention.
6348 2002-12-31  Jody Goldberg <jody@gnome.org>
6350         * Release 1.1.15
6352 2002-12-22  Jody Goldberg <jody@gnome.org>
6354         * Release 1.1.14
6356 2002-12-22  Jody Goldberg <jody@gnome.org>
6358         * Release 1.1.13
6360 2002-11-26  Morten Welinder  <terra@diku.dk>
6362         * openoffice-read.c (OOParseState): Add expression conventions.
6363         (oo_conventions): New function.
6364         (openoffice_file_open): Create and destroy expression conventions.
6366 2002-11-15  Jody Goldberg <jody@gnome.org>
6368         * Release 1.1.12
6370 2002-11-14  Jon K Hellan  <hellan@acm.org>
6372         * plugin.xml.in: Remove "open" and "import" attributes.
6374 2002-11-02  J.H.M. Dassen (Ray) <jdassen@debian.org>
6376         * openoffice-read.c (openoffice_file_open): Made static.
6378 2002-11-01  Jody Goldberg <jody@gnome.org>
6380         * Release 1.1.11
6382 2002-10-27  Jody Goldberg <jody@gnome.org>
6384         * Release 1.1.10
6386 2002-10-24  Jody Goldberg <jody@gnome.org>
6388         * openoffice-read.c (oo_style_prop) : fix handling of vertical
6389           alignment..
6391 2002-10-23  Jody Goldberg <jody@gnome.org>
6393         http://bugzilla.gnome.org/show_bug.cgi?id=96595
6394         * openoffice-read.c (oo_covered_cell_start) : new.
6395         (oo_covered_cell_end) : new.  covered cells, and repeated convered
6396           cells take up space.
6397         (oo_cell_end) : a repeated cell with content replicates the content.
6398         (oo_cell_start) : a repeated cell with a style replicates the style.
6400 2002-10-09  Morten Welinder  <terra@diku.dk>
6402         * openoffice-read.c (OOParseState): Avoid "gboolean ... : 1".
6404 2002-10-08  Jody Goldberg <jody@gnome.org>
6406         * openoffice-read.c (oo_style) : correctly layer parent styles but
6407           lose the relationship because we have no similar structure.
6408           Put the frame work in place to start supporting number formats but
6409           do not implement it yet.
6411 2002-10-08  Jody Goldberg <jody@gnome.org>
6413         * openoffice-read.c (oo_named_expr) : support named expressions.
6414         (oo_cell_start) : support merged ranges.
6416 2002-10-07  Jody Goldberg <jody@gnome.org>
6418         * openoffice-read.c (oo_table_start) : fix accidental offset of 1,1.
6420 2002-10-02  Jody Goldberg <jody@gnome.org>
6422         * openoffice-read.c : Ensure that the sheet ordering is correct.
6424 2002-10-01  Jody Goldberg <jody@gnome.org>
6426         * openoffice-read.c (oo_attr_enum) : new.
6427         (oo_style_prop) : some initial work.
6429 2002-09-30  Jody Goldberg <jody@gnome.org>
6431         * Release 1.1.9
6433 2002-09-29  Jody Goldberg <jody@gnome.org>
6435         * openoffice-read.c (oo_cell_start) : handle array expressions,
6436           and saved booleans, numbers, and strings (errors handled elsewhere)
6437           TODO : dates
6438         (xml_sax_attr_bool) : use oo_warning
6439         (xml_sax_attr_int) : use oo_warning
6440         (xml_sax_attr_float) : use oo_warning
6442 2002-09-29  Jody Goldberg <jody@gnome.org>
6444         * openoffice-read.c (oo_warning) : new utility.
6445         (oo_cellref_parse) : new.
6446         (oo_rangeref_parse) : new.
6447         (oo_cell_start) : initial support for expressions.  Still need to
6448           restore the saved values.
6450 2002-09-26  Jody Goldberg <jody@gnome.org>
6452         * openoffice-read.c : whip up a quick initial version that ignores
6453           formats, and expressions but does appear to handle values, and sheet
6454           names.