Results 1 to 4 of 4

Thread: Manipulating excel files in Qt?

  1. #1
    Join Date
    Jul 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Manipulating excel files in Qt?

    i am having an assignment which requires me to manipulate excel file in Qt. The program must be platform-independent so i am not allowed to use COM, OLE or something proprietary in Windows. Can anyone provide me with an opensource library that can enable me to do this task. I have searched google for a while but no luck.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,734
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Manipulating excel files in Qt?

    Given that Excel is not cross-platform and its file formats are not openly documented this seems like a strange assignment.

    You could look into the source of OpenOffice to see how they handle it.

  3. #3
    Join Date
    Jul 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Manipulating excel files in Qt?

    thanks for your reply. I think i might find the solution. Here is the link : http://www.codeproject.com/KB/office...splay=PrintAll

  4. #4
    Join Date
    May 2010
    Location
    Czestochowa, Poland
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Manipulating excel files in Qt?

    There is a multiplatform (commercial) C/C++ library for reading/writing Excel files called LibXL.
    If you can't use that then there is an Java library called Apache POI. You can create a helper Java app using that library and communicate with it from your Qt application.

    Edit: @icttrack: You have replied simultaneously with me and now I see that ExcelFormat Library seems to be the best choice indeed.
    Last edited by Strix Code; 24th July 2010 at 12:50.
    Q7Goodies - The sweetest way to add Windows 7 features to your Qt application

Similar Threads

  1. how to use api to read excel files(.xl,xls)
    By xiongxiongchuan in forum Qt Programming
    Replies: 9
    Last Post: 15th June 2010, 01:38
  2. Open Microsoft excel files in QT --linux
    By qixier in forum Qt Programming
    Replies: 1
    Last Post: 2nd June 2010, 10:58
  3. Open Ms Word, Ms excel, ppt files in QT -Linux
    By amankamboj1 in forum Qt Programming
    Replies: 3
    Last Post: 5th September 2009, 09:55
  4. Replies: 1
    Last Post: 7th July 2007, 09:41

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.