python3 embedded in LibreOffice documents

2020-02-11 Thread ..
Both Open- and LibreOffice use APSO.oxt to support py3 in Office .odt documents, such as HTML files et cetera. So one can make a web page with python and BASIC code essentially and save it as a document, possibly throw in some EMOTET as well. after import NNTPlib one can make a lil

How to write libreoffice python macros in venv?

2017-01-30 Thread Jim
I have all the necessary libreoffice modules installed in my Mint 18.1 system to allow me to write libreoffice calc macros in python. I now have venv installed. If I try to import uno for a calc macro in it I get an error that there is no uno module. How can I get my venv to find uno and the

Re: pyuno in Libreoffice 5.1.4.2

2017-01-22 Thread Jim
+ row) Can be written as: cell = sheet.cellrange[cellRow + row, cellCol + col] But when I try that I get: Traceback (most recent call last): File "/home/jfb/.config/libreoffice/4/user/Scripts/python/enter_INV/enter_INV.py", line 68, in keyPressed move_selected_cell(1, 0) F

Re: pyuno in Libreoffice 5.1.4.2

2017-01-22 Thread MRAB
= sheet.cellrange[cellRow + row, cellCol + col] But when I try that I get: Traceback (most recent call last): File "/home/jfb/.config/libreoffice/4/user/Scripts/python/enter_INV/enter_INV.py", line 68, in keyPressed move_selected_cell(1, 0) File "/home/jfb/.config/libreoffice

pyuno in Libreoffice 5.1.4.2

2017-01-22 Thread Jim
, cellCol + col] But when I try that I get: Traceback (most recent call last): File "/home/jfb/.config/libreoffice/4/user/Scripts/python/enter_INV/enter_INV.py", line 68, in keyPressed move_selected_cell(1, 0) File "/home/jfb/.config/libreoffice/4/user/Scripts/python/enter_I

