I've been asked to make an extension to LibreOffice, where I'd have to show a WebPage to the user. Imagine that what my extension's purpose is to open Google . Is there a way I can program this with Python? I thinked of using loadComponentFromUrl, but would that work?
Asked
Active
Viewed 225 times
1
-
loadComponentFromURL() can load HTML. Try it, and you will see. And yes, it can be done in Python, too. But I think you won't like it: just CTRL+O within LO and put your URL, hit Enter and wait. This will be your output, layouted by LO. You see my point? – ngulam Aug 28 '15 at 18:06
-
Did you check out the python code that I suggested or have you now moved on to a Java solution? – Rolf of Saxony Sep 10 '15 at 08:56
-
@RolfofSaxony I've moved to a Java Solution (: – Pastel Belem Sep 10 '15 at 16:05
1 Answers
1
See the code that I posted here:
Pyuno indexing issue that I would like an explanation for
It is a working python macro that sends text selected in a libreoffice writer document to either duckduckgo or google. It should be easily adaptable for your needs.
Let me know if you need help with it.

Community
- 1
- 1

Rolf of Saxony
- 21,661
- 5
- 39
- 60