1
2009-06-20 Morten Welinder <terra@gnome.org>
5
2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
7
* openoffice-read.c (odf_func_address_handler): new
8
(oo_conventions_new): set conv->sheet_name_sep
9
(oo_load_convention): new FORMULA_OLD_OPENOFFICE
10
(odf_func_floor_handler): hoo up odf_func_address_handler
11
(oo_cell_start): oooc prefix indicates that we may see
14
2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
16
* openoffice-read.c (odf_func_floor_handler): new
17
(oo_func_map_in): hook up above handler
18
* openoffice-write.c (odf_func_ceiling_handler): rename to
19
odf_func_floor_ceiling_handler and change all callers
20
(odf_expr_func_handler): hook up handler for FLOOR
22
2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
24
* openoffice-read.c (odf_func_ceiling_handler): fix logic
26
2009-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
28
* openoffice-read.c (odf_func_ceiling_handler): new
29
(oo_func_map_in): hook up the above handler
30
* openoffice-write.c (odf_func_ceiling_handler): new
31
(odf_expr_func_handler): hook up the above handler
33
2009-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
35
* openoffice-read.c (odf_func_chisqdist_handler): new
36
(oo_func_map_in): new handler hash
37
* openoffice-write.c (odf_func_r_dchisq_handler): new
38
(odf_func_r_pchisq_handler): new
39
(sc_func_handlers): hook up the above
41
2009-06-18 Andreas J. Guelzow <aguelzow@pyrshep.ca>
43
* openoffice-write.c (odf_func_r_qchisq_handler): new
44
(odf_expr_func_handler): add hash of individual handlers, map
45
GET.FORMULA to FORMULA and 2-argument instances of R.QCHISQ to
47
* openoffice-read.c (oo_func_map_in): map FORMULA to GET.FORMULA
48
and CHISQINV to R.QCHISQ
50
2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
52
* openoffice-write.c (xl_find_format): use easier to follow style
54
(odf_write_styles): write styles in a more natural order
56
2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
58
* openoffice-read.c (h_alignments): include right and left
60
2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
62
* openoffice-write.c (odf_find_style): give more info in the case
63
we don't find the style
64
(odf_save_this_style_with_name): new
65
(odf_save_this_style): use odf_save_this_style_with_name
66
(odf_write_content_rows): THe style row contains styles already
67
adjusted for the values. We can't use that. So access the real
70
2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
72
* openoffice-read.c (oo_func_map_in): perform some function name
74
* openoffice-write.c (odf_expr_func_handler): perform some function
77
2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
79
* openoffice-read.c (oo_func_map_in): handle ORG.GNUMERIC. prefix
80
* openoffice-write.c (odf_expr_func_handler): new
81
(odf_expr_conventions_new): hook up odf_expr_func_handler
83
2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
85
* openoffice-read.c (odf_annotation_start): new
86
(odf_annotation_content_end): new
87
(odf_annotation_author_end): new
88
(odf_annotation_end): new
89
(opendoc_content_dtd): hook-up the above
91
2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
93
* openoffice-write.c (odf_write_sheet): don't confuse rows and cols
94
* openoffice-read.c (opendoc_content_dtd): add annotation tags
96
2009-06-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
98
* openoffice-write.c (odf_write_comment): new
99
(equal_style): deleted
100
(odf_write_empty_cell): change arguments and adjust all callers.
101
(filter_style): just compare pointers
103
(write_styled_cells): new
104
(odf_write_styled_empty_rows): new
105
(odf_write_formatted_empty_rows): deleted
106
(odf_write_content_rows): new
107
(odf_write_sheet): split into parts
109
2009-06-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
111
* openoffice-write.c (cell_styles_free): deleted
112
(odf_compare_style): deleted
113
(odf_find_style): just look in the hash. remove
114
unnecessary arguments and change all callers
115
(odf_save_automatic_character_styles): deleted
116
(odf_save_this_style): write an individual style and
118
(odf_write_character_styles): call odf_save_this_style
121
2009-06-10 Morten Welinder <terra@gnome.org>
123
* openoffice-read.c (oo_load_convention): Mark '^'
124
left-associative in Excel formulas.
125
(oo_conventions_new): Ditto for OO formulas.
127
2009-06-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
129
* openoffice-write.c (odf_write_content): export print area to ODF
131
2009-06-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
133
* openoffice-read.c (opendoc_content_dtd): include
135
* openoffice-write.c (odf_write_formatted_empty_rows):
136
write text:soft-page-break also in empty territory
138
2009-06-08 Andreas J. Guelzow <aguelzow@pyrshep.ca>
140
* openoffice-read.c (oo_append_page_break): soft pagebreaks are
141
stored as text:soft-page-breaks tag (and at this time can only
142
be included between rows). The "auto" value for break-after
143
and break-before reflects only the potential of a pagebreak.
144
(oo_page_break_type): ditto
145
* openoffice-write.c (odf_write_sheet): write text:soft-page-breaks
146
elements at the location of paginated page breaks.
148
2009-06-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
150
* openoffice-read.c (oo_append_page_break): add argument and
152
(oo_set_page_break): new
153
(oo_page_break_type): default to NONE (we did that anyways) and
154
handle column type just in case
156
2009-06-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
158
* openoffice-read.c (oo_cell_content_end): Since we may be
159
assigning the result of an array calculation we should not
160
check for array splits.
162
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
164
* openoffice-read.c (odf_number_style_end): shorten code and
165
distinguish <> from <
167
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
169
* openoffice-read.c (oo_cell_start): fix style leak
171
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
173
* openoffice-read.c (oo_cell_start): set a default date or
174
time format if the incoming data is marked that way.
176
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
178
* openoffice-read.c (attr_eq_ncase): new
179
(odf_number_color): new
180
(styles_dtd): hook-up odf_number_color
181
(opendoc_content_dtd): ditto
183
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
185
* openoffice-read.c (oo_date_text_end): don't quote single ()
186
(odf_format_generate_number_str): delete (this is now handled by
187
go_format_generate_number_str
188
(odf_number): use go_format_generate_number_str
189
(odf_scientific): use GOFormatDetails directly
190
(odf_map): already check whether we may understand this and strip
192
(odf_number_style_end): save the conditions in the order we might
195
2009-06-02 Morten Welinder <terra@gnome.org>
197
* openoffice-read.c (odf_format_generate_number_str): Handle
200
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
202
* openoffice-read.c (oo_style_prop_cell): Use an older PANGO_WEIGHT
203
for cutoff (which is equivalent).
205
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
207
* openoffice-read.c (oo_style_prop_cell): Also check font weight
208
rather than just descriptors.
210
2009-06-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
212
* openoffice-read.c (odf_map): new
213
(oo_date_style): only use our magic if the format source is still
215
(odf_number_style_end): handle conditional number formats
216
(styles_dtd): hook-up odf_map
217
(opendoc_content_dtd): ditto
219
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
221
* openoffice-read.c (odf_number): default minimum integer digits
223
(odf_scientific): handle scientific numbers
224
(odf_currency_symbol_end): handle currency symbols
225
(styles_dtd): hook-up the above
226
(opendoc_content_dtd): ditto
228
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
230
* openoffice-read.c (odf_number): new
231
(odf_format_generate_number_str): handle minimum integer digits
232
(styles_dtd): hook-up odf_number and add number:embedded-text
233
(opendoc_content_dtd): ditto
235
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
237
* plugin.xml.in: add a second filesaver to allow the choice
238
of with or without foreign elements
239
* openoffice-write.c : throughout bracket all uses of
240
foreign elements with a test whether they are permitted.
242
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
244
* openoffice-read.c (odf_fraction): new
245
(odf_number_style): new
246
(odf_number_style_end): new
247
(styles_dtd): hook-up the above
248
(opendoc_content_dtd): ditto
250
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
252
* openoffice-write.c (oo_date_hours): handle elapsed time
253
(oo_date_minutes): ditto
254
(oo_date_seconds): ditto
256
2009-06-01 Andreas J. Guelzow <aguelzow@pyrshep.ca>
258
* openoffice-write.c (odf_print_spreadsheet_content_prelude):
259
give the correct null-date
260
* openoffice-read.c (oo_date_text_end): we need to use
262
(oo_date_style): handle magic formats
264
2009-05-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
266
* openoffice-write.c (xl_find_format): handle all three possible
268
(xl_find_conditional_format): new
269
(odf_write_xl_stylet): new
270
(odf_write_this_xl_style_neg): new
271
(odf_write_this_xl_style_zero): new
272
(odf_write_map): rewrite
273
(odf_write_this_conditional_xl_style): new
274
(openoffice_file_save): handle new hashes
276
2009-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
278
* openoffice-write.c (odf_attrs_as_string): hadnle super and
280
(odf_write_character_styles): create super and subscript styles
282
2009-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
284
* openoffice-write.c (odf_write_cell): the office:annotation must
285
precede the text:p of the cell content. The text inside the
286
annotation must be contained inside a text:p.
288
2009-05-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
290
* openoffice-write.c (odf_write_day): deleted (moved to goffice)
291
(odf_write_month): ditto
292
(odf_write_year): ditto
293
(odf_write_hour): ditto
294
(odf_write_minute): ditto
295
(odf_write_second): ditto
296
(odf_write_ampm): ditto
297
(odf_write_date_style): ditto
298
(odf_write_time_style): ditto
299
(odf_write_number_style): ditto
300
(odf_write_currency_style): ditto
301
(odf_write_percentage_style): ditto
302
(odf_write_fraction_style): ditto
303
(odf_write_scientific_style): ditto
304
(odf_write_this_xl_style): use go_format_output_to_odf for all
305
but the conditional formats
306
(odf_write_data_styles): deleted
307
(odf_write_styles): call g_hash_table_foreach directly
309
2009-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
311
* openoffice-write.c (xl_find_format): if the format is not simple
312
also include the simple portions in the hash
313
(odf_print_spreadsheet_content_prelude): use accessor functions for
315
(odf_write_styles): ditto
316
(odf_write_settings): ditto
317
(odf_write_conditional_style): new
318
(odf_write_this_xl_style): use odf_write_conditional_style
320
2009-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
322
* openoffice-write.c: replace xl_styles GSList with a GHashTable
323
and remove unnecessary counter field in cell_styles_t and
325
(xl_styles_free): deleted
326
(xl_compare_style): deleted
327
(xl_find_format): use g_hash_table_lookup
328
(odf_write_this_xl_style): new
329
(odf_write_data_styles): use g_hash_table_foreach
330
(openoffice_file_save): create and dispose of hashtable
332
2009-05-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
334
* openoffice-write.c: replace GSF_ODF_VERSION with gsf_odf_version
335
since enums are handled at compile time.
337
2009-05-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
339
* openoffice-write.c (odf_write_style_paragraph_properties): Since
340
OOo ignores style:text-align-source we have to avoid setting
341
fo:text-align in this case.
342
(odf_write_number_style): write at least a default style
343
(odf_write_currency_style): write a default currency style
344
(odf_write_percentage_style): write a default percentage style
345
(odf_write_fraction_style): write a default fraction style
346
(odf_write_scientific_style): write a default scientific style
347
(odf_write_data_styles): use go_format_get_family
349
2009-05-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
351
* openoffice-write.c: adjust for change in GSF_ODF_VERSION to enum
352
and replacement of GSF_ODF_VERSION_STRING with gsf_odf_version_string
353
(odf_write_ampm): new
354
(odf_write_date_style): handle am/pm
355
(odf_write_time_style): ditto
357
2009-05-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
359
* openoffice-write.c (xl_styles_free): new
360
(xl_compare_style): new
361
(xl_find_format): new
362
(odf_write_style_goformat_name): write data styles
363
(odf_find_style): add argument and change all callers
364
(odf_print_spreadsheet_content_prelude): use GSF_ODF_VERSION
366
(odf_write_month): new
367
(odf_write_year): new
368
(odf_write_hour): new
369
(odf_write_minute): new
370
(odf_write_second): new
371
(odf_write_date_style): new
372
(odf_write_time_style): new
373
(odf_write_number_style): new stub
374
(openoffice_file_save): initialize and clear state.xl_styles
376
2009-05-23 Andreas J. Guelzow <aguelzow@pyrshep.ca>
378
* openoffice-write.c (odf_new_markup): watch for strange starting
379
positions of the pango iter
380
(odf_write_style_cell_properties): handle input messages
381
(odf_write_style_paragraph_properties): handle indent
382
(odf_write_style_goformat_name): new
1
384
2009-05-23 Morten Welinder <terra@gnome.org>