On 02/04/2013 06:05 AM, Muthu Subramanian K wrote:
Hi,
I was trying to fix a problem which occurs while the user tries to open
a pptx file which has a .ppt extension. LibreOffice seems to throw a
'broken file' dialog and providing options to the user to repair it.
It's the same issue as
https://bugs.freedesktop.org/show_bug.cgi?id=59426
which I'm looking into at the moment.
I was trying to fix it by avoiding that annoying dialog and opening the
pptx cleanly, but unfortunately, I don't know the 'repair' functionality
of LibreOffice much and I don't want to break existing 'fix/repair'
functionality.
It's likely an issue with the type detection process, which I've
reworked during 3.6 cycle. So it's probably best if I look into this
since I know this code.
It would be really helpful, if somebody shares (link(s) to) slide
deck(s) (ppt and/or pptx and/or odp), which (is actually broken and)
when opened with LibreOffice shows the repair dialog and actually fixes
the slides.
It's simple to create a test document. Save any pptx document, and
change its extension to ppt. Anyways, the type detection process is
supposed to disregard the extension when trying to determine its format
type, so there is something wrong there.
Best,
Kohei
--
Kohei Yoshida, LibreOffice hacker, Calc
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice