Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QXlsx print Document

QXlsx print Document

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.1k 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.
  • Taz742T Offline
    Taz742T Offline
    Taz742
    wrote on last edited by
    #1

    Hello all.
    I using QXlsx in my project, but i do not see How to Print Already prepared document.
    How can this be corrected?
    And if you can not correct this, how can we get the same result? (Without QPainter)

    Do what you want.

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      Hi,
      That library does not have any sort of GUI/Printing support included (and never will as it's outside of the scope).
      Also xlsx files contains relatively little information on how to print (don't get me wrong, they contain a lot of print info but not all of it)

      If you can live with requiring MS Windows and to have MS Excel installed in every machine you use your code on you can use ActiveX http://doc.qt.io/qt-5/qaxcontainer-module.html

      "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

      Taz742T 1 Reply Last reply
      1
      • VRoninV VRonin

        Hi,
        That library does not have any sort of GUI/Printing support included (and never will as it's outside of the scope).
        Also xlsx files contains relatively little information on how to print (don't get me wrong, they contain a lot of print info but not all of it)

        If you can live with requiring MS Windows and to have MS Excel installed in every machine you use your code on you can use ActiveX http://doc.qt.io/qt-5/qaxcontainer-module.html

        Taz742T Offline
        Taz742T Offline
        Taz742
        wrote on last edited by
        #3

        @VRonin
        thanks for your reply.
        Unfortunately, I do not have so much experience that I have to deal with this issue.
        I will again call QPainter.

        Do what you want.

        1 Reply Last reply
        0

        • Login

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