Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #18781 > unrolled thread

open office in another language?

Started bySean Wolfe <ether.joe@gmail.com>
First post2012-01-10 18:43 -0300
Last post2012-01-13 18:30 +0100
Articles 11 — 8 participants

Back to article view | Back to comp.lang.python


Contents

  open office in another language? Sean Wolfe <ether.joe@gmail.com> - 2012-01-10 18:43 -0300
    LibreOffice with Python (was: open office in another language?) Ben Finney <ben+python@benfinney.id.au> - 2012-01-11 09:29 +1100
      Re: LibreOffice with Python Terry Reedy <tjreedy@udel.edu> - 2012-01-10 19:04 -0500
        Re: LibreOffice with Python Ben Finney <ben+python@benfinney.id.au> - 2012-01-11 11:59 +1100
      Re: LibreOffice with Python Adam  Tauno Williams <awilliam@whitemice.org> - 2012-01-20 21:34 -0500
    Re: open office in another language? Martin Manns <mmanns@gmx.net> - 2012-01-11 22:35 +0100
      Re: open office in another language? Sean Wolfe <ether.joe@gmail.com> - 2012-01-11 18:39 -0300
        Re: open office in another language? 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-11 17:37 -0800
        Re: open office in another language? 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-11 17:37 -0800
    Re: open office in another language? Wolfgang Keller <feliphil@gmx.net> - 2012-01-13 17:22 +0100
      Re: open office in another language? Stefan Behnel <stefan_ml@behnel.de> - 2012-01-13 18:30 +0100

#18781 — open office in another language?

FromSean Wolfe <ether.joe@gmail.com>
Date2012-01-10 18:43 -0300
Subjectopen office in another language?
Message-ID<mailman.4610.1326231798.27778.python-list@python.org>
I'm a somewhat-satisfied openoffice.org user. I mean it works, but if
it weren't in Java I'd be doing some of my own tweaking. But since
it's in Java I stay away... no likey.

Has there been any talk of doing another similar office suite, or
maybe just writer + spreadsheet, in a better language eg python? I
expect it's a huge undertaking but ... thought I'd ask around at
least.


-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow

[toc] | [next] | [standalone]


#18785 — LibreOffice with Python (was: open office in another language?)

FromBen Finney <ben+python@benfinney.id.au>
Date2012-01-11 09:29 +1100
SubjectLibreOffice with Python (was: open office in another language?)
Message-ID<87aa5v8a3r.fsf@benfinney.id.au>
In reply to#18781
Sean Wolfe <ether.joe@gmail.com> writes:

> I'm a somewhat-satisfied openoffice.org user.

You may know about the change of focus in recent months to LibreOffice
<URL:https://www.libreoffice.org/>. The Document Foundation is where the
majority of the project's institutional knowledge, development effort,
open collaboration, and all actual released software over the last year
now reside.

> I mean it works, but if it weren't in Java I'd be doing some of my own
> tweaking. But since it's in Java I stay away... no likey.

LibreOffice supports scripting with several languages, including Python
<URL:http://help.libreoffice.org/Common/Scripting>.

Extensions can also be written in Python, using the UNO runtime API
<URL:http://api.libreoffice.org/>.

-- 
 \       “Pinky, are you pondering what I'm pondering?” “Well, I think |
  `\       so, Brain, but ‘apply North Pole’ to what?” —_Pinky and The |
_o__)                                                           Brain_ |
Ben Finney

[toc] | [prev] | [next] | [standalone]


#18789 — Re: LibreOffice with Python

FromTerry Reedy <tjreedy@udel.edu>
Date2012-01-10 19:04 -0500
SubjectRe: LibreOffice with Python
Message-ID<mailman.4617.1326240323.27778.python-list@python.org>
In reply to#18785
On 1/10/2012 5:29 PM, Ben Finney wrote:

> LibreOffice supports scripting with several languages, including Python
> <URL:http://help.libreoffice.org/Common/Scripting>.

So that page says. But it only tells how to attach a Python script once 
writen, not how to write one that will do anything. Are there any links 
for that?

> Extensions can also be written in Python, using the UNO runtime API
> <URL:http://api.libreoffice.org/>.

The one Python example imports Python wrappers for the API. Do you have 
any idea how to get the importable modules?

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#18791 — Re: LibreOffice with Python

FromBen Finney <ben+python@benfinney.id.au>
Date2012-01-11 11:59 +1100
SubjectRe: LibreOffice with Python
Message-ID<8762gj8365.fsf@benfinney.id.au>
In reply to#18789
Terry Reedy <tjreedy@udel.edu> writes:

> Are there any links for that?
[…]
> Do you have any idea how to get the importable modules?

Those will have to be exercises for someone with more need than I of
hacking on an office suite. I have no experience with that.

-- 
 \        “Your [government] representative owes you, not his industry |
  `\   only, but his judgment; and he betrays, instead of serving you, |
_o__)        if he sacrifices it to your opinion.” —Edmund Burke, 1774 |
Ben Finney

[toc] | [prev] | [next] | [standalone]


#19181 — Re: LibreOffice with Python

