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

2005-09-22 Thread Christian Junker
It wouldn't be a lot of work to do it, there is the pydoc tool which just takes the doc-strings (which are already there) and generates html output if you tell it to. I will open up a new issue for this, in the end it is up to Jürgen to decide whether such a reference would fit into the sdk

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

2005-09-22 Thread Christian Junker
See http://www.openoffice.org/issues/show_bug.cgi?id=54951 2005/9/22, Christian Junker [EMAIL PROTECTED]: [...] -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

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

2005-09-13 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, just for information if added the python language now to our snippet collection so if someone has python snippets she/he can submit them and I'll add them to the collection. Tom -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux)

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

2005-09-13 Thread Christian Junker
Hi Kim, thanks for your input first of all. As already said in an answer before, getTypeName() is specific to the PyUNO Runtime, it's not a function exposed in an IDL interface. This got me thinking however... Especially to Jürgen and Jörg: Why is there no Python UNO Runtime Reference as there

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

2005-09-13 Thread Joerg Budischewski
Hi, there is one on the webpage, http://udk.openoffice.org/python/python-bridge.html but I basically don't want to invest time to transfer it into the developer manual. Bye, Joerg Christian Junker wrote: Hi Kim, thanks for your input first of all. As already said in an answer before,

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