Hi folks,
I have manages to add full styles support to the Psion importer. It turned
out to be quite easy - the hard part was figuring out that imported styles
are not displayed in the dropdown styles box in the menubar.
As ie_imp_Psion.{cpp,h} are not yet checked into CVS, and because the
patch would be quite large (I had to reshuffle a few things), I have once
again included both files entirely in this mail. Fortunately, they are
not very large when gzipped, so the mailinglist-traffic should not
grow too much because of me...
Because of the display difficulties, I have by default disabled the
styles support. For those wanting to play with it: at the top of
ie_imp_Psion.cpp define the STYLES_ENABLE preprocessor symbol. As long
as the Psion document only redefines styles which are standard in
AbiWord, it will work without flaw. Well, actually there is one small
issue: style inheritance did not work completely right. You need
current psiconv CVS to get it all working completely right (see
http://huizen.dds.nl/~frodol/psiconv/ for instructions). The example
Word document I provided uses one safe style.
Have fun with it,
Frodo
--
Frodo Looijaard <[EMAIL PROTECTED]> PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
The act of removing Windows from your computer in disgust, usually followed
by the installation of Linux or some other Unix-like operating system.
gzip compressed data, deflated, original filename, last modified: Wed Dec 20 23:13:37 2000, os: Unix
gzip compressed data, deflated, original filename, last modified: Wed Dec 20 23:13:37 2000, os: Unix
