Version 2 (modified by tanya, 16 years ago) (diff) |
---|
Analysis
Overview
The task is to create a way for a Sophie 2.0 Book to be exported in PDF file.
Task requirements
- There should be a menu item, which when clicked, to export the current book in a pdf file.
- There should be a dialog which to appear and the user to be able to choose where to save the selected file.
- In this first revision, a dialog with PDF options won't appear.
Task result
- The result of this task should be source code.
Implementation idea
- Use iText library to generate PDF files. For more information, see http://www.lowagie.com/iText/
- For next iteration "PDF Clown" library can be used to generate PDF files. For more information, see http://www.stefanochizzolini.it/en/projects/clown/
Related
How to demo
- Run Sophie 2.0.
- From "File" menu choose "Print To PDF" item.
- A dialog should appear for the user to choose the directory where to save the newly created file.
- Press "OK".
- In the directory that the user has chosen should appear a PDF file with the content of the book.
Design
(Describe your design here.)
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)