Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread Jason H
You can't directly.
You have two options, use ActiveQt and use COM to automate a Excel instance, or 
output into CSV. Excel will accept the following in a functional way:

2,2
=A1+B1,

which would come out as 

[  2][  2]
[  4]


However charts, pivot tables, etc, cannot be done. To use COM, you of course 
need Excel installed. 



 From: Fabio Giovagnini fabio.giovagn...@gmail.com
To: interest@qt-project.org 
Sent: Thursday, July 5, 2012 4:45 AM
Subject: [Interest] Example of writing an .xls file using a qt program
 
Hi all,
I'd like to study how to write a .xls file using a qt program.

Thanks in advance for help

Fabio Giovagnini

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread R. Reucher
On Thursday 05 July 2012 10:45:51 Fabio Giovagnini wrote:
 Hi all,
 I'd like to study how to write a .xls file using a qt program.
Qt doesn't support this, but you can still link to an additional library, i.e. 
LibXL (http://www.libxl.com/). However, I've never used this library so I 
can't say how good it performs.

HTH, René
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread Fabio Giovagnini
Thanks a lot guys.
Very useful for a newbe like me.

Thanks again

Fabio Giovagnini



Il giorno gio, 05/07/2012 alle 07.45 -0700, Jason H ha scritto:
 You can't directly.
 You have two options, use ActiveQt and use COM to automate a Excel
 instance, or output into CSV. Excel will accept the following in a
 functional way:
 
 
 2,2
 =A1+B1,
 
 
 which would come out as 
 
 [  2][  2]
 [  4]
 
 
 However charts, pivot tables, etc, cannot be done. To use COM, you of
 course need Excel installed. 
 
 
 __
 From: Fabio Giovagnini fabio.giovagn...@gmail.com
 To: interest@qt-project.org 
 Sent: Thursday, July 5, 2012 4:45 AM
 Subject: [Interest] Example of writing an .xls file using a qt program
 
 
 Hi all,
 I'd like to study how to write a .xls file using a qt program.
 
 Thanks in advance for help
 
 Fabio Giovagnini
 
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest
 
 
 


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Example of writing an .xls file using a qt program

2012-07-05 Thread Davet Jacques
 I'd like to study how to write a .xls file using a qt program.


Hi,


I've started a wiki page about this very topic two months ago, in the Qt 
Developer Network wiki: 
http://qt-project.org/wiki/Handling_Microsoft_Excel_file_format

If anyone knows of solutions (or any useful information at all) that is not yet 
covered on that page, please add it. It's a wiki, so don't be shy with 
editing...

That said, @Fabio Giovagnini, if you're merely looking for a topic to use as a 
starting point to learn about programming with Qt, this may not be the best 
choice, since there is no easy Qt-only solution to this.

Regards
Davet Jacques

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest