Interface IPdfPrinter


public interface IPdfPrinter
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addBufferedImage(org.hcl.helloApache.PdfBufferedImage image)
     
    void
    addImage(org.hcl.helloApache.PdfImage image)
     
    void
    addText(org.hcl.helloApache.PdfText text)
     
    static void
    print(org.apache.pdfbox.pdmodel.PDDocument doc, List<org.hcl.helloApache.IPdfPart> parts)
     
    static void
    updateTemplate(String resource, List<org.hcl.helloApache.IPdfPart> parts, org.hcl.helloApache.ConsumerWithException<org.apache.pdfbox.pdmodel.PDDocument> consumer)
     
  • Method Details

    • updateTemplate

      static void updateTemplate(String resource, List<org.hcl.helloApache.IPdfPart> parts, org.hcl.helloApache.ConsumerWithException<org.apache.pdfbox.pdmodel.PDDocument> consumer) throws Exception
      Throws:
      Exception
    • print

      static void print(org.apache.pdfbox.pdmodel.PDDocument doc, List<org.hcl.helloApache.IPdfPart> parts) throws Exception
      Throws:
      Exception
    • addText

      void addText(org.hcl.helloApache.PdfText text) throws Exception
      Throws:
      Exception
    • addImage

      void addImage(org.hcl.helloApache.PdfImage image) throws Exception
      Throws:
      Exception
    • addBufferedImage

      void addBufferedImage(org.hcl.helloApache.PdfBufferedImage image) throws Exception
      Throws:
      Exception