Subject: Re: HOWTO use the perl bindings
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Wed Jun 20 2001 - 09:02:40 CDT
Vlad Harchev wrote:
>
> On 18 Jun 2001, Joaquín Cuenca Abela wrote:
>
> Hi,
>
> In the HOWTO you asked what "RTF attic" is for - the answer is - it's for
> exporting RTF for StarOffice 5.x and other broken software (if you export text
> to plain rtf, import it in some app and see every character duplicated - it's
> broken and "RTF attic" should be used for exporting data for that app).
I'll just take this opportunity to point out that "RTF attic" is
one example where the current filetype system is broken. We cannot
do commandline batch conversions to "RTF attic" because batch
conversions are based on file suffix alone.
Currently, the windows SaveAs dialog also won't let you save this
format. The dialog doesn't return the filetype selected to save as,
but the suffix, the suffix is later used to find the filetype to
save as. The normal RTF exporter is found first so it is used.
There are other places where we assume file suffixes, importers,
and exporters to have a 1:1:1 mapping but it doesn't work this way.
I just want to be sure we are all aware of this shortcoming.
Andrew.
-- http://linguaphile.sourceforge.net _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
This archive was generated by hypermail 2b25 : Wed Jun 20 2001 - 09:00:46 CDT