Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5522

Add public void save(COSWriter writer) to PDDocument

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.28, 3.0.0 PDFBox
    • None
    • PDModel
    • None
    • Patch

    Description

      Please add the following method to PDDocument:

       

      public void save(COSWriter writer)

       

      Why?

      This gives us the possibility to use a custom COSWriter when saving the PDF file. Inside the custom COSWriter we can add some checks and convert some data structures if required.

       

      Patch is attached.

       

      Attachments

        1. PDDocument.java.patch
          1 kB
          Stefan Ziegler

        Activity

          People

            Unassigned Unassigned
            sz5000 Stefan Ziegler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: