From: Omer Zak (omerz@actcom.co.il)
Date: Sat Sep 21 2002 - 04:01:48 EDT
On Sat, 21 Sep 2002, [iso-8859-1] Andrew Dunbar wrote:
> 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.
I see. The callbacks approach would indeed work fine. It is more
general than the filter approach, because it can handle features supported
by one RTF format, which are not supported by another RTF format.
People, who participate in RTFlib construction, may go both approaches -
create callbacks and build filters using them. The filters will be useful
for debugging RTFlib and for building a database of regression test cases.
Now, the next question (independently of the approach used to implement
RTFlib functionality) is how to automatically identify the format actually
used by a RTF file (or in-memory text string)...
--- Omer
WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html
This archive was generated by hypermail 2.1.4 : Sat Sep 21 2002 - 04:06:09 EDT