Re: [api-dev] SystemShellExecute.execute() opens always Firefox in Linux

2008-02-29 Thread Alexandro Colorado
Check your enviromental variables or your gnome variables. Usually there is a default app that will open for whatever format it doesnt have register. mine is mplayer. Changing that value or registering odf on ur system might change the behavior. On Fri, 29 Feb 2008 12:23:48 -0600, Tobias Kr

Re: [api-dev] SystemShellExecute.execute() opens always Firefox in Linux

2008-02-29 Thread Tobias Krais
Hi Matthias, thanks for your reply. >> I want to use the SystemShellExecute.execute method to open Documents >> that OOo can not open. Giving the file location as the parameter >> aCommand opens the document with the default application in Windows. In >> Linux my Firefox is opened, which again op

Re: [api-dev] can't set bool value for com.sun.star.beans.PropertyValue [pt.3]

2008-02-29 Thread Mikhail Voitenko
Hi Dmitry, The PropertyValue::Value member is of type Any. So on the COM side of the bridge it should be represented by a Variant. There is an example of Atomation-bridge usage in extensions/source/activex/main/SOActiveX.cpp, although it uses pure Automation bridge. Regards, Mikhail. Dmit

[api-dev] Re: can't set bool value for com.sun.star.beans.PropertyValue [pt.3]

2008-02-29 Thread Dmitry Teslenko
I've solved my proglem On Fri, Feb 29, 2008 at 5:34 PM, Dmitry Teslenko <[EMAIL PROTECTED]> wrote: > Hello! > I'm programming OO through COM/Automation interface and noticed > strange strange thing: > I can't set PropertyValue value to bool value. > It appears when I'm trying to open document

Re: [api-dev] AWT: some questions concerning Toolkit "inconsistencies"

2008-02-29 Thread Ariel Constenla-haile
Hi all, Carsten Driesner escribió: Paolo Mantovani schrieb: Hi, Carsten Driesner ha scritto: [...] Third (and last for now): com.sun.star.awt.UnoControlContainer and com.sun.star.awt.UnoControlContainerModel go beyond my understanding, although I've been using them so far this way - instanti

[api-dev] can't set bool value for com.sun.star.beans.PropertyValue [pt.3]

2008-02-29 Thread Dmitry Teslenko
Hello! I'm programming OO through COM/Automation interface and noticed strange strange thing: I can't set PropertyValue value to bool value. It appears when I'm trying to open document as template. There's XComponentLoader::loadComponentFromURL method that takes sequence of PropertyValues as one of

Re: [api-dev] AWT: some questions concerning Toolkit "inconsistencies"

2008-02-29 Thread Paolo Mantovani
Hi Carsten, [...] > Hi Paolo, > > I didn't catch that we talk about the UnoControlContainerModel as a > "normal" control. It's simple, you cannot nest > UnoControlContainerModel. Although you can add it them into a > container model, they won't do anything useful. May be the creator of > the too

Re: [api-dev] AWT: some questions concerning Toolkit "inconsistencies"

2008-02-29 Thread Ariel Constenla-haile
Hi Carsten, Carsten Driesner escribió: Second, with the com.sun.star.frame.FrameControl I do not understand: 1. why isn't it in the toolkit module css.awt, instead of the css.frame module? although it is a *frame* control, it is a *control*. This feature is very old and was created for some spe

Re: [api-dev] SystemShellExecute.execute() opens always Firefox in Linux

2008-02-29 Thread Mathias Röllig
Hello Tobias! Am 28.02.2008 17:50 schrieb Tobias Krais: > I want to use the SystemShellExecute.execute method to open Documents > that OOo can not open. Giving the file location as the parameter > aCommand opens the document with the default application in Windows. In > Linux my Firefox is opened,

Re: [api-dev] AWT: some questions concerning Toolkit "inconsistencies"

2008-02-29 Thread Frank Schönheit - Sun Microsystems Germany
Hi Ariel, > But when the control model is instantiated this way, there is no control > at all: XControlContainer::getControl() at the UnoControlDialog returns > null. > Also strange that the model instantiated this way has properties it does > not have when instantiated at the global service manag

Re: [api-dev] AWT: some questions concerning Toolkit "inconsistencies"

2008-02-29 Thread Frank Schönheit - Sun Microsystems Germany
Hi Carsten, >> Trying the same test with ordinary controls (controls that are listed in >> the dialog-model service manager) you will obtain a valid reference to >> the control-view in both cases (before and after the execute() call) > Ok, something that I missed. Up to now I thought that controls

Re: [api-dev] AWT: some questions concerning Toolkit "inconsistencies"

2008-02-29 Thread Carsten Driesner
Paolo Mantovani schrieb: Hi, Carsten Driesner ha scritto: [...] Third (and last for now): com.sun.star.awt.UnoControlContainer and com.sun.star.awt.UnoControlContainerModel go beyond my understanding, although I've been using them so far this way - instantiate both at the global service manage

Re: [api-dev] AWT: some questions concerning Toolkit "inconsistencies"

2008-02-29 Thread Paolo Mantovani
Hi, Carsten Driesner ha scritto: [...] >> Third (and last for now): com.sun.star.awt.UnoControlContainer and >> com.sun.star.awt.UnoControlContainerModel go beyond my understanding, >> although I've been using them so far this way >> >> - instantiate both at the global service manager >> - set the

Re: [api-dev] AWT: some questions concerning Toolkit "inconsistencies"

2008-02-29 Thread Carsten Driesner
Ariel Constenla-haile schrieb: Hello people, Hi Ariel, See my comments inside. concerning some comments I added to the issues http://www.openoffice.org/issues/show_bug.cgi?id=86414 http://www.openoffice.org/issues/show_bug.cgi?id=86415 http://www.openoffice.org/issues/show_bug.cgi?id=86416

Re: [api-dev] Menu refreshes often and deadlocks OOo

2008-02-29 Thread Tobias Krais
Hi Philipp, I forgot to answer your mail. > Sorry, no immediate idea. However as far as I remember Ubuntu Gutsy used > an intermediate developer version for its release that was known to > cause a plethora of SNAFUs that were fixed in the correspoding actual > 2.3 release. This may or may not hav

Re: [api-dev][SOLVED] Nodepath for java settings correct? (ConfigurationProvider)

2008-02-29 Thread Andre Heine
Hello all, I follow the hints and all things works fine:-) Here is a little exmple in C: snip extern "C" { #include #include } javaFrameworkError setup(void) { javaFrameworkError error = jfw_setEnabled(sal_True); OUString vmp=OUString::createFromAs