Coldfusion and Pdfs Kevin Schmidt [email protected]
Total Page:16
File Type:pdf, Size:1020Kb
ColdFusion and PDFs Kevin Schmidt [email protected] PowerpointPowerpoint Templates Templates Who am I? Kevin Schmidt Managing Partner ikaria consulting, llc Email: [email protected] Twitter: @kevpocalypse Powerpoint Templates ABOUT PDF (Portable Document Format) What is a PDF? Portable Document Format (PDF) is a file format used to present and exchange documents reliably, independent of software, hardware, or operating system. Invented by Adobe, PDF is now an open standard maintained by the International Organization for Standardization (ISO). PDFs can contain links and buttons, form fields, audio, video, and business logic. They can also be signed electronically and are easily viewed using free Acrobat Reader DC software. Why PDF? • Uniformity • Ease of Use • Standards Powerpoint Templates TYPES OF PDFS Acrobat Forms (AcroForms) AcroForms are the original PDF forms technology, first introduced in 1998. AcroForms accept input in both Forms Data Format (FDF) and XML Forms Data Format (xFDF). Many 3rd party vendors support AcroForms. XML Forms Architecture (XFA) XFA forms are inherently XML rather than PDF, and are incompatible with conventional PDF files. XFA forms “break” Adobe’s Acrobat software, in the sense that Acrobat cannot be used to modify an AEM Forms Designer-created document. XFA forms are not yet fully supported by third party PDF viewers’ vendors. Currently Adobe AEM Forms server software is required to process XFA forms in a server environment. Powerpoint Templates COLDFUSION SUPPORT FOR PDFs History: ColdFusion has a long history of support for PDFs and is continually adding new PDF features with each version to make working with PDFs even easier. Topics: . Generating PDFs . Manipulating PDFs . Form PDFs . Signing PDFs Powerpoint Templates GENERATING PDFs <cfhtmltopdf> <cfhtmltopdf> creates high quality PDF output from a text block containing CFML and HTML using the PDF Service Manager. <cfhtmltopdfitem> <cfhtmltopdfitem> specifies the action items for a PDF document created by the <cfhtmltopdf> tag. The type attribute takes the following values: . header . footer . pagebreak Supported HTML: https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_reference_1- 7.pdf#page=681 What about <cfdocument>? https://helpx.adobe.com/coldfusion/kb/differencesPowerpoint-cfdocument Templates-cfhtmltopdf.html MANIPULATING PDFs <cfpdf> <cfpdf> Manipulates existing PDF documents. The following list describes some of the tasks you can perform with the cfpdf tag: . Merge several PDF documents into one PDF document. Delete pages from a PDF document. Merge pages from one or more PDF documents and generate a new PDF document. Remove interactivity from forms created in Acrobat to generate flat PDF documents. Encrypt and add password protection to PDF documents. Create PDF portfolios . Add and remove header/footer from PDF documents . Optimize PDF documents DDX https://helpx.adobe.com/coldfusion/developing-applications/working-with-documents-charts-and- reports/assembling-pdf-documents/using-ddx-to-perform-advanced-tasks.html#main-pars_text Learn CF In a Week - <cfpdf> http://www.learncfinaweek.com/week1/cfpdfPowerpoint/ Templates FORM PDFs <cfpdfform> <cfpdfform> Manipulates existing forms created in Adobe Acrobat and Adobe LiveCycle Designer. The following list describes some of the tasks you can perform with the <cfpdfform> tag: . Embed an interactive form created in Acrobat LiveCycle in a PDF document. You use the <cfpdfform> tag to embed the PDF form in a <cfdocument> tag. Render an existing form created in Acrobat or LiveCycle. This includes prefilling fields from a database or an XML data file and processing form data from an HTTP post or PDF submission. Extract or prefill values in stored PDF forms and save the output to a file or use it to update a data source. Learn CF in a Week - <cfpdfform> http://www.learncfinaweek.com/week1/cfpdfform/ Powerpoint Templates SIGNING PDFs Type of Signatures . Digital Signature (Certificate Based) . Electronic Signature <cfpdf> - Digital Signature <cfpdf> also allows for digitally signing PDFs as well as validating signatures. <cfpdf action=”” /> attribute: . sign . unsign . validatesignature Adobe Acrobat – Fill and Sign – Electronic Signature Adobe Acrobat DC Fill & Sign tool, you can fill, sign, and send any form electronically from your desktop, browser, or mobile app. Adobe Sign – Electronic Signature (API) Create all-digital document workflows with Adobe Sign. Powerpoint Templates DEMOS Powerpoint Templates QUESTIONS? COMMENTS? INSULTS? Powerpoint Templates.