Changes between Version 5 and Version 6 of BOOK_HTML_EXPORT_R0


Ignore:
Timestamp:
06/03/09 19:08:25 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_HTML_EXPORT_R0

    v5 v6  
    4141= Design = 
    4242 * Exporting sophie books to html, will use the org.sophie2.base.persistence library. For more information about it see [wiki:GROUP_PERSISTENCE_R0]. 
    43  * Will create a module for HTML export named '''org.sophie2.extra.func.html''' 
     43 * Will create a module for HTML export named  [source:/branches/private/peko/peko2/modules/org.sophie2.extra.func.html org.sophie2.extra.func.html] 
     44  * It will have a module class named [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/HtmlModule.java HtmlModule] that will register all the extensions of the [source:branches/private/peko/peko2/modules/org.sophie2.base.persistence/src/main/java/org/sophie2/base/persistence/persister/MasterPersister.java MasterPersister]. 
    4445  * Will create Persister implementations for Book, Page, Frame and ImmImage and will register them as extensions to the MasterPersister. 
    45    * BookToHtmlPersister having a schema "book|storage|html" - will convert a book to a storage node. 
    46    * PageToHtmlPersister having a schema "page|storage|html" - will convert a page to a storage node. 
    47    * FrameToHtmlPersister having a schema "frame|storage|html" - will convert a frame to a storage node. 
     46   * [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/persister/BookToHtmlPersister.java BookToHtmlPersister] having a schema "book|storage|html" - will convert a book to a storage node. 
     47   * [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/persister/PageToHtmlPersister.java PageToHtmlPersister] having a schema "page|storage|html" - will convert a page to a storage node. 
     48   * [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/persister/FrameToHtmlPersister.java FrameToHtmlPersister] having a schema "frame|storage|html" - will convert a frame to a storage node. 
    4849    * The FrameToHtmlPersister will invoke two other persisters for text and images: 
    49      * HotTextToHtmlPersister having a schema "hottext|storage|html" - will convert a Sophie formated text to a storage node. 
    50      * ImageToHtmlPersister having a schema "imm:image|storage|html" - will convert a Sophie ImmImage to a storage node. 
     50     * [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/persister/HotTextToHtmlPersister.java HotTextToHtmlPersister] having a schema "hottext|storage|html" - will convert a Sophie formated text to a storage node.  
     51     * [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/persister/ImageToHtmlPersister.java ImageToHtmlPersister] having a schema "imm:image|storage|html" - will convert a Sophie ImmImage to a storage node. 
     52    * These will also be extensions of the MasterPersister. 
    5153  * Will create a Persister implementation named HthlPersister for converting from a storage tree to HTML file. It will have a schema as follows - "storage|text:html|html". It will create an XHTML file and a directory containing the resources  - current only the images. It will also be registerred as an extension to the MasterPersister. 
     54  * Exporting to HTML will be done from the file menu. An ExportAsHtmlItem will represent a menu item which when clicked fires an event that will be handled in a HthmlLogic. 
     55  * The logic will eventually show a dialog and prompt the user to export the book to a file.  
    5256 
    5357= Implementation =