Review Request: Enable a much superior html export filter

Inge Wallin inge at lysator.liu.se
Sun Oct 14 00:45:40 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106840/
-----------------------------------------------------------

Review request for Calligra.


Description
-------

This patch enables a much more powerful html filter than the current xslt-based one in filters/words/html-odf. It is developed using the same conversion technology that is used in the epub filter. You can read about the full feature set here: http://ingwa2.blogspot.se/2012/09/more-progress-in-calligra-author.html. The features are listed under "Export to epub2", but the html filter uses the same conversion code.

The most important difference to the current filter is that all the character and paragraph styles are translated into CSS code. Vector images are also supported with automatic conversion from SVM/EMF/WMF to SVG where applicable.

The one drawback that I can see is that there is an export option in the html-odf filter where the user can choose encoding. The new filter uses UTF-8 for everything. If that's a really important issue the the new filter can be converted to provide that too.


Diffs
-----

  filters/words/CMakeLists.txt 7dfed28 
  filters/words/epub/CMakeLists.txt 7744e7e 

Diff: http://git.reviewboard.kde.org/r/106840/diff/


Testing
-------

Tested with a lot of different odt files. While testing the epub filter, the resulting files were run through the epub2 validator which also tests all aspects of the html.


Thanks,

Inge Wallin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20121013/e5aa8a8e/attachment.htm>


More information about the calligra-devel mailing list