ilstam / FF-Multi-Converter

GUI File Format Converter
https://sites.google.com/site/ffmulticonverter/
GNU General Public License v3.0
83 stars 14 forks source link

add support for calligraconverter ? #37

Open maz-1 opened 8 years ago

maz-1 commented 8 years ago

calligraconverter is a document converter shipped with calligra suite, which is an alternative to libreoffice under kde. It supports both batch mode and interactive mode.

maz-1 commented 8 years ago

Try to made a rough support, only part of conversion works https://github.com/maz-1/FF-Multi-Converter/tree/calligra

ilstam commented 8 years ago

Hello,

Initially before merging this one I would like the following changes:

  1. See the comments: https://github.com/maz-1/FF-Multi-Converter/commit/a6c3d83c000dc766716817b9e9ab000fa46dc592
  2. The start_office_listener() function is unoconv specific and maybe we should rename it to "start_unoconv_office listener". Also, do you know if calligraconverter requires an open office listener before making the conversions?
  3. Maybe docconverter, although ugly, is more meaningful than doconverter as a variable name (notice the missing 'c').
  4. Please remove any accidentally added trailing whitespaces.

Thanks!

maz-1 commented 8 years ago

Actually I am not going to file a pull request now, this is just a ... reference, because there is still a lot to be done, and I'm not sure if I can finish it. Some invalid conversion need a replacement or simply removement. PDF conversion doesn't work on my system, maybe some problem related to plasma 5 and kde4 applications. I will wait for the release of calligra 3.0 to see if anything changed.

ilstam commented 8 years ago

Ok, so these are changes to be done for the "reference" and I had to write them down. :P

I don't use KDE. Does calligra comes pre-installed in the mainstream distros? If so, I think calligra support would be handy (maybe with an option to let the user choose which doc converter to use when both unoconv/calligra are installed).

I'll try to integrate it in the future, when I'll have the time. Thanks for mentioning it and any further help would be appreciated.

maz-1 commented 8 years ago

Calligra is part of KDE project, however it is still not fully ported to qt5. Currently it is still based on qt4, so it is not working so well on plasma 5. Calligra 3.0 should be the first qt5-based release, within a month or more? No one knows :-(