[Freemind-developer] HTML - Export
A premier mind-mapping software written in Java
Brought to you by:
christianfoltin,
danielpolansky
From: Dimitry P. <dpo...@gm...> - 2007-02-06 22:04:28
|
Hallo, I am working on a proper HTML - Export as a replacement for the RTF - Export which is not able to export nodes with HTML properly. My current code bases on the old saveHTML methods of MindMapNodeModel and MindMapMapModel. I have transformed this code to a new class MindMapHTMLWriter. Currently this writer is used for two purposes: for exporting of HTML in the clipboard ( the new usage) and for exporting of HTML as a new HTML file (as used before). I have found that the old functionality has been partly broken: there are some problems by export of icons etc. Those problems are not relevant for copying the HTML to clipboard because I can not copy the pictures inside of HTML. And there are some new excellent methods for making XHTML files. So I would like to make the following: 1. Remove RTF from the list of supported data flavors and remove all saveRTF, getAsRTF methods because they can not deal with the new HTML stuff. 2. Use HTML data flavor for exchange with the other applications via clipboard (currently I use headings <h1>-<h6> for building the Mind Map Hierarchy, but I could also use the lists <ul> or <ol>. I can easily replace the heading based solution with the list based one, but I would like to get your feedback first). 3. Limit the functionality of the MindMapHTMLWriter to preparing the data for the clipboard and use only the new XSLT based techniques for producing the (X)HTML files. The old Actions "Export as HTML" and "Export branch as HTML" should also be removed. The proposed measures do not reduce the functionality of FreeMind, we would just throw away the old things that can not work any more and use the new well working replacements. The export of HTML to the clipboard has already been committed to CVS. I would like to get your opinions before I cut the old bad parts away. You can try the new stuff e.g. by copying parts of the map and pasting them into notes or HTML - based nodes. In the last case you can apply the new action "edit->split" to the big HML nodes for splitting them into smaller parts. I am looking forward to your feedback, Best regards, Dimitri |