Apache OpenOffice (AOO) Bugzilla – Issue 61416
draw:name spec problem
Last modified: 2017-05-20 11:11:12 UTC
Hello, During the work on the custom slide show feature in kpresenter I think I found a problem in the opendocument spec. Background: In 9.1.4 Drawing Pages there is defined that a page name can be set by using the draw:name attribute. It also says that if it is used it has to be unique. Also there is a unique draw:id attribute for a page. Problem in OOo-impress: If you name Slide 1 "page1" and you save and reload the document it will say "Slide 1" as name for the slide. This is because OOo-impress uses pageX as the default when none is there. With this it is also possible to trick OOo-impress to generate 2 times draw:name="page3" if you set no name for slide 3 and set the name for slide 2 to page3. If you do so the custom slide show feature will no longer work as expected. To solve the problem of having such problems in the first place I think the OpenDocument spec should be changed to use draw:id to identify the different pages instead of the draw:name as the draw:name can changed by user input. Also the draw:name should not have to be unique.
Reproducible. Reassigned.
this is a long standing issue that needs a rewrite of core functionality and also causes incompatible file format to older OOo versions. I will see if I can fit it in the tight OOo 3.0 schedule where we plan to get incompatible anyway...
since there are currently discussions in the oasis tc to switch to xml:id and replace draw:id, I'm currently do not want to change anything that could be outdated soon. Retarget to 3.x for now
Reset assigne to the default "issues@openoffice.apache.org".