Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QXlsx print Document

    General and Desktop
    2
    3
    817
    Loading More Posts
    • 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.
    • Taz742
      Taz742 last edited by

      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 Reply Quote 0
      • V
        VRonin last edited by

        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

        Taz742 1 Reply Last reply Reply Quote 1
        • Taz742
          Taz742 @VRonin last edited by

          @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 Reply Quote 0
          • First post
            Last post