Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qt Xlsx - save on document destroys Chart data
Forum Update on Monday, May 27th 2025

Qt Xlsx - save on document destroys Chart data

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
qtxlsxxlsx
3 Posts 3 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    prometheus245
    wrote on 29 Mar 2017, 12:11 last edited by
    #1

    When I simply open xlsx document containing some charts and save it using QXlsx::Document::save() function or QXlsx::Document::saveAs(QString)
    it destroys charts in it in a way that chart remains but chart annotation disapears.

    K 1 Reply Last reply 29 Mar 2017, 12:30
    0
    • P prometheus245
      29 Mar 2017, 12:11

      When I simply open xlsx document containing some charts and save it using QXlsx::Document::save() function or QXlsx::Document::saveAs(QString)
      it destroys charts in it in a way that chart remains but chart annotation disapears.

      K Offline
      K Offline
      koahnig
      wrote on 29 Mar 2017, 12:30 last edited by
      #2

      @prometheus245

      Hi and welcome to devnet forum

      QXlsx library is a library based on Qt but not part of Qt libs. Therefore a better choice would be to contact the author respectively a mailing list for this library. The chances to obtain in this forum descent feedback and support for QXlsx library are very little.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      1
      • V Offline
        V Offline
        VRonin
        wrote on 25 Apr 2017, 13:01 last edited by
        #3

        Sorry for zombieing this one.
        What that library does is loading all the data from the existing file and re-build it from scratch when you click save this means that any feature that existed in the original file but it's unsupported by the library will be removed on save just because the library doesn't even know they exist

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved