Subject: commit: Read word 97 and later list structures.
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Mon Aug 20 2001 - 21:23:37 CDT
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/xap/unix/xap_UnixFont.cpp
CVS: src/wp/impexp/xp/ie_imp_RTF.cpp src/wp/impexp/xp/ie_imp_RTF.h
CVS: ----------------------------------------------------------------------
Import Word 97 and later RTf list structures.
This >1800 line patch enables abi to read Word 97 and later RTF list
structures. Now lists from Word 97 RTF get imported into our List
structures.
To do this I believe I basically re-implemented the Word 97 List
structures in all it's silliness than translated them to our far more
efficient structures.
At this point I translate all the different Word 97 bullet style lists to
our bullet lists. I'll have to implement another bullet type list "any" to
map arbitary Word bullet style lists to these.
I tested this on all the rtf files I had lying around and it Works4Me :-)
Please throw nasty Word rtf lists at this and report failures along with
the rtf files to me and I will fix them.
Dom might find some of this code useful for importing MS *.doc files.
Hub might find some of this code useful for implementing style
import/export to RTF.
My next project will be to fix some more section break bugs and bugs I
introduced fixing section breaks. For example blanking out half the last
character in a line. And more fixes to our horrible disappearing cursor.
After that I'll improve our RTF List export so that MS Word can read
multi-level lists.
Cheers
Martin
This archive was generated by hypermail 2b25 : Mon Aug 20 2001 - 21:23:41 CDT