Menu

Excel Writer / News: Recent posts

Excel Writer v.19

Added support for basic formulas (numbers, strings, +, -, *, /, &, cell references); see ew_test.adb and excel_out_demo.adb for examples.

Posted by Gautier de Montmollin 2024-08-17

CSV2Ada

It may seem strange, but a CSV-to-Ada-source tool was missing here.
This is now fixed!

csv2ada {option} <data.csv
csv2ada {option} data.csv

Options:
-c : comma is the separator
-s : semicolon is the separator
-t : tab is the separator
-h : has a header row, converted to an enumerated type
-n : name columns

For example, the file:

    A,B,C
    1,2,3
    4,5,6
    7,8,9

is converted, without options, into:
~~~
(1 => (A, B, C),
2 => (1, 2, 3),
3 => (4, 5, 6),
4 => (7, 8, 9));
~~~... read more

Posted by Gautier de Montmollin 2024-05-21

A PayPal activity report "improver" using Excel Writer

The result, so far (click to enlarge image):

... read more

Posted by Gautier de Montmollin 2024-01-08

Excel Writer v.17

  • Time output routine is compatible with Ada implementations' Duration type ranges shorter than GNAT's (e.g., ObjectAda64's).
  • Portability improved; runs on ObjectAda64.
Posted by Gautier de Montmollin 2018-10-18

Unblocking Excel Writer sheets under MS Excel 2013

A cumbersome "feature" of MS Excel 2013 (and perhaps later versions) is that it blocks by default the editing of sheets in certain Excel formats, including those supported by Excel Writer.
However, it is easy to switch off this setting - which by the way is useless since there are no macros in those sheets.
Actually, you just need to follow the steps indicated by MS Excel 2013 as shown below.

Step 1:
... read more

Posted by Gautier de Montmollin 2018-09-20

Excel Writer v.15

Released as Zip archive: excel_writer_15.zip

Posted by Gautier de Montmollin 2016-04-23

Excel Writer v.15, preview 2

Zoom factor for viewing / editing sheet was added.

Posted by Gautier de Montmollin 2016-04-20

Excel Writer v.15, preview

International code pages were added (see Subversion repository under "Code") : Thai, Japanese Shift-JIS, Chinese Simplified GBK, Korean (Wansung), Chinese Traditional BIG5, Latin II (Central European), Cyrillic, Latin I, Greek, Turkish, Hebrew, Arabic, Baltic, Vietnamese, Korean (Johab).

Unfortunately, no Unicode so far: the introduction of Unicode in the Excel format coincided with a leap in complexity... So, you cannot mix, say, Greek and Korean in the same sheet.

Posted by Gautier de Montmollin 2016-04-19

Excel Writer v.13 released

New features since last note here:

  • freeze panes
  • cell comments
  • vertical text alignment
  • text orientation
  • added Ada.Calendar.Time Put/Write and date built-in formats
  • background colours
  • wrap_text format option
  • added Next and Next_Row
  • Text_IO's New_Line(lines), Line, Col now available
Posted by Gautier de Montmollin 2014-04-12 Labels: release

Excel Writer v.06 released

New in 06:
- Added page layout
- Added custom number formats
- Added styles (% or ,)
- Fixed Write_column_width

New in 04 & 05:
- Some new built-in Excel numeric formats
- Usage of Excel_Out instead of Ada.Text_IO (and conversely) made a bit easier
- Should compile on any Ada 95+ compiler (a non-compliant detail was fixed)

Posted by Gautier de Montmollin 2010-03-12

Excel Writer v.03 released

- data stream can now by any; supplied: Excel_Out_File, Excel_Out_String
- added "Text_IO"-like Put, Put_Line, New_Line,...

Last incompatibility for those using the 01/02 versions:
to write a file, you need to use Excel_Out_File instead of Excel_Out_Stream (which is now abstract); to create it is now Create instead of Create_File, same for Close.

Posted by Gautier de Montmollin 2009-02-16

Excel Writer v.02 released

- row/column coordinates are 1-based (they have to!)
- added horizonal alignment and cell borders

Posted by Gautier de Montmollin 2009-02-14
MongoDB Logo MongoDB