<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi.<div class=""><br class=""></div><div class="">I am trying to reuse the online javascript in a webkit frame, the setup works in general, but I have a couple of questions, which seems unanswered in the available doc.</div><div class=""><br class=""></div><div class="">I want to start online as we use it for ESC. I have a file URL so I am ready to start LO with a document:</div><div class=""><br class=""></div><div class="">1) looking in loleaflet main.js seems like the natural, but how exactly should the call be:</div><div class=""> Assuming host = myHost, directory=loleaflet, I would have assumed the call should be something like:</div><div class=""> <a href="https://myHost/loleaflet/main.js?url=//http:myHost/myDocs/myDocument.odt" class="">https://myHost/loleaflet/main.js?url=//http:myHost/myDocs/myDocument.odt</a></div><div class=""> but that does not work…I would really appreciate to read the url to call </div><div class=""><br class=""></div><div class="">2) The current main builds a topline menu, similar (but limited) to the desktop version. I would like to take advantage of the “natural” menus, so is it posible to start the javascript and eliminate the menus (basically only have the iframe and the content). </div><div class=""> It seems the iframe (when loaded) does not contain all the javascript needed to run it.</div><div class=""><br class=""></div><div class="">3) the file Kit/Kit.cpp contains a long cascade of if else statements, because commands are communicated as strings.</div><div class=""> is this on purpose ? why not have an Kit_enum.hpp that is converted to Kit_enum.js and then have the commands be numbers. The advantage would be we can use simple switch statements which are a lot faster (and looking at the performance during the esc-meeting, we could do with better performance).</div><div class=""> in case this is a wanted feature, I can make a gerrit patch, so it can be properly reviewed.</div><div class=""><br class=""></div><div class="">Thanks in advance for a prompt answer.</div><div class="">rgds</div><div class="">jan I.</div></body></html>