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
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'
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
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