开发者

Create dynamic PDF in Flex

Trying to un开发者_运维百科derstand from a high-level how this would be accomplished.

Use case:

  • Flash application embedded in HTML used to create Certificates (just an example).
  • User enters a bunch of data into a form (Name, Address, What certificate is for, etc.).
  • User clicks a button which causes the application to create a Certificate in PDF form, with the form data displayed in a format that I define with a bunch of different images).
  • Ideally, Flex could use the browsers functionality to prompt the user with "What would you like to do with this document, 'Download', 'Open'. So it would function just like clicking on a link to a PDF document inside of a web page.

I already have the form and everything, its just a matter of how I create a PDF from that data. Is there a certain function that can take the current screen and create a PDF image of it? Or is there a certain library for creating PDFs? If anyone can point me in the right direction it would be much appreciated.


There is a AS3 PDF generator library called AlivePDF and can be found here.


Purepdf is another actionscript library for creating Pdf file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