Apache OpenOffice (AOO) Bugzilla – Issue 99883
Enable auto complete in XPath expression builder
Last modified: 2014-03-05 12:54:43 UTC
Rational: As it stands now, it takes a long time to build an XForm document. If we enable auto complete, then that will both enhance user experience as well as speed up the form building process. Details: Auto complete (OO.o completes or lists possible completions) in the condition window would be VERY helpful. An example of an auto complete might be if your instance data had two existing nodes called /MainForm/Information/Type and /MainForm/Information/Style where you wanted to write an XPath expression using the first node, OO.o would help. As you typed /MainForm/In OO.o would then provide the completion option, namely, /Information. When and where OO.o might do this is described below. Steps to perform enhancement: Open a new XForm File New XML Form Document Ensure form control toolbar is enabled: View Toolbars Form controls Ensure form design toolbar is enabled: View Toolbars Form design Ensure XML Data Navigator window is enabled: Withing Form design toolbar toggle on XML data navigator using icon Populate instance data in XML data navigator Click the instance tab in XML data navigator Highlight the first instance Click to add element or add attribute . . . Add a few . . . Set a condition Highlight the first instance Click to edit element In the window that comes up, select any options under the settings section, say "Calculate" Checkbox the calculate option and then click the calculate condition button This brings up the add condition window Specify condition and expect OO.o to autocomplete our typings In this window there are two sections: Condition and Result In the Condition section, type /MainForm/In and wait for a few seconds In the Result section of this window I should see my various options such as /Information If I press the tab button on my keyboard, OO.o would complete the entry in the condition window to read /MainForm/Information. As I continue to type an extra slash, /MainForm/Information/, OO.o displays in the Result window /MainForm/Information/Type and /MainForm/Information/Style. As I continue to type an extra S, then OO.o displays in the Result window /Style. If I press the tab button on my keyboard, OO.o would complete the entry in the condition window to read /MainForm/Information/Style. Note: This autocompletion is not a new concept but used in the UNIX shell environment, the Cisco router environment, and other environments. It is very helpful.
Reassigned to MSC
Confirmed with AOO410m14(Build:9760) - Rev. 1573062 2014-03-01_04:11:01 - Rev. 1573123 Debian