Review Request: Add support for EPUB 2.0.1
Inge Wallin
inge at lysator.liu.se
Sat Aug 4 16:11:45 BST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105820/
-----------------------------------------------------------
(Updated Aug. 4, 2012, 3:11 p.m.)
Review request for Calligra.
Changes
-------
This is the second version of the EPUB 2.0.1 export filter.
We have fixed all the issues that Zagge pointed out with one exception:
- We don't convert images to supported formats yet.
For bitmaps this should perhaps not be such a big thing since QImage should be able to do it for us. But for vector images it's a big project. It is something we want to do but I don't think it should be necessary for a first version.
We have also added some new features:
- Support for links
- Support for lists with numbers and bullets
And a couple of bugfixes and enhancements:
- Ignore unrecognized tags in the odt
- Don't let unrecognized tags disturb the conversion
- Support for breaking up an ebook into chapters.
Description
-------
This patch adds support for EPUB 2.0.1, the standard format for ebooks. The current standard is version 3.0 but that is a much more extensive standard and we have to start somewhere.
Features:
- Text with extensive formatting
- Tables, even tables in tables
- Pictures
- Breaking into different html files (chapters) by having a break-before on a paragraph style.
The support is of course not perfect yet but the current state seems to be useful and it looks like a good point to get it to master so that more people can help out.
Diffs (updated)
-----
filters/words/CMakeLists.txt a07793a
filters/words/epub/CMakeLists.txt PRE-CREATION
filters/words/epub/TODO PRE-CREATION
filters/words/epub/exportepub2.h PRE-CREATION
filters/words/epub/exportepub2.cpp PRE-CREATION
filters/words/epub/htmlconvert.h PRE-CREATION
filters/words/epub/htmlconvert.cpp PRE-CREATION
filters/words/epub/libepub/EpubFile.h PRE-CREATION
filters/words/epub/libepub/EpubFile.cpp PRE-CREATION
filters/words/epub/words_epub2_export.desktop PRE-CREATION
Diff: http://git.reviewboard.kde.org/r/105820/diff/
Testing
-------
We have a number of test files and the attached file contains all the features that are supported. We have also used the EPUB validator a lot. That can be found at http://validator.idpf.org/.
Thanks,
Inge Wallin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20120804/49b130a2/attachment.htm>
More information about the calligra-devel
mailing list