From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sat Sep 21 2002 - 03:51:47 EDT
--- Omer Zak <omerz@actcom.co.il> wrote:
> Andrew Dunbar wrote in length about the awful
> situation of RTF support in various word prcessors
> and in AbiWord in particular.
<snip>
> On the other hand, RTF libraries have to create
> memory structures representing the document's data -
> and those data structures must be compatible with
> the ones used by the word processors.
>
> But each word processor uses its own internal data
> structures, and they are essential for its efficient
> operation.
>
> Therefore different word processors will need RTFlib
> to provide them with different data structures.
It wouldn't work this way. It would work like Wv or
various HTML or XML parsers. For each part of the RTF
file the library parses, a callback will be called
passing all relevant info so the calling program can
create whatever kind of data structures it needs.
Your suggestion would also work fine though!
Andrew.
=====
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 : Sat Sep 21 2002 - 03:56:04 EDT