Re: [Libwpd-devel] File format problem with some WP files

2007-04-28 Thread David Hislop
Fridrich, I think you can forget about that possible rounding issue with the 0.0008 inch table width difference: > 51c51 > <   openTable(fo:margin-left: 0.inch, fo:margin-right: > 0.inch, style:width: 6.26*83*inch, table:align: margins, columns: > ((style:column-width: 2.inch), (s

Re: [Libwpd-devel] File format problem with some WP files

2007-04-27 Thread David Hislop
At 07:05 pm 27/04/2007, Fridrich Strba wrote: >Yeah, after I wrote it, I had a look and realized that the glib.h >include was a kind of rudiment remaining since ages in the file. Thanks >for the patch. One should nevertheless advise the MS diff-utils to add >some context :-) Actually, that was me,

Re: [Libwpd-devel] File format problem with some WP files

2007-04-27 Thread Fridrich Strba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, David, thanks for your work. David Hislop wrote: >> David Hislop wrote: >> > 1. src/conv/text/TextListenerImpl.h >> > *28a29 >> >> #ifndef _MSC_VER >> > 29a31 >> >> #endif// _MSC_VER >> >> This one I do not really understand :-( > > It's

Re: [Libwpd-devel] File format problem with some WP files

2007-04-27 Thread David Hislop
At 11:55 pm 26/04/2007, Fridrich Strba wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, thanks for your work. David Hislop wrote: > 1. src/conv/text/TextListenerImpl.h > *28a29 >> #ifndef _MSC_VER > 29a31 >> #endif    // _MSC_VER This one I do not really understand :-( It's ifdef'i

Re: [Libwpd-devel] File format problem with some WP files

2007-04-26 Thread Fridrich Strba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, thanks for your work. David Hislop wrote: > 1. src/conv/text/TextListenerImpl.h > *28a29 >> #ifndef _MSC_VER > 29a31 >> #endif// _MSC_VER This one I do not really understand :-( > *2. src/conv/*/Makefile.am > *(changes to each of the

Re: [Libwpd-devel] File format problem with some WP files

2007-04-26 Thread David Hislop
At 04:02 am 22/04/2007, Fridrich Strba wrote: David Hislop wrote: > Also quickly hacked together an MS VC version of the lib and wpd2text > and it also works fine. Minimal changes: just added the new files to > the VC project, and created a simple CLR wpd2text app. I gladly accept patch that wi

Re: [Libwpd-devel] File format problem with some WP files

2007-04-21 Thread Fridrich Strba
David Hislop wrote: > Also quickly hacked together an MS VC version of the lib and wpd2text > and it also works fine. Minimal changes: just added the new files to > the VC project, and created a simple CLR wpd2text app. I gladly accept patch that will build wpd2* CLR apps into libwpd:-) F. ---

Re: [Libwpd-devel] File format problem with some WP files

2007-04-21 Thread David Hislop
Fridrich, Just downloaded the fs_experimental branch, built it on Linux without modification as a test and ran wpd2text against two of the four files I was using before - worked fine. Also quickly hacked together an MS VC version of the lib and wpd2text and it also works fine. Minimal changes:

Re: [Libwpd-devel] File format problem with some WP files

2007-04-09 Thread David Hislop
Fridrich, OK, I'll look up the pragma again. I'll be off the air for a while, should get back to it in a week or so. David At 01:03 am 09/04/2007, Fridrich Strba wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Hello, > >David Hislop wrote: > >> It is possible that the msvc iostream imp

Re: [Libwpd-devel] File format problem with some WP files

2007-04-08 Thread Fridrich Strba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, David Hislop wrote: >> It is possible that the msvc iostream implementation has some differences > So obviously there is something different in MSVC iostream. I think it's > in basic_istream (and so probably basic_ostream as well). It seems tha

Re: [Libwpd-devel] File format problem with some WP files

2007-04-06 Thread David Hislop
Good afternoon Fridrich, > branch in CVS called "fs_experimental" ... could base your tests on that one OK, I'll do that, and try to get the unit and regression tests working. Do they work on MSVC already for libwpd? > add to the libwpd-stream library a second implementation WPXStreamImplementati

Re: [Libwpd-devel] File format problem with some WP files

2007-04-06 Thread Fridrich Strba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, David, Thanks for your great work. Just for your information, I created now a branch in CVS called "fs_experimental", where I add to the libwpd-stream library a second implementation WPXStreamImplementation.{cpp,h} and WPXOLEStream.{cpp,h}. I w

Re: [Libwpd-devel] File format problem with some WP files

2007-04-06 Thread David Hislop
At 12:58 am 06/04/2007, David Hislop wrote: At 07:39 pm 05/04/2007, Ariya Hidayat wrote:  It's recognising the OLE container and the WP magic and header, but getting confused somewhere in the parser. It's also not recognising a "normal" WordPerfect file. If I get a chance over the weekend I'll s

Re: [Libwpd-devel] File format problem with some WP files

2007-04-05 Thread David Hislop
At 07:39 pm 05/04/2007, Ariya Hidayat wrote:  It's recognising the OLE container and the WP magic and header, but getting confused somewhere in the parser. It's also not recognising a "normal" WordPerfect file. If I get a chance over the weekend I'll sort those out. Could you elaborate on this?

Re: [Libwpd-devel] File format problem with some WP files

2007-04-04 Thread David Hislop
At 09:31 pm 03/04/2007, Ariya Hidayat wrote: Hello, they are most probably WP files embedded in an OLE2 storage. I can confirm this. As David has written, the header of the File 1 original is d0 cf 11 e0 a1 b1 1a e1,  which is exactly the magic identifier of OLE compound document (or structured

Re: [Libwpd-devel] File format problem with some WP files

2007-04-03 Thread Fridrich Strba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, they are most probably WP files embedded in an OLE2 storage. If Larry is not implementing the getDocumentOLEStream() and isOLEStream() from the WPXInputStream interface class, they will not be recognized by his indexer. Most probably, he does no

[Libwpd-devel] File format problem with some WP files

2007-04-03 Thread David Hislop
I have an odd problem with some oldish WordPerfect files. It seems to be due to the WordPerfect file magic string WPC being offset in some older WP files, i.e. it's not at byte 2 of the file. I've been debugging a couple of problems with Larry's WordPerfect Indexer plug-in for Google Desktop Sear