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

Add attachments when creating a pdf

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.15.0 Alpha
    • Component/s: GUI: Painting
    • Labels:
      None
    • Commits:
      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

            Assignee:
            vgt Eirik Aavitsland
            Reporter:
            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