Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-12 Thread Stephan Bergmann
Kim Kulak wrote: While translating FirstLoadComponent.java to Python I've encountered problems with this one line of code: System.out.println(elemType.getTypeName()); In FirstLoadComponent.java, elemType is of type com.sun.star.uno.Type, the Java mapping of the UNO type TYPE.

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-12 Thread Stephan Bergmann
Kim Kulak wrote: I've translated the one call to com.sun.star.comp.helper.Bootstrap.bootstrap() in FirstUnoContact.java to three calls in Python: ### com.sun.star.uno.XComponentContext xContext = ### com.sun.star.comp.helper.Bootstrap.bootstrap(); localContext =

Re: [api-dev] Hiding a textField throught the API

2005-09-12 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Could someone summerize the whole thread it looks like a nice code-snippet or at least could someone post the working code lines? Tom Fabricio Lemos wrote: Thank you again Stephan. Now it´s doing what I want. Just for curiosity and future needs:

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-12 Thread Darragh Sherwin
Kim Kulak wrote: While translating FirstLoadComponent.java to Python I've encountered problems with this one line of code: System.out.println(elemType.getTypeName()); elemType = xSpreadsheets.getElementType() returns a com.star.uno.TypeClass Enum. It only has 1 value depending on

Re: [api-dev] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-12 Thread Galmes Pierre-Andre
Le Vendredi 09 Septembre 2005 14:22, [EMAIL PROTECTED] a écrit : Selon Galmes Pierre-Andre [EMAIL PROTECTED]: Is there a way I could checkout the sources to my PC ? Do I need to be registered somewhere to be able to do so ? I tryed the following command, but it failed in the following way :

Re: [api-dev] [ooeclipseintegration] OpenOffice.org integration in Eclipse

2005-09-12 Thread Laurent Godard
Hi I tryed the following command, but it failed in the following way : cvs -d:pserver:[EMAIL PROTECTED]:/cvs co -r SRC680_m128 api/ooeclipseintegration ... Note : it only checkout directories, and then, when listing, nothing is on my hard-drive. Is there a reason to this strange

Re: [api-dev] UNO packages and events

2005-09-12 Thread Mathias Bauer
Paolo Mantovani wrote: you can assign macros to global events using the service: com.sun.star.frame.GlobalEventBroadcaster This is an example: REM * BASIC * Sub TestGlobalEventSupplier Dim mEventProps(1) as new com.sun.star.beans.PropertyValue mEventProps(0).Name =

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-12 Thread Stephan Bergmann
Christian Junker wrote: Hi Stephan, is it on the list of open tasks in Hamburg? Is volunteer support accepted for implementing the bootstrap mechanism for Python? Maybe some volunteers can gather and just do it, creating a cws for it. What's your thought about this? Go ahead, I would say.

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-12 Thread Joerg Budischewski
Hi, there is no counterpart Bootstrap.bootstrap() in pyuno core as far as i know. You should have a look at the java implementation to see what it does (

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-12 Thread Joerg Budischewski
Hi, Kim Kulak wrote While translating FirstLoadComponent.java to Python I've encountered problems with this one line of code: System.out.println(elemType.getTypeName()); 1. The method getTypeName() is not listed in the index of the IDL Reference documentation. have a look at

Re: [api-dev] Problem translating java method, getTypeName(), to python

2005-09-12 Thread Kim Kulak
Joerg Budischewski wrote: Hi, Kim Kulak wrote While translating FirstLoadComponent.java to Python I've encountered problems with this one line of code: System.out.println(elemType.getTypeName()); 1. The method getTypeName() is not listed in the index of the IDL Reference

[api-dev] Protect TextFrame against deletion

2005-09-12 Thread Helge Kraak
Hi! Wanted to ask, whether it is possible to protect a textframe in a way, that it is still movable in a document, but deletion is being prevented (like the protection of sections)? I use the textframe as movable toolbar. Inside are three drop down menus which insert different kind of text fields