Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3510

QPrinter: be able to send the PDF output from QPrinter to memory instead of a file

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.4.3
    • GUI: Printing
    • None

    Description

      It would be nice if there were a way to send the PDF output from QPrinter to memory instead of a file, something like:

      QPrinter.setOutputDevice(QIODevice* device)

      Sometimes there is a need to generate PDFs with sensitive (secret) content, and it would be preferable not having to write these to disk at all.
      Also there could be a performance gain if the content could be retrieved directly from the buffer when saving the PDF is not needed or wanted.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes