Issue 49908

Summary: API: Get the index of a named or referenced Element.
Product: Base Reporter: lleland <nospam>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m105   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description lleland 2005-05-26 13:25:06 UTC
We need a direct way to obtain the IndexContainer index of a named or referenced
FormComponent.

API programmers use the name of a control to initially identify it, and the
reference to that control from that point on. However, some API services call
for the index of the control for use with the form IndexContainer service. To
find this index, you must loop through the IndexContainer elements in a highly
inefficient sequential search until you find one that matches. This renders
useless the more efficient hashed name search that got you the component to
begin with.
Comment 1 marc.neumann 2005-05-26 13:33:15 UTC
reassign to the developer
Comment 2 Frank Schönheit 2005-05-26 13:35:01 UTC
confirming, targeting. Would make sense, indeed.
Comment 3 Frank Schönheit 2005-05-26 14:39:15 UTC
accepting
Comment 4 Marcus 2017-05-20 10:45:32 UTC
Reset the assignee to the default "issues@openoffice.apache.org".