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

encryption webpage doesnt compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Documentation
    • None

    Description

      Change:
      PDDocument doc = PDDocument.load("filename.pdf");
      to:
      PDDocument doc = PDDocument.load(new File("filename.pdf"));

      https://pdfbox.apache.org/2.0/cookbook/encryption.html

      Attachments

        Activity

          People

            msahyoun Maruan Sahyoun
            ssteiner Simon Steiner
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: