<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-12782</id>
	<title>Nabble - openoffice - api dev</title>
	<updated>2009-11-09T03:45:40Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/openoffice---api-dev-f12782.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/openoffice---api-dev-f12782.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26265125</id>
	<title>Re: Service SpreadsheetDocumentSettings</title>
	<published>2009-11-09T03:45:40Z</published>
	<updated>2009-11-09T03:45:40Z</updated>
	<author>
		<name>Daniel Rentz</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Juergen Schmidt schrieb:
&lt;br&gt;&amp;gt; Hi Bernard,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; this is a good question and i will clarify it. I assume that the 
&lt;br&gt;&amp;gt; deprecated tag is wrong
&lt;br&gt;&lt;br&gt;Yeah, it is plain wrong in my eyes.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Service css.sheet.SpreadsheetDocumentSettings is marked as deprecated 
&lt;br&gt;&amp;gt;&amp;gt; since SDK 1.1.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; How can it be deprecated and have new properties added since OOo 3.0 ?
&lt;br&gt;&amp;gt;&amp;gt; [optional, property] boolean IsLoaded;
&lt;br&gt;&amp;gt;&amp;gt; [optional, property] boolean IsUndoEnabled;
&lt;br&gt;&amp;gt;&amp;gt; [optional, property] boolean IsAdjustHeightEnabled;
&lt;br&gt;&amp;gt;&amp;gt; [optional, property] boolean IsExecuteLinkEnabled;
&lt;br&gt;&amp;gt;&amp;gt; [readonly, optional, property] com::sun::star::awt::XDevice 
&lt;br&gt;&amp;gt;&amp;gt; ReferenceDevice;
&lt;/div&gt;&lt;br&gt;These new properties are mostly used in external filters (Excel 2007 
&lt;br&gt;XML) to control/change the behaviour of the model while loading a file.
&lt;br&gt;&lt;br&gt;&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=26265125&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=26265125&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Service-SpreadsheetDocumentSettings-tp26251650p26265125.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26263248</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-09T01:14:56Z</published>
	<updated>2009-11-09T01:14:56Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Mikhail is right, an important piece of documentation is missing here 
&lt;br&gt;and i renew my request that we document filter specific settings 
&lt;br&gt;somewhere. A wiki page showing the names that have to be used via API 
&lt;br&gt;and all filter specific settings. These settings depends on the filter 
&lt;br&gt;implementation and should be documented for each filter.
&lt;br&gt;&lt;br&gt;Today we have only a list of filter names somewhere in the framework 
&lt;br&gt;wiki section.
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;Mikhail Voytenko wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Wei Min,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As I have written in one of the previous emails, I would suggest to make
&lt;br&gt;&amp;gt; the type detection explicitly to get the required filter name. And in
&lt;br&gt;&amp;gt; case you get &amp;quot;Text (encoded)&amp;quot; filter, please add the filter options
&lt;br&gt;&amp;gt; containing the encoding.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The problem with filter options is that there seems to be no
&lt;br&gt;&amp;gt; documentation regarding them. According to source-code the following
&lt;br&gt;&amp;gt; property in the MediaDescriptor might work in case of &amp;quot;Text (encoded)&amp;quot;
&lt;br&gt;&amp;gt; filter.
&lt;br&gt;&amp;gt; Prop.Name = &amp;quot;FilterOptions&amp;quot;
&lt;br&gt;&amp;gt; Prop.Value &amp;lt;&amp;lt;= &amp;quot;UTF8&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Before you start with the TypeDetection usage, please try just to add
&lt;br&gt;&amp;gt; the filter options property in MediaDescriptor and try it with the
&lt;br&gt;&amp;gt; problematic documents. Just to be sure that the options are accepted in
&lt;br&gt;&amp;gt; this format.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 11/09/09 03:09, Wei Min Teo wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks for your responses. 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&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;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is it possible to do this?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Wei Min
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;
&lt;br&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; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263248&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mikhail.Voytenko@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263248&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Subject: Re: [api-dev] loadcomponentfromurl
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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; Mikhail Voytenko wrote:
&lt;br&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;
&lt;br&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; Ariel Constenla-Haile wrote:
&lt;br&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;
&lt;br&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; 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; default
&lt;br&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; *.doc
&lt;br&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; encoding i
&lt;br&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; 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; 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; 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; encoding, etc.)
&lt;br&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; Aren't you passing a filter name?
&lt;br&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; well for .doc and .ppt files. Sounds strange.
&lt;br&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; understand. The problem here, is that the mentioned filters need 
&lt;br&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; format&amp;quot; dialog ) is shown.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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; 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; like the scenario that Ariel has described.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Sorry, I was wrong in my last comment.
&lt;br&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; actually the filter selection dialog should be shown. And MSWord filter 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; has no filter options dialog.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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; It is probably more interesting to take a look to the document. I 
&lt;br&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;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Juergen
&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; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263248&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&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=26263248&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; _________________________________________________________________
&lt;br&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; &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;
&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=26263248&amp;i=4&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=26263248&amp;i=5&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=26263248&amp;i=6&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=26263248&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26263248.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26263084</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-09T00:55:44Z</published>
	<updated>2009-11-09T00:55:44Z</updated>
	<author>
		<name>Mikhail.Voytenko</name>
	</author>
	<content type="html">Hi Wei Min,
&lt;br&gt;&lt;br&gt;As I have written in one of the previous emails, I would suggest to make
&lt;br&gt;the type detection explicitly to get the required filter name. And in
&lt;br&gt;case you get &amp;quot;Text (encoded)&amp;quot; filter, please add the filter options
&lt;br&gt;containing the encoding.
&lt;br&gt;&lt;br&gt;The problem with filter options is that there seems to be no
&lt;br&gt;documentation regarding them. According to source-code the following
&lt;br&gt;property in the MediaDescriptor might work in case of &amp;quot;Text (encoded)&amp;quot;
&lt;br&gt;filter.
&lt;br&gt;Prop.Name = &amp;quot;FilterOptions&amp;quot;
&lt;br&gt;Prop.Value &amp;lt;&amp;lt;= &amp;quot;UTF8&amp;quot;
&lt;br&gt;&lt;br&gt;Before you start with the TypeDetection usage, please try just to add
&lt;br&gt;the filter options property in MediaDescriptor and try it with the
&lt;br&gt;problematic documents. Just to be sure that the options are accepted in
&lt;br&gt;this format.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Mikhail.
&lt;br&gt;&lt;br&gt;On 11/09/09 03:09, Wei Min Teo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for your responses. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&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; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is it possible to do this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Wei Min
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Date: Fri, 6 Nov 2009 12:10:58 +0100
&lt;br&gt;&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263084&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mikhail.Voytenko@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26263084&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: Re: [api-dev] loadcomponentfromurl
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 11/06/09 10:26, Juergen Schmidt wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Mikhail Voytenko wrote:
&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 08:50, Juergen Schmidt wrote:
&lt;br&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; Hello Wei,
&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 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; 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; default
&lt;br&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; *.doc
&lt;br&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; encoding i
&lt;br&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; 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; 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; 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; encoding, etc.)
&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; Aren't you passing a filter name?
&lt;br&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; well for .doc and .ppt files. Sounds strange.
&lt;br&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; understand. The problem here, is that the mentioned filters need 
&lt;br&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; format&amp;quot; dialog ) is shown.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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; doesn't have a filter options dialog as far as i know. It looks more 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; like the scenario that Ariel has described.
&lt;br&gt;&amp;gt;&amp;gt; Sorry, I was wrong in my last comment.
&lt;br&gt;&amp;gt;&amp;gt; Indeed the text filter still wins sometimes by unknown formats, although 
&lt;br&gt;&amp;gt;&amp;gt; actually the filter selection dialog should be shown. And MSWord filter 
&lt;br&gt;&amp;gt;&amp;gt; has no filter options dialog.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Maybe a complete code snippet could help to understand ...
&lt;br&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; suspect that Bernard is right and the document is no valid .doc document.
&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;&amp;gt; Juergen
&lt;br&gt;&amp;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=26263084&amp;i=2&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=26263084&amp;i=3&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; &amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; Windows 7: Simplify what you do everyday. Find the right PC for you.
&lt;br&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; 
&lt;/div&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=26263084&amp;i=4&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=26263084&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26263084.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26260304</id>
	<title>RE: loadcomponentfromurl</title>
	<published>2009-11-08T18:09:51Z</published>
	<updated>2009-11-08T18:09:51Z</updated>
	<author>
		<name>Wei Min Teo</name>
	</author>
	<content type="html">&lt;br&gt;Hi all,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Thanks for your responses. 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&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;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Is it possible to do this?
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&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: Fri, 6 Nov 2009 12:10:58 +0100
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260304&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mikhail.Voytenko@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26260304&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; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 11/06/09 10:26, Juergen Schmidt wrote:
&lt;br&gt;&amp;gt; &amp;gt; Mikhail Voytenko wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&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; Ariel Constenla-Haile wrote:
&lt;br&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;
&lt;br&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; 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; default
&lt;br&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; *.doc
&lt;br&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; encoding i
&lt;br&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;
&lt;br&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; 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; 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; encoding, etc.)
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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;
&lt;br&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; well for .doc and .ppt files. Sounds strange.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&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; understand. The problem here, is that the mentioned filters need 
&lt;br&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; format&amp;quot; dialog ) is shown.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&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; doesn't have a filter options dialog as far as i know. It looks more 
&lt;br&gt;&amp;gt; &amp;gt; like the scenario that Ariel has described.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sorry, I was wrong in my last comment.
&lt;br&gt;&amp;gt; Indeed the text filter still wins sometimes by unknown formats, although 
&lt;br&gt;&amp;gt; actually the filter selection dialog should be shown. And MSWord filter 
&lt;br&gt;&amp;gt; has no filter options dialog.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Maybe a complete code snippet could help to understand ...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It is probably more interesting to take a look to the document. I 
&lt;br&gt;&amp;gt; suspect that Bernard is right and the document is no valid .doc document.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Juergen
&lt;br&gt;&amp;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=26260304&amp;i=2&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=26260304&amp;i=3&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;Windows 7: Simplify what you do everyday. Find the right PC for you.
&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;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26260304.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26251692</id>
	<title>Re: Service SpreadsheetDocumentSettings</title>
	<published>2009-11-08T00:27:07Z</published>
	<updated>2009-11-08T00:27:07Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Hi Bernard,
&lt;br&gt;&lt;br&gt;this is a good question and i will clarify it. I assume that the 
&lt;br&gt;deprecated tag is wrong
&lt;br&gt;&lt;br&gt;Thanks to bring this up.
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;Bernard Marcelly wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Service css.sheet.SpreadsheetDocumentSettings is marked as deprecated 
&lt;br&gt;&amp;gt; since SDK 1.1.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; How can it be deprecated and have new properties added since OOo 3.0 ?
&lt;br&gt;&amp;gt; [optional, property] boolean IsLoaded;
&lt;br&gt;&amp;gt; [optional, property] boolean IsUndoEnabled;
&lt;br&gt;&amp;gt; [optional, property] boolean IsAdjustHeightEnabled;
&lt;br&gt;&amp;gt; [optional, property] boolean IsExecuteLinkEnabled;
&lt;br&gt;&amp;gt; [readonly, optional, property] com::sun::star::awt::XDevice 
&lt;br&gt;&amp;gt; ReferenceDevice;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; &amp;nbsp; Bernard
&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=26251692&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=26251692&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=26251692&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=26251692&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Service-SpreadsheetDocumentSettings-tp26251650p26251692.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26251650</id>
	<title>Service SpreadsheetDocumentSettings</title>
	<published>2009-11-08T00:15:10Z</published>
	<updated>2009-11-08T00:15:10Z</updated>
	<author>
		<name>Bernard Marcelly</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;Service css.sheet.SpreadsheetDocumentSettings is marked as deprecated since SDK 1.1.
&lt;br&gt;&lt;br&gt;How can it be deprecated and have new properties added since OOo 3.0 ?
&lt;br&gt;[optional, property] boolean IsLoaded;
&lt;br&gt;[optional, property] boolean IsUndoEnabled;
&lt;br&gt;[optional, property] boolean IsAdjustHeightEnabled;
&lt;br&gt;[optional, property] boolean IsExecuteLinkEnabled;
&lt;br&gt;[readonly, optional, property] com::sun::star::awt::XDevice ReferenceDevice;
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&amp;nbsp; &amp;nbsp;Bernard
&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=26251650&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=26251650&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Service-SpreadsheetDocumentSettings-tp26251650p26251650.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26230322</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-06T03:10:58Z</published>
	<updated>2009-11-06T03:10:58Z</updated>
	<author>
		<name>Mikhail.Voytenko</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On 11/06/09 10:26, Juergen Schmidt wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Mikhail Voytenko wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 11/06/09 08:50, Juergen Schmidt wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Ariel Constenla-Haile wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hello Wei,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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; 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; default
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;filter. Anyway, to clarify, I think my problem occurs with opening 
&lt;br&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;nbsp;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; encoding i
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;want to use. This would &amp;quot;hang&amp;quot; an automation program. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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; example when you try to open with OOo an unkown file format (by 
&lt;br&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; encoding, etc.)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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;
&lt;br&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; well for .doc and .ppt files. Sounds strange.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&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; understand. The problem here, is that the mentioned filters need 
&lt;br&gt;&amp;gt;&amp;gt; character encoding, thus the FilterOptions dialog ( not &amp;quot;Unknown file 
&lt;br&gt;&amp;gt;&amp;gt; format&amp;quot; dialog ) is shown.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; i don't think so. A valid .doc file is auto detected and the word filter 
&lt;br&gt;&amp;gt; doesn't have a filter options dialog as far as i know. It looks more 
&lt;br&gt;&amp;gt; like the scenario that Ariel has described.
&lt;/div&gt;&lt;br&gt;Sorry, I was wrong in my last comment.
&lt;br&gt;Indeed the text filter still wins sometimes by unknown formats, although 
&lt;br&gt;actually the filter selection dialog should be shown. And MSWord filter 
&lt;br&gt;&amp;nbsp; has no filter options dialog.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Maybe a complete code snippet could help to understand ...
&lt;br&gt;&lt;br&gt;It is probably more interesting to take a look to the document. I 
&lt;br&gt;suspect that Bernard is right and the document is no valid .doc document.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Mikhail.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Juergen
&lt;br&gt;&amp;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=26230322&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=26230322&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26230322.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26229292</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-06T01:50:45Z</published>
	<updated>2009-11-06T01:50:45Z</updated>
	<author>
		<name>Bernard Marcelly</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Message de Wei Min Teo &amp;nbsp;date 2009-11-06 02:51 :
&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'm not going to use any filters or perhaps it automatically uses a default filter.
&lt;br&gt;&amp;gt; Anyway, to clarify, I think my problem occurs with opening *.doc or *.ppt files.
&lt;br&gt;&amp;gt; When I open it prompts me on which character encoding i want to use.
&lt;br&gt;&lt;br&gt;It means these are not real .doc or .ppt files.
&lt;br&gt;Microsoft sometimes creates simple (not formatted) text files as .doc
&lt;br&gt;Probably it uses Windows encoding ( e.g. Windows 1252 for European text).
&lt;br&gt;Open those files with user interface, you will be requested an encoding. If you
&lt;br&gt;can't find a correct one, how could you find it by program?
&lt;br&gt;&lt;br&gt;Another case is when a file is corrupted : no solution here.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&amp;nbsp; Bernard
&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=26229292&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=26229292&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26229292.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26229020</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-06T01:26:55Z</published>
	<updated>2009-11-06T01:26:55Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Mikhail Voytenko wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 11/06/09 08:50, Juergen Schmidt wrote:
&lt;br&gt;&amp;gt;&amp;gt; Ariel Constenla-Haile wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello Wei,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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; 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; default
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;filter. Anyway, to clarify, I think my problem occurs with opening 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; *.doc
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;or *.ppt files. When I open it prompts me on which character 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; encoding i
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;want to use. This would &amp;quot;hang&amp;quot; an automation program. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&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; example when you try to open with OOo an unkown file format (by 
&lt;br&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; encoding, etc.)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Aren't you passing a filter name?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&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; well for .doc and .ppt files. Sounds strange.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The type detection works well and the correct filter is detected as I 
&lt;br&gt;&amp;gt; understand. The problem here, is that the mentioned filters need 
&lt;br&gt;&amp;gt; character encoding, thus the FilterOptions dialog ( not &amp;quot;Unknown file 
&lt;br&gt;&amp;gt; format&amp;quot; dialog ) is shown.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;i don't think so. A valid .doc file is auto detected and the word filter 
&lt;br&gt;doesn't have a filter options dialog as far as i know. It looks more 
&lt;br&gt;like the scenario that Ariel has described.
&lt;br&gt;&lt;br&gt;Maybe a complete code snippet could help to understand ...
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Generally speaking, a filter that gets no filter options should check 
&lt;br&gt;&amp;gt; the CharacterSet property from the MediaDescriptor. Unfortunately it 
&lt;br&gt;&amp;gt; does not happen in this case. For me it looks like a missing feature, I 
&lt;br&gt;&amp;gt; would suggest to submit an enhancement issue for each filter that does 
&lt;br&gt;&amp;gt; not support the property currently.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The only workaround, that I see for now, is to make the type detection 
&lt;br&gt;&amp;gt; explicitly to get the required filter name. And based on the filter name 
&lt;br&gt;&amp;gt; provide the filter options in the format the filter requires it. The 
&lt;br&gt;&amp;gt; problem here is that there seems to be no documentation regarding filter 
&lt;br&gt;&amp;gt; options format for each filter. Thus you would probably have to ask on 
&lt;br&gt;&amp;gt; the applications-related lists regarding each filter ( for example on 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26229020&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt; regarding writer filters ).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Juergen
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;Thus, I thought I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;could pass in the character encoding set for it to open by using
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;ChracterSet UTF8 in the media descriptor. However, this didn't work 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; even
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;with &amp;quot;UTF8&amp;quot;. Do I have to use this with some filter implementation? 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; If so,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;how can i do that?
&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; Regards
&lt;br&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=26229020&amp;i=1&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=26229020&amp;i=2&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;&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=26229020&amp;i=3&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=26229020&amp;i=4&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=26229020&amp;i=5&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=26229020&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26229020.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26228583</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-06T00:40:00Z</published>
	<updated>2009-11-06T00:40:00Z</updated>
	<author>
		<name>Mikhail.Voytenko</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On 11/06/09 08:50, Juergen Schmidt wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ariel Constenla-Haile wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hello Wei,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&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; I'm not going to use any filters or perhaps it automatically uses a 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; default
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;filter. Anyway, to clarify, I think my problem occurs with opening 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; *.doc
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;or *.ppt files. When I open it prompts me on which character encoding i
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;want to use. This would &amp;quot;hang&amp;quot; an automation program. 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; this sounds like the Writer encoding text dialog, that shows up for 
&lt;br&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; default is treated as text, and you are prompted to select the 
&lt;br&gt;&amp;gt;&amp;gt; encoding, etc.)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Aren't you passing a filter name?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; even if he doesn't use a filter name, the type detection should work 
&lt;br&gt;&amp;gt; well for .doc and .ppt files. Sounds strange.
&lt;/div&gt;&lt;br&gt;The type detection works well and the correct filter is detected as I 
&lt;br&gt;understand. The problem here, is that the mentioned filters need 
&lt;br&gt;character encoding, thus the FilterOptions dialog ( not &amp;quot;Unknown file 
&lt;br&gt;format&amp;quot; dialog ) is shown.
&lt;br&gt;&lt;br&gt;Generally speaking, a filter that gets no filter options should check 
&lt;br&gt;the CharacterSet property from the MediaDescriptor. Unfortunately it 
&lt;br&gt;does not happen in this case. For me it looks like a missing feature, I 
&lt;br&gt;would suggest to submit an enhancement issue for each filter that does 
&lt;br&gt;not support the property currently.
&lt;br&gt;&lt;br&gt;The only workaround, that I see for now, is to make the type detection 
&lt;br&gt;explicitly to get the required filter name. And based on the filter name 
&lt;br&gt;provide the filter options in the format the filter requires it. The 
&lt;br&gt;problem here is that there seems to be no documentation regarding filter 
&lt;br&gt;options format for each filter. Thus you would probably have to ask on 
&lt;br&gt;the applications-related lists regarding each filter ( for example on 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26228583&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt; regarding writer filters ).
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Mikhail.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Juergen
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;Thus, I thought I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;could pass in the character encoding set for it to open by using
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;ChracterSet UTF8 in the media descriptor. However, this didn't work 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; even
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;with &amp;quot;UTF8&amp;quot;. Do I have to use this with some filter implementation? 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If so,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;how can i do that?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards
&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=26228583&amp;i=1&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=26228583&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&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=26228583&amp;i=3&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=26228583&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26228583.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26228035</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-05T23:50:33Z</published>
	<updated>2009-11-05T23:50:33Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Ariel Constenla-Haile wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello Wei,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Thursday 05 November 2009, 22:51, Wei Min Teo wrote:
&lt;br&gt;&amp;gt;&amp;gt; I'm not going to use any filters or perhaps it automatically uses a default
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;filter. Anyway, to clarify, I think my problem occurs with opening *.doc
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;or *.ppt files. When I open it prompts me on which character encoding i
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;want to use. This would &amp;quot;hang&amp;quot; an automation program. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; this sounds like the Writer encoding text dialog, that shows up for example 
&lt;br&gt;&amp;gt; when you try to open with OOo an unkown file format (by default is treated as 
&lt;br&gt;&amp;gt; text, and you are prompted to select the encoding, etc.)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Aren't you passing a filter name?
&lt;/div&gt;&lt;br&gt;even if he doesn't use a filter name, the type detection should work 
&lt;br&gt;well for .doc and .ppt files. Sounds strange.
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;Thus, I thought I
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;could pass in the character encoding set for it to open by using
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;ChracterSet UTF8 in the media descriptor. However, this didn't work even
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;with &amp;quot;UTF8&amp;quot;. Do I have to use this with some filter implementation? If so,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;how can i do that?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards
&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=26228035&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=26228035&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26228035.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26225724</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-05T18:06:22Z</published>
	<updated>2009-11-05T18:06:22Z</updated>
	<author>
		<name>Ariel Constenla-Haile</name>
	</author>
	<content type="html">Hello Wei,
&lt;br&gt;&lt;br&gt;On Thursday 05 November 2009, 22:51, Wei Min Teo wrote:
&lt;br&gt;&amp;gt; I'm not going to use any filters or perhaps it automatically uses a default
&lt;br&gt;&amp;gt; &amp;nbsp;filter. Anyway, to clarify, I think my problem occurs with opening *.doc
&lt;br&gt;&amp;gt; &amp;nbsp;or *.ppt files. When I open it prompts me on which character encoding i
&lt;br&gt;&amp;gt; &amp;nbsp;want to use. This would &amp;quot;hang&amp;quot; an automation program. 
&lt;br&gt;&lt;br&gt;this sounds like the Writer encoding text dialog, that shows up for example 
&lt;br&gt;when you try to open with OOo an unkown file format (by default is treated as 
&lt;br&gt;text, and you are prompted to select the encoding, etc.)
&lt;br&gt;&lt;br&gt;Aren't you passing a filter name?
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;Thus, I thought I
&lt;br&gt;&amp;gt; &amp;nbsp;could pass in the character encoding set for it to open by using
&lt;br&gt;&amp;gt; &amp;nbsp;ChracterSet UTF8 in the media descriptor. However, this didn't work even
&lt;br&gt;&amp;gt; &amp;nbsp;with &amp;quot;UTF8&amp;quot;. Do I have to use this with some filter implementation? If so,
&lt;br&gt;&amp;gt; &amp;nbsp;how can i do that?
&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=26225724&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=26225724&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26225724.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26225588</id>
	<title>RE: loadcomponentfromurl</title>
	<published>2009-11-05T17:51:03Z</published>
	<updated>2009-11-05T17:51:03Z</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'm not going to use any filters or perhaps it automatically uses a default filter. Anyway, to clarify, I think my problem occurs with opening *.doc or *.ppt files. When I open it prompts me on which character encoding i want to use. This would &amp;quot;hang&amp;quot; an automation program. Thus, I thought I could pass in the character encoding set for it to open by using ChracterSet UTF8 in the media descriptor. However, this didn't work even with &amp;quot;UTF8&amp;quot;. Do I have to use this with some filter implementation? If so, how can i do that? 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Or perhaps I need to implement an exceptionhandler for this case?
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&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;&amp;nbsp;
&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: Thu, 5 Nov 2009 12:49:04 +0100
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26225588&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mikhail.Voytenko@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26225588&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; Hi Wei Min,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please try &amp;quot;UTF8&amp;quot; as the value.
&lt;br&gt;&amp;gt; Although I am not sure that all the filters check the property. Which
&lt;br&gt;&amp;gt; filter are you going to use?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 11/05/09 09:50, Wei Min Teo wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&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; I would like to specify a character encoding set to use when opening a file. 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Using 
&lt;br&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; ploadprops[0].Name = CharacterSet
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ploadprops[0].Value &amp;lt;&amp;lt;= OUString::createFromAscii(&amp;quot;UTF-8&amp;quot;)
&lt;br&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; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; However, this still doesn't seem to work. I suspect that the string i've passed in is not valid. 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; How get i get a list of legitimate strings that characterset will take in for loadcomponentfromurl??
&lt;br&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; Thanks.
&lt;br&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; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Cheers,
&lt;br&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; Wei Min
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; _________________________________________________________________
&lt;br&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; &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; 
&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=26225588&amp;i=2&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=26225588&amp;i=3&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: Simplify what you do everyday. Find the right PC for you.
&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;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26225588.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26213248</id>
	<title>Re: loadcomponentfromurl</title>
	<published>2009-11-05T03:49:04Z</published>
	<updated>2009-11-05T03:49:04Z</updated>
	<author>
		<name>Mikhail.Voytenko</name>
	</author>
	<content type="html">Hi Wei Min,
&lt;br&gt;&lt;br&gt;Please try &amp;quot;UTF8&amp;quot; as the value.
&lt;br&gt;Although I am not sure that all the filters check the property. Which
&lt;br&gt;filter are you going to use?
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Mikhail.
&lt;br&gt;&lt;br&gt;On 11/05/09 09:50, Wei Min Teo wrote:
&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 would like to specify a character encoding set to use when opening a file. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Using 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ploadprops[0].Name = CharacterSet
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ploadprops[0].Value &amp;lt;&amp;lt;= OUString::createFromAscii(&amp;quot;UTF-8&amp;quot;)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ..
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; However, this still doesn't seem to work. I suspect that the string i've passed in is not valid. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; How get i get a list of legitimate strings that characterset will take in for loadcomponentfromurl??
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Wei Min
&lt;br&gt;&amp;gt; &amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; Windows 7: Simplify what you do everyday. Find the right PC for you.
&lt;br&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; 
&lt;/div&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=26213248&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=26213248&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26213248.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26212643</id>
	<title>Re: Seeking help to install ooo sdk in ubuntu</title>
	<published>2009-11-05T03:07:48Z</published>
	<updated>2009-11-05T03:07:48Z</updated>
	<author>
		<name>Cédric Bosdonnat</name>
	</author>
	<content type="html">Hi Jayanga,
&lt;br&gt;&lt;br&gt;The SDK on Ubuntu should be the openoffice.org-dev package. Simply use the following command:
&lt;br&gt;sudo apt-get install openoffice.org-dev
&lt;br&gt;&lt;br&gt;and everything should be ok. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;----- &amp;quot;Jayanga Wagaarachchi&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26212643&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wagaarachchi@...&lt;/a&gt;&amp;gt; a écrit :
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am having some problems with installing the ooo sdk 3.1 in ubuntu.
&lt;br&gt;&amp;gt; when I
&lt;br&gt;&amp;gt; try to install it an error message appeared like this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Error: Dependency is not satisfiable: ooobasis3.1-core01
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; can you help me please, &amp;nbsp;it is argent for me to install sdk for my
&lt;br&gt;&amp;gt; development. I was using widows before and I switched to ubuntu. sdk
&lt;br&gt;&amp;gt; was
&lt;br&gt;&amp;gt; working fine with windows but when I try it in ubuntu above error
&lt;br&gt;&amp;gt; occurred.
&lt;br&gt;&amp;gt; if you can me anything please send them.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thank you,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jayanga.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Cédric Bosdonnat
&lt;br&gt;OOo Eclipse Integration developer
&lt;br&gt;&lt;a href=&quot;http://cedric.bosdonnat.free.fr&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cedric.bosdonnat.free.fr&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=26212643&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=26212643&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Seeking-help-to-install-ooo-sdk-in-ubuntu-tp26211061p26212643.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26211891</id>
	<title>Re: password protected files</title>
	<published>2009-11-05T01:56:44Z</published>
	<updated>2009-11-05T01:56:44Z</updated>
	<author>
		<name>Mikhail.Voytenko</name>
	</author>
	<content type="html">Hi Wei Min,
&lt;br&gt;&lt;br&gt;On 11/05/09 03:22, Wei Min Teo wrote:
&lt;br&gt;&amp;gt; Hi Mikhail,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for the reply. You're right, i'm using loadComponentFromURL(). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; How can i code a simple interactionhandler to detect the password event? 
&lt;br&gt;&lt;br&gt;The InteractionHandler argument is mentioned in the following article:
&lt;br&gt;&lt;a href=&quot;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Handling_Documents&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Handling_Documents&lt;/a&gt;&lt;br&gt;&lt;br&gt;As it is mentioned there you should just implement the
&lt;br&gt;com.sun.star.task.InteractionHandler service.
&lt;br&gt;&lt;a href=&quot;http://api.openoffice.org/docs/common/ref/com/sun/star/task/InteractionHandler.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://api.openoffice.org/docs/common/ref/com/sun/star/task/InteractionHandler.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If this is the only case i implement the interactionhandler to handle, will all other cases run through the default interactionhandler to throw the default exceptions?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Please see the following sourcecode as an example of a simple
&lt;br&gt;InteractionHandler that does not show any UI.
&lt;br&gt;&lt;a href=&quot;http://svn.services.openoffice.org/opengrok/xref/DEV300_m60/framework/source/interaction/quietinteraction.cxx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.services.openoffice.org/opengrok/xref/DEV300_m60/framework/source/interaction/quietinteraction.cxx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Your implementation could &amp;nbsp;look similar and additionally it could
&lt;br&gt;remember whether com.sun.star.task.DocumentPasswordRequest was done.
&lt;br&gt;This request is done in case an encrypted document is loaded to get the
&lt;br&gt;password.
&lt;br&gt;&lt;br&gt;Hope that helps.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Mikhail.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Wei Min
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Date: Wed, 4 Nov 2009 13:15:14 +0100
&lt;br&gt;&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26211891&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mikhail.Voytenko@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26211891&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: Re: [api-dev] password protected files
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Wei Min,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; it depends from the API you are using.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I suspect that you are using loadComponentFromURL(), in this case you
&lt;br&gt;&amp;gt;&amp;gt; can provide the InteractionHandler in the MediaDescriptor, the
&lt;br&gt;&amp;gt;&amp;gt; InteractionHandler would handle the document password request in this case.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If the standard InteractionHandler implementation is provided to the
&lt;br&gt;&amp;gt;&amp;gt; call, the password dialog would be shown to user. You can also provide
&lt;br&gt;&amp;gt;&amp;gt; an own simple InteractionHandler implementation, that could for example
&lt;br&gt;&amp;gt;&amp;gt; detect whether document password request was done on loading ( that
&lt;br&gt;&amp;gt;&amp;gt; means that the document is encrypted one ). In the same way other
&lt;br&gt;&amp;gt;&amp;gt; problems during the loading could be handled.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hope that helps.
&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;
&lt;br&gt;&amp;gt;&amp;gt; On 11/04/09 11:05, Wei Min Teo wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&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; I was wondering if there's any way to identify password protected files before opening it? 
&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; It doesn't seem to throw an aIOException or illegalArgumentException. It just seems to fail XComponent.is(). The thing is that this could fail due to other reasons. 
&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;
&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;
&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; New Windows 7: Find the right PC for you. Learn more.
&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; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26211891&amp;i=2&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=26211891&amp;i=3&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; &amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; New Windows 7: Find the right PC for you. Learn more.
&lt;br&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; 
&lt;/div&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=26211891&amp;i=4&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=26211891&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/password-protected-files-tp26193653p26211891.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26211265</id>
	<title>Re: Seeking help to install ooo sdk in ubuntu</title>
	<published>2009-11-05T01:07:41Z</published>
	<updated>2009-11-05T01:07:41Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;the sdk installs into the base layer of a normal office installation. 
&lt;br&gt;This is the reason for the dependency. Ubuntu pack the office on their 
&lt;br&gt;own and probably rename their packages. The simplest way is to install 
&lt;br&gt;an office from www.openoffice.org and install the SDK in this.
&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&lt;br&gt;Jayanga Wagaarachchi wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am having some problems with installing the ooo sdk 3.1 in ubuntu. when I
&lt;br&gt;&amp;gt; try to install it an error message appeared like this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Error: Dependency is not satisfiable: ooobasis3.1-core01
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; can you help me please, &amp;nbsp;it is argent for me to install sdk for my
&lt;br&gt;&amp;gt; development. I was using widows before and I switched to ubuntu. sdk was
&lt;br&gt;&amp;gt; working fine with windows but when I try it in ubuntu above error occurred.
&lt;br&gt;&amp;gt; if you can me anything please send them.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thank you,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Jayanga.
&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=26211265&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=26211265&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Seeking-help-to-install-ooo-sdk-in-ubuntu-tp26211061p26211265.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26211054</id>
	<title>loadcomponentfromurl</title>
	<published>2009-11-05T00:50:08Z</published>
	<updated>2009-11-05T00:50:08Z</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 would like to specify a character encoding set to use when opening a file. 
&lt;br&gt;&lt;br&gt;Using 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;ploadprops[0].Name = CharacterSet
&lt;br&gt;&lt;br&gt;ploadprops[0].Value &amp;lt;&amp;lt;= OUString::createFromAscii(&amp;quot;UTF-8&amp;quot;)
&lt;br&gt;&lt;br&gt;...
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;However, this still doesn't seem to work. I suspect that the string i've passed in is not valid. 
&lt;br&gt;&lt;br&gt;How get i get a list of legitimate strings that characterset will take in for loadcomponentfromurl??
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Thanks.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Wei Min
&lt;br&gt;&amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Windows 7: Simplify what you do everyday. Find the right PC for you.
&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;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/loadcomponentfromurl-tp26211054p26211054.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26210639</id>
	<title>Re: Need confirmation on non-working Events in Dialogs when Databrowser is opened</title>
	<published>2009-11-05T00:20:47Z</published>
	<updated>2009-11-05T00:20:47Z</updated>
	<author>
		<name>Fernand Vanrie</name>
	</author>
	<content type="html">Sergio, Benard, Frank,
&lt;br&gt;&lt;br&gt;Thanks for your testing and findings, now that Frank also can reproduce 
&lt;br&gt;this problem: it will soon been fixed :-)
&lt;br&gt;&lt;br&gt;Fernand
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Fernand Vanrie ha scritto:
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Our compagny has over 100 OO-users who all uses Openoffice with 
&lt;br&gt;&amp;gt;&amp;gt; extensife use off Dialogs and macro's to automate several tasks. 
&lt;br&gt;&amp;gt;&amp;gt; Sinds our switch from 2.4 to 3.1 i have several user complaining 
&lt;br&gt;&amp;gt;&amp;gt; about non-functioning off dialog buttons in Writer documents while a 
&lt;br&gt;&amp;gt;&amp;gt; Databrowser(Beamer) is opened (mostly) whith some rows been 
&lt;br&gt;&amp;gt;&amp;gt; selected. &amp;nbsp;I can not find a reason &amp;nbsp;for when and why it happens, but 
&lt;br&gt;&amp;gt;&amp;gt; Dialogs and the Beamer are a killing combination: sometimes &amp;nbsp;the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Events behind a buttons are worlking sometimes not ?
&lt;br&gt;&amp;gt;&amp;gt; A few months ago i filled a issue 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://qa.openoffice.org/issues/show_bug.cgi?id=100764&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://qa.openoffice.org/issues/show_bug.cgi?id=100764&lt;/a&gt;&amp;nbsp; But the bug 
&lt;br&gt;&amp;gt;&amp;gt; could not been reproduced on sun machines :-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Can someone else reproduce the problem &amp;nbsp;at least at Windows.
&lt;br&gt;&amp;gt;&amp;gt; - Use my doc attached to the issue
&lt;br&gt;&amp;gt;&amp;gt; - Or open a new Writer doc &amp;nbsp;and make &amp;nbsp;a dialog with a button and a 
&lt;br&gt;&amp;gt;&amp;gt; event to run a simple macro, add a field to the dialog who needs the 
&lt;br&gt;&amp;gt;&amp;gt; input from a selected row in the beamer. And see if the buttons works 
&lt;br&gt;&amp;gt;&amp;gt; all the time (change the selected rows in the beamer)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Fernand
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; PS: Haply there is a (expensive) workaround:Replacing the events by &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; listeners
&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=26210639&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=26210639&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; For my tests:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;* The problem exists in Windows (Vista) too, but only selecting the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;record on the beamer by the record header.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;* The problem doesn't exist if you select the record by clicking on
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;a record's field and move up or down by clicking on the up or down
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;arrow, or, with CRTL pressed, selecting other records by the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;record header.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;* The problem never present if the current selection is on a
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;record's field.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ciao
&lt;br&gt;&amp;gt; Sergio
&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=26210639&amp;i=2&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=26210639&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&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=26210639&amp;i=4&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=26210639&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-confirmation-on-non-working-Events-in-Dialogs-when-Databrowser-is-opened-tp26199792p26210639.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26210254</id>
	<title>Re: Need confirmation on non-working Events in Dialogs when Databrowser is opened</title>
	<published>2009-11-04T23:26:58Z</published>
	<updated>2009-11-04T23:26:58Z</updated>
	<author>
		<name>Bernard Marcelly</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I can reproduce the bug with a very simple dialog (attached now to Issue 100764).
&lt;br&gt;It only happens if the dialog macro is run from a toolbar or from menu Tools &amp;gt; 
&lt;br&gt;Macros. So an easy work-around could be to run the macro from a form button in a 
&lt;br&gt;document.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&amp;nbsp; &amp;nbsp;Bernard
&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=26210254&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=26210254&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-confirmation-on-non-working-Events-in-Dialogs-when-Databrowser-is-opened-tp26199792p26210254.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208210</id>
	<title>RE: password protected files</title>
	<published>2009-11-04T18:22:42Z</published>
	<updated>2009-11-04T18:22:42Z</updated>
	<author>
		<name>Wei Min Teo</name>
	</author>
	<content type="html">&lt;br&gt;Hi Mikhail,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Thanks for the reply. You're right, i'm using loadComponentFromURL(). 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;How can i code a simple interactionhandler to detect the password event? 
&lt;br&gt;&lt;br&gt;If this is the only case i implement the interactionhandler to handle, will all other cases run through the default interactionhandler to throw the default exceptions?
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&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;&amp;nbsp;
&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: Wed, 4 Nov 2009 13:15:14 +0100
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208210&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mikhail.Voytenko@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26208210&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] password protected files
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Wei Min,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; it depends from the API you are using.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I suspect that you are using loadComponentFromURL(), in this case you
&lt;br&gt;&amp;gt; can provide the InteractionHandler in the MediaDescriptor, the
&lt;br&gt;&amp;gt; InteractionHandler would handle the document password request in this case.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If the standard InteractionHandler implementation is provided to the
&lt;br&gt;&amp;gt; call, the password dialog would be shown to user. You can also provide
&lt;br&gt;&amp;gt; an own simple InteractionHandler implementation, that could for example
&lt;br&gt;&amp;gt; detect whether document password request was done on loading ( that
&lt;br&gt;&amp;gt; means that the document is encrypted one ). In the same way other
&lt;br&gt;&amp;gt; problems during the loading could be handled.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hope that helps.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Mikhail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 11/04/09 11:05, Wei Min Teo wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&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; I was wondering if there's any way to identify password protected files before opening it? 
&lt;br&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; It doesn't seem to throw an aIOException or illegalArgumentException. It just seems to fail XComponent.is(). The thing is that this could fail due to other reasons. 
&lt;br&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; 
&lt;br&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; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Cheers,
&lt;br&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; Wei Min
&lt;br&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; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; &amp;gt; New Windows 7: Find the right PC for you. Learn more.
&lt;br&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; 
&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=26208210&amp;i=2&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=26208210&amp;i=3&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;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/password-protected-files-tp26193653p26208210.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26205364</id>
	<title>Re: Need confirmation on non-working Events in Dialogs when Databrowser is opened</title>
	<published>2009-11-04T13:58:17Z</published>
	<updated>2009-11-04T13:58:17Z</updated>
	<author>
		<name>Sergio Corato</name>
	</author>
	<content type="html">Fernand Vanrie ha scritto:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Our compagny has over 100 OO-users who all uses Openoffice with 
&lt;br&gt;&amp;gt; extensife use off Dialogs and macro's to automate several tasks. Sinds 
&lt;br&gt;&amp;gt; our switch from 2.4 to 3.1 i have several user complaining about 
&lt;br&gt;&amp;gt; non-functioning off dialog buttons in Writer documents while a 
&lt;br&gt;&amp;gt; Databrowser(Beamer) is opened (mostly) whith some rows been selected. &amp;nbsp;
&lt;br&gt;&amp;gt; I can not find a reason &amp;nbsp;for when and why it happens, but Dialogs and 
&lt;br&gt;&amp;gt; the Beamer are a killing combination: sometimes &amp;nbsp;the &amp;nbsp;Events behind a 
&lt;br&gt;&amp;gt; buttons are worlking sometimes not ?
&lt;br&gt;&amp;gt; A few months ago i filled a issue 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://qa.openoffice.org/issues/show_bug.cgi?id=100764&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://qa.openoffice.org/issues/show_bug.cgi?id=100764&lt;/a&gt;&amp;nbsp; But the bug 
&lt;br&gt;&amp;gt; could not been reproduced on sun machines :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can someone else reproduce the problem &amp;nbsp;at least at Windows.
&lt;br&gt;&amp;gt; - Use my doc attached to the issue
&lt;br&gt;&amp;gt; - Or open a new Writer doc &amp;nbsp;and make &amp;nbsp;a dialog with a button and a 
&lt;br&gt;&amp;gt; event to run a simple macro, add a field to the dialog who needs the 
&lt;br&gt;&amp;gt; input from a selected row in the beamer. And see if the buttons works 
&lt;br&gt;&amp;gt; all the time (change the selected rows in the beamer)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Fernand
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PS: Haply there is a (expensive) workaround:Replacing the events by &amp;nbsp;
&lt;br&gt;&amp;gt; listeners
&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=26205364&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=26205364&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;For my tests:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; * The problem exists in Windows (Vista) too, but only selecting the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; record on the beamer by the record header.
&lt;br&gt;&amp;nbsp; &amp;nbsp; * The problem doesn't exist if you select the record by clicking on
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; a record's field and move up or down by clicking on the up or down
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; arrow, or, with CRTL pressed, selecting other records by the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; record header.
&lt;br&gt;&amp;nbsp; &amp;nbsp; * The problem never present if the current selection is on a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; record's field.
&lt;br&gt;&lt;br&gt;Ciao
&lt;br&gt;Sergio
&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=26205364&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=26205364&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-confirmation-on-non-working-Events-in-Dialogs-when-Databrowser-is-opened-tp26199792p26205364.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26205305</id>
	<title>Add-on toolbars - settings inaccessible ?</title>
	<published>2009-11-04T13:54:13Z</published>
	<updated>2009-11-04T13:54:13Z</updated>
	<author>
		<name>Jan Holst Jensen</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;I am confused by add-on toolbars. My add-on toolbar doesn't show up when 
&lt;br&gt;listing the LayoutManager's elements via
&lt;br&gt;&lt;br&gt;&amp;nbsp; Sub ListToolbars
&lt;br&gt;&amp;nbsp; &amp;nbsp; Dim x as Variant
&lt;br&gt;&amp;nbsp; &amp;nbsp; Dim s as String
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; For Each x in 
&lt;br&gt;ThisComponent.GetCurrentController.GetFrame.LayoutManager.getElements()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; s = s &amp; x.ResourceURL &amp; CHR$(10)
&lt;br&gt;&amp;nbsp; &amp;nbsp; Next
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; MsgBox s, 0, &amp;quot;Toolbars in Component&amp;quot;
&lt;br&gt;&amp;nbsp; End Sub
&lt;br&gt;&lt;br&gt;All add-on toolbars show as &amp;quot;0&amp;quot; in this list instead of showing a URL. 
&lt;br&gt;The standard toolbars are &amp;quot;fully equipped&amp;quot; as seen by
&lt;br&gt;&lt;br&gt;&amp;nbsp; Dim x as Variant
&lt;br&gt;&amp;nbsp; x = 
&lt;br&gt;ThisComponent.GetCurrentController.GetFrame.LayoutManager.getElement(&amp;quot;private:resource/toolbar/standardbar&amp;quot;)
&lt;br&gt;&amp;nbsp; Xray x
&lt;br&gt;&lt;br&gt;but if I check my own add-on toolbar in a very simple add-on 
&lt;br&gt;&amp;quot;doobiedoo.my.toolbar&amp;quot; (or any other add-on toolbar - I tried installing 
&lt;br&gt;a few)
&lt;br&gt;&lt;br&gt;&amp;nbsp; Dim x as Variant
&lt;br&gt;&amp;nbsp; x = 
&lt;br&gt;ThisComponent.GetCurrentController.GetFrame.LayoutManager.getElement(&amp;quot;private:resource/toolbar/addon_doobiedoo.my.toolbar&amp;quot;)
&lt;br&gt;&amp;nbsp; Xray x
&lt;br&gt;&lt;br&gt;the returned object is rather naked and lacks all the properties needed 
&lt;br&gt;for manipulating its state. What's going on ?
&lt;br&gt;&lt;br&gt;Am I unable to change the settings of an add-on toolbar that is defined 
&lt;br&gt;by an .XCU file - e.g. disable/enable buttons ? Or is it just Basic that 
&lt;br&gt;is stopping me ? Can I do it from e.g. Python ?
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;-- Jan Holst Jensen
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Add-on-toolbars---settings-inaccessible---tp26205305p26205305.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26211061</id>
	<title>Seeking help to install ooo sdk in ubuntu</title>
	<published>2009-11-04T12:45:51Z</published>
	<updated>2009-11-04T12:45:51Z</updated>
	<author>
		<name>Jayanga Wagaarachchi</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am having some problems with installing the ooo sdk 3.1 in ubuntu. when I
&lt;br&gt;try to install it an error message appeared like this.
&lt;br&gt;&lt;br&gt;Error: Dependency is not satisfiable: ooobasis3.1-core01
&lt;br&gt;&lt;br&gt;can you help me please, &amp;nbsp;it is argent for me to install sdk for my
&lt;br&gt;development. I was using widows before and I switched to ubuntu. sdk was
&lt;br&gt;working fine with windows but when I try it in ubuntu above error occurred.
&lt;br&gt;if you can me anything please send them.
&lt;br&gt;&lt;br&gt;thank you,
&lt;br&gt;&lt;br&gt;Jayanga.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Seeking-help-to-install-ooo-sdk-in-ubuntu-tp26211061p26211061.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26199792</id>
	<title>Need confirmation on non-working Events in Dialogs when Databrowser is opened</title>
	<published>2009-11-04T08:33:40Z</published>
	<updated>2009-11-04T08:33:40Z</updated>
	<author>
		<name>Fernand Vanrie</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Our compagny has over 100 OO-users who all uses Openoffice with 
&lt;br&gt;extensife use off Dialogs and macro's to automate several tasks. Sinds 
&lt;br&gt;our switch from 2.4 to 3.1 i have several user complaining about 
&lt;br&gt;non-functioning off dialog buttons in Writer documents while a 
&lt;br&gt;Databrowser(Beamer) is opened (mostly) whith some rows been selected. &amp;nbsp;I 
&lt;br&gt;can not find a reason &amp;nbsp;for when and why it happens, but Dialogs and the 
&lt;br&gt;Beamer are a killing combination: sometimes &amp;nbsp;the &amp;nbsp;Events behind a 
&lt;br&gt;buttons are worlking sometimes not ?
&lt;br&gt;A few months ago i filled a issue 
&lt;br&gt;&lt;a href=&quot;http://qa.openoffice.org/issues/show_bug.cgi?id=100764&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://qa.openoffice.org/issues/show_bug.cgi?id=100764&lt;/a&gt;&amp;nbsp; But the bug 
&lt;br&gt;could not been reproduced on sun machines :-)
&lt;br&gt;&lt;br&gt;Can someone else reproduce the problem &amp;nbsp;at least at Windows.
&lt;br&gt;- Use my doc attached to the issue
&lt;br&gt;- Or open a new Writer doc &amp;nbsp;and make &amp;nbsp;a dialog with a button and a event 
&lt;br&gt;to run a simple macro, add a field to the dialog who needs the input 
&lt;br&gt;from a selected row in the beamer. And see if the buttons works all the 
&lt;br&gt;time (change the selected rows in the beamer)
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Fernand
&lt;br&gt;&lt;br&gt;PS: Haply there is a (expensive) workaround:Replacing the events by &amp;nbsp;
&lt;br&gt;listeners
&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=26199792&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=26199792&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-confirmation-on-non-working-Events-in-Dialogs-when-Databrowser-is-opened-tp26199792p26199792.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26198843</id>
	<title>Logging slide number in Presentation</title>
	<published>2009-11-04T07:28:49Z</published>
	<updated>2009-11-04T07:28:49Z</updated>
	<author>
		<name>Thomas Pietrzak</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I'm new to this API and I have to code (in Java) a simple events logger
&lt;br&gt;in presentation, like slide change, etc.
&lt;br&gt;&lt;br&gt;As far as I understood I have to make an Add-On. I use Netbeans, and I
&lt;br&gt;generated a template code. Now I need a access to the
&lt;br&gt;XSlideshowController object in order to get the page number.
&lt;br&gt;&lt;br&gt;So how can I access this XSlideShowController?
&lt;br&gt;&lt;br&gt;Do you think there is a better (simpler) way to do that?
&lt;br&gt;&lt;br&gt;Is there any SlideChange callback somewhere?
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;Tom
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (268 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26198843/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Logging-slide-number-in-Presentation-tp26198843p26198843.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26195332</id>
	<title>Re: password protected files</title>
	<published>2009-11-04T04:15:14Z</published>
	<updated>2009-11-04T04:15:14Z</updated>
	<author>
		<name>Mikhail.Voytenko</name>
	</author>
	<content type="html">Hi Wei Min,
&lt;br&gt;&lt;br&gt;it depends from the API you are using.
&lt;br&gt;&lt;br&gt;I suspect that you are using loadComponentFromURL(), in this case you
&lt;br&gt;can provide the InteractionHandler in the MediaDescriptor, the
&lt;br&gt;InteractionHandler would handle the document password request in this case.
&lt;br&gt;&lt;br&gt;If the standard InteractionHandler implementation is provided to the
&lt;br&gt;call, the password dialog would be shown to user. You can also provide
&lt;br&gt;an own simple InteractionHandler implementation, that could for example
&lt;br&gt;detect whether document password request was done on loading ( that
&lt;br&gt;means that the document is encrypted one ). In the same way other
&lt;br&gt;problems during the loading could be handled.
&lt;br&gt;&lt;br&gt;Hope that helps.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Mikhail.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 11/04/09 11:05, Wei Min Teo wrote:
&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 was wondering if there's any way to identify password protected files before opening it? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It doesn't seem to throw an aIOException or illegalArgumentException. It just seems to fail XComponent.is(). The thing is that this could fail due to other reasons. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Wei Min
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;&amp;gt; _________________________________________________________________
&lt;br&gt;&amp;gt; New Windows 7: Find the right PC for you. Learn more.
&lt;br&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; 
&lt;/div&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=26195332&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=26195332&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/password-protected-files-tp26193653p26195332.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26193653</id>
	<title>password protected files</title>
	<published>2009-11-04T02:05:38Z</published>
	<updated>2009-11-04T02:05:38Z</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 was wondering if there's any way to identify password protected files before opening it? 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;It doesn't seem to throw an aIOException or illegalArgumentException. It just seems to fail XComponent.is(). The thing is that this could fail due to other reasons. 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Wei Min
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&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;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/password-protected-files-tp26193653p26193653.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26181937</id>
	<title>[WORKAROUND FOUND] Re: [api-dev] Calc API: Evaluate formula ?</title>
	<published>2009-11-03T08:02:17Z</published>
	<updated>2009-11-03T08:02:17Z</updated>
	<author>
		<name>Jan Holst Jensen</name>
	</author>
	<content type="html">Jan Holst Jensen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am trying to figure out how to evaluate a formula string. If I have 
&lt;br&gt;&amp;gt; selected a single cell I can get to the formula via 
&lt;br&gt;&amp;gt; ThisComponent.GetCurrentSelection.Formula but I haven't been able to 
&lt;br&gt;&amp;gt; find a way to evaluate that formula.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Excel VBA has the Evaluate() function - what is the equivalent in the 
&lt;br&gt;&amp;gt; OpenOffice API ? I did look at com.sun.star.sheet.FunctionAccess but 
&lt;br&gt;&amp;gt; that works only for a single function name and requires you to feed in 
&lt;br&gt;&amp;gt; all parameters manually.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using this to build a function that can return more descriptive 
&lt;br&gt;&amp;gt; error messages to the user when a formula returns &amp;quot;#VALUE!&amp;quot; - at least 
&lt;br&gt;&amp;gt; when the formula involves code in my add-in.
&lt;/div&gt;&lt;br&gt;Aha. A workaround is to use SetFormula which forces a re-evaluation of 
&lt;br&gt;the formula even when the new formula is identical to the old one. 
&lt;br&gt;Please, don't add a check for this to optimize performance of 
&lt;br&gt;SetFormula() :-).
&lt;br&gt;&lt;br&gt;Note that the code below only works when the offending function is 
&lt;br&gt;implemented in Basic. A formula of say &amp;quot;= 3 / 0&amp;quot; won't raise an 
&lt;br&gt;exception and be caught by the FormulaError handler.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;-- Jan
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; Dim SelectedCell as Variant
&lt;br&gt;&amp;nbsp; SelectedCell = ThisComponent.GetCurrentSelection
&lt;br&gt;&lt;br&gt;&amp;nbsp; if not (SelectedCell.Type = 
&lt;br&gt;com.sun.star.table.CellContentType.FORMULA) then
&lt;br&gt;&amp;nbsp; &amp;nbsp; MsgBox &amp;quot;Not a formula&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; Exit Sub
&lt;br&gt;&amp;nbsp; end if
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; Dim FormulaString as String
&lt;br&gt;&amp;nbsp; FormulaString = SelectedCell.Formula
&lt;br&gt;&amp;nbsp; ' Force re-calculation of formula.
&lt;br&gt;&amp;nbsp; On Error GoTo FormulaError
&lt;br&gt;&amp;nbsp; SelectedCell.SetFormula (FormulaString)
&lt;br&gt;&lt;br&gt;&amp;nbsp; On Error GoTo 0
&lt;br&gt;&amp;nbsp; Exit Sub
&lt;br&gt;&lt;br&gt;GeneralError:
&lt;br&gt;&amp;nbsp; MsgBox Error$, MB_ICONSTOP
&lt;br&gt;&amp;nbsp; On Error GoTo 0
&lt;br&gt;&amp;nbsp; Exit Sub
&lt;br&gt;&lt;br&gt;FormulaError:
&lt;br&gt;&amp;nbsp; MsgBox &amp;quot;The following error occurred during formula evaluation: &amp;quot; &amp; 
&lt;br&gt;Error$, MB_ICONEXCLAMATION
&lt;br&gt;&amp;nbsp; On Error GoTo 0
&lt;br&gt;&amp;nbsp; Exit Sub
&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=26181937&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=26181937&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Calc-API%3A-Evaluate-formula---tp26171264p26181937.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26179330</id>
	<title>Re: OOoBean and XDesktop::terminate()</title>
	<published>2009-11-03T05:09:10Z</published>
	<updated>2009-11-03T05:09:10Z</updated>
	<author>
		<name>dbennett455</name>
	</author>
	<content type="html">&amp;gt;I'm always getting a DisposedException Error. If I move
&lt;br&gt;&amp;gt;aBean.stopOOoConnection() down further, after xDesktop.terminate(), no
&lt;br&gt;&amp;gt;exception arises anymore. But the processes soffice.bin and soffice.exe
&lt;br&gt;&amp;gt;are still running.
&lt;br&gt;&lt;br&gt;Sadly, &amp;nbsp;I haveto use a bash script to do this. &amp;nbsp;This one is configured for
&lt;br&gt;Linux Redhat/Centos to run from cron (you can change the binary paths for 
&lt;br&gt;other distros). &amp;nbsp;Specifically, this is will kill soffice.bin binaries left 
&lt;br&gt;over from a web application that converts word docs to HTML. &amp;nbsp;The process 
&lt;br&gt;takes well under a minute, so a 10 minute buffer is safe, &amp;nbsp;after 25 
&lt;br&gt;minutes, stubborn processes are sent the SIGKILL signal. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Luckily, &amp;nbsp;the 'parent' OpenOffice processes are owned by the root user
&lt;br&gt;in my case. &amp;nbsp;If the processes you need to kill are the same ownership as
&lt;br&gt;the 'parent' OpenOffice processes you will need to add an extra step to
&lt;br&gt;the pipe. &amp;nbsp;(filtering out commands with 'ServiceManager' might to the 
&lt;br&gt;trick)
&lt;br&gt;&lt;br&gt;It requires the 'procfs' virtual file system so it couldn't be ported to 
&lt;br&gt;WinXX, &amp;nbsp;you would need another solution under Windows. &amp;nbsp;However, &amp;nbsp;just about any
&lt;br&gt;other OS supports procfs so this could probably be easily ported to 
&lt;br&gt;Solaris etc...
&lt;br&gt;&lt;br&gt;Change PUSER, PMATCH, MINUTES and KMINUTES to suit your needs, then
&lt;br&gt;add this to cron.
&lt;br&gt;&lt;br&gt;--Dave
&lt;br&gt;&lt;br&gt;#!/bin/bash
&lt;br&gt;&lt;br&gt;# this script is meant to be called regularly from cron and
&lt;br&gt;# will kill old OpenOffice processes owned by tomcat
&lt;br&gt;&lt;br&gt;# owner of the processes to kill
&lt;br&gt;PUSER=tomcat
&lt;br&gt;&lt;br&gt;# grep match of processes
&lt;br&gt;PMATCH='soffice\.bin'
&lt;br&gt;&lt;br&gt;# minutes to send normal termination signal
&lt;br&gt;MINUTES=10
&lt;br&gt;&lt;br&gt;# for hung processes, &amp;nbsp;minutes to wait before sending KILL signal
&lt;br&gt;KMINUTES=25
&lt;br&gt;&lt;br&gt;# normal termination
&lt;br&gt;/usr/bin/find /proc/ \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -maxdepth 3 \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -name 'cmdline' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -user ${PUSER} \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -mmin +${MINUTES} \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -exec /bin/grep -l ${PMATCH} {} \; | \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /bin/cut -d'/' -f3 | \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/bin/xargs -n1 -i^ /bin/bash -c '/bin/kill ^ 2&amp;gt;&amp;1 &amp;gt; /dev/null'
&lt;br&gt;&lt;br&gt;# wait a little longer then KILL hung processes
&lt;br&gt;/usr/bin/find /proc/ \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -maxdepth 3 \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -name 'cmdline' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -user ${PUSER} \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -mmin +${KMINUTES} \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -exec /bin/grep -l ${PMATCH} {} \; | \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /bin/cut -d'/' -f3 | \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/bin/xargs -n1 -i^ /bin/bash -c '/bin/kill -9 ^ 2&amp;gt;&amp;1 &amp;gt; /dev/null' 
&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=26179330&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=26179330&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OOoBean-and-XDesktop%3A%3Aterminate%28%29-tp25854078p26179330.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26171264</id>
	<title>Calc API: Evaluate formula ?</title>
	<published>2009-11-02T13:45:27Z</published>
	<updated>2009-11-02T13:45:27Z</updated>
	<author>
		<name>Jan Holst Jensen</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;&lt;br&gt;I am trying to figure out how to evaluate a formula string. If I have 
&lt;br&gt;selected a single cell I can get to the formula via 
&lt;br&gt;ThisComponent.GetCurrentSelection.Formula but I haven't been able to 
&lt;br&gt;find a way to evaluate that formula.
&lt;br&gt;&lt;br&gt;Excel VBA has the Evaluate() function - what is the equivalent in the 
&lt;br&gt;OpenOffice API ? I did look at com.sun.star.sheet.FunctionAccess but 
&lt;br&gt;that works only for a single function name and requires you to feed in 
&lt;br&gt;all parameters manually.
&lt;br&gt;&lt;br&gt;I am using this to build a function that can return more descriptive 
&lt;br&gt;error messages to the user when a formula returns &amp;quot;#VALUE!&amp;quot; - at least 
&lt;br&gt;when the formula involves code in my add-in.
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;-- Jan Holst Jensen
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Calc-API%3A-Evaluate-formula---tp26171264p26171264.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26157760</id>
	<title>Re: OOoBean and XDesktop::terminate()</title>
	<published>2009-11-02T10:04:02Z</published>
	<updated>2009-11-02T16:30:31Z</updated>
	<author>
		<name>dbennett455</name>
	</author>
	<content type="html">&amp;gt;I'm always getting a DisposedException Error. If I move 
