Changes between Version 9 and Version 10 of BOOK_HTML_EXPORT_R0


Ignore:
Timestamp:
06/04/09 16:24:52 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BOOK_HTML_EXPORT_R0

    v9 v10  
    4343 * Will create a module for HTML export named  [source:/branches/private/peko/peko2/modules/org.sophie2.extra.func.html org.sophie2.extra.func.html] 
    4444  * 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]. 
    45   * Will create Persister implementations for Book, Page, Frame and ImmImage and will register them as extensions to the MasterPersister. 
     45  * Will create Persister implementations for Book, Page, Frame and ImmImage and will register them as extensions to the MasterPersister. The already created persisters about Book, Page etc are not of use for the html persisting. The tags used are not html compatible. That is why the new ones will be created that are alike the already created, differing in schema and tags. 
    4646   * [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. 
    4747   * [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. 
     
    5252    * These will also be extensions of the MasterPersister. 
    5353  * 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 [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/ExportAsHtmlItem.java ExportAsHtmlItem] will represent a menu item which when clicked fires an event that will be handled in a [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/HtmlLogic.java HtmlLogic]. 
     54  * Exporting to HTML will be done from the [source:branches/private/peko/peko2/modules/org.sophie2.main.app.menus/src/main/java/org/sophie2/main/app/menus/file/ExportSubMenu.java ExportSubMenu] which is a sub-menu of the file menu. An [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/ExportAsHtmlItem.java ExportAsHtmlItem] will represent a menu item in the ExportSubMenu which when clicked fires an event that will be handled in a [source:branches/private/peko/peko2/modules/org.sophie2.extra.func.html/src/main/java/org/sophie2/extra/func/html/HtmlLogic.java HtmlLogic]. '''Note: The [source:/branches/private/peko/peko2/modules/org.sophie2.extra.func.print/src/main/java/org/sophie2/extra/func/print/pdf/export/ExportToPDFItem.java ExportToPDFItem] will also be attached to the ExportSubMenu, since that menu will contain all supported formats that we export to.''' 
     55   * The title of the ExportSubMenu will be "Export as ...". It will have a mnemonic VK_E. The mnemonic of the ExportToPDFItem will be VK_P and its title "PDF". The mnemonic of the ExportAsHtmlItem will be VK_H and its title "HTML". 
    5556  * The logic will eventually show a dialog and prompt the user to export the book to a file.  
    56  
     57 * The new persisters will be located in the org.sophie2.extra.func.html module. For current revision they are not that much to be divided by what they persist. In addition, they need nothing else, but the model and nothing needs them, but the HtmlLogic. 
    5758 * Changesets: 
    5859  * [changeset:3097]