Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Wolfgang,

Many thanks. I'll give it a try.

Leon Stevens


-----Original Message-----
From: Wolfgang Silbermayr [mailto:wolfgang.silbermayr@gmail.com] 
Sent: Friday, April 22, 2011 0:45 AM
To: users@libreoffice.org
Subject: Re: [libreoffice-users] Execute LibreOffice "externally"

On 2011-04-21 17:20, Stevens, Leon wrote:
Hi,

Is there a mechanism that can be used to execute Calc "externally"?

Right now, Python can open and execute MS Excel, just like a hands-on user, insert content into 
cells, etc.

I guess what you are searching for is the LibreOffice SDK with the UNO
bridge. You can remote-control LibreOffice from Python, CSharp
(currently not working, but will be functional in 3.4 again), Java and
some other languages.

You can run LibreOffice in hidden mode or visible. From the program
code, you can access any functionality that the normal user has.

This was already available in OpenOffice as well, and you can find code
examples and howto's by searching the web for OpenOffice UNO or
LibreOffice UNO. The OpenOffice examples should in general work for
LibreOffice as well, except for some minor differences that can occur.

Greetings, Wolfgang.

-- 
Unsubscribe instructions: E-mail to users+help@libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted


-- 
Unsubscribe instructions: E-mail to users+help@libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.