https://bugs.documentfoundation.org/show_bug.cgi?id=100379

            Bug ID: 100379
           Summary: ODG file exported from ODP is opened as presentation
                    (Impress) instead of graphic (Draw)
           Product: LibreOffice
           Version: 4.4.0.3 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]

It is possible to save a graphics file (ODG) from Impress using the Save as
dialog. However, the resulting file is opened with Impress again instead of
Draw

Steps
1) Create a ODP file using Impress
2) Save as ODG from File -> Save as command
3) Reopen making from the "recent files" dropdown

Result:
The ODG file is opened using Impress instead of Draw

Expected
Since one have saved a ODG, the file should be opened with Draw.


Workaround
a) Extract the zipfile,
b) change the content of the file "mimetype" from
"application/vnd.oasis.opendocument.presentation" to 
application/vnd.oasis.opendocument.graphics".
c) Rezip the file and change the extention to ODG
d) Open with LibO. It will argue that the file is damaged, but it can repair
it.

Workaround 2
a')Save your file as FODP 
b')Open that file with a text processor with UTF-8 encoding
c')Look for the string "office:mimetype" and replace "presentation" with
"graphics"
d') Save that file with the extension FODG
e') Open with LibO: Draw will be the application used.


Note: I have selected the oldest version in which I could reproduce the bug.
However, I suspect that this has been inhereted from OOo.

OS: Kubuntu Linux x64

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to