From: Andrew Dunbar (firstname.lastname@example.org)
Date: Tue Jul 16 2002 - 03:41:30 EDT
--- F J Franklin <F.J.Franklin@sheffield.ac.uk>
wrote: > > I really don't think we want to do this.
> > really worked on some of the simpler
> > so I probably have an oversimplified idea of what
> > need. But for importing we need to provide access
> > the AppendStrux and related functions.
> > Having all imports and exports translated the way
> > suggest will add another weak link in the chain
> > the developer will have to try to map everything
> > his source format to his destination format and
> > Abi will have to do a second mapping from this
> > destination format to its internal format. All
> > mappings are lossy to some degree and the loss
> > be cumulative.
> > We have to be able to import/export directly
> > AbiWord's internal structure.
> Did you mean to write to just me?
Oops. I still hit the reply button without thinking
> Anyway, I agree that best results can only be got by
> interacting directly
> with AbiWord's internals. But the purpose behind SPI
> is a passive
> "C"-style interface whereby AbiWord calls functions
> defined in the plugin
> and *not* vice-versa. Kenneth's CAPI is more likely
> to provide interaction
> bewteen plugin and abiword.
> The interface below does lend itself easily to some
> simple conversions
> such as compression/decompression and
> encryption/decryption. Also,
> perhaps, things like bad Cocoa RTF <-> proper RTF -
> but I don't know about
Yes it does sound like it has some good uses.
I definitely think there is a good idea in here
somewhere. I just wanted to warn people about
potential lossiness in the general case.
> >> extern "C" [...] int
> >> convert_document (const unsigned char *
> >> unsigned long source_length,
> >> const char *
> >> unsigned char ** buffer,
> >> unsigned long * length,
> >> char ** content_type);
> Anyway, I'm still only thinking about it.
> Regards, Frank
> Francis James Franklin
> "No, she really likes me. She told me I look like
> Britney Spears, and why
> would you say that to somebody you don't like?"
> --- Elle Woods
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
This archive was generated by hypermail 2.1.4 : Tue Jul 16 2002 - 03:46:45 EDT