http primitives in OOo?

Creating a macro - Writing a Script - Using the API

http primitives in OOo?

Postby briglia23 » Tue Jul 22, 2008 11:15 am

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
briglia23
 
Posts: 155
Joined: Tue Jun 24, 2008 10:09 am

Re: http primitives in OOo?

Postby Villeroy » Tue Jul 22, 2008 11:35 am

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, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26728
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: http primitives in OOo?

Postby briglia23 » Tue Jul 22, 2008 4:06 pm

thank you and sorry for the resurrection
OOo 2.3.X on openSuse 10
briglia23
 
Posts: 155
Joined: Tue Jun 24, 2008 10:09 am

Re: http primitives in OOo?

Postby Villeroy » Thu Jul 24, 2008 6:46 pm

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 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 142 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26728
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 4 guests