FromAdam Tauno Williams <awilliam@whitemice.org>
Date2012-01-20 21:34 -0500
SubjectRe: LibreOffice with Python
Message-ID<mailman.4902.1327113270.27778.python-list@python.org>
In reply to#18785

[Multipart message — attachments visible in raw view] — view raw

On Tue, 2012-01-10 at 19:04 -0500, Terry Reedy wrote:
> On 1/10/2012 5:29 PM, Ben Finney wrote:
> > LibreOffice supports scripting with several languages, including Python
> > <URL:http://help.libreoffice.org/Common/Scripting>
> So that page says. But it only tells how to attach a Python script once 
> writen, not how to write one that will do anything. Are there any links 
> for that?

+1

PyUNO, and UNO in general, needs way more press and for some of the
people who use it to do a bit of BLOGing.  Getting up over the initial
learning curve is rough;  I know it has pushed me back from a couple of
attempts.

> > Extensions can also be written in Python, using the UNO runtime API
> > <URL:http://api.libreoffice.org/>.

[toc] | [prev] | [next] | [standalone]


#18846

FromMartin Manns <mmanns@gmx.net>
Date2012-01-11 22:35 +0100
Message-ID<20120111223508.413f2b68@Fuddel>
In reply to#18781
On Tue, 10 Jan 2012 18:43:09 -0300
Sean Wolfe <ether.joe@gmail.com> wrote:
 
> Has there been any talk of doing another similar office suite, or
> maybe just writer + spreadsheet, in a better language eg python? I
> expect it's a huge undertaking but ... thought I'd ask around at
> least.

If you are looking for Python based spreadsheets, 
you may be interested in ResolverOne (commercial product)

http://www.resolversystems.com/products/resolver-one/

or in pyspread (GPL, my own effort)

http://manns.github.com/pyspread/

Martin

[toc] | [prev] | [next] | [standalone]


#18847

FromSean Wolfe <ether.joe@gmail.com>
Date2012-01-11 18:39 -0300
Message-ID<mailman.4667.1326317997.27778.python-list@python.org>
In reply to#18846
On Wed, Jan 11, 2012 at 6:35 PM, Martin Manns <mmanns@gmx.net> wrote:
> or in pyspread (GPL, my own effort)
>
> http://manns.github.com/pyspread/
>

Checking this out now. Do you have text boxes? Cause maybe I will add
some ... cool!

[toc] | [prev] | [next] | [standalone]


#18855

From88888 Dihedral <dihedral88888@googlemail.com>
Date2012-01-11 17:37 -0800
Message-ID<1609164.984.1326332231661.JavaMail.geo-discussion-forums@prmu37>
In reply to#18847
Open Office suite software users are  most non-programmers. 
Software to be used by non-programmers are different from most  free python 
packages shared by programmers. 

[toc] | [prev] | [next] | [standalone]


#18857

From88888 Dihedral <dihedral88888@googlemail.com>
Date2012-01-11 17:37 -0800
Message-ID<mailman.4670.1326332946.27778.python-list@python.org>
In reply to#18847
Open Office suite software users are  most non-programmers. 
Software to be used by non-programmers are different from most  free python 
packages shared by programmers. 

[toc] | [prev] | [next] | [standalone]


#18923

FromWolfgang Keller <feliphil@gmx.net>
Date2012-01-13 17:22 +0100
Message-ID<20120113172255.8d299c26.feliphil@gmx.net>
In reply to#18781
> I'm a somewhat-satisfied openoffice.org user. I mean it works, but if
> it weren't in Java I'd be doing some of my own tweaking. But since
> it's in Java I stay away... no likey.

OpenOffice (now LibreOffice, btw.) is not implemented in Java, if that's
what you mean.

It _is_ scriptable in Python, however there doesn't seem to be any
documentation available. Ask on the Libreoffice-users list.

> Has there been any talk of doing another similar office suite, or
> maybe just writer + spreadsheet, in a better language eg python?

You wouldn't implement "Office"-style software entirely in Python.

Other FOSS "Office"-style software apart from LibreOffice is, e.g.
Abiword and GNUmeric. Both are scriptable in Python as well, iirc.

And, of course, there's LyX (also scriptable in Python), which I do
prefer a L-O-T over "word processor" applications for writing. And there
is Pyspread.

Sincerely,

Wolfgang

-- 
HOMO HOMINI HOSTIS                                IN FELIBUS FELICITAS

[toc] | [prev] | [next] | [standalone]


#18930

FromStefan Behnel <stefan_ml@behnel.de>
Date2012-01-13 18:30 +0100
Message-ID<mailman.4721.1326475837.27778.python-list@python.org>
In reply to#18923
Wolfgang Keller, 13.01.2012 17:22:
>> I'm a somewhat-satisfied openoffice.org user. I mean it works, but if
>> it weren't in Java I'd be doing some of my own tweaking. But since
>> it's in Java I stay away... no likey.
> 
> OpenOffice (now LibreOffice, btw.) is not implemented in Java, if that's
> what you mean.
> 
> It _is_ scriptable in Python, however there doesn't seem to be any
> documentation available.

Erm - care to take a look before making such a statement?

http://www.openoffice.org/udk/python/python-bridge.html

http://www.openoffice.org/udk/

Stefan

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web