Re: [api-dev] Fwd: Retrieving list of _existing_ printers

2005-08-09 Thread Christian Andersson
Turbo Fredriksson wrote: when I asked about this a long time ago, I was told that ther is no such thing in openoffice and I should use the api of the language to do this. for example if you are using java, use the java-api for finding the printers the code below might help you if you are using

Re: [api-dev] Almost there? (Re: [api-dev] /singletons/com.sun.star.reflection.theTypeDescriptionManager available in which context ?

2005-08-09 Thread Rony G. Flatscher
Hi Jürgen * b) using XTypeDescriptionEnumerationAccess.createTypeDescriptionEnumeration() yields always an empty XTypeDescriptionEnumeration. mmh, that is maybe a bug but i am not sure and have to take a closer look into the code. Hoping it is not a bug, but something I am

Re: [api-dev] Almost there? (Re: [api-dev] /singletons/com.sun.star.reflection.theTypeDescriptionManager available in which context ?

2005-08-09 Thread Jürgen Schmidt
Hi Rony, Rony G. Flatscher wrote: Hi Jürgen * b) using XTypeDescriptionEnumerationAccess.createTypeDescriptionEnumeration() yields always an empty XTypeDescriptionEnumeration. mmh, that is maybe a bug but i am not sure and have to take a closer look into the code. Hoping

[api-dev] XTypeDescriptionEnumerationAccess.createTypeDescriptionEnumeration() ( (Re: [api-dev] Almost there? (Re:

2005-08-09 Thread Rony G. Flatscher
Hi Jürgen, thank you for your feedback. It has clarified some things for me, but also one point is still up: XTypeDescriptionEnumerationAccess .createTypeDescriptionEnumeration() seems not to work as announced in the docs: the enumeration can be restricted if one supplies a sequence of