Package flex.acrobat.pdf

Examples of flex.acrobat.pdf.XDPXFAHelper.open()


    public Object generatePDF(Document dataset) throws IOException
    {
        // Open shell XDP containing XFA template based on servlet context (in this case webapp root)
        String source = FlexContext.getServletContext().getRealPath("/pdfgen_contact/contact.xdp");
        XDPXFAHelper helper = new XDPXFAHelper();
        helper.open(source);

        // Import XFA dataset
        helper.importDataset(dataset);

        // Save new PDF as a byte array in the current session
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.