Dmitry Timoshkov dmitry@baikal.ru wrote:
"Francois Gouget" fgouget@free.fr wrote:
The problem is that write will handle RTF and Word documents correctly, while notepad is just a text editor and will only display garbage...
(yes, wordpad will probably have problems with complex word documents, but it should work with simple ones)
I believe that Write is able to handle only old Word 5.x/6.x format files (and of course RTFs). RTFs should not produce too much trouble (just feed them to a richedit control). Regarding Word 5.x format here is a snipped from my very old DOS code which handled those files (*.doc,*.wri) well (it completely ignores formatting though):
I've written a .wri to RTF converter, which is available here:
http://www.msxnet.org/word2rtf/write.c
It should be almost complete. The output is almost the same as the microsoft converter (including bugs, if desired).
Now I have enough information to write write32.cnv, but is there any need for this?
Sean
--- Sean Young sean@mess.org wrote:
I've written a .wri to RTF converter, which is available here:
http://www.msxnet.org/word2rtf/write.c
It should be almost complete. The output is almost the same as the microsoft converter (including bugs, if desired).
Could you submit a bug report in Bugzilla for this or attach to the existing one, so your information won't be lost. Can you relicense it under LGPL? I personally do not see big problem in notepad/wordpad being under GPL If you can't/don't want to change license. It is just convenient to have everything under the same license.
Regards, Andriy
__________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
On Fri, Sep 20, 2002 at 09:56:41AM -0700, Andriy Palamarchuk wrote:
--- Sean Young sean@mess.org wrote:
I've written a .wri to RTF converter, which is available here:
http://www.msxnet.org/word2rtf/write.c
It should be almost complete. The output is almost the same as the microsoft converter (including bugs, if desired).
Could you submit a bug report in Bugzilla for this or attach to the existing one, so your information won't be lost.
Done.
Can you relicense it under LGPL? I personally do not see big problem in notepad/wordpad being under GPL If you can't/don't want to change license. It is just convenient to have everything under the same license.
Of course. I'll do that (in other words, LGPL is fine).
Sean