Monday, November 08, 2010 at 12:03 AM.

system.verbs.builtins.html.ucmds.getOutlineHtml

on getOutlineHtml (adroutline, indentstring, outdentstring, linestartstring, lineendstring) {
	<<get the text of the outline, represented as an HTML outline
	local (data);
	pack (adroutline^, @data);
	return (appleEvent (@html.ucmds.outlineops, 'ucmd', 'ohtm', 'prm1', string (indentstring), 'prm2', string (outdentstring), 'prm3', string (linestartstring), 'prm4', string (lineendstring), '----', data))}
	<<return (appleEvent ('OUTS', 'outs', 'ohtm', 'prm1', string (indentstring), 'prm2', string (outdentstring), 'prm3', string (linestartstring), 'prm4', string (lineendstring), '----', data))



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.