Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Silaryn
Posts: 37
Registered: ‎12-24-2010
My Device: Tour

Exporting data from Playbook app to PDF or Excel

Is there a way to export data from an AIR application to a PDF or Excel document? I want to export report data from my application and would prefer to have it exported to PDF so that the end users can save the report or email it.

 

Thank you for your time.

Developer
zezke
Posts: 1,004
Registered: ‎12-12-2010
My Device: Z10 (red Limited Edition)

Re: Exporting data from Playbook app to PDF or Excel

This is where libraries come in handy.

 

Examples:

 

AlivePDF

Excel library

 

Haven't used those myself though. Just google a bit (library excel OR pdf actionscript).

-------------------------------------------
BlackBerry Certified Builder for Native Application Development -- Proud member of the Belgian BlackBerry Developer group
Samples: Park in Ghent
Feeling generous? Nominate me for BB Elite member!
New Developer
cookeit
Posts: 27
Registered: ‎12-11-2010
My Device: Not Specified

Re: Exporting data from Playbook app to PDF or Excel

CSV files for Excel are ridiculously easy to output too and don't need a library to use so are arguably the quickest way to get something out. Obviously if you need formula in your cells this isn't an option.

Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10

Re: Exporting data from Playbook app to PDF or Excel

I've used AlivePDf on several projects and it does a great job.