Re: [api-dev] On Bootstrap.defaultBootstrap_InitialComponentContext()

2005-07-29 Thread Jürgen Schmidt
Hi, Rony G. Flatscher wrote: Hi there, while using Bootstrap.defaultBootstrap_InitialComponentContext() I ran into the following problem(s) with OOo 1.1.4 and 1.9.118, using the Windows version (on XP with SP2): 1. juh is not found, adding $SYSBINDIR to the Windows path

Re: [api-dev] One or two questions ad XMulti{Component|Service}Factory ... (Re: [api-dev] Java and com.sun.star.beans.XIntrospection.inspect() ?

2005-07-29 Thread Daniel Boelzle
Hello Rony G., When will that object be registered? Is there anything I could do that it gets registered and available at bootstrap time? What follows is a small Java program that shows that theServiceManager is registred with the context, but theCoreReflection object is not yet. You

Re: [api-dev] On Bootstrap.defaultBootstrap_InitialComponentContext()

2005-07-29 Thread Daniel Boelzle
Hello Rony G., 2. types.rdb is not found, because it is being searched in the employed Java directory/bin, instead of $SYSBINDIR as per the definitions in uno.ini. $SYSBINDIR denotes always the executable's directory, in your case your java.exe's directory. You can set/override

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

2005-07-29 Thread Pierre-André
Le Jeudi 28 Juillet 2005 16:09, [EMAIL PROTECTED] a écrit : Hi everybody, Hi Cedric, First of all, I would like to thank-you for taking the time to do this integration with Eclipse ! It will help developpers to gain precious time ! As you could imagine, I'll need some tests and returns of

Re: [api-dev] One or two questions ad XMulti{Component|Service}Factory ... (Re: [api-dev] Java and com.sun.star.beans.XIntrospection.inspect() ?

2005-07-29 Thread Rony G. Flatscher
Hi Daniel, When will that object be registered? Is there anything I could do that it gets registered and available at bootstrap time? What follows is a small Java program that shows that "theServiceManager" is registred with the context, but "theCoreReflection" object is not yet.

Re: [api-dev] One or two questions ad XMulti{Component|Service}Factory ... (Re: [api-dev] Java and com.sun.star.beans.XIntrospection.inspect() ?

2005-07-29 Thread Rony G. Flatscher
Hi Jürgen, No, you need not use the same component context, but it may be more performant to choose one within your process. Please use the singleton entry com.sun.star.reflection.theCoreReflection for the sole reason that it internally caches created IdlClass objects. The above mentioned

Re: [api-dev] On Bootstrap.defaultBootstrap_InitialComponentContext()

2005-07-29 Thread Rony G. Flatscher
Hi Jürgen, while using Bootstrap.defaultBootstrap_InitialComponentContext() I ran into the following problem(s) with OOo 1.1.4 and 1.9.118, using the Windows version (on XP with SP2): 1. juh is not found, adding $SYSBINDIR to the Windows path environment variable (used for

Re: [api-dev] One or two questions ad XMulti{Component|Service}Factory ... (Re: [api-dev] Java and com.sun.star.beans.XIntrospection.inspect() ?

2005-07-29 Thread Jürgen Schmidt
Rony G. Flatscher wrote: Hi Daniel, When will that object be registered? Is there anything I could do that it gets registered and available at bootstrap time? What follows is a small Java program that shows that theServiceManager is registred with the context, but theCoreReflection object is

[api-dev] Query for service factory for com.sun.star.reflection.CoreReflection not found at bootstrap

2005-07-29 Thread Rony G. Flatscher
Hi there, while further experimenting with the objects one can get from the class Bootstrap I managed to get an initial context and theServiceManager which I can ask for the available services. service=com.sun.star.connection.Connector service=com.sun.star.bridge.UnoUrlResolver

Re: [api-dev] On Bootstrap.defaultBootstrap_InitialComponentContext()

2005-07-29 Thread Rony G. Flatscher
Hi Daniel, thank you very much for your explanations (w.r.t. $SYSBINDIR) and help, which is highly appreciated! Regards, ---rony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [api-dev] One or two questions ad XMulti{Component|Service}Factory ... (Re: [api-dev] Java and com.sun.star.beans.XIntrospection.inspect() ?

2005-07-29 Thread Jürgen Schmidt
Daniel Boelzle wrote: Hello Jürgen, In your example you bootstrap a new fresh Java UNO env. I assume that the singleton is not registered in this env but when you use the native bootstrap mechanism or use the context from an office this singleton should be registered. This can maybe

[api-dev] C++ - Try / catch block not catching anything ?

2005-07-29 Thread Pierre-André
Hello, While trying to code, I am not able to catch Exceptions, not even standrard exceptions... In standard C++, this works : #include exception #include iostream using namespace std; class MyObj { public: void func() { throw Hello Exception; } }; int main() {

Re: [api-dev] detecting if paragraph is in toc

2005-07-29 Thread Laurent Godard
Hi marc, The other way round: is it possible to compare anchors? If I get the anchor from the toc and compare it to the start of a TexRange (or the like), will they match if at equal position? look at compareRegionEnds and compareRegionstarts methods on the Text object HTH Laurent --

Re: [api-dev] C++ - Try / catch block not catching anything ?

2005-07-29 Thread Joerg Budischewski
Hi, I guess, you are on some unix ? You need to build your program with the same compiler version as OOo has been built with. Not doing this typically breaks exception handling, because you get incompatible stdc++ libraries into your process. Bye, Joerg Pierre-André wrote: Hello, While

Re: [api-dev] detecting if paragraph is in toc

2005-07-29 Thread Marc Santhoff
Am Freitag, den 29.07.2005, 19:05 +0200 schrieb Laurent Godard: Hi marc, The other way round: is it possible to compare anchors? If I get the anchor from the toc and compare it to the start of a TexRange (or the like), will they match if at equal position? look at compareRegionEnds

Re: [api-dev] One or two questions ad XMulti{Component|Service}Factory ... (Re: [api-dev] Java and com.sun.star.beans.XIntrospection.inspect() ?

2005-07-29 Thread Rony G. Flatscher
Hi, implement the core reflection in Java - working directly on the type library. But of course it will be a lot of work when you want a Java only solution, because the storage format of the type library is acced by using a C/C++ API which is not available in Java. So you would need a jni

Re: [api-dev] Browsing the source code

2005-07-29 Thread Senthilkumar Mehalingam
Hi All, Thanks Andrew for your reply. I did as you told but I cannot find the functions(cut,paste,undo,redo) inspite of a thorugh search as searching for cut finds .cpp files which have cut as a middle word in them and searching for cut finds no .cpp files. I got the source from