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

Add attachments when creating a pdf

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: GUI: Painting
    • Labels:
      None

      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:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes