Bug 43547 - Images and shapes lose name, title, and/or description when exporting ODF to OOXML
Summary: Images and shapes lose name, title, and/or description when exporting ODF to ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard: interopability
Keywords: accessibility, filter:ooxml
: 43546 (view as bug list)
Depends on:
Blocks: DOCX-Limitations a11y OOXML-Shapes DOCX-Images
  Show dependency treegraph
 
Reported: 2011-12-06 04:10 UTC by Christophe Strobbe
Modified: 2019-02-28 21:58 UTC (History)
10 users (show)

See Also:
Crash report or crash signature:


Attachments
Two slides: one containing images without a name, one containing images with a name (47.19 KB, application/vnd.oasis.opendocument.presentation)
2011-12-06 04:10 UTC, Christophe Strobbe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Strobbe 2011-12-06 04:10:20 UTC
Created attachment 54147 [details]
Two slides: one containing images without a name, one containing images with a name

When exporting ODP from Impress to the Microsoft PowerPoint format PPTX the title (a text alternative for accessibility) on images is lost.

Steps to reproduced the issue:
1. Create a new presentation in Impress.
2. Add an image and give it only a title (right-click, choose "Description" from the context menu and fill in "Title").
3. Add an image and give it only a description (right-click, choose "Description" and fill in "Description").
4. Add an image and give it both a title and a description (right-click, choose "Description" and fill in both fields in the dialog window).
5. Save the file as "Microsoft PowerPoint 2007/2010 XML (.pptx)".
6. Open the PPTX file in Microsoft PowerPoint 2010 (or an older version that supports PPTX), right-click on each image, choose "Format picture", then "Alt text": the Title field is empty (while the Description field is preserved).

Note: you can give images a name (so they become visible in the Navigator), but this does not make a difference.

Desired behaviour:
When exporting to PPTX, ODF's title and description should be mapped to
DOCX's title and description.
Comment 1 Christophe Strobbe 2012-01-27 06:31:41 UTC
While trying to confirm this bug in LibreOffice 3.5.0 RC1, it turned out that PPTX export loses the images: there are no images in the presentation when the exported PPTX is opened LibreOffice 3.4.3 or 3.5.0 RC1, or when opening the file in Microsoft Office 2010; Office 2010 reports that: "PowerPoint found a problem with the content in filename.pptx]. PowerPoint can attempt to repair the presentation. If you trust the source of this presentation, click Repair." (When unzipping the PPTX file to inspect the XML, there is no p:pic element for the image, nor a p:cNvPr element for the title or the description.) (See bug 41992.)
Comment 2 bfoman (inactive) 2012-07-06 05:57:02 UTC
Confirmed with:
LO 3.5.5.3 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Titles are missing. Second CC image on 1st page also. Checked with PowerPoint 2010.
Comment 3 QA Administrators 2015-02-19 15:51:03 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2015-03-08 20:08:25 UTC
Reproduced with attachment 54147 [details].

Win 7 Pro 64-bit, LibO Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Locale: fi_FI
Comment 5 V Stuart Foote 2015-03-08 20:16:54 UTC
still valid a11y issue
Comment 6 Joel Madero 2015-03-11 18:20:21 UTC
Prioritizing:
*Please do not adjust the priority without consulting QA on the mailing list or in the chat room http://webchat.freenode.net/?channels=libreoffice-qa

Priorities are set per this chart: https://wiki.documentfoundation.org/File:Prioritizing_Bugs_Flowchart.jpg

Major - loss of data
High - default seems appropriate, alternative text is not widely used but is quite important for those who do use it.
Comment 7 Robinson Tryon (qubit) 2015-12-10 03:37:49 UTC Comment hidden (obsolete)
Comment 8 Yousuf Philips (jay) (retired) 2016-09-07 03:18:46 UTC
So in impress and writer, an exported image looses its title, while in impress a exported shape loses its name, title and description.

So the correct export format should look like this.

<p:cNvPr id="43" name="Image Name" title="Image Title" descr="Image Desc" />

This should be something easy to fix.
Comment 9 Yousuf Philips (jay) (retired) 2016-09-07 03:29:44 UTC
*** Bug 43546 has been marked as a duplicate of this bug. ***
Comment 10 Cor Nouws 2016-09-13 13:26:55 UTC
wasn't it that Ms Word doesn't have names for images, or is that just tables?
Comment 11 Yousuf Philips (jay) (retired) 2016-09-13 14:34:45 UTC
(In reply to Cor Nouws from comment #10)
> wasn't it that Ms Word doesn't have names for images, or is that just tables?

They have title and description but no renaming the name (id) of the image. Same for tables.
Comment 12 QA Administrators 2017-12-10 16:40:12 UTC Comment hidden (obsolete)
Comment 13 Christophe Strobbe 2018-10-22 14:52:36 UTC
I retested this in LibreOffice Impress 6.1.2.1 on Manjaro Linux; the issue is still present when exporting to PPTX. Both Title and Description are empty after exporting to PPTX ("PowerPoint 2007-2019") when I reopen the PPTX file in Impress.

The only difference in the process is that you need to select 'Description' from the Format menu in order to access the Title and Description, instead of using the context menu.