Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-44246

Provide an option to include attachments inside PDF instead of linking it

    • 3
    • 4
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The question was asked before in the Atlassian Answers.
      https://answers.atlassian.com/questions/124674/export-to-pdf-and-include-attachments

      There is tool that can embed attachment inside PDF
      search for attach_files
      https://www.pdflabs.com/docs/pdftk-man-page/
      But please review if there is licensing issue with pdftk (which use itext5,
      https://en.wikipedia.org/wiki/IText)

      It seems the old version of pdftk (based on itext2) may not have the licensing issue.
      BTW, the 'old' pdftk becomes pdftk-server now, which seems to be GPL but have licensing terms for commercial use..... https://www.pdflabs.com/docs/pdftk-license/

      FYI, tcpdf (php) is another library that can attach files into pdf
      https://tcpdf.org/examples/example_041/

          Form Name

            [CONFSERVER-44246] Provide an option to include attachments inside PDF instead of linking it

            Caroline C added a comment -

            Hello,

            We need to export confluence pages to Word including the attachments documents because we need to share documents with non confluence users and we need to save pages and documents as proofs in an external storage system.

            Best Regards

            Caroline

            Caroline C added a comment - Hello, We need to export confluence pages to Word including the attachments documents because we need to share documents with non confluence users and we need to save pages and documents as proofs in an external storage system. Best Regards Caroline

            basem1028461647 added a comment -

            The exporting to PDF or in a Word format including the attachment is very good because it saves lot of time when i need to export and download each document and if i have many that will be a headache,

             

            Best Regards,

            Basem.Q

            basem1028461647 added a comment - The exporting to PDF or in a Word format including the attachment is very good because it saves lot of time when i need to export and download each document and if i have many that will be a headache,   Best Regards, Basem.Q

            Ridhy, I did the test as a POC (to show that it is possible to attach a file inside a PDF).
            When you open the PDF in acrobat reader, it is possible to save the embedded attachment.
            The POC did not involve Confluence.

            pdftk could do it since year 2008 (could be earlier)
            http://pdf-tips-tricks.blogspot.hk/2008/01/attach-files-to-pdfs-with-pdftk.html

            Patrick Dung added a comment - Ridhy, I did the test as a POC (to show that it is possible to attach a file inside a PDF). When you open the PDF in acrobat reader, it is possible to save the embedded attachment. The POC did not involve Confluence. pdftk could do it since year 2008 (could be earlier) http://pdf-tips-tricks.blogspot.hk/2008/01/attach-files-to-pdfs-with-pdftk.html

            Ridhy added a comment -

            How do you go about adding the pdftk do you have to download this tool on the server? 

            Ridhy added a comment - How do you go about adding the pdftk do you have to download this tool on the server? 

            The attachment is a demo.

            I had add the attachment to the PDF by pdftk.

            The screen capture shows that inside acrobat reader DC, the user can save the powerpoint attachment.

            Patrick Dung added a comment - The attachment is a demo. I had add the attachment to the PDF by pdftk. The screen capture shows that inside acrobat reader DC, the user can save the powerpoint attachment.

              Unassigned Unassigned
              62b7ec53ee89 Patrick Dung
              Votes:
              39 Vote for this issue
              Watchers:
              26 Start watching this issue

                Created:
                Updated: