-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, good people
A recent run of tests we did with sum1 showed that the Corel documentation lies. The following embedded subfunction in the EOL group reads: 0xD085 Cell Spanning Information Embedded Subfunction <133 (0x85)> (size = 4) <number of cells spanned horizontally> bit 7 is set if spanned from left <number of cells spanned vertically> bit 7 is set if spanned from above <133 (0x85)> However, the WordPerfect itself is interpreting the code this way: 0xD085 Cell Spanning Information Embedded Subfunction <133 (0x85)> (size = 4) <number of cells spanned horizontally> bit 7 is set if spanned from above <number of cells spanned vertically> <133 (0x85)> WordPerfect 6+ has a hard limit for number of columns in the table of 64. One cannot enter a bigger number in the ui anyway, and wplook.exe will interprete anything > 127 as spanned from _above_. On the other hand, a table with a column spanning more then 127 rows is perfectly legal and documents having such tables exist. Moreover, the second description is even more like what the WP5 specifies. I fixed this problem in both STABLE-0-8-0 branch and in head. Other fix that would maybe justify the bug-fix release is a rewrite of the code reading font names and change in the extended character handling that will prevent us from inserting chars of ascii value < 0x20 into the text buffer. Any objections? Cheers Fridrich P.S.: The feature development is going on in head and we just handle roughly the embedded pictures and comments/annotations. We need still to manage to read properly the frame information. Work has been started, but since the stuff seems to be a bit non-trivial and having different levels of information (frame style from prefix + overrides), it is still work in progress. If someone want to chip in, most welcome. - -- Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGzV5hu9a1imXPdA8RAlHpAJ4+KfrmPS2zvBx6D6z1HjR6NXLsnACdFyYJ xapJjrpXgW7JjRumMurEHyU= =VKiE -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Libwpd-devel mailing list Libwpd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libwpd-devel