Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||API: Get the index of a named or referenced Element.|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||ACCEPTED ---||QA Contact:|
|Issue Type:||ENHANCEMENT||Latest Confirmation in:||---|
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