public interface FormsPortalPDFRenderService
Modifier and Type | Method and Description |
---|---|
byte[] |
getDorFromNode(Node formNode,
byte[] data,
java.util.List<FileAttachmentWrapper> attachments,
java.lang.String locale)
When you have form node, data to fill and attachments with you and looking for a document of record
|
byte[] |
getDorFromPdf(java.lang.String formName,
byte[] pdfBytes,
java.util.List<FileAttachmentWrapper> attachments)
When we need DoR bytes by stitching attachments to already processed pdf
|
byte[] getDorFromNode(Node formNode, byte[] data, java.util.List<FileAttachmentWrapper> attachments, java.lang.String locale) throws FormsPortalException
formNode
- Ideally this should be a form node under /content/dam/formsanddocumentsdata
- Data submitted by the end userattachments
- List of attachment wrapper classFormsPortalException
byte[] getDorFromPdf(java.lang.String formName, byte[] pdfBytes, java.util.List<FileAttachmentWrapper> attachments) throws FormsPortalException
formName
- pdfBytes
- attachments
- FormsPortalException
Copyright © 2010 - 2020 Adobe. All Rights Reserved