https://bugs.freedesktop.org/show_bug.cgi?id=53412

--- Comment #1 from Roman Eisele <b...@eikota.de> 2012-08-19 10:16:04 UTC ---
Created attachment 65764
  --> https://bugs.freedesktop.org/attachment.cgi?id=65764
A simple RTFD sample file (compressed as ZIP archive to allow me to attach it)

REPRODUCIBLE with LibreOffice 3.6.1.1 (Build ID: 4db6344), German langpack
installed, on MacOS X 10.6.8 (Intel).

When you try to open a .rtfd file, LibreOffice shows in in the file selection
dialog (suggesting that it is able to open that file!), but if you click "OK"
nothing happens.

IMHO we would need an enhancement request for the ability to open .rtfd files
(there is no guarantee that LibO can open them, so it is not a bug that it
can’t do so ;-); but it is a *bug* that LibreOffice just fails silently on any
attempt to open them -- therefore I leave this as bug report.

To find out more about .rtfd files, see
   http://en.wikipedia.org/wiki/RTFD

A .rtfd file ("Rich Text Format Directory") is not a simple file, but a
"bundle", i.e. a special kind of directory, which contains both the main RTF
data (in a file called "TXT.rtf") and all images, just as image files. Insofar
.rtfd files are similar to .odt files, just that they are not compressed and
are based on RTF, not on XML.

Matt Rosin is right that .rtfd files are common on MacOS X, and therefore it
would be nice if LibreOffice could handle them.

I see three possible stages of .rtfd support:
a) Give a meaninful error message on attempts to open .rtfd files, instead of
   failing silently. This is a really important bug fix.
b) First enhacement level:
   On attempts to open .rtfd files, just open the "TXT.rtf" file inside of
   them, to recover at least the text and formatting.
   This should be rather easy to implement.
c) Second enhancement level:
   Open the "TXT.rtf" file inside of the .rtfd file AND insert all images from
   the .rtfd file directly into the resulting document (embedding images
instead
   of linking them).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to