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

Add attachments when creating a pdf

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • 5.15.0 Alpha
    • None
    • GUI: Painting
    • None
    • 9d6b4d11424cdcd6c572cdcc50b3b790b6e673c0 (qt/qtbase/5.15)

    Description

      Add a method to QPdfWriter to add attachments to a pdf.

      public void addFileAttachment(const QString& fileName, const QString& name,  const QByteArray& data, const QMap<QString, QString>& properties)

      The implementation can be based on code in QPdfEnginePrivate::writeImage,

      or a method QPdfEnginePrivate::writeObject(data, properties) could be created to be used when writing an image and when writing an attachment.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            erikjans Erik Janssens
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes