the worst thing about the MS format is the fast saved stuff, with that in there
everything becomes much more difficult, tables + fastsaved mode is pretty
much a nightmare. The MS format doesnt really define a table in advance of
being of a certain height and number of rows, it just says that a table is
coming up, and then each row has the length of each cell specified in it. so
you can look at MS tables of consisting of independant rows that just happen
to be underneath eachother, and if cells line up under eachother, thats just
a concidence. Completely unlike html tables for instance, so if you intend to
have a table format where the number of rows, and cell divisions is known in
advance you'll have to parse that section of the word document twice, something
that i intend to do for mswordview, but havent gotten around to, i just close
the html table, and start another one if i detect that the no of cells, or the
width of cells has changed from one row to the other, nasty eh ?
ive a load of other fun things that happen in the word format for your amusement
as well.
i still intend to make the mswordview source into a library that can be used
with abiword etc, but as im pretty snowed under, definitely dont wait on me :-)
C.
>
>btw, if you want this document I'm looking at, I got it off of
>www.wotsit.org.
>
>
>Justin Bradford
>justin@ukans.edu
Real Life: Caolan McNamara * Doing: MSc in HCI
Work: Caolan.McNamara@ul.ie * Phone: +353-61-202699
URL: http://www.csn.ul.ie/~caolan * Sig: an oblique strategy
Change nothing and continue with immaculate consistancy