Changes between Version 19 and Version 20 of BOOK_STATIC_PDF_EXPORT_R0
- Timestamp:
- 05/26/09 12:39:05 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BOOK_STATIC_PDF_EXPORT_R0
v19 v20 43 43 44 44 = Design = 45 * Create new package org.sophie2.extra.func.print.pdf _export in the org.sophie2.extra.func.print. For now, it is a better idea the code for the pdf export to be in the existed module rather than to be put in a new module.45 * Create new package org.sophie2.extra.func.print.pdf.export in the org.sophie2.extra.func.print. For now, it is a better idea the code for the pdf export to be in the existed module rather than to be put in a new module. 46 46 * In the File Menu of the application add "Export To PDF" menu item. Create ExportToPDFItem class in the newly created package. 47 47 * Create ExportToPDFLogic class that will handle clicks perform over ExportToPDFItem menu item. 48 48 * Create a static method getFile(BookView view) in the ExportToPDFItem that will show a dialog to choose where to save the new file. 49 * Export the paint method from the !SimpleSceneVisual class to !SceneHelper class as staticmethod. The idea is to provide the same logic for drawing a part of a scene over given graphics. Use the newly created method to draw over a PDF document.49 * Make the paintComponent(Graphics graphics) method from the !SimpleSceneVisual class use a !SceneHelper class static "paint" method. The idea is to provide the same logic for drawing a part of a scene over given graphics. Use the newly created method to draw over a PDF document. 50 50 * Over the PDF file will be drawn everything that is visible on the scene at the moment of exporting. In other words, if there is a movie frame on the scene, in the pdf file it will appear this frame of the movie that is drawn over the scene at the moment of exporting. 51 51 * ExportToPDFSystemTest -> [changeset:2847]