Home » U++ Library support » RichText,QTF,RTF... » QTF to ODF (Open Document Format) converter (İnvestigating the possibility of writing a converter that can convert U++ qtf to odf files )
QTF to ODF (Open Document Format) converter [message #44128] |
Mon, 29 December 2014 14:48  |
Oblivion
Messages: 1211 Registered: August 2007
|
Senior Contributor |
|
|
Hello guys,
I use Open Document Format (odf) files daily, and I thought it might be a good idea to write a qtf to odf (and vice versa) converter.
I am well versed in ODF but not experienced with U++ RichText package's internals. I would like to ask you a question:
I don't want to duplicate code, and lose time, if it is unnecessary, so, is it possible to use RichText class and ParseQTF() directly for this purpose?
Or is there already a such qtf->odf converter package/funtction that I might have missed? All I need is a parser that can build a structure from a qtf text, so that I can convert it into a ODF file.
Regards,
Oblivion.
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Mon, 29 December 2014 14:52] Report message to a moderator
|
|
|
|
Re: QTF to ODF (Open Document Format) converter [message #44131 is a reply to message #44130] |
Tue, 30 December 2014 21:01   |
Oblivion
Messages: 1211 Registered: August 2007
|
Senior Contributor |
|
|
Quote:
Hi Oblivion,
AFAIK, there is no QTF->ODF conversion code, but you can convert QTF to the following formats very easily:
PDF
HTML
RTF
Maybe QTF->RTF is what you need (although RTF->QTF does not exist) since QTF is quite simple and can't do all that ODF or even RTF does.
QTF->RTF has a few bugs with text and table colors but works quite well otherwise
Hello Didier,
Thank you very much for your reply.
I guess I'll try RTF. I need something easily editable.
It also seems to me a good example on how to write an exporter/importer.
Regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Jun 11 16:37:21 CEST 2025
Total time taken to generate the page: 0.04880 seconds
|