Changes between Version 14 and Version 15 of BOOK_STATIC_PDF_EXPORT_R0


Ignore:
Timestamp:
05/14/09 15:44:22 (16 years ago)
Author:
tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_STATIC_PDF_EXPORT_R0

    v14 v15  
    4343 
    4444= Design = 
    45 ^(Describe your design here.)^ 
     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 * In the File Menu of the application add "Export To PDF" menu item. Create ExportToPDFItem class in the newly created package. 
     47 * Create ExportToPDFLogic class that will handle clicks perform over ExportToPDFItem menu item. 
     48 * Export the paint method from the !SimpleSceneVisual class to !SceneHelper class as static 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. 
    4649 
    4750= Implementation = 
     
    5255 
    5356= Comments = 
    54  * It will be better if the menu item is named "To PDF" and is part of a subemenu called "Export" since we will have HTML, Sophie 1, etc 
     57 * It will be better if the menu item is named "To PDF" and is part of a submenu called "Export" since we will have HTML, Sophie 1, etc 
    5558 * The button should invoke File Dialog with extension PDF selected. 
    5659 * It is important which part of the book will be printed - will it be the page, will it include border?