Skip navigation.
Home
The QNX Community Portal

View topic - XLS File Format

XLS File Format

Read-only archive of qnx.development_tools (Self-hosted graphical development with the Eclipse IDE and cross-hosted development on Solaris, Linux, or Windows) at inn.qnx.com

XLS File Format

Postby Joan Baucells » Tue Oct 30, 2007 3:06 pm

Hi,

Does anyone know a library or tool to write xls files directly from a C
application running on QNX6 (or QNX4)?
Thanks in advance
Joan Baucells
 

RE: XLS File Format

Postby maschoen » Tue Oct 30, 2007 7:29 pm

Not sure if this will help, but it is quite easy to write .CVS files which are readable by just about any spreadsheet program.
The format is as below:

field11,field12,field13....
field21,field22,field23...
...

or you can put the fields in quites
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

RE: XLS File Format

Postby maschoen » Tue Oct 30, 2007 7:30 pm

quotes
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Re: XLS File Format

Postby Colin Burgess » Wed Oct 31, 2007 1:12 am

I haven't seen a C library, but there is a PHP package,
http://pear.php.net/package/Spreadsheet_Excel_Writer, and a Perl package, http://search.cpan.org/dist/Spreadsheet-WriteExcel/

I didn't have PHP on my system, but the perl package seems to have worked with the perl 5.8 I had
installed.

Colin

Joan Baucells wrote:
Hi,

Does anyone know a library or tool to write xls files directly from a C
application running on QNX6 (or QNX4)?
Thanks in advance


--
cburgess@qnx.com
Colin Burgess
 

Re: XLS File Format

Postby Joan Baucells » Wed Oct 31, 2007 7:20 am

Thank you for your answer, but I need to put more than one sheet in the
same file.
CSV doesn't support that feature.
At the end I can create a CSV file for each sheet, but I'll try to avoid
this approach.

Regards

maschoen wrote:

Not sure if this will help, but it is quite easy to write .CVS files
which are readable by just about any spreadsheet program.
The format is as below:

field11,field12,field13....
field21,field22,field23...
..

or you can put the fields in quites
Joan Baucells
 

Re: XLS File Format

Postby Joan Baucells » Wed Oct 31, 2007 7:21 am

Thanks Collin,

I'll investigate both packages.

Colin Burgess wrote:

I haven't seen a C library, but there is a PHP package,
http://pear.php.net/package/Spreadsheet_Excel_Writer, and a Perl package, http://search.cpan.org/dist/Spreadsheet-WriteExcel/

I didn't have PHP on my system, but the perl package seems to have worked with the perl 5.8 I had
installed.

Colin

Joan Baucells wrote:
Hi,

Does anyone know a library or tool to write xls files directly from a C
application running on QNX6 (or QNX4)?
Thanks in advance


--
cburgess@qnx.com
Joan Baucells
 

Re: XLS File Format

Postby Armin » Wed Oct 31, 2007 8:08 am

Colin Burgess wrote:
I haven't seen a C library, but there is a PHP package,
http://pear.php.net/package/Spreadsheet_Excel_Writer, and a Perl
package, http://search.cpan.org/dist/Spreadsheet-WriteExcel/

There is also a project for Python ... use google.

--Armin


I didn't have PHP on my system, but the perl package seems to have
worked with the perl 5.8 I had
installed.

Colin

Joan Baucells wrote:
Hi,

Does anyone know a library or tool to write xls files directly from a C
application running on QNX6 (or QNX4)?
Thanks in advance

Armin
 

Re: XLS File Format

Postby Armin » Wed Oct 31, 2007 9:02 am

Armin wrote:
Colin Burgess wrote:
I haven't seen a C library, but there is a PHP package,
http://pear.php.net/package/Spreadsheet_Excel_Writer, and a Perl
package, http://search.cpan.org/dist/Spreadsheet-WriteExcel/

There is also a project for Python ... use google.

or take this here: http://pyxlreader.sourceforge.net/

--Armin



I didn't have PHP on my system, but the perl package seems to have
worked with the perl 5.8 I had
installed.

Colin

Joan Baucells wrote:
Hi,

Does anyone know a library or tool to write xls files directly from a C
application running on QNX6 (or QNX4)?
Thanks in advance

Armin
 

Re: XLS File Format

Postby Colin Burgess » Wed Oct 31, 2007 1:10 pm

That one seems to only read files?

Armin wrote:
Armin wrote:
Colin Burgess wrote:
I haven't seen a C library, but there is a PHP package,
http://pear.php.net/package/Spreadsheet_Excel_Writer, and a Perl
package, http://search.cpan.org/dist/Spreadsheet-WriteExcel/

There is also a project for Python ... use google.

or take this here: http://pyxlreader.sourceforge.net/


--Armin



I didn't have PHP on my system, but the perl package seems to have
worked with the perl 5.8 I had
installed.

Colin

Joan Baucells wrote:
Hi,

Does anyone know a library or tool to write xls files directly from a C
application running on QNX6 (or QNX4)?
Thanks in advance



--
cburgess@qnx.com
Colin Burgess
 

Re: XLS File Format

Postby Armin » Wed Oct 31, 2007 4:36 pm

Colin Burgess wrote:
That one seems to only read files?

yes :-(

--Armin


Armin wrote:
Armin wrote:
Colin Burgess wrote:
I haven't seen a C library, but there is a PHP package,
http://pear.php.net/package/Spreadsheet_Excel_Writer, and a Perl
package, http://search.cpan.org/dist/Spreadsheet-WriteExcel/

There is also a project for Python ... use google.

or take this here: http://pyxlreader.sourceforge.net/


--Armin



I didn't have PHP on my system, but the perl package seems to have
worked with the perl 5.8 I had
installed.

Colin

Joan Baucells wrote:
Hi,

Does anyone know a library or tool to write xls files directly from
a C
application running on QNX6 (or QNX4)?
Thanks in advance


Armin
 

Re: XLS File Format

Postby Martin Nylund » Fri Nov 09, 2007 11:45 am

You could also try the Excel XML file format, and use some XML library to
fill in the data

"Joan Baucells" <joan_baucells@NoSpam.es> schrieb im Newsbeitrag
news:47274874.2F9969C6@NoSpam.es...
Hi,

Does anyone know a library or tool to write xls files directly from a C
application running on QNX6 (or QNX4)?
Thanks in advance
Martin Nylund
 


Return to qnx.development_tools

Who is online

Users browsing this forum: No registered users and 2 guests