Bug 134090 - Need support for PPTX themes
Summary: Need support for PPTX themes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: OOXML-Doc-Themes
  Show dependency treegraph
 
Reported: 2020-06-18 04:14 UTC by ch-docfound
Modified: 2021-01-22 08:52 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
pptx file with 1 theme, multiple layouts, and 2 slides (34.23 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2020-07-03 17:12 UTC, ch-docfound
Details
pptx -> Impress -> pptx round trip results (39.95 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2020-07-03 17:22 UTC, ch-docfound
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ch-docfound 2020-06-18 04:14:00 UTC
In recent-ish versions of Powerpoint there is a concept of "Themes". It would be nice if Impress supported importing and exporting (and round-tripping) presentations that make use of themes. Now if I round-trip a file from PPT -> Impress -> PPT I get a duplication of master slides and there is no way to edit the masters of the theme in Impress.
Comment 1 Heiko Tietze 2020-07-03 10:11:29 UTC
Well, no objection from UX POV. Please add a Powerpoint example.
Comment 2 ch-docfound 2020-07-03 17:12:17 UTC
Created attachment 162617 [details]
pptx file with 1 theme, multiple layouts, and 2 slides

This is a simple pptx file with two slides. There is one PPT "Theme" ("Office Theme") and Slide 1 uses the "Title Slide Layout" while slide 2 uses "Title and Content Layout".
Comment 3 ch-docfound 2020-07-03 17:21:15 UTC
Attachment 162617 [details] is a simple pptx file with two slides. There is one PPT "Theme" ("Office Theme") and Slide 1 uses the "Title Slide Layout" while slide 2 uses "Title and Content Layout".

However, when I open this in Impress, I see two "Master Slides" named "Title Slide" and "Title and Content", each slide using one of the two Impress "Master Slides" and both using the "Title Slide" Impress "Layout".

1. The first major problem, which isn't really the focus of this bug and should probably receive its own bug, is that there doesn't seem to be a way to edit LO "Layouts". You can edit a "Master Slide" but the Layouts are fixed.

2. The second major problem is that there seems to be a mismatch between pptx "Themes" and Impress "Master Slides". The notion of PPT "Themes" seems to match more closely to Impress "Master Slides", yet individual PPT "Layouts" are converted to individual Impress "Master Slides" rather than Impress "Layouts".

3. The third major problem is that if I write this back out as a PPT, I now have two PPT "Themes" each with multiple "Layouts". This is not what I want.
Comment 4 ch-docfound 2020-07-03 17:22:52 UTC
Created attachment 162618 [details]
pptx -> Impress -> pptx round trip results

This file now has two ppt "themes", each with multiple layouts. It started of as a pptx file with one theme using two distinct layouts. opening in Impress and saving as pptx yields a pptx file with two themes.
Comment 5 QA Administrators 2020-07-04 03:37:45 UTC Comment hidden (obsolete)
Comment 6 Heiko Tietze 2020-07-09 13:52:44 UTC
I have to admit to not understand this Powerpoint vs. Impress comparison. What I understand is that you can place different themes in one master, for example one with blue background the other with red. And both have master slides for title and blank slides (I'm confused by the number of masters in MSO).
Comment 7 ch-docfound 2020-07-10 16:55:12 UTC
There are two separate but similar concepts. Both, roughly, fall under the idea of "master" slides, but they are different. The idea is that there are both "themes" and "layouts".

"Themes" have a set of layouts associated with them. In Impress, one can choose a master to apply to a slide via Properties : Slide : Slide Master. The "Layout" can be selected via the Properties : Layouts.

(One problem (not the focus of this bug) is that while there is a way to edit a Slide Master, there is no UI (that I can find) for editing slide "Layouts")

In PPT, one can choose both the "Theme" and the "Layout" to apply to a slide. And the master for both the theme and the layout can be edited.

The focus of this bug is that if, in Impress, I have a presentation that has slides that use one Master and two "Layouts" and I go to save that as a PPTX file, that file has two Masters (or two Themes). There is a mismatch between theme and layout that leads to an explosion of masters when one goes tries to save / load PPTX files.