[api-dev] Re: embed OO-Window in a Qt Window

2011-03-24 Thread Kai Sommerfeld

Hi,

On 23.03.11 11:21, Mathias Bauer wrote:

On 22.03.2011 09:59, Konstantin Tokarev wrote:



19.03.2011, 17:08, Goran Markicgo...@markic.ch:

Dear Sirs

We are developing a multi platform (Windows, Linux, Mac) software for
communication with our scientific instruments. Therefore we use the qt
framework. We would like to embed a spreadsheet or a writer window
within our qt window. Because we are developing for several operating
systems we think that Open Office could be appropriate for our needs.
After studying the UNO framework I haven't found the possibility to
integrate an Open Office window into another Application. As far as I
have seen, with an axtiveX component it should be possible, but then we
are restricted to Windows.

Could you please inform us if this is possible with Open Office for the
mentioned platforms.

Thank you very much

Best regards,

Dr. Goran Markic

Markic Scientific Instruments


Disclaimer: I'm not an expert in OOo or UNO programming


Nevertheless your answers are excellent. :-)
I just want to add something.


3. On X11 platforms you can try to use QX11EmbedWidget to embed OOo
window.


In general OOo can reuse system windows as OOo windows. We are using
this technique not only for the ActiveX component that was mentioned
above, but also for the Mozilla browser plugin that works on all platforms.


 Not quite correct. The Mozilla browser plugin is not (yet) available 
for Mac OS X.


 Regards,
Kai.

--
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help


[api-dev] Re: embed OO-Window in a Qt Window

2011-03-23 Thread Mathias Bauer

On 22.03.2011 09:59, Konstantin Tokarev wrote:



19.03.2011, 17:08, Goran Markicgo...@markic.ch:

Dear Sirs

We are developing a multi platform (Windows, Linux, Mac) software for
communication with our scientific instruments. Therefore we use the qt
framework. We would like to embed a spreadsheet or a writer window
within our qt window. Because we are developing for several operating
systems we think that Open Office could be appropriate for our needs.
After studying the UNO framework I haven't found the possibility to
integrate an Open Office window into another Application. As far as I
have seen, with an axtiveX component it should be possible, but then we
are restricted to Windows.

Could you please inform us if this is possible with Open Office for the
mentioned platforms.

Thank you very much

Best regards,

Dr. Goran Markic

Markic Scientific Instruments


Disclaimer: I'm not an expert in OOo or UNO programming


Nevertheless your answers are excellent. :-)
I just want to add something.


3. On X11 platforms you can try to use QX11EmbedWidget to embed OOo
window.


In general OOo can reuse system windows as OOo windows. We are using 
this technique not only for the ActiveX component that was mentioned 
above, but also for the Mozilla browser plugin that works on all platforms.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.
--
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help


[api-dev] Re: embed OO-Window in a Qt Window

2011-03-22 Thread Konstantin Tokarev


19.03.2011, 17:08, Goran Markic go...@markic.ch:
 Dear Sirs

 We are developing a multi platform (Windows, Linux, Mac) software for
 communication with our scientific instruments. Therefore we use the qt
 framework. We would like to embed a spreadsheet or a writer window
 within our qt window. Because we are developing for several operating
 systems we think that Open Office could be appropriate for our needs.
 After studying the UNO framework I haven't found the possibility to
 integrate an Open Office window into another Application. As far as I
 have seen, with an axtiveX component it should be possible, but then we
 are restricted to Windows.

 Could you please inform us if this is possible with Open Office for the
 mentioned platforms.

 Thank you very much

 Best regards,

 Dr. Goran Markic

 Markic Scientific Instruments

Disclaimer: I'm not an expert in OOo or UNO programming

1. AFAIK, there's no Qt bridge around. If you want good Qt integration 
you'll probably find better in KOffice/Calligra Suite

2. There's OOoBean which allows to integrate OOo into Java application.
If you find a way to integrate Java applet into your software, it may be a
way to go.

3. On X11 platforms you can try to use QX11EmbedWidget to embed OOo 
window.

4. It may be easier to integrate your existing Qt application into OOo as
extension than vice versa.

-- 
Regards,
Konstantin
--
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help