Issue 61416 - draw:name spec problem
Summary: draw:name spec problem
Status: ACCEPTED
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOo 2.0
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 10:31 UTC by zagge
Modified: 2017-05-20 11:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description zagge 2006-01-31 10:31:59 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.
Comment 1 wolframgarten 2006-01-31 11:30:24 UTC
Reproducible. Reassigned.
Comment 2 clippka 2008-01-10 07:23:09 UTC
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...
Comment 3 clippka 2008-05-26 09:20:41 UTC
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
Comment 4 Marcus 2017-05-20 11:11:12 UTC
Reset assigne to the default "issues@openoffice.apache.org".