Issue 97241 - Powerpoint/Excel export fails to store relative image links
Summary: Powerpoint/Excel export fails to store relative image links
Status: CLOSED FIXED
Alias: None
Product: Impress
Classification: Application
Component: save-export (show other issues)
Version: OOo 3.0
Hardware: PC All
: P3 Trivial with 4 votes (vote)
Target Milestone: 3.4.0
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: oooqa, regression
Depends on:
Blocks:
 
Reported: 2008-12-14 08:41 UTC by klute
Modified: 2017-05-20 10:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample directory containing everything described in the bug report (649.68 KB, application/x-compressed)
2008-12-14 08:42 UTC, klute
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description klute 2008-12-14 08:41:17 UTC
Powerpoint export fails to store relative image links, but instead always stores
absolute ones. That means you cannot export a presentation in powerpoint format
containing links.

Here are detailed steps to reproduce the problem. A sample presentation with an
image link is included for your convenience.

1. Create a sample presentation.

2. Save it into a working directory.

3. Copy an image file to the working directory.

4. Make sure that Ooo's "load/save" options demand that relative file links are
stored, not absolute ones.

5. Insert the image file as a link into the presentation.

6. Save the presentation in the Open Document Format into the working directory.

7. Save the presentation in the powerpoint format into the working directory.

8. Close the presentation.

9. Rename the working directory, so that absolute links would fail.

10. Open the ODF presentation: The image appears because the link has been
stored relatively.

11. Open the powerpoint presentation: The image is broken and the failing
absolute link is displayed instead.
Comment 1 klute 2008-12-14 08:42:41 UTC
Created attachment 58809 [details]
Sample directory containing everything described in the bug report
Comment 2 Rainer Bielefeld 2008-12-14 11:25:11 UTC
I checked with "Ooo 3.0.0 (DE) Multilingual version German UI WIN XP: [OOO300m9
(Build9358)]", but I had some difficulties to confirm the reported problem,
because the exported .ppt was completely broken, no image will be shown with MS
PP viewer version 8, only placeholders. Same bad result with MS PP viewer 2007
version 12.0.4518. My general experience is that 3.0 exports are completely
unusable with MS PP viewer. 

When I open a self created .ppt with linked images similar to the attached
sample, (with 3.0) after I modified a name of a folder in the path for the
document (or the attached sample itself), I see the old path name in an absolute
link for the image. 

Works fine with "2.4.1  Multilingual version German UI WIN XP:
[680m17(Build9310)]" and an own new test document.

This makes OOo unusable for document interchange with MS Office. 
Comment 3 Rainer Bielefeld 2008-12-14 11:46:36 UTC
I also checked with "Ooo 3.1 Multilingual version English  UI WIN XP: [DEV300m36
(Build 9369)]":
- General problems ("does not work at all") seem to be solved
- reported relative path problem still exists

I see this as a show stopper for 3.1
Comment 4 wolframgarten 2008-12-15 09:18:33 UTC
Reproducible. Reassigned.
Comment 5 sven.jacobi 2009-03-18 12:49:55 UTC
changed target
Comment 6 sven.jacobi 2009-09-28 12:47:38 UTC
changed target
Comment 7 sven.jacobi 2011-02-11 13:51:18 UTC
accepted
Comment 8 sven.jacobi 2011-03-08 15:45:54 UTC
"Works fine with "2.4.1  Multilingual version German UI WIN XP:
[680m17(Build9310)]" and an own new test document.".. because in 2.4.1
we only saved embedded graphic objects. A workaround to get the same results as in 2.4.1 is to break all links (edit/links/break links).

Saving linked graphics has been added as new feature, but this feature doesn't take care of relative links, I will change this.
Comment 9 sven.jacobi 2011-03-10 16:43:35 UTC
This issue has been fixed now.
Comment 10 daniel.rentz 2011-03-15 13:29:52 UTC
Added export of relative image links in Excel export filter
Comment 11 wolframgarten 2011-04-07 08:42:00 UTC
Verified in CWS.