Issue 96406 - presentation:placeholder missing in placeholder shape
Summary: presentation:placeholder missing in placeholder shape
Alias: None
Product: Impress
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.4.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2008-11-21 04:40 UTC by zagge
Modified: 2017-05-20 11:11 UTC (History)
1 user (show)

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

File showing the problem (11.82 KB, text/plain)
2008-11-21 04:40 UTC, zagge
no flags Details
this time using the correct mime type (11.82 KB, application/vnd.oasis.opendocument.presentation)
2008-11-21 04:42 UTC, zagge
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description zagge 2008-11-21 04:40:02 UTC
In a presentation generated by ooimpress the draw:frame as in the following is 
not shown during the presentation.

    <style:master-page style:name="Default" style:page-layout-name="PM1" 
      <draw:frame presentation:style-name="pr1" draw:text-style-name="P1" 
draw:layer="backgroundobjects" svg:width="22.789cm" svg:height="2.338cm" 
svg:x="3.81cm" svg:y="0.837cm" presentation:class="title">
          <text:p text:style-name="P1">Click to edit the title text 

However it misses the  presentation:placeholder="true" attribute which should 
define it as a placeholder shape.

According to ODF the shape should be marked as a presentation:placeholder 
shape by setting the attribute to true. This also happens most of the time for 
presentations generated by ooimpress. For me it looks like there are some 
cornercases where somehow this attribute gets lost but the object is still 
handled as one of those.

Comment 1 zagge 2008-11-21 04:40:31 UTC
Created attachment 58175 [details]
File showing the problem
Comment 2 zagge 2008-11-21 04:42:00 UTC
Created attachment 58176 [details]
this time using the correct mime type
Comment 3 wolframgarten 2008-11-21 07:55:23 UTC
Reassigned.  Please handle.
Comment 4 clippka 2009-02-25 10:13:46 UTC
changing target
Comment 5 clippka 2009-07-30 15:47:36 UTC
please see also issue 103179.

I think OOo exported such placeholders on the masterpage with missing
presentation:placeholder="true" if the user changed the default text.

But I agree that such kind of shapes on the masterpage should always be exported
with presentation:placeholder="true" and therefore should not be visible when on
a master page and a slide using this master page is rendered.

I will fix this so that OOo will only export them with

For compatibility reasons I think it is safe to assume that all shapes on the
master with a presentation:class attribute are placeholders. I will implement
this behavior for OOo.

Please note that the presentation classes "header", "date-time", "footer" and
"page-number" are different as their visible state is defined by the page
"presentation:display-header", "presentation:display-footer",
"presentation:display-date-time" and "presentation:display-page-number"
Comment 6 clippka 2009-09-15 14:46:19 UTC
Reading the OpenDocument specification again it states in 18.618. that ...

"The presentation:placeholder attribute specifies if a shape is a placeholder or a 
presentation object with actual content."

So there is nothing said about visibility here. And the meaning is just to
differentiate between presentation shapes that is a placeholder and a
presentation shape that has content. This is needed since there is no other way
to identify a placeholder shape

So this issue is mainly about the OpenDocument specification not to specify
visibility of presentation shapes on master pages. I will use this issue as a
reminder to write a recomendation to the oasis tc to include presentation shape
visibility in chapter "9.7 Presentations Shapes".

In short, presentation shapes (shapes with a non empty presentation:class
attribute) on master pages are never visible when viewed as a background of a
slide. The only exceptions are the presentation:class values "header", "footer",
"date-time" and "page-number" which visibility behaviour is already documented
in "18.595. presentation:class".

Nevertheless I will use issue 103179 to implement in to always
hide presentation shapes from the master when viewed as a background of a slide.
Comment 7 clippka 2010-06-15 12:52:35 UTC
since the odf tc is still working on ODF 1.2 finalisation, have to shift target
for this reminder
Comment 8 Marcus 2017-05-20 11:11:15 UTC
Reset assigne to the default "".