[libreoffice-users] loadComponentFromURL Document Type Detection Failure

2018-09-08 Thread dCipher
Hi I have been using the loadComponentFromURL for years with automation but recently it has given errors saying that the documentation type detection failed. So I wondered if there is a property I could set that indicates the document type. I have found a list of document types for SCalc but

Re: [libreoffice-users] loadComponentFromURL into _top frame at startup crashes LO

2015-05-31 Thread X Roemer
sorry, forgot some code in the listener.m it should be: class Doc_Event_Listener(unohelper.Base,XDocumentEventListener): def documentEventOccured(self,ev): if ev.EventName == 'OnLayoutFinished': if document.Name == '': document.Name = 'xxx'

[libreoffice-users] loadComponentfromUrl

2012-10-04 Thread Walther Koehler
Hi, When I open a document in writer (by menu/open or recently used or new), it opens a frame with full window size. bingo. When I open the same document via a basic makro using loadComponentfromUrl(sURL, _blank, 0, args()) it opens in a frame maximised vertically but not horizontally. All

Re: [libreoffice-users] loadComponentfromUrl

2012-10-04 Thread Tom Davies
free) but i suspect you have already gone through those.  Regards from Tom :)  From: Walther Koehler w.koeh...@onlinemed.de To: users@global.libreoffice.org Sent: Thursday, 4 October 2012, 17:42 Subject: [libreoffice-users] loadComponentfromUrl Hi, When I