<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-12781</id>
	<title>Nabble - openoffice - api</title>
	<updated>2009-11-27T04:48:00Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/openoffice---api-f12781.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openoffice---api-f12781.html" />
	<subtitle type="html">The application programming interface. openoffice - api home is &lt;a href=&quot;http://api.openoffice.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26541997</id>
	<title>Re: Re: Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-27T04:48:00Z</published>
	<updated>2009-11-27T04:48:00Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Daniel B. wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 6:46 PM, Juergen Schmidt
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541997&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Juergen.Schmidt@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; if we can all agree i would suggest that we don't change the code back.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The correct way will work with older versions of OOo as well and the code
&lt;br&gt;&amp;gt;&amp;gt; have to be changed in the near future anyway.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What's your opinion? I can also live with Michaels suggestion to implement
&lt;br&gt;&amp;gt;&amp;gt; this interface until OOo 4.0 but it's probably easier and better to change
&lt;br&gt;&amp;gt;&amp;gt; the code now as later and potentially forget it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Since our (and potentially a lot of other) extension breaks with this
&lt;br&gt;&amp;gt; change this is a major issue that prevents us from rolling out OOo
&lt;br&gt;&amp;gt; 3.2. Reverting the change until OOo 4.0 would give us enough time to
&lt;br&gt;&amp;gt; update our extension and roll out the updated version. So I support
&lt;br&gt;&amp;gt; Michael's suggestion to re-implement the interfaces that are missing,
&lt;br&gt;&amp;gt; at least temporary, and document the change so that people are aware
&lt;br&gt;&amp;gt; of the issue and can adapt their macros/extensions.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;until now you are the only one with this problem. How many places using 
&lt;br&gt;this code do you have in your extension? We gave you the necessary info 
&lt;br&gt;to do it correct. It should be not really a big change i guess but 
&lt;br&gt;anyway. I let it up to others to decide if it is a showstopper or not.
&lt;br&gt;&lt;br&gt;But how can we prevent you from rolling out 3.2 when it is not already 
&lt;br&gt;final and released? Either you change your broken or wrong extensions or 
&lt;br&gt;we do the changes back. You have to do it anyway in the near future 
&lt;br&gt;whereas we have double work. Sounds not really optimal ;-)
&lt;br&gt;&lt;br&gt;But don't get me wrong try to put it on the showstopper list.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541997&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541997&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26541997.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541700</id>
	<title>Re: Connecting to OOBean under Linux</title>
	<published>2009-11-27T04:17:43Z</published>
	<updated>2009-11-27T04:17:43Z</updated>
	<author>
		<name>Rony G. Flatscher</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Locating a native library loaded by a Java jar is typically done
&lt;br&gt;&amp;gt;&amp;gt; using relative path entries in the jar manifest Class-Path. 
&lt;br&gt;&amp;gt;&amp;gt; Resolving a relative path relative to a symlink can obviously have
&lt;br&gt;&amp;gt;&amp;gt; different results, depending on whether or not the symlink is resolved.
&lt;br&gt;&amp;gt; For Java there seems to be no problem resolving symlinks. I placed my
&lt;br&gt;&amp;gt; main jar in &amp;lt;OO Installation&amp;gt;/basis-link/program/ and did put symlinks
&lt;br&gt;&amp;gt; and other needed jars into a newly createed &amp;lt;OO
&lt;br&gt;&amp;gt; Installation&amp;gt;/basis-link/program/lib folder. Resolving those symlinks
&lt;br&gt;&amp;gt; was no problem for Java as I could see in -verbose mode. All
&lt;br&gt;&amp;gt; classes/methods were properply loaded, except those JNI methods. I
&lt;br&gt;&amp;gt; don't know why it is like that and if that is needed or a missing
&lt;br&gt;&amp;gt; feature from classloaders/infrastructure.
&lt;/div&gt;just a wild guess: if you are relying on the operating system to locate
&lt;br&gt;the libs, then you may be hit by &amp;quot;ldconfig&amp;quot;'s not processing symlinked
&lt;br&gt;files.
&lt;br&gt;&lt;br&gt;---rony
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541700&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26541700&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connecting-to-OOBean-under-Linux-tp26474620p26541700.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26540181</id>
	<title>Re: Re: Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-27T02:02:01Z</published>
	<updated>2009-11-27T02:02:01Z</updated>
	<author>
		<name>Daniel B.-7</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 6:46 PM, Juergen Schmidt
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540181&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Juergen.Schmidt@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; if we can all agree i would suggest that we don't change the code back.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The correct way will work with older versions of OOo as well and the code
&lt;br&gt;&amp;gt; have to be changed in the near future anyway.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What's your opinion? I can also live with Michaels suggestion to implement
&lt;br&gt;&amp;gt; this interface until OOo 4.0 but it's probably easier and better to change
&lt;br&gt;&amp;gt; the code now as later and potentially forget it.
&lt;/div&gt;&lt;br&gt;Since our (and potentially a lot of other) extension breaks with this
&lt;br&gt;change this is a major issue that prevents us from rolling out OOo
&lt;br&gt;3.2. Reverting the change until OOo 4.0 would give us enough time to
&lt;br&gt;update our extension and roll out the updated version. So I support
&lt;br&gt;Michael's suggestion to re-implement the interfaces that are missing,
&lt;br&gt;at least temporary, and document the change so that people are aware
&lt;br&gt;of the issue and can adapt their macros/extensions.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Daniel
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540181&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26540181&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26540181.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538974</id>
	<title>Re: Connecting to OOBean under Linux</title>
	<published>2009-11-26T23:35:59Z</published>
	<updated>2009-11-26T23:35:59Z</updated>
	<author>
		<name>Steffen Boersig</name>
	</author>
	<content type="html">Hey,
&lt;br&gt;&amp;gt; Locating a native library loaded by a Java jar is typically done using 
&lt;br&gt;&amp;gt; relative path entries in the jar manifest Class-Path. &amp;nbsp;Resolving a 
&lt;br&gt;&amp;gt; relative path relative to a symlink can obviously have different 
&lt;br&gt;&amp;gt; results, depending on whether or not the symlink is resolved.
&lt;br&gt;For Java there seems to be no problem resolving symlinks. I placed my 
&lt;br&gt;main jar in &amp;lt;OO Installation&amp;gt;/basis-link/program/ and did put symlinks 
&lt;br&gt;and other needed jars into a newly createed &amp;lt;OO 
&lt;br&gt;Installation&amp;gt;/basis-link/program/lib folder. Resolving those symlinks 
&lt;br&gt;was no problem for Java as I could see in -verbose mode. All 
&lt;br&gt;classes/methods were properply loaded, except those JNI methods. I don't 
&lt;br&gt;know why it is like that and if that is needed or a missing feature from 
&lt;br&gt;classloaders/infrastructure.
&lt;br&gt;&amp;gt; However, setting up infrastructure so that a (copied?) officebean.jar 
&lt;br&gt;&amp;gt; finds its dependency jars will always be brittle and will likely break 
&lt;br&gt;&amp;gt; with new OOo versions. &amp;nbsp;What confuses me is that you need such 
&lt;br&gt;&amp;gt; infrastructure at all.
&lt;br&gt;I did in all tests use the original officebean.jar from OOo installation 
&lt;br&gt;since it's the same folder structure under windows with &amp;lt;OO 
&lt;br&gt;Installation&amp;gt;/basis-link/program/classes/officebean.jar whereas 
&lt;br&gt;basis-link is resolved by my setup in Windows and just used under linux 
&lt;br&gt;as is.
&lt;br&gt;But only using officebean.jar did result in missing classes since as you 
&lt;br&gt;stated the Class-Path is empty. So I had to get the other jars in my 
&lt;br&gt;Class-Path. My first solution was to refer to them with symbolic links 
&lt;br&gt;to get rid of all platform dependent folder structures. (Don't know if 
&lt;br&gt;Solaris or any other systems have again different structures so I didn't 
&lt;br&gt;want to bother with creating xx versions of my original jar with 
&lt;br&gt;different manifest files.) Instead I did want to edit the setup file for 
&lt;br&gt;different folder structures.
&lt;br&gt;I don't know if it is intended that the Class-Path of officebean.jar is 
&lt;br&gt;empty or if it's simply a bug. I'd say it's a missing feature at least 
&lt;br&gt;;) But maybe Jochen can enligthen us both.
&lt;br&gt;&amp;gt; If the latter (a copy of officebean.jar located outside the OOo 
&lt;br&gt;&amp;gt; installation), I wonder whether that is an intended way to use the 
&lt;br&gt;&amp;gt; bean, and, if it is, could mention a stable way to obtain from an OOo 
&lt;br&gt;&amp;gt; installation a list of jars (with absolute path) that are necessary in 
&lt;br&gt;&amp;gt; order to use Java UNO. Namely, calling executable &amp;quot;unoinfo&amp;quot; in the 
&lt;br&gt;&amp;gt; brand layer program directory with argument &amp;quot;java&amp;quot; (i.e., 
&lt;br&gt;&amp;gt; &amp;quot;openoffice.org3/program/unoinfo java&amp;quot;) and processing its output (as 
&lt;br&gt;&amp;gt; done by the Simple Bootstrap mechanism), see 
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=88687#desc3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=88687#desc3&lt;/a&gt;&amp;gt;.
&lt;br&gt;That seems to be a nice way of getting what I need. I'll take a deeper 
&lt;br&gt;look into it when there's more freetime.
&lt;br&gt;&amp;gt; Anyway, maybe I misunderstand how officebean.jar is intended to be 
&lt;br&gt;&amp;gt; used, Jochen (on cc) probably can put me straight.
&lt;br&gt;Please answer/copy the answer on the mailing list Jochen.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Steffen B
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538974&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538974&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connecting-to-OOBean-under-Linux-tp26474620p26538974.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532869</id>
	<title>Re: Re: Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-26T09:46:18Z</published>
	<updated>2009-11-26T09:46:18Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;if we can all agree i would suggest that we don't change the code back.
