Psion importer: styles added


Subject: Psion importer: styles added
From: Frodo Looijaard (frodol@dds.nl)
Date: Wed Dec 20 2000 - 16:21:43 CST


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 <frodol@dds.nl>  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.





This archive was generated by hypermail 2b25 : Wed Dec 20 2000 - 16:21:53 CST