[Qt-interest] How to construct excel tables
Andre Somers
andre at familiesomers.nl
Wed Jan 27 11:44:25 CET 2010
berkan kısaoğlu wrote:
> Is there a way to construct excel tables with xls/xlsx/ods file
> extensions. Also i want these tables to be formetted with some
> color/borders etc.
> I cannot find anything. Maybe you could suggest some other external
> libraries to use with QT.
>
> Thanks in advance.
Perhaps you can use Excel itself as an object, through QAxObject or
something like that? Of course, this would only work on Windows. See the
chapter in the docs on "Using ActiveX controls and COM object in Qt".
Ods could be created directly of course; it's format is defined. But
perhaps you can get away with using QTextDocumentWriter with a ODF
textformat as an output format? If not, it may at least inspire you to
look at the sources for this.
André
More information about the Qt-interest-old
mailing list