http primitives in OOo?

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
briglia23
Posts: 155
Joined: Tue Jun 24, 2008 10:09 am

http primitives in OOo?

Post by briglia23 »

Is possible to establish a http connection with OOo?
Where i can find primitives like PUT, GET, POST for OOo?
A would make an upload on server.
I would make a HTTP PUT on server and (if the upload is ok), make a GET on SERVER. is possible?
Thanks a lot.
OOo 2.3.X on openSuse 10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: http primitives in OOo?

Post by Villeroy »

http://wiki.services.openoffice.org/wik ... orms/Forms

[I removed the duplicate post in "Beginners"]
 Edit: Well, he added the duplicate again. I'd suggest to not answer his questions anymore. 
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
briglia23
Posts: 155
Joined: Tue Jun 24, 2008 10:09 am

Re: http primitives in OOo?

Post by briglia23 »

thank you and sorry for the resurrection
OOo 2.3.X on openSuse 10
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: http primitives in OOo?

Post by Villeroy »

Attached a http primitive on a Calc sheet. Document type does not matter.
It gets search results from this forum. The form uses method GET on URL http://user.services.openoffice.org/en/forum/search.php
The listbox is named "search_id" and adds parameter ?search_id=box_selection to the URL.
The button submits the form. The resulting html page gets loaded into Writer.
Attachments
submit_form.ods
GET-form with URL, argument listbox and submit button.
(18.27 KiB) Downloaded 313 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply