On 3/29/07, Razvan Adrian Bogdan <[EMAIL PROTECTED]> wrote:
On 3/29/07, Adrian Maier <[EMAIL PROTECTED]> wrote:
> 1)It is possible to run any of those editors from within a Lazarus 
application,
> as separate processes.

That wouldn't be a problem, yes.

In this case , it looks like this is the way to go.
http://wiki.lazarus.freepascal.org/Executing_External_Programs

> 2)OpenOffice can be run as a server that waits for connections and can
> communicate with other programs. I have seen a Java application that
> was batch processing documents in several steps : one of those steps
> was to use OpenOffice for converting from doc to xml  .
> So,  in theory it should be possible for a Lazarus application to do the same
> thing and communicate with OpenOffice through sockets .   I don't know exactly
> how much of OpenOffice's  functionality is available for the programs that are
> connecting to it.

OOo has Java and C++ support as well as scripting even for VB syntax
but no pascal or plain C, i have no idea how the protocol looks like.

I don't know more about the protocol either.  You'll have to do some research
in OO's  docs.
But,  assuming that OpenOffice is a server who is waiting for tcp/ip
connections ,
it wouldn't matter which language is the client written with. Once you
understand
the protocol it should be possible to implement in pascal a client for it .


> 3)As far as i know, it is not possible to embed MS Office through OLE
> (it's not crosss-platform...).

Win only is enough for now but Lazarus doesn't support ActiveX (COM)

Razvan

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives



--
Adrian Maier

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to