Let me just start by saying that I really like Puppy and I admire the work you all do to make it even better. I installed Puppy on my usb pen-drive, booted up my laptop - and it just worked. I live in the world of Windows usually (not my choice) so I probably wouldn't have a first clue what to do if it didn't. Anyway, I've been following events since somewhere around version 0.98 and I always start the day by checking the puppy news page. A couple of days ago Barry posted something about a problem with Abiword not recognizing file types correctly and I read the response from the developers and thought I would give it a stab. Note that I'm far from a C++ guru and it took me a while to understand what was going on, but I think I now may have a working patch. I added a new switch called --useextension which overrides Abiword's file type detection mechanism. To print a file using this method would look something like this:
abiword --print=outputfile --useextension=.doc mydocument.doc
I developed the patch on Windows, but I have compiled Abiword successfully with the patch on Linux (Ubuntu 5.04). Since I'm embarrassingly ignorant when it comes to Linux, I can't tell you if it does the job or not. The archive contains only the patched sources:
- ../abi/src/wp/ap/unix/ap_UnixApp.cpp
../abi/src/wp/ap/xp/ap_Args.h
../abi/src/wp/ap/xp/ap_Args.cpp
../abi/src/wp/ap/xp/ap_Convert.h
../abi/src/wp/ap/xp/ap_Convert.cpp