Re: [OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Chris Angelico
On Wed, Jan 8, 2014 at 8:54 AM, Ben Finney wrote: > Chris Angelico writes: > >> Sad. This is yet another of those politically-charged distinctions >> that, quite frankly, I have no interest in. > > I raised the point because you're giving advice to others on which > software to use. If you have n

Re: [OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Ben Finney
Michael Torrie writes: > On 01/05/2014 04:30 PM, Ben Finney wrote: > > In short: Everything that was good about OpenOffice is now called > > LibreOffice, which had to change its name only because the owners of > > that name refused to let it go. > > Your information i

Re: [OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Michael Torrie
Apologies to the list for the noise! Should have replied off-list. -- https://mail.python.org/mailman/listinfo/python-list

Re: [way OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Michael Torrie
On 01/07/2014 10:14 AM, Chris Angelico wrote: > On Wed, Jan 8, 2014 at 4:10 AM, Michael Torrie wrote: >> LO does reference images if you would like. But I find embedding the >> whole works is just more self-contained. And with multiple file >> documents the chances of losing data or messing with

Re: [way OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Chris Angelico
On Wed, Jan 8, 2014 at 4:10 AM, Michael Torrie wrote: > LO does reference images if you would like. But I find embedding the > whole works is just more self-contained. And with multiple file > documents the chances of losing data or messing with pagination are > contained to individual sections.

Re: [way OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Michael Torrie
I open the various documents LO will update the templates. They aren't linked templates per se; they are copied. But the mechanism works okay, if a bit clunky. > >> The weakest part of LibreOffice is embedding images. > > And that's why this particular book is being divid

Re: [OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Chris Angelico
On Wed, Jan 8, 2014 at 3:38 AM, Michael Torrie wrote: > [OpenOffice v4] is mostly feature identical to > LibreOffice 4, and even has a couple of features that LibreOffice lacks. > They really need to merge back into one project again, but I suspect > they won't either for ide

Re: [OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Chris Angelico
at's still unworkable for repeated edits. > The weakest part of LibreOffice is embedding images. And that's why this particular book is being divided up: it's full of images. Putting the whole thing into a single file makes that file way way too big to work with (at least on the

Re: [OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Michael Torrie
On 01/06/2014 08:53 AM, Grant Edwards wrote: > Yea, I think laying out a book with something like MS Word or > LibreOffice is nuts. Depending on her formatting needs, a > lighter-weight mark-up language (something like asciidoc) might suite: I've laid out a book with LibreOffice a

Re: [OT] Migrating from non-free programs to LibreOffice

2014-01-07 Thread Michael Torrie
On 01/05/2014 04:30 PM, Ben Finney wrote: > In short: Everything that was good about OpenOffice is now called > LibreOffice, which had to change its name only because the owners of > that name refused to let it go. Your information is a year or two out of date. OpenOffice.org is alive

Re: [OT] Migrating from non-free programs to LibreOffice

2014-01-06 Thread Ethan Furman
On 01/06/2014 07:53 AM, Grant Edwards wrote: Yea, I think laying out a book with something like MS Word or LibreOffice is nuts. Depending on her formatting needs, a lighter-weight mark-up language (something like asciidoc) might suite: http://asciidoc.org/ http://en.wikipedia.org/wiki

Re: [OT] Migrating from non-free programs to LibreOffice (was: "More About Unicode in Python 2 and 3")

2014-01-06 Thread Chris Angelico
On Tue, Jan 7, 2014 at 2:53 AM, Grant Edwards wrote: > Yea, I think laying out a book with something like MS Word or > LibreOffice is nuts. Depending on her formatting needs, a > lighter-weight mark-up language (something like asciidoc) might suite: > > http://asciido

Re: [OT] Migrating from non-free programs to LibreOffice (was: "More About Unicode in Python 2 and 3")

2014-01-06 Thread Grant Edwards
On 2014-01-06, Chris Angelico wrote: >> Right. I think shifting people to LibreOffice is an excellent and >> realistic step toward imcreasing people's software and data freedom. > > Yeah. Which is why I do it. But the other night, my mum was trying to > lay out her

Re: [OT] Migrating from non-free programs to LibreOffice (was: "More About Unicode in Python 2 and 3")

2014-01-05 Thread Chris Angelico
s work, and people want to be lazy. (That's not a bad thing, by the >> way. Laziness means schedules get met.) > > Right. I think shifting people to LibreOffice is an excellent and > realistic step toward imcreasing people's software and data freedom. Yeah. Which is why I d

[OT] Migrating from non-free programs to LibreOffice (was: "More About Unicode in Python 2 and 3")

2014-01-05 Thread Ben Finney
longer the one to choose; its owners several years ago shunted it to a dead end where very little active development can happen, and its development community have moved to more productive ground. Rather, the same code base has since 2010 been actively developed as LibreOffice http://libreoffice.org/

Re: LibreOffice

2013-08-03 Thread David Robinow
On Fri, Aug 2, 2013 at 9:26 PM, Terry Reedy wrote: > ... > Of relevance to this list, Libre Office upgraded the included Python > interpreter to 3.3. I have no idea whether OO is still using 2.3 or also > updated. They're up to 2.7 now. -- http://mail.python.org/mailman/listinfo/python-list

Re: LibreOffice

2013-08-02 Thread Terry Reedy
On 8/2/2013 3:14 AM, Ben Finney wrote: Chris Angelico writes: […] rather than OO/LibreOffice. (I'll not distinguish those two. Far as I'm concerned, they're one product with two names.) That's simply false. LibreOffice has, since the 2010 fork of the code base and

Re: LibreOffice (was: Editing tabular data)

2013-08-02 Thread Grant Edwards
On 2013-08-02, Chris Angelico wrote: > On Fri, Aug 2, 2013 at 8:14 AM, Ben Finney wrote: >> Chris Angelico writes: >> >>> [?] rather than OO/LibreOffice. (I'll not distinguish those two. Far >>> as I'm concerned, they're one product with two names

Re: LibreOffice (was: Editing tabular data)

2013-08-02 Thread Chris Angelico
On Fri, Aug 2, 2013 at 8:14 AM, Ben Finney wrote: > Chris Angelico writes: > >> […] rather than OO/LibreOffice. (I'll not distinguish those two. Far >> as I'm concerned, they're one product with two names.) > > That's simply false. ... > >

LibreOffice (was: Editing tabular data)

2013-08-02 Thread Ben Finney
Chris Angelico writes: > […] rather than OO/LibreOffice. (I'll not distinguish those two. Far > as I'm concerned, they're one product with two names.) That's simply false. LibreOffice has, since the 2010 fork of the code base and especially since the exodus of

interacting with an opened libreoffice calc file

2013-03-31 Thread androidmaroso
Hi everyone, i'm new to the newsgroup and to python allthough (thanks to internet and the helpfull people i find) i've done a few scripts in python working like a charm. First of all i have to say i'm working on linux with python 2.3.7 (hope it's right) and libreoffice

Re: LibreOffice with Python

2012-01-20 Thread Adam Tauno Williams
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 > > http://help.libreoffice.org/Common/Scripting> > So that page says. But it only tells how to attach

Re: LibreOffice with Python

2012-01-10 Thread Ben Finney
Terry Reedy 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

Re: LibreOffice with Python

2012-01-10 Thread Terry Reedy
On 1/10/2012 5:29 PM, Ben Finney wrote: LibreOffice supports scripting with several languages, including Python 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 th

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

2012-01-10 Thread Ben Finney
Sean Wolfe writes: > I'm a somewhat-satisfied openoffice.org user. You may know about the change of focus in recent months to LibreOffice https://www.libreoffice.org/>. The Document Foundation is where the majority of the project's institutional knowledge, development effort, op