Package org.hcl.helloApache
Interface IPdfPrinter
public interface IPdfPrinter
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddBufferedImage(org.hcl.helloApache.PdfBufferedImage image) voidaddImage(org.hcl.helloApache.PdfImage image) voidaddText(org.hcl.helloApache.PdfText text) static voidstatic voidupdateTemplate(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
- Throws:
Exception
-
addImage
- Throws:
Exception
-
addBufferedImage
- Throws:
Exception
-