Re: [dev] Import filter and media detect services

2005-08-16 Thread Bernhard Haumacher
Andreas Schlüns wrote: > Bernhard Haumacher wrote: > >> ... >> >> the SVG type descriptor >> >> >> >> >xmlns:oor="http://openoffice.org/2001/registry"; >>xmlns:xs="http://www.w3.org/2001/XMLSchema"; >>oor:package="org.openoffice.TypeDetection" >>oor:name="Filter" > >

Re: [dev] Import filter and media detect services

2005-08-16 Thread Andreas Schlüns
Bernhard Haumacher wrote: Hi, I'm developing an import filter for OOdraw in Java (yes, for the SVG format...). I read the appropriate sections from the Developers Guide. I'm now able to register my component, as well as the filter and type descriptors in the OO package manager. The actual filte

Re: [dev] Re: [c++]openoffice exception handling

2005-08-16 Thread Stephan Bergmann
Aditya Pandey wrote: Stephan Bergmann sun.com> writes: The Linux x86 OOo 1.9.x versions built by Sun contain a problematic libgcc_s.so.1 which causes the problem you describe: If some code is compiled with a GCC other than the exact version used inside Sun and then run in an environment whe

Re: [dev] Can I use "com.sun.star.text.textfield.URL" in java

2005-08-16 Thread Jürgen Schmidt
Hi Michael, Michael Mi wrote: Hi, Here is some code from StarBasic, like oDoc = ThisComponent oUrl = oDoc.createInstance("com.sun.star.text.TextField.URL") oUrl.URL = "http://www.openoffice.org"; // assume that you already have a text document // get the service factory from the text docu

Re: [dev] Import filter and media detect services

2005-08-16 Thread Bernhard Haumacher
Hi, I recently asked a question and got no answer. The following answer would have been useful: > ... > > What does not work is the corresponding media detect service. After > adding my package to the package manager, OO requests the factories > for both services (filter and media detect): > >

Re: [dev] Can I use "com.sun.star.text.textfield.URL" in java

2005-08-16 Thread Bernhard Haumacher
I guess, you should look at the following pages: http://api.openoffice.org/docs/common/ref/com/sun/star/util/URL.html http://api.openoffice.org/docs/common/ref/com/sun/star/util/XURLTransformer.html Since URL is a struct, you should be able to directly create it and pass it to a XURLTransformer f

[dev] Can I use "com.sun.star.text.textfield.URL" in java

2005-08-16 Thread Michael Mi
Hi, Here is some code from StarBasic, like oDoc = ThisComponent oUrl = oDoc.createInstance("com.sun.star.text.TextField.URL") oUrl.URL = "http://www.openoffice.org"; Can anyone tell me how to write the same function in Java? (I am wondering what the "ThisComponent" represents in Java.) Th

Re: [dev] A question about the view cursor in Calc

2005-08-16 Thread Michael Mi
It works, thanks :-) Michael Oliver Brinzing wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michael, I want to make a program which can automatically move the current view cursor to a particular cell in Calc. try ... Sub Main Dim oDocument as Object Dim oView

Re: [dev] Basic Libraries and security

2005-08-16 Thread Peter Eberlein
Hi Mathias, Did you try to change the path for Basic in the share/.../Common.xcu (remove user part) *before* you create any user directory (doing this afterwards seems to confuse OOo)? I didn't test if this works but you could give this a try. I gave it a try, but it did'nt work. Per default

[dev] Re: [c++]openoffice exception handling

2005-08-16 Thread Aditya Pandey
Stephan Bergmann sun.com> writes: > The Linux x86 OOo 1.9.x versions built by Sun contain a problematic > libgcc_s.so.1 which causes the problem you describe: If some code is > compiled with a GCC other than the exact version used inside Sun and > then run in an environment where the problemat