From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sun Sep 22 2002 - 00:23:18 EDT
--- Omer Zak <omerz@actcom.co.il> wrote: >
> On Sat, 21 Sep 2002, Martin Sevior wrote:
>
> > I would just like to pointout that this would not
> > solve our problem with wordpad and lists. Wordpad
> > is fundamentally BROKEN. It screws up perfectly
> > valid RTF.
> >
> > The spec says: "readers that recognize the
> > \*\listtable keyword should ignore \*\pn keywords"
> > WordPad puts in bullet or list number for both
> > these contructs.
> >
> > So we could trivially solve this problem by NOT
> > exporting the "\*\pn" construts but this would
> > mean Word 95 and OO would not read in our lists
> > as lists. Word 97 and Word 2000 does this.
> >
> > So solving the WordPad problem means throwing away
> > backward compatibility with Word 95 and other
> > readers.
>
> Why?
> Isn't it enough if the user tells the library
> (manually or otherwise) that the RTF file was
> created by WordPad; or that he wishes the
> information to be exported into WordPad RTF format?
Hmm for importing, we can probably do some heuristics
that'll do pretty good guessing on where the RTF came
from. Last time I worked on RTF I was able to spot
where it came from visually - but that's a fair while
ago now.
For exporting we already have RTF and RTF for old
apps.
Which is already too bad. I'd hate to need to export
multiple flavours of RTF but if there were sufficient
need it's possible. It'd have to be an optional
plugin and pretty low priority. ):
> About clipboard manipulations: we (in AbiWord) can
> ask the user if the text comes from or goes to
> WordPad; and for incoming text - maybe there is
> some heuristics which would allow the text to be
> automatically identified as coming from WordPad in
> 90% of the cases in which it matters?
I'd hate to have to prompt users for clipboard use.
I'm beginning to think that doing whatever Word 97 and
newer do should be our model, even where they are
broken ): Any non-MS broken software should probably
already be made to work with MS breakage which goes
back 5 years. Especially if they like us are of the
opinion that MS Word is the 90%+ creator/consumer of
RTF.
Andrew Dunbar.
> Omer
> WARNING TO SPAMMERS: see at
> http://www.zak.co.il/spamwarning.html
>
=====
http://linguaphile.sourceforge.net/cgi-bin/translator.pl http://www.abisource.com
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
This archive was generated by hypermail 2.1.4 : Sun Sep 22 2002 - 00:28:09 EDT