Bug 147440 - Custom shape support for placeholder shapes
Summary: Custom shape support for placeholder shapes
Status: UNCONFIRMED
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: QA:needsComment
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-15 13:19 UTC by Andras Timar
Modified: 2022-03-07 03:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Timar 2022-02-15 13:19:00 UTC
This is a follow-up of bug #132557

It appears that placeholder shapes with service names:
  - com.sun.star.presentation.TitleTextShape
  - com.sun.star.presentation.DateTimeShape
  - com.sun.star.presentation.FooterShape
  - com.sun.star.presentation.SlideNumberShape
  ...

Are unable to have custom shapes in Impress. (i.e. can't be
ellipse, triangle etc.). These presets get specified in OOXML
with <a:prstGeom prst="ellipse"/> inside spPr (shape properties).

If we opt in and import them as custom shapes, it is recognized by the document model as missing title/subtitle in a slide and some new placeholders appear on the slide.

It is possible to disable these for footer placeholders, so in the implementation, we import footers as custom shapes only to slides. At the initial import correctly displaying the slide.

But if the imported slideshow gets edited and a new slide with footers gets added, the footers in the new slides would become rectangles. (This is because we can't import footers into the master slides as custom shapes - doing so would mean that they would get inserted to each page without considering any placeholder context)

A better fix would be implementing custom shape support for placeholder shapes. 
It would be a large feature work.