Adriano Colaianni wrote:
Does Applications like Draw, Impress, make interprocess connection to
instantiate UNO's Services? How do they work?
I'm going to develop a simple application that works at the same level
of Draw or Impress (no OOo client application ).
After an explanation of Developer's Guide I have the next scenario:
____________________________________________________________
Client| S U |service1 | ? |Impress
Appl. | O R |. | ? |Draw
| C P |. U N O | ? |Writer
| K |. | ? |.
| E |. | ? |.
| T |serviceN | ? |.
Impress, Writer, etc. are part of the soffice process, and as such
access any OOo UNO services in-process (in fact, each of Impress,
Writer, etc. also *implements* its share of those OOo UNO services).
If the entity you develop is intended to be an integral part of OOo,
like Draw, Impress, Writer, etc., then it looks like it should be a
(UNO) component that is instantiated within the soffice process (and for
details on how to integrate it into OOo's menus etc.
[email protected] would probably be the right mailing list).
-Stephan
Stephan Bergmann wrote:
Adriano Colaianni wrote:
Hi all,
I want to develop a simple application without the use of
interprocess connection (socket, pipe) to create services.
Can I create all the service of UNO by a local Service manager (as
the example RunComponent.java)?
How is it possible?
Thanks in advance
"All the services of UNO" is too unspecific to give you a good answer.
If you want to use OOo's UNO services (like for editing a text
document), then you need the complete OOo application running, and you
need to use interprocess communication (nicely shielded by the new
"simple bootstrap mechanism," available at least in C++ and Java).
If you do not need any of OOo's office-related services, but only the
base services that are part of the URE (like a service to decompose
URLs, or a service to reflectively access other UNO entities), then
you should check out the URE. It comes with an accompanying
uretest.zip (built in CVS module ure) that contains example UNO
applications (using the uno executable, you only need to supply a UNO
component that implements com.sun.star.lang.XMain; the uno executable
will then provide the component context and service manager and
instantiate your component).
This might be too broad an overview for your specific needs. Don't
hesitate to ask for details, depending on which way you want to go.
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]