OpenQNX :: The QNX Community Portal

Jul 19, 2008 - 03:31 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 39 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Joan Baucells
Post subject: XLS File Format  PostPosted: Oct 30, 2007 - 03:06 PM
Guest





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
 
   
Reply with quote Back to top
maschoen
Post subject: RE: XLS File Format  PostPosted: Oct 30, 2007 - 07:29 PM
QNX Master


Joined: Jun 25, 2003
Posts: 1041

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
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
maschoen
Post subject: RE: XLS File Format  PostPosted: Oct 30, 2007 - 07:30 PM
QNX Master


Joined: Jun 25, 2003
Posts: 1041

quotes
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Colin Burgess
Post subject: Re: XLS File Format  PostPosted: Oct 31, 2007 - 01:12 AM
Guest





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:
Quote:
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
 
   
Reply with quote Back to top
Joan Baucells
Post subject: Re: XLS File Format  PostPosted: Oct 31, 2007 - 07:20 AM
Guest





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:

Quote:
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
 
   
Reply with quote Back to top
Joan Baucells
Post subject: Re: XLS File Format  PostPosted: Oct 31, 2007 - 07:21 AM
Guest





Thanks Collin,

I'll investigate both packages.

Colin Burgess wrote:

Quote:
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
 
   
Reply with quote Back to top
Armin
Post subject: Re: XLS File Format  PostPosted: Oct 31, 2007 - 08:08 AM
Guest





Colin Burgess wrote:
Quote:
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


Quote:

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

 
   
Reply with quote Back to top
Armin
Post subject: Re: XLS File Format  PostPosted: Oct 31, 2007 - 09:02 AM
Guest





Armin wrote:
Quote:
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/

Quote:

--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

 
   
Reply with quote Back to top
Colin Burgess
Post subject: Re: XLS File Format  PostPosted: Oct 31, 2007 - 01:10 PM
Guest





That one seems to only read files?

Armin wrote:
Quote:
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
 
   
Reply with quote Back to top
Armin
Post subject: Re: XLS File Format  PostPosted: Oct 31, 2007 - 04:36 PM
Guest





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

yes :-(

--Armin


Quote:

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


 
   
Reply with quote Back to top
Martin Nylund
Post subject: Re: XLS File Format  PostPosted: Nov 09, 2007 - 11:45 AM
Guest





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...
Quote:
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
 
   
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.