&lt;br&gt;&amp;gt;aBean.stopOOoConnection() down further, after xDesktop.terminate(), no 
&lt;br&gt;&amp;gt;exception arises anymore. But the processes soffice.bin and soffice.exe 
&lt;br&gt;&amp;gt;are still running.
&lt;br&gt;&lt;br&gt;Sadly, &amp;nbsp;I haveto use a bash script to do this. &amp;nbsp;This one is configured for
&lt;br&gt;Linux Redhat/Centos to run from cron (you can change the binary paths for other
&lt;br&gt;distros). &amp;nbsp;Specifically, this is will kill soffice.bin binaries left over from a web
&lt;br&gt;application that converts word docs to HTML. &amp;nbsp;The process takes well under 
&lt;br&gt;a minute, so a 10 minute buffer is safe, &amp;nbsp;after 25 minutes, stubborn processes
&lt;br&gt;are sent the SIGKILL signal. &amp;nbsp;
&lt;br&gt;&lt;br&gt;Luckily, &amp;nbsp;the 'parent' OpenOffice processes are owned by the root user
&lt;br&gt;in my case. &amp;nbsp;If the processes you need to kill are the same ownership as
&lt;br&gt;the 'parent' OpenOffice processes you will need to add an extra step to 
&lt;br&gt;the pipe. &amp;nbsp;(filtering out commands with 'ServiceManager' might to the trick)
&lt;br&gt;&lt;br&gt;It requires the 'procfs' virtual file system so it couldn't be ported to WinXX, &amp;nbsp;
&lt;br&gt;you would need another solution under Windows. &amp;nbsp;However, &amp;nbsp;just about any
&lt;br&gt;other OS supports procfs so this could probably be easily ported to Solaris
&lt;br&gt;etc...
&lt;br&gt;&lt;br&gt;Change PUSER, PMATCH, MINUTES and KMINUTES to suit your needs, then
&lt;br&gt;add this to cron.
&lt;br&gt;&lt;br&gt;--Dave
&lt;br&gt;&lt;br&gt;#!/bin/bash
&lt;br&gt;&lt;br&gt;# this script is meant to be called regularly from cron and
&lt;br&gt;# will kill old OpenOffice processes owned by tomcat
&lt;br&gt;&lt;br&gt;# owner of the processes to kill
&lt;br&gt;PUSER=tomcat
&lt;br&gt;&lt;br&gt;# grep match of processes
&lt;br&gt;PMATCH='soffice\.bin'
&lt;br&gt;&lt;br&gt;# minutes to send normal termination signal
&lt;br&gt;MINUTES=10
&lt;br&gt;&lt;br&gt;# for hung processes, &amp;nbsp;minutes to wait before sending KILL signal
&lt;br&gt;KMINUTES=25
&lt;br&gt;&lt;br&gt;# normal termination
&lt;br&gt;/usr/bin/find /proc/ \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -maxdepth 3 \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -name 'cmdline' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -user ${PUSER} \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -mmin +${MINUTES} \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -exec /bin/grep -l ${PMATCH} {} \; | \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /bin/cut -d'/' -f3 | \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/bin/xargs -n1 -i^ /bin/bash -c '/bin/kill ^ 2&amp;gt;&amp;1 &amp;gt; /dev/null'
&lt;br&gt;&lt;br&gt;# wait a little longer then KILL hung processes
&lt;br&gt;/usr/bin/find /proc/ \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -maxdepth 3 \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -name 'cmdline' \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -user ${PUSER} \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -mmin +${KMINUTES} \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -exec /bin/grep -l ${PMATCH} {} \; | \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /bin/cut -d'/' -f3 | \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/bin/xargs -n1 -i^ /bin/bash -c '/bin/kill -9 ^ 2&amp;gt;&amp;1 &amp;gt; /dev/null'
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OOoBean-and-XDesktop%3A%3Aterminate%28%29-tp25854078p26157760.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26163729</id>
	<title>Welcome aboard</title>
	<published>2009-11-02T05:20:52Z</published>
	<updated>2009-11-02T05:20:52Z</updated>
	<author>
		<name>Juergen Schmidt-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;i would like to welcome kryanth, dsnero, g0d, huahsin68, sonigitu, 
&lt;br&gt;knobo, mtitley, m3rlin, ajeetdyondi as our newest project members!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Let me encourage you to subscribe to the
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26163729&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt; mailing list
&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://api.openoffice.org/servlets/ProjectMailingListList&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://api.openoffice.org/servlets/ProjectMailingListList&lt;/a&gt;&lt;br&gt;and take a look at the web page and wiki and see if anything attracts
&lt;br&gt;your interest
&lt;br&gt;&amp;nbsp; &amp;nbsp;wiki.services.openoffice.org/wiki/API.
&lt;br&gt;The API wiki is still under construction and especially in the example
&lt;br&gt;section we can benefit from more good examples and tutorials. Our
&lt;br&gt;Developer's Guide has moved into the docu wiki and is also a good
&lt;br&gt;resource to find more detailed information about the API
&lt;br&gt;&lt;br&gt;(&lt;a href=&quot;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;And last but not least the extension project might be also of interest
&lt;br&gt;for you if you plan to extend the office this way or if you want to
&lt;br&gt;learn more about extensions, the easiest way to get started to develop
&lt;br&gt;with and for OpenOffice.org.
&lt;br&gt;&lt;br&gt;Feel free to a short biography to the list to introduce yourself.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Juergen
&lt;br&gt;&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=26163729&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=26163729&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Welcome-aboard-tp26163729p26163729.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26163499</id>
	<title>Re: Re[api-dev] freshing Dialog</title>
	<published>2009-11-02T05:08:11Z</published>
	<updated>2009-11-02T05:08:11Z</updated>
	<author>
		<name>Peter Eberlein-3</name>
	</author>
	<content type="html">Hi Vil,
&lt;br&gt;Vil schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi, 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; short question:
&lt;br&gt;&amp;gt; I want to change the amount of input (editFields) in a Dialog after a
&lt;br&gt;&amp;gt; listerner hits on an event.
&lt;br&gt;&amp;gt; The change of the dialogs model works ok, but the effect of appearing new
&lt;br&gt;&amp;gt; edit fields in a dialog only shows up if I use a roadmapitem to go to
&lt;br&gt;&amp;gt; another step and than back to the step where the change has happend.
&lt;br&gt;&amp;gt; --&amp;gt; I need to know how to tell the dialog to repaint itself according the
&lt;br&gt;&amp;gt; changed properties of its model.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; can this somehow be done by the XPaintListeners...?
&lt;/div&gt;&lt;br&gt;maybe &lt;a href=&quot;http://qa.openoffice.org/issues/show_bug.cgi?id=50716&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://qa.openoffice.org/issues/show_bug.cgi?id=50716&lt;/a&gt;&amp;nbsp;is the 
&lt;br&gt;problem here?
&lt;br&gt;&lt;br&gt;&amp;gt; I couldn't find anything.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am aware, that oodialogs are not ment to change dynamically...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; thank you :)
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Peter
&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=26163499&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=26163499&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Refreshing-Dialog-tp26067580p26163499.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26136990</id>
	<title>Re: python and loadComponentFromURL()</title>
	<published>2009-10-30T14:17:12Z</published>
	<updated>2009-10-30T14:17:12Z</updated>
	<author>
		<name>Joerg Budischewski</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;python lists are not supported, use tuples instead. Try to change the line
&lt;br&gt;&lt;br&gt;Properties = [hidden]
&lt;br&gt;&lt;br&gt;to
&lt;br&gt;&lt;br&gt;Properties = hidden,
&lt;br&gt;&lt;br&gt;and try again.
&lt;br&gt;&lt;br&gt;Bye,
&lt;br&gt;&lt;br&gt;Joerg
&lt;br&gt;&lt;br&gt;John Gleeson schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Open Office Support:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am developing a python program that will allow a cell
&lt;br&gt;&amp;gt; to be filled in with arbitrary text for a specified spreadsheet
&lt;br&gt;&amp;gt; file and cell.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am developing on Solaris 10 x86. I plan on deploying
&lt;br&gt;&amp;gt; on Solaris 10 SPARC. I downloaded OO about 2 weeks
&lt;br&gt;&amp;gt; ago. I downloaded the OO SDK this week.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have attached the program. It is as simple as I could make
&lt;br&gt;&amp;gt; it for demonstration purposes.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I use this command line to test it:
&lt;br&gt;&amp;gt; /opt/openoffice.org3/program/python z.py /tmp/T2.ods A1 johnny
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This should put &amp;quot;johnny&amp;quot; into the cell at A1 in the spreadsheet (file)
&lt;br&gt;&amp;gt; /tmp/T2.ods.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am getting this output:
&lt;br&gt;&amp;gt; after localContext
&lt;br&gt;&amp;gt; after localResolver
&lt;br&gt;&amp;gt; after context
&lt;br&gt;&amp;gt; after desktop
&lt;br&gt;&amp;gt; url = file:///tmp/T2.ods
&lt;br&gt;&amp;gt; failed to load spreadsheet. error is &amp;lt;type 'exceptions.NameError'&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I do not understand why I am getting this error. My code is based
&lt;br&gt;&amp;gt; on example code that is doing the same things.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I switch the &amp;quot;Doc &amp;quot; assignment to the one that is commented out
&lt;br&gt;&amp;gt; in the attached version, I get &amp;quot;Abort(coredump)&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Am I doing something wrong? Are there known issues with what
&lt;br&gt;&amp;gt; I am trying to use?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any pointers you might be able to provide are greatly appreciated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; John Gleeson
&lt;br&gt;&amp;gt; Software Technologies Group, Inc.
&lt;br&gt;&amp;gt; +1.708.547.0110
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&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=26136990&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=26136990&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&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=26136990&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=26136990&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/python-and-loadComponentFromURL%28%29-tp26089821p26136990.html" />
</entry>

</feed>
