Apache OpenOffice (AOO) Bugzilla – Issue 96406
presentation:placeholder missing in placeholder shape
Last modified: 2017-05-20 11:11:15 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:style-name="dp1"> <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"> <draw:text-box> <text:p text:style-name="P1">Click to edit the title text format</text:p> </draw:text-box> </draw:frame> 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. Thorsten
Created attachment 58175 [details] File showing the problem
Created attachment 58176 [details] this time using the correct mime type
Reassigned. Please handle.
changing target
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 presentation:placeholder="true". 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 properties "presentation:display-header", "presentation:display-footer", "presentation:display-date-time" and "presentation:display-page-number"
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 OpenOffice.org to always hide presentation shapes from the master when viewed as a background of a slide.
since the odf tc is still working on ODF 1.2 finalisation, have to shift target for this reminder
Reset assigne to the default "issues@openoffice.apache.org".