&lt;br&gt;&lt;br&gt;The correct way will work with older versions of OOo as well and the 
&lt;br&gt;code have to be changed in the near future anyway.
&lt;br&gt;&lt;br&gt;What's your opinion? I can also live with Michaels suggestion to 
&lt;br&gt;implement this interface until OOo 4.0 but it's probably easier and 
&lt;br&gt;better to change the code now as later and potentially forget it.
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;Michael Stahl wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 26/11/2009 16:58, Ariel Constenla-Haile wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hello Jürgen, *
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Thursday 26 November 2009, 12:36, Juergen Schmidt wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; mmh, it seems that we have a classical problem where you have
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; implemented a macro based on a not documented implementation detail. But
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the implementation gets cleaned up for 3.2.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; yes, i removed the XTextField interface at the writer's SwXTextPortion
&lt;br&gt;&amp;gt; implementation because:
&lt;br&gt;&amp;gt; - it is documented nowhere
&lt;br&gt;&amp;gt; - it is only implemented in writer, not in svx/editengine
&lt;br&gt;&amp;gt; - there is the &amp;quot;TextField&amp;quot; property which gives access to the field of the
&lt;br&gt;&amp;gt; &amp;nbsp; portion
&lt;br&gt;&amp;gt; - the SwXTextPortion does not implement any interface of any other portion
&lt;br&gt;&amp;gt; &amp;nbsp; type (XFootnote...) except this XTextField
&lt;br&gt;&amp;gt; - the original implementer of SwXTextPortion claimed that this interface
&lt;br&gt;&amp;gt; &amp;nbsp; was probably included in error
&lt;br&gt;&amp;gt; - none of our regression tests broke
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The problem is that the correct way is also not well documented :-(
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; indeed; i have just looked at the relevant parts of the dev. guide,
&lt;br&gt;&amp;gt; and it is not documented how to access the field of a TextPortion of type
&lt;br&gt;&amp;gt; &amp;quot;TextField&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In this case it would be correct to check the TextPortionType and in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; case of a text field ask for the property &amp;quot;TextField&amp;quot;. It should be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; possible to ask for the property always and do the necessary checks...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; yes, this is the proper way, and should work on all OOo versions.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I am not sure if we can or should mark this as a show stopper because it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; was an implementation detail. And the clean up of the code makes sense
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and we don't really want to change it back.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; considering the lack of documentation, now i actually believe that this is
&lt;br&gt;&amp;gt; indeed an issue that should be fixed: if the proper way of doing something
&lt;br&gt;&amp;gt; is not documented, we cannot really complain that someone found a
&lt;br&gt;&amp;gt; non-proper way that happens to work. (which is why i'm not replying here
&lt;br&gt;&amp;gt; with an RTFM rant like i originally intended :) )
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; but in any case, undoing this change would only be temporary:
&lt;br&gt;&amp;gt; in the next major OOo release (4.0), this interface will definitely not be
&lt;br&gt;&amp;gt; supported.
&lt;br&gt;&amp;gt; that should give people plenty of time to adapt their macros and stuff.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Maybe the responsible developer can shed some light on this and give us
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; some more reasons for the change.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; We have definitely to fix the documentation to reflect the correct way.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; indeed. i can update the dev guide:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Iterating_over_Text&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Iterating_over_Text&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; btw, is it possible to automatically generate lists of properties in the
&lt;br&gt;&amp;gt; dev guide from the IDL file?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To avoid such problems in the future it is probably a good idea to ask
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; here on this list first before you use an API that is not documented.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Often enough the documentation is simply missing or incomplete.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; We should be careful with the available introspection tools. They
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; provide great help and are necessary but the user of these tools should
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; at least check the documentation too. This way we can improve the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; documentation as well.
&lt;br&gt;&amp;gt;&amp;gt; this issue has the same &amp;quot;background&amp;quot; as the one with the TextCursor properties 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=100798&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=100798&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; For the TextPortion issue, on a DEV300_m65 the documentation seems corrected 
&lt;br&gt;&amp;gt;&amp;gt; (though I didn't check every property) 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://svn.services.openoffice.org/opengrok/xref/DEV300_m65/offapi/com/sun/star/text/TextPortion.idl#130&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.services.openoffice.org/opengrok/xref/DEV300_m65/offapi/com/sun/star/text/TextPortion.idl#130&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; yes, i did that.
&lt;br&gt;&amp;gt; (but unfortunately not at the same time as the XTextField removal...)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; IMHO common properties should be moved to the TextRange service (both a 
&lt;br&gt;&amp;gt;&amp;gt; TextCursor and a TextPortion are TextRanges).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; not necessarily: i think there are TextRanges which are neither
&lt;br&gt;&amp;gt; TextPortion nor TextCursor.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; regards,
&lt;br&gt;&amp;gt; michael
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532869&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532869&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26532869.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532282</id>
	<title>Re: Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-26T09:00:08Z</published>
	<updated>2009-11-26T09:00:08Z</updated>
	<author>
		<name>Michael Stahl-3</name>
	</author>
	<content type="html">On 26/11/2009 16:58, Ariel Constenla-Haile wrote:
&lt;br&gt;&amp;gt; Hello Jürgen, *
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thursday 26 November 2009, 12:36, Juergen Schmidt wrote:
&lt;br&gt;&amp;gt;&amp;gt; mmh, it seems that we have a classical problem where you have
&lt;br&gt;&amp;gt;&amp;gt; implemented a macro based on a not documented implementation detail. But
&lt;br&gt;&amp;gt;&amp;gt; the implementation gets cleaned up for 3.2.
&lt;br&gt;&lt;br&gt;yes, i removed the XTextField interface at the writer's SwXTextPortion
&lt;br&gt;implementation because:
&lt;br&gt;- it is documented nowhere
&lt;br&gt;- it is only implemented in writer, not in svx/editengine
&lt;br&gt;- there is the &amp;quot;TextField&amp;quot; property which gives access to the field of the
&lt;br&gt;&amp;nbsp; portion
&lt;br&gt;- the SwXTextPortion does not implement any interface of any other portion
&lt;br&gt;&amp;nbsp; type (XFootnote...) except this XTextField
&lt;br&gt;- the original implementer of SwXTextPortion claimed that this interface
&lt;br&gt;&amp;nbsp; was probably included in error
&lt;br&gt;- none of our regression tests broke
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; The problem is that the correct way is also not well documented :-(
&lt;br&gt;&lt;br&gt;indeed; i have just looked at the relevant parts of the dev. guide,
&lt;br&gt;and it is not documented how to access the field of a TextPortion of type
&lt;br&gt;&amp;quot;TextField&amp;quot;.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; In this case it would be correct to check the TextPortionType and in
&lt;br&gt;&amp;gt;&amp;gt; case of a text field ask for the property &amp;quot;TextField&amp;quot;. It should be
&lt;br&gt;&amp;gt;&amp;gt; possible to ask for the property always and do the necessary checks...
&lt;br&gt;&lt;br&gt;yes, this is the proper way, and should work on all OOo versions.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; I am not sure if we can or should mark this as a show stopper because it
&lt;br&gt;&amp;gt;&amp;gt; was an implementation detail. And the clean up of the code makes sense
&lt;br&gt;&amp;gt;&amp;gt; and we don't really want to change it back.
&lt;br&gt;&lt;br&gt;considering the lack of documentation, now i actually believe that this is
&lt;br&gt;indeed an issue that should be fixed: if the proper way of doing something
&lt;br&gt;is not documented, we cannot really complain that someone found a
&lt;br&gt;non-proper way that happens to work. (which is why i'm not replying here
&lt;br&gt;with an RTFM rant like i originally intended :) )
&lt;br&gt;&lt;br&gt;but in any case, undoing this change would only be temporary:
&lt;br&gt;in the next major OOo release (4.0), this interface will definitely not be
&lt;br&gt;supported.
&lt;br&gt;that should give people plenty of time to adapt their macros and stuff.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Maybe the responsible developer can shed some light on this and give us
&lt;br&gt;&amp;gt;&amp;gt; some more reasons for the change.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; We have definitely to fix the documentation to reflect the correct way.
&lt;br&gt;&lt;br&gt;indeed. i can update the dev guide:
&lt;br&gt;&lt;a href=&quot;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Iterating_over_Text&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Iterating_over_Text&lt;/a&gt;&lt;br&gt;&lt;br&gt;btw, is it possible to automatically generate lists of properties in the
&lt;br&gt;dev guide from the IDL file?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; To avoid such problems in the future it is probably a good idea to ask
&lt;br&gt;&amp;gt;&amp;gt; here on this list first before you use an API that is not documented.
&lt;br&gt;&amp;gt;&amp;gt; Often enough the documentation is simply missing or incomplete.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; We should be careful with the available introspection tools. They
&lt;br&gt;&amp;gt;&amp;gt; provide great help and are necessary but the user of these tools should
&lt;br&gt;&amp;gt;&amp;gt; at least check the documentation too. This way we can improve the
&lt;br&gt;&amp;gt;&amp;gt; documentation as well.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; this issue has the same &amp;quot;background&amp;quot; as the one with the TextCursor properties 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=100798&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=100798&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; For the TextPortion issue, on a DEV300_m65 the documentation seems corrected 
&lt;br&gt;&amp;gt; (though I didn't check every property) 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://svn.services.openoffice.org/opengrok/xref/DEV300_m65/offapi/com/sun/star/text/TextPortion.idl#130&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.services.openoffice.org/opengrok/xref/DEV300_m65/offapi/com/sun/star/text/TextPortion.idl#130&lt;/a&gt;&lt;/div&gt;&lt;br&gt;yes, i did that.
&lt;br&gt;(but unfortunately not at the same time as the XTextField removal...)
&lt;br&gt;&lt;br&gt;&amp;gt; IMHO common properties should be moved to the TextRange service (both a 
&lt;br&gt;&amp;gt; TextCursor and a TextPortion are TextRanges).
&lt;br&gt;&lt;br&gt;not necessarily: i think there are TextRanges which are neither
&lt;br&gt;TextPortion nor TextCursor.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;michael
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Which is worse: Ignorance or Apathy? Who knows? Who cares?
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532282&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532282&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26532282.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532112</id>
	<title>Re: Connecting to OOBean under Linux</title>
	<published>2009-11-26T08:48:07Z</published>
	<updated>2009-11-26T08:48:07Z</updated>
	<author>
		<name>Stephan Bergmann</name>
	</author>
	<content type="html">On 11/26/09 11:15, Steffen Boersig wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; To follow established expectations on the various platforms, and, in 
&lt;br&gt;&amp;gt;&amp;gt; some cases, due to technical necessities of the various platforms. &amp;nbsp;In 
&lt;br&gt;&amp;gt;&amp;gt; principle, on all platforms there are three layers (URE, Basis, Brand) 
&lt;br&gt;&amp;gt;&amp;gt; at potentially arbitrary positions (even relative to each other). 
&lt;br&gt;&amp;gt;&amp;gt; Within the URE layer, one difference among platforms is that Windows 
&lt;br&gt;&amp;gt;&amp;gt; has both executables and libraries in bin, while Unix has libraries in 
&lt;br&gt;&amp;gt;&amp;gt; lib. &amp;nbsp;Another difference is that, since recently, Windows shifted 
&lt;br&gt;&amp;gt;&amp;gt; virtually all libraries from the Basis program to the Brand program 
&lt;br&gt;&amp;gt;&amp;gt; directory.
&lt;br&gt;&amp;gt; Thanks for the info on that.
&lt;br&gt;&amp;gt;&amp;gt; OOoBean tries to connect to soffice via a named pipe, which requires 
&lt;br&gt;&amp;gt;&amp;gt; native code in libjpipe.so being called from jurt.jar. &amp;nbsp;I assume that 
&lt;br&gt;&amp;gt;&amp;gt; some Java error occurs failing to load that native lib which would be 
&lt;br&gt;&amp;gt;&amp;gt; swallowed by the &amp;quot;catch ( java.lang.Throwable aExc )&amp;quot; at OOoBean.java 
&lt;br&gt;&amp;gt;&amp;gt; l. &amp;nbsp;184. &amp;nbsp;I suggest you patch OOoBean.java to include 
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;aExc.printStackTrace();&amp;quot; before &amp;quot;throw new NoConnectionException();&amp;quot; 
&lt;br&gt;&amp;gt;&amp;gt; to give more information.
&lt;br&gt;&amp;gt; I patched OOoBean.java (and to a minor extent PipeConnection.java) and 
&lt;br&gt;&amp;gt; it seems you were right on this one. It's failing at the method 
&lt;br&gt;&amp;gt; createJNI(String) with &amp;quot;xxx_25B7Office&amp;quot; as parameter.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After looking deeper into the subject I decided to test if my 
&lt;br&gt;&amp;gt; referencing to jurt.jar and the others.
&lt;br&gt;&amp;gt; Indeed there was the problem.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Since the folder structure under Linux and Windows were different I 
&lt;br&gt;&amp;gt; decided to fix it with symbolic links. It works fine for all loading 
&lt;br&gt;&amp;gt; jars, but seems to cause trouble if a jar needs JNI functions.
&lt;br&gt;&amp;gt; I referenced with a new manifest file to the original locations instead 
&lt;br&gt;&amp;gt; of symbolic links and it works just fine :)
&lt;/div&gt;&lt;br&gt;Locating a native library loaded by a Java jar is typically done using 
&lt;br&gt;relative path entries in the jar manifest Class-Path. &amp;nbsp;Resolving a 
&lt;br&gt;relative path relative to a symlink can obviously have different 
&lt;br&gt;results, depending on whether or not the symlink is resolved.
&lt;br&gt;&lt;br&gt;However, setting up infrastructure so that a (copied?) officebean.jar 
&lt;br&gt;finds its dependency jars will always be brittle and will likely break 
&lt;br&gt;with new OOo versions. &amp;nbsp;What confuses me is that you need such 
&lt;br&gt;infrastructure at all.
&lt;br&gt;&lt;br&gt;What officebean.jar are you using? &amp;nbsp;Is it the one located within the OOo 
&lt;br&gt;installation (at openoffice.org/basis3.x/program/classes/officebean.jar) 
&lt;br&gt;or is it a copy located somewhere else?
&lt;br&gt;&lt;br&gt;If the former (the officebean.jar located within the OOo installation), 
&lt;br&gt;its manifest Class-Path should contain links to all its dependency jars. 
&lt;br&gt;&amp;nbsp; But that Class-Path is empty (the manifest does not contain one), at 
&lt;br&gt;least in DEV300m65, so this is probably a bug?
&lt;br&gt;&lt;br&gt;If the latter (a copy of officebean.jar located outside the OOo 
&lt;br&gt;installation), I wonder whether that is an intended way to use the bean, 
&lt;br&gt;and, if it is, could mention a stable way to obtain from an OOo 
&lt;br&gt;installation a list of jars (with absolute path) that are necessary in 
&lt;br&gt;order to use Java UNO. Namely, calling executable &amp;quot;unoinfo&amp;quot; in the brand 
&lt;br&gt;layer program directory with argument &amp;quot;java&amp;quot; (i.e., 
&lt;br&gt;&amp;quot;openoffice.org3/program/unoinfo java&amp;quot;) and processing its output (as 
&lt;br&gt;done by the Simple Bootstrap mechanism), see 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=88687#desc3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=88687#desc3&lt;/a&gt;&amp;gt;.
&lt;br&gt;&lt;br&gt;Anyway, maybe I misunderstand how officebean.jar is intended to be used, 
&lt;br&gt;Jochen (on cc) probably can put me straight.
&lt;br&gt;&lt;br&gt;-Stephan
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532112&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532112&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connecting-to-OOBean-under-Linux-tp26474620p26532112.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531413</id>
	<title>Re: Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-26T07:56:39Z</published>
	<updated>2009-11-26T07:56:39Z</updated>
	<author>
		<name>Ariel Constenla-Haile</name>
	</author>
	<content type="html">Hello Jürgen, *
&lt;br&gt;&lt;br&gt;On Thursday 26 November 2009, 12:36, Juergen Schmidt wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; mmh, it seems that we have a classical problem where you have
&lt;br&gt;&amp;gt; implemented a macro based on a not documented implementation detail. But
&lt;br&gt;&amp;gt; the implementation gets cleaned up for 3.2.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem is that the correct way is also not well documented :-(
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In this case it would be correct to check the TextPortionType and in
&lt;br&gt;&amp;gt; case of a text field ask for the property &amp;quot;TextField&amp;quot;. It should be
&lt;br&gt;&amp;gt; possible to ask for the property always and do the necessary checks...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am not sure if we can or should mark this as a show stopper because it
&lt;br&gt;&amp;gt; was an implementation detail. And the clean up of the code makes sense
&lt;br&gt;&amp;gt; and we don't really want to change it back.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Maybe the responsible developer can shed some light on this and give us
&lt;br&gt;&amp;gt; some more reasons for the change.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We have definitely to fix the documentation to reflect the correct way.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To avoid such problems in the future it is probably a good idea to ask
&lt;br&gt;&amp;gt; here on this list first before you use an API that is not documented.
&lt;br&gt;&amp;gt; Often enough the documentation is simply missing or incomplete.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We should be careful with the available introspection tools. They
&lt;br&gt;&amp;gt; provide great help and are necessary but the user of these tools should
&lt;br&gt;&amp;gt; at least check the documentation too. This way we can improve the
&lt;br&gt;&amp;gt; documentation as well.
&lt;/div&gt;&lt;br&gt;this issue has the same &amp;quot;background&amp;quot; as the one with the TextCursor properties 
&lt;br&gt;&lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=100798&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=100798&lt;/a&gt;&lt;br&gt;&lt;br&gt;For the TextPortion issue, on a DEV300_m65 the documentation seems corrected 
&lt;br&gt;(though I didn't check every property) 
&lt;br&gt;&lt;a href=&quot;http://svn.services.openoffice.org/opengrok/xref/DEV300_m65/offapi/com/sun/star/text/TextPortion.idl#130&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.services.openoffice.org/opengrok/xref/DEV300_m65/offapi/com/sun/star/text/TextPortion.idl#130&lt;/a&gt;&lt;br&gt;&lt;br&gt;IMHO common properties should be moved to the TextRange service (both a 
&lt;br&gt;TextCursor and a TextPortion are TextRanges).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;-- 
&lt;br&gt;Ariel Constenla-Haile
&lt;br&gt;La Plata, Argentina
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531413&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531413&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26531413.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531174</id>
	<title>Re: Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-26T07:36:30Z</published>
	<updated>2009-11-26T07:36:30Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">mmh, it seems that we have a classical problem where you have 
&lt;br&gt;implemented a macro based on a not documented implementation detail. But 
&lt;br&gt;the implementation gets cleaned up for 3.2.
&lt;br&gt;&lt;br&gt;The problem is that the correct way is also not well documented :-(
&lt;br&gt;&lt;br&gt;In this case it would be correct to check the TextPortionType and in 
&lt;br&gt;case of a text field ask for the property &amp;quot;TextField&amp;quot;. It should be 
&lt;br&gt;possible to ask for the property always and do the necessary checks...
&lt;br&gt;&lt;br&gt;I am not sure if we can or should mark this as a show stopper because it 
&lt;br&gt;was an implementation detail. And the clean up of the code makes sense 
&lt;br&gt;and we don't really want to change it back.
&lt;br&gt;&lt;br&gt;Maybe the responsible developer can shed some light on this and give us 
&lt;br&gt;some more reasons for the change.
&lt;br&gt;&lt;br&gt;We have definitely to fix the documentation to reflect the correct way.
&lt;br&gt;&lt;br&gt;To avoid such problems in the future it is probably a good idea to ask 
&lt;br&gt;here on this list first before you use an API that is not documented. 
&lt;br&gt;Often enough the documentation is simply missing or incomplete.
&lt;br&gt;&lt;br&gt;We should be careful with the available introspection tools. They 
&lt;br&gt;provide great help and are necessary but the user of these tools should 
&lt;br&gt;at least check the documentation too. This way we can improve the 
&lt;br&gt;documentation as well.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;Juergen Schmidt wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i currently don't know enough details to answer your question but i will 
&lt;br&gt;&amp;gt; check it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But in general i would suggest that you submit such issues under the 
&lt;br&gt;&amp;gt; correct component api. That ensures that i get these issues on my radar 
&lt;br&gt;&amp;gt; and can help.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Juergen
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Matthias B. wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'd like to know the reasoning behind the decision not to treat
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=106151&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=106151&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; as a release blocker for 3.2. It's a serious regression regarding the
&lt;br&gt;&amp;gt;&amp;gt; API. Common interfaces (XTextField) that used to be supported by
&lt;br&gt;&amp;gt;&amp;gt; common objects (TextPortion) are missing now. Who knows how many
&lt;br&gt;&amp;gt;&amp;gt; macros and extensions break because of this. But no one seems to care
&lt;br&gt;&amp;gt;&amp;gt; enough to comment even on my request in bug 99999 to make this a 3.2
&lt;br&gt;&amp;gt;&amp;gt; blocker.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Matthias
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531174&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531174&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531174&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531174&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26531174.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530629</id>
	<title>Re: Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-26T06:59:07Z</published>
	<updated>2009-11-26T06:59:07Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;i currently don't know enough details to answer your question but i will 
&lt;br&gt;check it.
&lt;br&gt;&lt;br&gt;But in general i would suggest that you submit such issues under the 
&lt;br&gt;correct component api. That ensures that i get these issues on my radar 
&lt;br&gt;and can help.
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;&lt;br&gt;Matthias B. wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'd like to know the reasoning behind the decision not to treat
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=106151&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=106151&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; as a release blocker for 3.2. It's a serious regression regarding the
&lt;br&gt;&amp;gt; API. Common interfaces (XTextField) that used to be supported by
&lt;br&gt;&amp;gt; common objects (TextPortion) are missing now. Who knows how many
&lt;br&gt;&amp;gt; macros and extensions break because of this. But no one seems to care
&lt;br&gt;&amp;gt; enough to comment even on my request in bug 99999 to make this a 3.2
&lt;br&gt;&amp;gt; blocker.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Matthias
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530629&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530629&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530629&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530629&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26530629.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530416</id>
	<title>Re: Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-26T06:45:22Z</published>
	<updated>2009-11-26T06:45:22Z</updated>
	<author>
		<name>Cor Nouws</name>
	</author>
	<content type="html">Hi Matthias,
&lt;br&gt;&lt;br&gt;Matthias B. wrote (26-11-2009 15:37)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'd like to know the reasoning behind the decision not to treat
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=106151&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=106151&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; as a release blocker for 3.2. It's a serious regression regarding the
&lt;br&gt;&amp;gt; API. Common interfaces (XTextField) that used to be supported by
&lt;br&gt;&amp;gt; common objects (TextPortion) are missing now. Who knows how many
&lt;br&gt;&amp;gt; macros and extensions break because of this. But no one seems to care
&lt;br&gt;&amp;gt; enough to comment even on my request in bug 99999 to make this a 3.2
&lt;br&gt;&amp;gt; blocker.
&lt;/div&gt;&lt;br&gt;The reason possibly is that you did not ask for blokker status at 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530416&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;releases@...&lt;/a&gt;
&lt;br&gt;Do you to do it there? If not (not subscriber for example) I can.
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;Cor
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cor Nouws
&lt;br&gt;&amp;nbsp; &amp;nbsp;- nl.OpenOffice.org marketing contact
&lt;br&gt;&amp;nbsp; &amp;nbsp;- Community Contributor Representative in the Community Council
&lt;br&gt;Gevoel niet vrij te zijn? Zie www.nieuwsteversie.nl
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530416&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530416&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26530416.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530314</id>
	<title>Missing interfaces in OOo 3.2: Why not a blocker?</title>
	<published>2009-11-26T06:37:07Z</published>
	<updated>2009-11-26T06:37:07Z</updated>
	<author>
		<name>Matthias B.-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'd like to know the reasoning behind the decision not to treat
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.openoffice.org/issues/show_bug.cgi?id=106151&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.openoffice.org/issues/show_bug.cgi?id=106151&lt;/a&gt;&lt;br&gt;&lt;br&gt;as a release blocker for 3.2. It's a serious regression regarding the
&lt;br&gt;API. Common interfaces (XTextField) that used to be supported by
&lt;br&gt;common objects (TextPortion) are missing now. Who knows how many
&lt;br&gt;macros and extensions break because of this. But no one seems to care
&lt;br&gt;enough to comment even on my request in bug 99999 to make this a 3.2
&lt;br&gt;blocker.
&lt;br&gt;&lt;br&gt;Matthias
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530314&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530314&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing-interfaces-in-OOo-3.2%3A-Why-not-a-blocker--tp26530314p26530314.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527203</id>
	<title>Re: Connecting to OOBean under Linux</title>
	<published>2009-11-26T02:15:31Z</published>
	<updated>2009-11-26T02:15:31Z</updated>
	<author>
		<name>Steffen Boersig</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;gt; To follow established expectations on the various platforms, and, in 
&lt;br&gt;&amp;gt; some cases, due to technical necessities of the various platforms. &amp;nbsp;In 
&lt;br&gt;&amp;gt; principle, on all platforms there are three layers (URE, Basis, Brand) 
&lt;br&gt;&amp;gt; at potentially arbitrary positions (even relative to each other). 
&lt;br&gt;&amp;gt; Within the URE layer, one difference among platforms is that Windows 
&lt;br&gt;&amp;gt; has both executables and libraries in bin, while Unix has libraries in 
&lt;br&gt;&amp;gt; lib. &amp;nbsp;Another difference is that, since recently, Windows shifted 
&lt;br&gt;&amp;gt; virtually all libraries from the Basis program to the Brand program 
&lt;br&gt;&amp;gt; directory.
&lt;br&gt;Thanks for the info on that.
&lt;br&gt;&amp;gt; OOoBean tries to connect to soffice via a named pipe, which requires 
&lt;br&gt;&amp;gt; native code in libjpipe.so being called from jurt.jar. &amp;nbsp;I assume that 
&lt;br&gt;&amp;gt; some Java error occurs failing to load that native lib which would be 
&lt;br&gt;&amp;gt; swallowed by the &amp;quot;catch ( java.lang.Throwable aExc )&amp;quot; at OOoBean.java 
&lt;br&gt;&amp;gt; l. &amp;nbsp;184. &amp;nbsp;I suggest you patch OOoBean.java to include 
&lt;br&gt;&amp;gt; &amp;quot;aExc.printStackTrace();&amp;quot; before &amp;quot;throw new NoConnectionException();&amp;quot; 
&lt;br&gt;&amp;gt; to give more information.
&lt;br&gt;I patched OOoBean.java (and to a minor extent PipeConnection.java) and 
&lt;br&gt;it seems you were right on this one. It's failing at the method 
&lt;br&gt;createJNI(String) with &amp;quot;xxx_25B7Office&amp;quot; as parameter.
&lt;br&gt;&lt;br&gt;After looking deeper into the subject I decided to test if my 
&lt;br&gt;referencing to jurt.jar and the others.
&lt;br&gt;Indeed there was the problem.
&lt;br&gt;&lt;br&gt;Since the folder structure under Linux and Windows were different I 
&lt;br&gt;decided to fix it with symbolic links. It works fine for all loading 
&lt;br&gt;jars, but seems to cause trouble if a jar needs JNI functions.
&lt;br&gt;I referenced with a new manifest file to the original locations instead 
&lt;br&gt;of symbolic links and it works just fine :)
&lt;br&gt;&lt;br&gt;Don't know why symbolic links can not be used since they are referring 
&lt;br&gt;to the same node but anyway. It works, and that's what counts for the 
&lt;br&gt;customers ;)
&lt;br&gt;&lt;br&gt;Thank you for pointing me to the right direction Stephan and if you know 
&lt;br&gt;why exactly it's not functioning with links I would like to know that :)
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Steffen B
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527203&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527203&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connecting-to-OOBean-under-Linux-tp26474620p26527203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525197</id>
	<title>Re: Where can I find the SDK for OO 2.4.x?</title>
	<published>2009-11-25T23:18:51Z</published>
	<updated>2009-11-25T23:18:51Z</updated>
	<author>
		<name>Cor Nouws</name>
	</author>
	<content type="html">Hi Ariel,
&lt;br&gt;&lt;br&gt;Ariel Constenla-Haile wrote (25-11-2009 23:14)
&lt;br&gt;&lt;br&gt;&amp;gt; this links to 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://archive.services.openoffice.org/pub/openoffice-archive/stable/2.4.0/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://archive.services.openoffice.org/pub/openoffice-archive/stable/2.4.0/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; but in the last of the 2.4.* series, there is also an SDK
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://archive.services.openoffice.org/pub/openoffice-archive/stable/2.4.3/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://archive.services.openoffice.org/pub/openoffice-archive/stable/2.4.3/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; May be there is a difference between them? besides that it makes sense that, if 
&lt;br&gt;&amp;gt; Marco downloaded OOo 2.4.3, he should also use the 2.4.3 SDK.
&lt;br&gt;&lt;br&gt;That is definitely right. Thanks for correcting me.
&lt;br&gt;&lt;br&gt;Cor
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cor Nouws
&lt;br&gt;&amp;nbsp; &amp;nbsp;- nl.OpenOffice.org marketing contact
&lt;br&gt;&amp;nbsp; &amp;nbsp;- Community Contributor Representative in the Community Council
&lt;br&gt;Gevoel niet vrij te zijn? Zie www.nieuwsteversie.nl
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525197&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525197&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-can-I-find-the-SDK-for-OO-2.4.x--tp26486162p26525197.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521182</id>
	<title>Re: Where can I find the SDK for OO 2.4.x?</title>
	<published>2009-11-25T14:12:38Z</published>
	<updated>2009-11-25T14:12:38Z</updated>
	<author>
		<name>Ariel Constenla-Haile</name>
	</author>
	<content type="html">On Tuesday 24 November 2009, 04:58, Cor Nouws wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ariel Constenla-Haile wrote (24-11-2009 0:58)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On Monday 23 November 2009, 18:26, Marco Castillo wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I'm looking for the SDK for version 2.4.x of OpenOffice. Can someone
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; show me a link where I can download it? it seems to be disappeared. I
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; can only found the 3.1.1 SDK.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; search in ftp://ftp.tu-chemnitz.de/pub/openoffice-archive/stable/
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; or here &lt;a href=&quot;http://download.openoffice.org/2.4.0/sdk.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.openoffice.org/2.4.0/sdk.html&lt;/a&gt;&lt;br&gt;&amp;gt; (linked via via from download page nowadays)
&lt;/div&gt;&lt;br&gt;this links to 
&lt;br&gt;&lt;a href=&quot;http://archive.services.openoffice.org/pub/openoffice-archive/stable/2.4.0/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://archive.services.openoffice.org/pub/openoffice-archive/stable/2.4.0/&lt;/a&gt;&lt;br&gt;&lt;br&gt;but in the last of the 2.4.* series, there is also an SDK
&lt;br&gt;&lt;a href=&quot;http://archive.services.openoffice.org/pub/openoffice-archive/stable/2.4.3/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://archive.services.openoffice.org/pub/openoffice-archive/stable/2.4.3/&lt;/a&gt;&lt;br&gt;&lt;br&gt;May be there is a difference between them? besides that it makes sense that, if 
&lt;br&gt;Marco downloaded OOo 2.4.3, he should also use the 2.4.3 SDK.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;-- 
&lt;br&gt;Ariel Constenla-Haile
&lt;br&gt;La Plata, Argentina
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521182&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521182&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-can-I-find-the-SDK-for-OO-2.4.x--tp26486162p26521182.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26491852</id>
	<title>Re: Where can I find the SDK for OO 2.4.x?</title>
	<published>2009-11-23T23:58:28Z</published>
	<updated>2009-11-23T23:58:28Z</updated>
	<author>
		<name>Cor Nouws</name>
	</author>
	<content type="html">Ariel Constenla-Haile wrote (24-11-2009 0:58)
&lt;br&gt;&amp;gt; On Monday 23 November 2009, 18:26, Marco Castillo wrote:
&lt;br&gt;&amp;gt;&amp;gt; I'm looking for the SDK for version 2.4.x of OpenOffice. Can someone show
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;me a link where I can download it? it seems to be disappeared. I can only
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;found the 3.1.1 SDK.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; search in ftp://ftp.tu-chemnitz.de/pub/openoffice-archive/stable/
&lt;br&gt;&lt;br&gt;or here &lt;a href=&quot;http://download.openoffice.org/2.4.0/sdk.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://download.openoffice.org/2.4.0/sdk.html&lt;/a&gt;&lt;br&gt;(linked via via from download page nowadays)
&lt;br&gt;&lt;br&gt;Ciao - Cor
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cor Nouws
&lt;br&gt;&amp;nbsp; &amp;nbsp;- nl.OpenOffice.org marketing contact
&lt;br&gt;&amp;nbsp; &amp;nbsp;- Community Contributor Representative in the Community Council
&lt;br&gt;Gevoel niet vrij te zijn? Zie www.nieuwsteversie.nl
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491852&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26491852&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-can-I-find-the-SDK-for-OO-2.4.x--tp26486162p26491852.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26488324</id>
	<title>Re: Where can I find the SDK for OO 2.4.x?</title>
	<published>2009-11-23T15:56:57Z</published>
	<updated>2009-11-23T15:56:57Z</updated>
	<author>
		<name>Ariel Constenla-Haile</name>
	</author>
	<content type="html">Hello Marco,
&lt;br&gt;&lt;br&gt;On Monday 23 November 2009, 18:26, Marco Castillo wrote:
&lt;br&gt;&amp;gt; Dear List:
&lt;br&gt;&amp;gt; I'm looking for the SDK for version 2.4.x of OpenOffice. Can someone show
&lt;br&gt;&amp;gt; &amp;nbsp;me a link where I can download it? it seems to be disappeared. I can only
&lt;br&gt;&amp;gt; &amp;nbsp;found the 3.1.1 SDK.
&lt;br&gt;&lt;br&gt;search in ftp://ftp.tu-chemnitz.de/pub/openoffice-archive/stable/
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;-- 
&lt;br&gt;Ariel Constenla-Haile
&lt;br&gt;La Plata, Argentina
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488324&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488324&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-can-I-find-the-SDK-for-OO-2.4.x--tp26486162p26488324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486162</id>
	<title>Where can I find the SDK for OO 2.4.x?</title>
	<published>2009-11-23T13:26:06Z</published>
	<updated>2009-11-23T13:26:06Z</updated>
	<author>
		<name>Marco Castillo-4</name>
	</author>
	<content type="html">Dear List:
&lt;br&gt;I'm looking for the SDK for version 2.4.x of OpenOffice. Can someone show me a link where I can download it? it seems to be disappeared. I can only found the 3.1.1 SDK.
&lt;br&gt;&lt;br&gt;Thanks in advance for your kind reply.
&lt;br&gt;&lt;br&gt;Marco
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486162&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486162&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-can-I-find-the-SDK-for-OO-2.4.x--tp26486162p26486162.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26477359</id>
	<title>Re: Connecting to OOBean under Linux</title>
	<published>2009-11-23T04:39:46Z</published>
	<updated>2009-11-23T04:39:46Z</updated>
	<author>
		<name>Stephan Bergmann</name>
	</author>
	<content type="html">On 11/20/09 14:47, Steffen Boersig wrote:
&lt;br&gt;&amp;gt; I finished my project under Windows and since it's all written in Java I 
&lt;br&gt;&amp;gt; wanted to try it under linux.
&lt;br&gt;&amp;gt; Several errors that occured (Sidenote: Why is the folder structure of OO 
&lt;br&gt;&amp;gt; installation directory different under linux compared to windows??) 
&lt;br&gt;&lt;br&gt;To follow established expectations on the various platforms, and, in 
&lt;br&gt;some cases, due to technical necessities of the various platforms. &amp;nbsp;In 
&lt;br&gt;principle, on all platforms there are three layers (URE, Basis, Brand) 
&lt;br&gt;at potentially arbitrary positions (even relative to each other). 
&lt;br&gt;Within the URE layer, one difference among platforms is that Windows has 
&lt;br&gt;both executables and libraries in bin, while Unix has libraries in lib. 
&lt;br&gt;&amp;nbsp; Another difference is that, since recently, Windows shifted virtually 
&lt;br&gt;all libraries from the Basis program to the Brand program directory.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; could be fixed but one is persistent:
&lt;br&gt;&amp;gt; I always get a NoConnectionException under Linux, whereas under Windows 
&lt;br&gt;&amp;gt; everything goes fine.
&lt;br&gt;&amp;gt; For testing purposes I checked OO Connection before loading from Stream:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;aBean = new OOoBean();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;aBean.getOOoConnection();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (NoConnectionException e1)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;e1.printStackTrace();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; com.sun.star.comp.beans.NoConnectionException
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.star.comp.beans.OOoBean.setOOoConnection(OOoBean.java:185)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.star.comp.beans.OOoBean.getOOoConnection(OOoBean.java:283)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; at de.abas.macro.AbasEditor.&amp;lt;init&amp;gt;(AbasEditor.java:112)
&lt;/div&gt;&lt;br&gt;OOoBean tries to connect to soffice via a named pipe, which requires 
&lt;br&gt;native code in libjpipe.so being called from jurt.jar. &amp;nbsp;I assume that 
&lt;br&gt;some Java error occurs failing to load that native lib which would be 
&lt;br&gt;swallowed by the &amp;quot;catch ( java.lang.Throwable aExc )&amp;quot; at OOoBean.java l. 
&lt;br&gt;&amp;nbsp; 184. &amp;nbsp;I suggest you patch OOoBean.java to include 
&lt;br&gt;&amp;quot;aExc.printStackTrace();&amp;quot; before &amp;quot;throw new NoConnectionException();&amp;quot; to 
&lt;br&gt;give more information.
&lt;br&gt;&lt;br&gt;&amp;gt; I think the rest of the stacktrace is not important.
&lt;br&gt;&amp;gt; I did setup all needed external jars in the manifest file 
&lt;br&gt;&amp;gt; (ridl.jar,juh.jar.jurt.jar,sandbox.jar,officebean.jar,unoil.jar) and 
&lt;br&gt;&amp;gt; they are properly loaded.
&lt;br&gt;&lt;br&gt;What does the manifest look like exactly? &amp;nbsp;At what location do you 
&lt;br&gt;reference those jars, within the OOo installation?
&lt;br&gt;&lt;br&gt;-Stephan
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477359&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477359&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connecting-to-OOBean-under-Linux-tp26474620p26477359.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26477049</id>
	<title>Re: Question about weak reference list inside java bridge code.</title>
	<published>2009-11-23T04:16:53Z</published>
	<updated>2009-11-23T04:16:53Z</updated>
	<author>
		<name>Stephan Bergmann</name>
	</author>
	<content type="html">See my answer to the same question at &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477049&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;. &amp;nbsp;Lets keep 
&lt;br&gt;discussion to that single mailing list.
&lt;br&gt;&lt;br&gt;-Stephan
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477049&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26477049&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-weak-reference-list-inside-java-bridge-code.-tp26473438p26477049.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26475265</id>
	<title>Re: Error reconnecting to OOo once OOo has been started by my	application, then closed.</title>
	<published>2009-11-23T02:01:15Z</published>
	<updated>2009-11-23T02:01:15Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Hi Matthew,
&lt;br&gt;&lt;br&gt;it seems that you are under Linux and you are probably using a non 
&lt;br&gt;official OpenOffice.org build because the official OOo doesn't include 
&lt;br&gt;the mono support.
&lt;br&gt;&lt;br&gt;If you encounter problems with C# under Linux you should contact the 
&lt;br&gt;provider of your OOo build and ask there for help.
&lt;br&gt;&lt;br&gt;It is difficult to answer questions that is related to code that we 
&lt;br&gt;don't know.
&lt;br&gt;&lt;br&gt;Sorry, but i can't say more than i have already written in the issue.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Matthew Pirocchi wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have a small application that generates three different template documents in
&lt;br&gt;&amp;gt; OOo Writer. When one of the three &amp;quot;generate&amp;quot; buttons is clicked, this
&lt;br&gt;&amp;gt; is part of
&lt;br&gt;&amp;gt; the code that is executed (in C#):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; // Connect to OOo
&lt;br&gt;&amp;gt; if (componentContext == null)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; componentContext = uno.util.Bootstrap.bootstrap();
&lt;br&gt;&amp;gt; XMultiServiceFactory multiServiceFactory =
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (XMultiServiceFactory) componentContext.getServiceManager();
&lt;br&gt;&amp;gt; XComponentLoader loader = (XComponentLoader)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; multiServiceFactory.createInstance
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&amp;quot;com.sun.star.frame.Desktop&amp;quot;);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; // Initialize class members document, text, and cursor
&lt;br&gt;&amp;gt; document = (XTextDocument) loader.loadComponentFromURL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (&amp;quot;private:factory/swriter&amp;quot;, &amp;quot;_blank&amp;quot;, 0,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;new PropertyValue[0]);
&lt;br&gt;&amp;gt; text = document.getText();
&lt;br&gt;&amp;gt; cursor = text.createTextCursor();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The following steps cause a crash:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. The user generates a document.
&lt;br&gt;&amp;gt; 2. The user closes the document (closing OOo).
&lt;br&gt;&amp;gt; 3. The user tries to generate another document.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This exception is thrown:
&lt;br&gt;&amp;gt; unoidl.com.sun.star.lang.DisposedException: URP-Bridge: disposed(tid=4)
&lt;br&gt;&amp;gt; Unexpected connection closure
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; How do I check to make sure the connection is still open before trying to
&lt;br&gt;&amp;gt; generate another chart? And how do I reconnect if it has been closed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; More specifically, this is the complete error message:
&lt;br&gt;&amp;gt; Marshaling clicked signal
&lt;br&gt;&amp;gt; Exception in Gtk# callback delegate
&lt;br&gt;&amp;gt; &amp;nbsp; Note: Applications can use GLib.ExceptionManager.UnhandledException to handle
&lt;br&gt;&amp;gt; the exception.
&lt;br&gt;&amp;gt; System.Reflection.TargetInvocationException: Exception has been thrown by the
&lt;br&gt;&amp;gt; target of an invocation. ---&amp;gt; unoidl.com.sun.star.lang.DisposedException: URP-
&lt;br&gt;&amp;gt; Bridge: disposed(tid=4) Unexpected connection closure
&lt;br&gt;&amp;gt; &amp;nbsp; at com.sun.star.bridges.mono_uno.UnoInterfaceProxy.ConstructReturnMessage
&lt;br&gt;&amp;gt; (Any
&lt;br&gt;&amp;gt; result, System.Object[] args, uno.Typelib.InterfaceMethodTypeDescription*
&lt;br&gt;&amp;gt; methodTD, IMethodCallMessage callmsg, Any exception) [0x00000]
&lt;br&gt;&amp;gt; &amp;nbsp; at com.sun.star.bridges.mono_uno.UnoInterfaceProxy.Invoke (IMessage request)
&lt;br&gt;&amp;gt; [0x00000]
&lt;br&gt;&amp;gt; &amp;nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
&lt;br&gt;&amp;gt; (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception&amp;
&lt;br&gt;&amp;gt; exc, System.Object[]&amp; out_args) [0x00000]
&lt;br&gt;&amp;gt; &amp;nbsp; --- End of inner exception stack trace ---
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The application was terminated by a signal: SIGHUP
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I get rid of the line &amp;quot;if (componentContext == null)&amp;quot; (i.e., always try to
&lt;br&gt;&amp;gt; connect, even when we have already connected), I get a stacktrace
&lt;br&gt;&amp;gt; accompanied by
&lt;br&gt;&amp;gt; this message:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; =================================================================
&lt;br&gt;&amp;gt; Got a SIGSEGV while executing native code. This usually indicates
&lt;br&gt;&amp;gt; a fatal error in the mono runtime or one of the native libraries
&lt;br&gt;&amp;gt; used by your application.
&lt;br&gt;&amp;gt; =================================================================
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've tried handling the &amp;quot;disposing&amp;quot; event, and trying to reconnect
&lt;br&gt;&amp;gt; when OOo is closed (via Bootstrap.bootstrap()), but I get the same
&lt;br&gt;&amp;gt; Unexpected connection closure. &amp;nbsp;One interesting thing is that
&lt;br&gt;&amp;gt; &amp;quot;disposing&amp;quot; doesn't seem to get called for the componentContext,
&lt;br&gt;&amp;gt; multiServiceFactory, or loader when I close OOo. Only the document
&lt;br&gt;&amp;gt; calls disposing (and trying to reconnect still gives me the error).
&lt;br&gt;&amp;gt; Perhaps what's happening is that the connection is never fully closed,
&lt;br&gt;&amp;gt; and that's what makes bootstrap give the error. Any ideas?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475265&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475265&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475265&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26475265&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-reconnecting-to-OOo-once-OOo-has-been-started-by-my--application%2C-then-closed.-tp26474627p26475265.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26473438</id>
	<title>Question about weak reference list inside java bridge code.</title>
	<published>2009-11-22T22:47:40Z</published>
	<updated>2009-11-22T22:47:40Z</updated>
	<author>
		<name>Huaidong Qiu</name>
	</author>
	<content type="html">We got a problem like this, one of the L2 entry list keep growing consume
&lt;br&gt;too much memory.
&lt;br&gt;&lt;br&gt;module jurt
&lt;br&gt;&lt;br&gt;package com.sun.star.lib.uno.environments.java;
&lt;br&gt;&lt;br&gt;the cleanUp member function of class Registry.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // must only be called while synchronized on map:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void cleanUp() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (;;) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Level2Entry l2 = (Level2Entry) queue.poll();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (l2 == null) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // It is possible that a Level2Entry e1 for the OID/type
&lt;br&gt;pair
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // (o,t) becomes weakly reachable, then another Level2Entry
&lt;br&gt;e2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // is registered for the same pair (o,t) (a new Level2Entry
&lt;br&gt;is
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // created since now e1.get() == null), and only then e1 is
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // enqueued. &amp;nbsp;To not erroneously remove the new e2 in that
&lt;br&gt;case,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // check whether the map still contains e1:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String oid = l2.getOid();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Level1Entry l1 = getLevel1Entry(oid);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (l1 != null &amp;&amp; l1.get(l2.getType()) == l2) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; removeLevel2Entry(oid, l1, l2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;All those weak reference Level2Entry entries are invalid, the condition
&lt;br&gt;(l1.get(l2.getType()) == l2) keeps cleanUp function from removing them from
&lt;br&gt;the list.
&lt;br&gt;&lt;br&gt;I think if this
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // It is possible that a Level2Entry e1 for the OID/type
&lt;br&gt;pair
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // (o,t) becomes weakly reachable, then another Level2Entry
&lt;br&gt;e2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // is registered for the same pair (o,t) (a new Level2Entry
&lt;br&gt;is
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // created since now e1.get() == null), and only then e1 is
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // enqueued.
&lt;br&gt;happened once then there is no way the condition (l1.get(l2.getType()) ==
&lt;br&gt;l2) can be true again, because get(l2.getType()) always return the first
&lt;br&gt;element in the list, but queue.poll() return the newly released weak
&lt;br&gt;reference which can not be the first one in the list.
&lt;br&gt;&lt;br&gt;If weak reference list cleanup mechanism is correct, could please give some
&lt;br&gt;possible reasons could cause the growing problem of L2 entry list.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;Huai Dong
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Question-about-weak-reference-list-inside-java-bridge-code.-tp26473438p26473438.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474627</id>
	<title>Error reconnecting to OOo once OOo has been started by my  application, then closed.</title>
	<published>2009-11-21T10:01:39Z</published>
	<updated>2009-11-21T10:01:39Z</updated>
	<author>
		<name>Matthew Pirocchi</name>
	</author>
	<content type="html">I have a small application that generates three different template documents in
&lt;br&gt;OOo Writer. When one of the three &amp;quot;generate&amp;quot; buttons is clicked, this
&lt;br&gt;is part of
&lt;br&gt;the code that is executed (in C#):
&lt;br&gt;&lt;br&gt;// Connect to OOo
&lt;br&gt;if (componentContext == null)
&lt;br&gt;&amp;nbsp; &amp;nbsp; componentContext = uno.util.Bootstrap.bootstrap();
&lt;br&gt;XMultiServiceFactory multiServiceFactory =
&lt;br&gt;&amp;nbsp; &amp;nbsp; (XMultiServiceFactory) componentContext.getServiceManager();
&lt;br&gt;XComponentLoader loader = (XComponentLoader)
&lt;br&gt;&amp;nbsp; &amp;nbsp; multiServiceFactory.createInstance
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&amp;quot;com.sun.star.frame.Desktop&amp;quot;);
&lt;br&gt;&lt;br&gt;// Initialize class members document, text, and cursor
&lt;br&gt;document = (XTextDocument) loader.loadComponentFromURL
&lt;br&gt;&amp;nbsp; &amp;nbsp; (&amp;quot;private:factory/swriter&amp;quot;, &amp;quot;_blank&amp;quot;, 0,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;new PropertyValue[0]);
&lt;br&gt;text = document.getText();
&lt;br&gt;cursor = text.createTextCursor();
&lt;br&gt;&lt;br&gt;&lt;br&gt;The following steps cause a crash:
&lt;br&gt;&lt;br&gt;1. The user generates a document.
&lt;br&gt;2. The user closes the document (closing OOo).
&lt;br&gt;3. The user tries to generate another document.
&lt;br&gt;&lt;br&gt;This exception is thrown:
&lt;br&gt;unoidl.com.sun.star.lang.DisposedException: URP-Bridge: disposed(tid=4)
&lt;br&gt;Unexpected connection closure
&lt;br&gt;&lt;br&gt;How do I check to make sure the connection is still open before trying to
&lt;br&gt;generate another chart? And how do I reconnect if it has been closed?
&lt;br&gt;&lt;br&gt;More specifically, this is the complete error message:
&lt;br&gt;Marshaling clicked signal
&lt;br&gt;Exception in Gtk# callback delegate
&lt;br&gt;&amp;nbsp; Note: Applications can use GLib.ExceptionManager.UnhandledException to handle
&lt;br&gt;the exception.
&lt;br&gt;System.Reflection.TargetInvocationException: Exception has been thrown by the
&lt;br&gt;target of an invocation. ---&amp;gt; unoidl.com.sun.star.lang.DisposedException: URP-
&lt;br&gt;Bridge: disposed(tid=4) Unexpected connection closure
&lt;br&gt;&amp;nbsp; at com.sun.star.bridges.mono_uno.UnoInterfaceProxy.ConstructReturnMessage
&lt;br&gt;(Any
&lt;br&gt;result, System.Object[] args, uno.Typelib.InterfaceMethodTypeDescription*
&lt;br&gt;methodTD, IMethodCallMessage callmsg, Any exception) [0x00000]
&lt;br&gt;&amp;nbsp; at com.sun.star.bridges.mono_uno.UnoInterfaceProxy.Invoke (IMessage request)
&lt;br&gt;[0x00000]
&lt;br&gt;&amp;nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
&lt;br&gt;(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception&amp;
&lt;br&gt;exc, System.Object[]&amp; out_args) [0x00000]
&lt;br&gt;&amp;nbsp; --- End of inner exception stack trace ---
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;The application was terminated by a signal: SIGHUP
&lt;br&gt;&lt;br&gt;If I get rid of the line &amp;quot;if (componentContext == null)&amp;quot; (i.e., always try to
&lt;br&gt;connect, even when we have already connected), I get a stacktrace
&lt;br&gt;accompanied by
&lt;br&gt;this message:
&lt;br&gt;&lt;br&gt;=================================================================
&lt;br&gt;Got a SIGSEGV while executing native code. This usually indicates
&lt;br&gt;a fatal error in the mono runtime or one of the native libraries
&lt;br&gt;used by your application.
&lt;br&gt;=================================================================
&lt;br&gt;&lt;br&gt;&lt;br&gt;I've tried handling the &amp;quot;disposing&amp;quot; event, and trying to reconnect
&lt;br&gt;when OOo is closed (via Bootstrap.bootstrap()), but I get the same
&lt;br&gt;Unexpected connection closure. &amp;nbsp;One interesting thing is that
&lt;br&gt;&amp;quot;disposing&amp;quot; doesn't seem to get called for the componentContext,
&lt;br&gt;multiServiceFactory, or loader when I close OOo. Only the document
&lt;br&gt;calls disposing (and trying to reconnect still gives me the error).
&lt;br&gt;Perhaps what's happening is that the connection is never fully closed,
&lt;br&gt;and that's what makes bootstrap give the error. Any ideas?
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474627&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474627&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-reconnecting-to-OOo-once-OOo-has-been-started-by-my--application%2C-then-closed.-tp26474627p26474627.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26457427</id>
	<title>listbox events</title>
	<published>2009-11-21T07:14:47Z</published>
	<updated>2009-11-21T07:14:47Z</updated>
	<author>
		<name>Paolo Mantovani</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm having a strange problem that affects only certain versions of ooo 3.1.1
&lt;br&gt;&lt;br&gt;In practice, having a listbox model, if you set the SelectedItems 
&lt;br&gt;property, on some ooo version the &amp;nbsp;itemStateChanged event of the ListBox 
&lt;br&gt;is raised.
&lt;br&gt;&lt;br&gt;The problem does not affect OOo vanilla version (sun build) but affects 
&lt;br&gt;the ooo packaged from Ubuntu.
&lt;br&gt;&lt;br&gt;you can test with the code below (you'll need to prepare a simple dialog 
&lt;br&gt;with a listbox before)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Now, my question is:
&lt;br&gt;what is the correct behaviour:
&lt;br&gt;OOo by sun: the event is NOT raised if you modify the selection from the 
&lt;br&gt;model but it is raised if the user modify the selection manually.
&lt;br&gt;&lt;br&gt;OOo Ubuntu 9.10: the event is alwais raised
&lt;br&gt;&lt;br&gt;IMHO the first is correct or at least is the most used, because I have 
&lt;br&gt;never observed the second in old ooo versions.
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;Paolo M
&lt;br&gt;&lt;br&gt;&lt;br&gt;REM &amp;nbsp;***** &amp;nbsp;BASIC &amp;nbsp;*****
&lt;br&gt;&lt;br&gt;Sub Main
&lt;br&gt;oDlg = CreateUnoDialog(DialogLibraries.Standard.Dialog1)
&lt;br&gt;oDlg.Model.ListBox.StringItemList = Array(1,2,3,4,5)
&lt;br&gt;&lt;br&gt;'this line raises the event but only on certain versions
&lt;br&gt;oDlg.Model.ListBox.SelectedItems = (Array(0)) '****
&lt;br&gt;&lt;br&gt;oDlg.execute
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;'manually binded to the itemstateChanged event of the listbox
&lt;br&gt;Sub ListBox_itemStateChanged(oEvent As Object)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print &amp;quot;halo!&amp;quot;
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26457427&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26457427&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/listbox-events-tp26457427p26457427.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26474620</id>
	<title>Connecting to OOBean under Linux</title>
	<published>2009-11-20T05:47:48Z</published>
	<updated>2009-11-20T05:47:48Z</updated>
	<author>
		<name>Steffen Boersig</name>
	</author>
	<content type="html">Hi guys,
&lt;br&gt;&lt;br&gt;I finished my project under Windows and since it's all written in Java I 
&lt;br&gt;wanted to try it under linux.
&lt;br&gt;Several errors that occured (Sidenote: Why is the folder structure of OO 
&lt;br&gt;installation directory different under linux compared to windows??) 
&lt;br&gt;could be fixed but one is persistent:
&lt;br&gt;I always get a NoConnectionException under Linux, whereas under Windows 
&lt;br&gt;everything goes fine.
&lt;br&gt;For testing purposes I checked OO Connection before loading from Stream:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aBean = new OOoBean();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; aBean.getOOoConnection();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; catch (NoConnectionException e1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e1.printStackTrace();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;Error:
&lt;br&gt;&lt;br&gt;com.sun.star.comp.beans.NoConnectionException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at com.sun.star.comp.beans.OOoBean.setOOoConnection(OOoBean.java:185)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at com.sun.star.comp.beans.OOoBean.getOOoConnection(OOoBean.java:283)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at de.abas.macro.AbasEditor.&amp;lt;init&amp;gt;(AbasEditor.java:112)
&lt;br&gt;&lt;br&gt;I think the rest of the stacktrace is not important.
&lt;br&gt;I did setup all needed external jars in the manifest file 
&lt;br&gt;(ridl.jar,juh.jar.jurt.jar,sandbox.jar,officebean.jar,unoil.jar) and 
&lt;br&gt;they are properly loaded.
&lt;br&gt;&lt;br&gt;Executing &amp;quot;soffice&amp;quot; is also working if executed from the shell. So the 
&lt;br&gt;com.sun.star.comp.beans.LocalOfficeConnection.OfficeService.startupService() 
&lt;br&gt;doesn't throw an error.
&lt;br&gt;&lt;br&gt;I don't understand, why it is able to execute under Windows with the 
&lt;br&gt;above &amp;quot;setup&amp;quot; (external jars, environment variables UNO_PATH) and why it 
&lt;br&gt;is not loading under linux.
&lt;br&gt;&lt;br&gt;I'm out of available options (for me) since I read through every 
&lt;br&gt;relevant source code of OOBean several times but I don't see what I'm 
&lt;br&gt;doing wrong here.
&lt;br&gt;&lt;br&gt;Any help/hint would be great.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Steffen Börsig
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474620&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26474620&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connecting-to-OOBean-under-Linux-tp26474620p26474620.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26436738</id>
	<title>Presenting Instant Bird</title>
	<published>2009-11-19T16:35:34Z</published>
	<updated>2009-11-19T16:35:34Z</updated>
	<author>
		<name>JZA</name>
	</author>
	<content type="html">This is an interesting test case of the future of the toolkits such as &amp;nbsp;
&lt;br&gt;libpurple and XUL.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://instantbird.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://instantbird.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;This is a great way to see if OOo can grow into new modules maybe by &amp;nbsp;
&lt;br&gt;encapsulating the libraries such as the project management project. For &amp;nbsp;
&lt;br&gt;example something like the Planner app (project management in Gnome) and &amp;nbsp;
&lt;br&gt;the OOo toolkit. Althought I am not sure if XULRunner and UNO represent &amp;nbsp;
&lt;br&gt;the same stack.
&lt;br&gt;&lt;br&gt;Also a side project could be a better collaboration environment using &amp;nbsp;
&lt;br&gt;libpurple which also works on all 3 OS.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Using Opera's revolutionary e-mail client: &lt;a href=&quot;http://www.opera.com/mail/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.opera.com/mail/&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26436738&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26436738&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Presenting-Instant-Bird-tp26436738p26436738.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26407567</id>
	<title>Re: loadcomponentfromrul with whitespace bug?</title>
	<published>2009-11-18T05:19:22Z</published>
	<updated>2009-11-18T05:19:22Z</updated>
	<author>
		<name>Daniel Käfer</name>
	</author>
	<content type="html">Hello
&lt;br&gt;&lt;br&gt;Mathias Bauer schrieb
&lt;br&gt;&amp;gt; are you sure that you have write access to the file? Can you open it for
&lt;br&gt;&amp;gt; editing with the same instance of OOo with the same OOo user profile
&lt;br&gt;&amp;gt; that you are using for your loadComponentFromURL call?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;I hava read und write access to the file. In OpenOffice i can open the 
&lt;br&gt;document and save the modifications. It is the same profile and the same 
&lt;br&gt;instance of OpenOffice.
&lt;br&gt;&lt;br&gt;&amp;gt; Are you talking about &amp;quot;ReadOnly&amp;quot; or about &amp;quot;Hidden&amp;quot;?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Sorry, i have copy the wrong code snippet. I am talking about &amp;quot;ReadOnly&amp;quot;
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Daniel Käfer
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26407567&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26407567&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromrul-with-whitespace-bug--tp26405814p26407567.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26407366</id>
	<title>Re: loadcomponentfromrul with whitespace bug?</title>
	<published>2009-11-18T05:04:16Z</published>
	<updated>2009-11-18T05:04:16Z</updated>
	<author>
		<name>Mathias Bauer</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Daniel Käfer wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I try to open a document. In the Path are whitespace. I replace the 
&lt;br&gt;&amp;gt; whitespace with '%20', for example 
&lt;br&gt;&amp;gt; file:///C:/Dokumente%20und%20Einstellungen/twc/TWC/Documents/1258539328921.odt.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If the ReadOnly property is true or the property is not set, it works 
&lt;br&gt;&amp;gt; well. If the property ist false a IllegalArgumentException is throw.
&lt;br&gt;&lt;br&gt;are you sure that you have write access to the file? Can you open it for
&lt;br&gt;editing with the same instance of OOo with the same OOo user profile
&lt;br&gt;that you are using for your loadComponentFromURL call?
&lt;br&gt;&lt;br&gt;&amp;gt; The complete call is:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; PropertyValue[] properties = new PropertyValue[1];
&lt;br&gt;&amp;gt; properties[0] = new PropertyValue();
&lt;br&gt;&amp;gt; properties[0].Name = &amp;quot;Hidden&amp;quot;;
&lt;br&gt;&amp;gt; properties[0].Value = Boolean.valueOf(false);
&lt;br&gt;&lt;br&gt;Are you talking about &amp;quot;ReadOnly&amp;quot; or about &amp;quot;Hidden&amp;quot;?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Mathias
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
&lt;br&gt;OpenOffice.org Engineering at Sun: &lt;a href=&quot;http://blogs.sun.com/GullFOSS&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://blogs.sun.com/GullFOSS&lt;/a&gt;&lt;br&gt;Please don't reply to &amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26407366&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nospamformba@...&lt;/a&gt;&amp;quot;.
&lt;br&gt;I use it for the OOo lists and only rarely read other mails sent to it.
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26407366&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26407366&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromrul-with-whitespace-bug--tp26405814p26407366.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26405814</id>
	<title>loadcomponentfromrul with whitespace bug?</title>
	<published>2009-11-18T02:54:41Z</published>
	<updated>2009-11-18T02:54:41Z</updated>
	<author>
		<name>Daniel Käfer</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I try to open a document. In the Path are whitespace. I replace the 
&lt;br&gt;whitespace with '%20', for example 
&lt;br&gt;file:///C:/Dokumente%20und%20Einstellungen/twc/TWC/Documents/1258539328921.odt.
&lt;br&gt;&lt;br&gt;If the ReadOnly property is true or the property is not set, it works 
&lt;br&gt;well. If the property ist false a IllegalArgumentException is throw.
&lt;br&gt;&lt;br&gt;de.twc.ooo.OOoException: com.sun.star.lang.IllegalArgumentException: URL 
&lt;br&gt;seems to be an unsupported one.
&lt;br&gt;&amp;nbsp; &amp;nbsp; at de.twc.ooo.OOoDocumentHandler.open(OOoDocumentHandler.java:184)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;de.twc.tinyoocom.OOComJudas6Impl.openDocumentVisible(OOComJudas6Impl.java:99)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at de.twc.tinyoocom.Main.&amp;lt;init&amp;gt;(Main.java:67)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at de.twc.tinyoocom.Main.main(Main.java:181)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:597)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at com.sun.star.lib.loader.Loader.main(Loader.java:143)
&lt;br&gt;Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be 
&lt;br&gt;an unsupported one.
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at 
&lt;br&gt;com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at $Proxy5.loadComponentFromURL(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; at de.twc.ooo.OOoDocumentHandler.open(OOoDocumentHandler.java:172)
&lt;br&gt;&amp;nbsp; &amp;nbsp; ... 8 more
&lt;br&gt;&lt;br&gt;The complete call is:
&lt;br&gt;&lt;br&gt;PropertyValue[] properties = new PropertyValue[1];
&lt;br&gt;properties[0] = new PropertyValue();
&lt;br&gt;properties[0].Name = &amp;quot;Hidden&amp;quot;;
&lt;br&gt;properties[0].Value = Boolean.valueOf(false);
&lt;br&gt;&lt;br&gt;xComponent = xComponentLoader.loadComponentFromURL(
&lt;br&gt;&amp;quot;file:///C:/Dokumente%20und%20Einstellungen/twc/TWC/Documents/1258539328921.odt&amp;quot;,
&lt;br&gt;&amp;quot;_blank&amp;quot;, FrameSearchFlag.CREATE, properties);
&lt;br&gt;&lt;br&gt;I think this is a bug.
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;Daniel Käfer
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26405814&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26405814&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromrul-with-whitespace-bug--tp26405814p26405814.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26368412</id>
	<title>OOo API plugin 2.0.6 for NetbEans 6.7.1 and 6.8 Beta available</title>
	<published>2009-11-16T00:36:55Z</published>
	<updated>2009-11-16T00:36:55Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;maybe some of you have already seen or got notified that a new version 
&lt;br&gt;of the OOo API plugin for NetBeans is available.
&lt;br&gt;&lt;br&gt;This new version is only a maintenance update for newer version of 
&lt;br&gt;NetBeans and it supports now the current stable release NetBeans 6.7.1 
&lt;br&gt;and also NetBeans 6.8 Beta.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26368412&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26368412&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OOo-API-plugin-2.0.6-for-NetbEans-6.7.1-and-6.8-Beta-available-tp26368412p26368412.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26368016</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-15T23:57:27Z</published>
	<updated>2009-11-15T23:57:27Z</updated>
	<author>
		<name>Bernard Marcelly</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;You must also specify the filter name...
&lt;br&gt;&lt;br&gt;props(0).Name = &amp;quot;FilterName&amp;quot;
&lt;br&gt;props(0).Value = &amp;quot;Text (encoded)&amp;quot;
&lt;br&gt;props(1).Name = &amp;quot;FilterOptions&amp;quot;
&lt;br&gt;props(1).Value = &amp;quot;UTF8&amp;quot;
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&amp;nbsp; Bernard
&lt;br&gt;&lt;br&gt;Message de Wei Min Teo &amp;nbsp;date 2009-11-16 07:34 :
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've created a text file, renamed the extension to odt and tried using filteroptions. It is unable to open the file. However, if i select this option via the text encoding dialog UI, it is able to display the text. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Prop.Name = &amp;quot;FilterOptions&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Prop.Value &amp;lt;&amp;lt;= &amp;quot;UTF8&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've yet to try the type detection, will further update after i figure it out. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26368016&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26368016&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26368016.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26367437</id>
	<title>RE: loadcomponentfromurl</title>
	<published>2009-11-15T22:34:16Z</published>
	<updated>2009-11-15T22:34:16Z</updated>
	<author>
		<name>Wei Min Teo</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I've created a text file, renamed the extension to odt and tried using filteroptions. It is unable to open the file. However, if i select this option via the text encoding dialog UI, it is able to display the text. 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; Prop.Name = &amp;quot;FilterOptions&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; Prop.Value &amp;lt;&amp;lt;= &amp;quot;UTF8&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I've yet to try the type detection, will further update after i figure it out. 
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Wei Min
&lt;br&gt;&amp;nbsp;
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Mon, 9 Nov 2009 10:14:56 +0100
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Juergen.Schmidt@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Re: [api-dev] loadcomponentfromurl
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mikhail is right, an important piece of documentation is missing here 
&lt;br&gt;&amp;gt; and i renew my request that we document filter specific settings 
&lt;br&gt;&amp;gt; somewhere. A wiki page showing the names that have to be used via API 
&lt;br&gt;&amp;gt; and all filter specific settings. These settings depends on the filter 
&lt;br&gt;&amp;gt; implementation and should be documented for each filter.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Today we have only a list of filter names somewhere in the framework 
&lt;br&gt;&amp;gt; wiki section.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Juergen
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Mikhail Voytenko wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi Wei Min,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; As I have written in one of the previous emails, I would suggest to make
&lt;br&gt;&amp;gt; &amp;gt; the type detection explicitly to get the required filter name. And in
&lt;br&gt;&amp;gt; &amp;gt; case you get &amp;quot;Text (encoded)&amp;quot; filter, please add the filter options
&lt;br&gt;&amp;gt; &amp;gt; containing the encoding.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; The problem with filter options is that there seems to be no
&lt;br&gt;&amp;gt; &amp;gt; documentation regarding them. According to source-code the following
&lt;br&gt;&amp;gt; &amp;gt; property in the MediaDescriptor might work in case of &amp;quot;Text (encoded)&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; filter.
&lt;br&gt;&amp;gt; &amp;gt; Prop.Name = &amp;quot;FilterOptions&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; Prop.Value &amp;lt;&amp;lt;= &amp;quot;UTF8&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Before you start with the TypeDetection usage, please try just to add
&lt;br&gt;&amp;gt; &amp;gt; the filter options property in MediaDescriptor and try it with the
&lt;br&gt;&amp;gt; &amp;gt; problematic documents. Just to be sure that the options are accepted in
&lt;br&gt;&amp;gt; &amp;gt; this format.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Best regards,
&lt;br&gt;&amp;gt; &amp;gt; Mikhail.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; On 11/09/09 03:09, Wei Min Teo wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks for your responses. 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Let's assume that indeed those files are not &amp;quot;legitimate&amp;quot; .doc files. If someone creates a text file and renames it as .doc, the Writer encoding text dialog will pop out a UI. If I do choose a encoding such as UTF-8, it will be able to open the text file with no problems and the text will be readable. This is what i want to do programatically, to open with a specified encoding without using the pop-out UI. 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Is it possible to do this?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Wei Min
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Date: Fri, 6 Nov 2009 12:10:58 +0100
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mikhail.Voytenko@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Subject: Re: [api-dev] loadcomponentfromurl
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; On 11/06/09 10:26, Juergen Schmidt wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Mikhail Voytenko wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On 11/06/09 08:50, Juergen Schmidt wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Ariel Constenla-Haile wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hello Wei,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Thursday 05 November 2009, 22:51, Wei Min Teo wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I'm not going to use any filters or perhaps it automatically uses a 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; default
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; filter. Anyway, to clarify, I think my problem occurs with opening 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *.doc
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; or *.ppt files. When I open it prompts me on which character 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; encoding i
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; want to use. This would &amp;quot;hang&amp;quot; an automation program. 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this sounds like the Writer encoding text dialog, that shows up for 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; example when you try to open with OOo an unkown file format (by 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; default is treated as text, and you are prompted to select the 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; encoding, etc.)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Aren't you passing a filter name?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; even if he doesn't use a filter name, the type detection should work 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; well for .doc and .ppt files. Sounds strange.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The type detection works well and the correct filter is detected as I 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; understand. The problem here, is that the mentioned filters need 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; character encoding, thus the FilterOptions dialog ( not &amp;quot;Unknown file 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; format&amp;quot; dialog ) is shown.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; i don't think so. A valid .doc file is auto detected and the word filter 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; doesn't have a filter options dialog as far as i know. It looks more 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; like the scenario that Ariel has described.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Sorry, I was wrong in my last comment.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Indeed the text filter still wins sometimes by unknown formats, although 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; actually the filter selection dialog should be shown. And MSWord filter 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; has no filter options dialog.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Maybe a complete code snippet could help to understand ...
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; It is probably more interesting to take a look to the document. I 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; suspect that Bernard is right and the document is no valid .doc document.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Juergen
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Windows 7: Simplify what you do everyday. Find the right PC for you.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://windows.microsoft.com/shop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://windows.microsoft.com/shop&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26367437&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;New Windows 7: Find the right PC for you. Learn more.
&lt;br&gt;&lt;a href=&quot;http://windows.microsoft.com/shop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://windows.microsoft.com/shop&lt;/a&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26367437.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26354623</id>
	<title>Re: Help with ip output stream from Basic macro in OOo Calc on XP</title>
	<published>2009-11-14T14:44:41Z</published>
	<updated>2009-11-14T14:44:41Z</updated>
	<author>
		<name>Jan Holst Jensen</name>
	</author>
	<content type="html">Martin Jacobs wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am happy to explain why I want it, but it's a long story -
&lt;br&gt;&amp;gt; essentially, it's for writing to an LED display hung over a theatrical
&lt;br&gt;&amp;gt; stage, using a WiFi connection from a laptop. If it works reliably, I
&lt;br&gt;&amp;gt; intend to make the code freely available, as this sort of requirement is
&lt;br&gt;&amp;gt; becoming increasingly in demand to help the hard-of-hearing and for
&lt;br&gt;&amp;gt; language barriers. &amp;nbsp;Current commercial software is either very expensive
&lt;br&gt;&amp;gt; or too crude. However, I need to implement the connection before I worry
&lt;br&gt;&amp;gt; about how to publish the code! &amp;nbsp;Anyway, here is the request.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;Sounds fun!
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Help with ip output stream from Basic macro in OOo Calc on XP.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am attempting to send lines of text to a remote display device. &amp;nbsp;As a
&lt;br&gt;&amp;gt; first step, I have written a set of macros to extract the data I want
&lt;br&gt;&amp;gt; from a spreadsheet and save each line as a file on disc in the required
&lt;br&gt;&amp;gt; format. &amp;nbsp;I did this by copying bits of code I found, with a very
&lt;br&gt;&amp;gt; superficial understanding of how it all works. &amp;nbsp;I am very grateful to
&lt;br&gt;&amp;gt; all those who contribute examples and help.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My next step is to send the data to the display device instead of disc
&lt;br&gt;&amp;gt; file. &amp;nbsp;The instruction I have from the device manufacturer is -
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;Use a socket component and transmit the data string to port 10001 on
&lt;br&gt;&amp;gt; the IP address of the display device.&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have no idea how to do this, and have not found examples that I
&lt;br&gt;&amp;gt; understand. &amp;nbsp;The display only listens and does not respond - does that
&lt;br&gt;&amp;gt; mean I should use UDP rather than TCP? &amp;nbsp; Below is my current output
&lt;br&gt;&amp;gt; routine. &amp;nbsp;I would be grateful for suggestions on how to convert or
&lt;br&gt;&amp;gt; replace it.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;I have no idea whether socket communications can be done in OOoBasic. 
&lt;br&gt;But I would know how to create a small Windows application that can read 
&lt;br&gt;a string from a file and send it to a port on a given IP address. You 
&lt;br&gt;can then use SHELL() from OOoBasic to run that application when you need 
&lt;br&gt;to update the display. This should be fast enough since you are using it 
&lt;br&gt;for something equivalent to subtitles on TV.
&lt;br&gt;&lt;br&gt;But first you should get communications going with the LED display. Try 
&lt;br&gt;doing &amp;quot;telnet 10.10.10.1 10001&amp;quot; where 10.10.10.1 is the IP address of 
&lt;br&gt;the display. I then believe you should be able to see the text you write 
&lt;br&gt;on the LED display. If that works for you I can help you with a 
&lt;br&gt;dedicated application for sending strings. Feel free to write to me in 
&lt;br&gt;private at the address &amp;quot;jan &amp;lt;at&amp;gt; jan-holst.dk&amp;quot;.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;-- Jan Holst Jensen
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26354623&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26354623&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-with-ip-output-stream-from-Basic-macro-in-OOo-Calc-on-XP-tp26354385p26354623.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26354385</id>
	<title>Help with ip output stream from Basic macro in OOo Calc on XP</title>
	<published>2009-11-14T04:50:56Z</published>
	<updated>2009-11-14T04:50:56Z</updated>
	<author>
		<name>Martin Jacobs-2</name>
	</author>
	<content type="html">&lt;br&gt;Please forgive me writing to you on this e-mail address, but I find the
&lt;br&gt;OOo world overwhelming from my limited knowledge of computing theory and
&lt;br&gt;terminology, and I haven't found how or where to submit a request for
&lt;br&gt;help. &amp;nbsp;I am looking for a snippet as described below. &amp;nbsp;Is this the sort
&lt;br&gt;of thing that some kind person might write for me? If not, can you
&lt;br&gt;please suggest where I might put my request? &amp;nbsp;I would be grateful for
&lt;br&gt;any assistance.
&lt;br&gt;&lt;br&gt;I am happy to explain why I want it, but it's a long story -
&lt;br&gt;essentially, it's for writing to an LED display hung over a theatrical
&lt;br&gt;stage, using a WiFi connection from a laptop. If it works reliably, I
&lt;br&gt;intend to make the code freely available, as this sort of requirement is
&lt;br&gt;becoming increasingly in demand to help the hard-of-hearing and for
&lt;br&gt;language barriers. &amp;nbsp;Current commercial software is either very expensive
&lt;br&gt;or too crude. However, I need to implement the connection before I worry
&lt;br&gt;about how to publish the code! &amp;nbsp;Anyway, here is the request.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Help with ip output stream from Basic macro in OOo Calc on XP.
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am attempting to send lines of text to a remote display device. &amp;nbsp;As a
&lt;br&gt;first step, I have written a set of macros to extract the data I want
&lt;br&gt;from a spreadsheet and save each line as a file on disc in the required
&lt;br&gt;format. &amp;nbsp;I did this by copying bits of code I found, with a very
&lt;br&gt;superficial understanding of how it all works. &amp;nbsp;I am very grateful to
&lt;br&gt;all those who contribute examples and help.
&lt;br&gt;&lt;br&gt;My next step is to send the data to the display device instead of disc
&lt;br&gt;file. &amp;nbsp;The instruction I have from the device manufacturer is -
&lt;br&gt;&lt;br&gt;&amp;quot;Use a socket component and transmit the data string to port 10001 on
&lt;br&gt;the IP address of the display device.&amp;quot;
&lt;br&gt;&lt;br&gt;I have no idea how to do this, and have not found examples that I
&lt;br&gt;understand. &amp;nbsp;The display only listens and does not respond - does that
&lt;br&gt;mean I should use UDP rather than TCP? &amp;nbsp; Below is my current output
&lt;br&gt;routine. &amp;nbsp;I would be grateful for suggestions on how to convert or
&lt;br&gt;replace it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Sub DisplayText(FilePath as String, DataString as String)
&lt;br&gt;rem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Currently writes a file to disc - overwriting the
&lt;br&gt;previous.
&lt;br&gt;rem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;derived from Useful Macro Information. For
&lt;br&gt;OpenOffice.org.
&lt;br&gt;rem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;by Andrew Pitonyak. www.pitonyak.org/oo.php and
&lt;br&gt;CodeSnippets
&lt;br&gt;Dim oFileAccess as Object
&lt;br&gt;Dim oFile as Object
&lt;br&gt;Dim oOutputStream as Object
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oFileAccess =
&lt;br&gt;createUnoService(&amp;quot;com.sun.star.ucb.SimpleFileAccess&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oOutputStream =
&lt;br&gt;createUnoService(&amp;quot;com.sun.star.io.TextOutputStream&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If oFileAccess.Exists(FilePath) Then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oFileAccess.Kill(FilePath)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oFile = oFileAccess.OpenFileReadWrite(FilePath)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oOutputStream.SetOutputStream(oFile.GetOutputStream)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oOutputStream.WriteString(DataString)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; oOutputStream.CloseOutput()
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you
&lt;br&gt;&lt;br&gt;Martin
&lt;br&gt;Martin Jacobs
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26354385&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26354385&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Help-with-ip-output-stream-from-Basic-macro-in-OOo-Calc-on-XP-tp26354385p26354385.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26339797</id>
	<title>Re: Is there any &quot;OpenOffice.org Look&amp;Feel&quot; for extensions in Java?</title>
	<published>2009-11-13T08:57:43Z</published>
	<updated>2009-11-13T08:57:43Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Marcin Miłkowski wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Juergen Schmidt pisze:
&lt;br&gt;&amp;gt;&amp;gt; Marcin Miłkowski wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Konstantin Tokarev pisze:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Is there any &amp;quot;OpenOffice.org Look&amp;Feel&amp;quot; for extensions in Java?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; As far as I know, there is none. If you want to have the native look 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (which is different under different OSes and graphical managers), use 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the AWT via UNO. However, this is a bit cumbersome if you display 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; something more complex than a message box. And you cannot really 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; implement anything new in the UI (no new UI elements by overriding 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; classes, as far as I know). No wonder most extension developers don't 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; use it...
&lt;br&gt;&amp;gt;&amp;gt; it is correct that the UNO awt toolkit has limitations but it is the 
&lt;br&gt;&amp;gt;&amp;gt; best way to integrate in the office and to avoid problems.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Well, the problem is that Java/Swing programmers are used to create 
&lt;br&gt;&amp;gt; their own user interface elements, so these limitations are quite serious.
&lt;/div&gt;sure i totally agree but it is as it is at the moment. I don't see that 
&lt;br&gt;we be able to make the big shot. The only thing we can do is to improve 
&lt;br&gt;the available controls step by step and can try to improve the overall 
&lt;br&gt;usability. This includes hopefully a layout manager some day ;-)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; You can use the dialog editor in the office to do the initial design. 
&lt;br&gt;&amp;gt;&amp;gt; Export the dialog description in your extensions Java project and use 
&lt;br&gt;&amp;gt;&amp;gt; via dialog provider ... Appropriate handler have to be implemented and 
&lt;br&gt;&amp;gt;&amp;gt; registered to handle the different events. See the SDK samples and the 
&lt;br&gt;&amp;gt;&amp;gt; DevGuide docu.
&lt;br&gt;&amp;gt;&amp;gt; With OOo 3.2 it is also possible to import dialog descriptions and 
&lt;br&gt;&amp;gt;&amp;gt; modify it again with the dialog editor.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; There is still a lot of space for improvements and volunteers are 
&lt;br&gt;&amp;gt;&amp;gt; always welcome ;-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've heard that RedOffice 4.5 will support deep and custom changes of UI 
&lt;br&gt;&amp;gt; using extensions, so if their code gets to the core (someday), then it 
&lt;br&gt;&amp;gt; should be easier to persuade people to do the switch.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;the hope will never die ;-)
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;nbsp;Marcin
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339797&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339797&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339797&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339797&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openoffice---api-dev-f12782.html&quot; embed=&quot;fixTarget[12782]&quot; target=&quot;_top&quot; &gt;openoffice - api dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-there-any-%22OpenOffice.org-Look-Feel%22-for-extensions-in-Java--tp26336469p26339797.html" />
</entry>

</feed>
