[api-dev] Get access to addon_toolbar

2010-07-29 Thread Thomas Krumbein
Hey, I tried to get access to a toolbar created via addon.xcu of an extension. Part of my addon.xcu: .. node oor:name=AddonUI node oor:name=OfficeToolBar node oor:name=MAK017_AL.OfficeToolBar oor:op=replace node oor:name=m1 oor:op=replace ... Trying to access later this

Re: [api-dev] Re: ERRCODE_IO_CANTWRITE writing a PDF file

2010-07-29 Thread Fernand Vanrie
Joaquin , Have you tryed storeAsURL ? greetz Fernand I forgot to include a link to the code I'm using: http://pastebin.com/Xusn0XR2 On Tue, Jul 27, 2010 at 9:11 PM, Joaquin Cuenca Abela e98cu...@gmail.com wrote: Hi, I'm trying to convert some files from .odt to .pdf using a modified

Re: [api-dev] Get access to addon_toolbar

2010-07-29 Thread Carsten Driesner
Thomas Krumbein wrote: Hey, I tried to get access to a toolbar created via addon.xcu of an extension. Part of my addon.xcu: . node oor:name=AddonUI node oor:name=OfficeToolBar node oor:name=MAK017_AL.OfficeToolBar oor:op=replace node oor:name=m1 oor:op=replace .. Trying

Re: [api-dev] Re: ERRCODE_IO_CANTWRITE writing a PDF file

2010-07-29 Thread Joaquin Cuenca Abela
Hi Fernand, yes, I tried it with the same result: $ cat np.doc | python DocumentConverterStream.py -f doc -t pdf --connect=pipe,name=oood-1 np.pdf Traceback (most recent call last): File DocumentConverterStream.py, line 328, in module options.from_format, options.to_format) File

Re: [api-dev] Get access to addon_toolbar

2010-07-29 Thread Thomas Krumbein
Hey Carsten, Carsten Driesner schrieb: [..] Hi Thomas, There is no way to access an add-on toolbar via the configuration API. These toolbars are not stored in the UI configuration base, but in the Office configuration. They are created on-demand via the Addons.xcu and not by reading a

Re: [api-dev] Get access to addon_toolbar

2010-07-29 Thread Carsten Driesner
Thomas Krumbein wrote: Hey Carsten, Carsten Driesner schrieb: [..] Hi Thomas, There is no way to access an add-on toolbar via the configuration API. These toolbars are not stored in the UI configuration base, but in the Office configuration. They are created on-demand via the Addons.xcu and

Re: [api-dev] Starting an Extension with a keystroke

2010-07-29 Thread Thibault Vataire
Hi, The assignation appears in the shortcuts list, but unfortunately it isn't possible to change it from this dialog. Regards, Thibault. - Mail Original - De: Dietmar Hiller dhill...@gmx.de À: dev@api.openoffice.org Envoyé: Mercredi 28 Juillet 2010 23:13:20 Objet: Re: [api-dev]

Re: [api-dev] Re: ERRCODE_IO_CANTWRITE writing a PDF file

2010-07-29 Thread Bernard Marcelly
Message de Joaquin Cuenca Abela date 2010-07-29 11:58 : Any other ideas? Thanks! For what's worth (I am not fluent in Python), I do not understand this code (and similar for output) : self._toProperties( InputStream=inputStream, FilterName='writer8', ReadOnly=True) which calls this :

[api-dev] Announcement: IDL-XML-Converter - A Package for Transforming IDL into XML available ...

2010-07-29 Thread Rony G. Flatscher
Hi there, today a student, Lukas Schreier, turned in his final version of a seminar paper about IDL-XML-Converter - A Package for Transforming IDL into XML. Here's the author's abstract: Author's abstract: The IDL-XML-Converter-Package is used to convert IDL to XML files. Those XML