Class PDDocumentUtils


  • public class PDDocumentUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PDDocumentUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void convertToNotEditablePdf​(org.apache.pdfbox.pdmodel.PDDocument document)
      Convert PDDocument to not editable PDDocument
      static org.apache.pdfbox.pdmodel.PDDocument convertToPDDocument​(com.openhtmltopdf.pdfboxout.PdfRendererBuilder builder)
      Convert to PDDocument
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PDDocumentUtils

        public PDDocumentUtils()
    • Method Detail

      • convertToPDDocument

        public static org.apache.pdfbox.pdmodel.PDDocument convertToPDDocument​(com.openhtmltopdf.pdfboxout.PdfRendererBuilder builder)
                                                                        throws java.io.IOException
        Convert to PDDocument
        Parameters:
        builder -
        Returns:
        PDDocument
        Throws:
        java.io.IOException
      • convertToNotEditablePdf

        public static void convertToNotEditablePdf​(org.apache.pdfbox.pdmodel.PDDocument document)
        Convert PDDocument to not editable PDDocument
        Parameters:
        document -
        Throws:
        java.io.IOException