Ask Your Question

post document to URL [closed]

asked 2013-04-25 12:08:57 +0200

VDP gravatar image


I'd like to know if I can create a LibreOffice document with Writer and add a button so that it "posts" not just data within a form but the full document in native format (odt) to a URL.

My goal is to host LibreOffcie Writer template documents on a web server and let web browser clients download these templates. Once the user has finished editing the document he/she should be able to simply click a button within the document which then posts the full document to a PHP script (local URL) which in turn saves the document in a special folder on the server.

I'm just starting to use LO so I don't know how to do this. It seems that LO can post form data/fields to a remote URL but I don't know if it can post the full document in odt format.

Thanks in advance.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-10-30 20:52:13.156417


But I don't know how to try it. I can see how to send (POST or GET) data within a form but not the full document. It could be as simple as "macro to SAVE file to local disk, get local file name and path, read it and send it via POST to a remote URL". However, I don't know how to do that or if there are simpler alternatives.

VDP gravatar imageVDP ( 2013-04-26 09:41:11 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2013-04-25 16:45:59 +0200

ROSt52 gravatar image

I am not 100% sure but I think this is possible. Give it a try. It could be that you use the odt format rather than the ott format because you want others to download the template.

edit flag offensive delete link more

Question Tools


Asked: 2013-04-25 12:08:57 +0200

Seen: 147 times

Last updated: Apr 25 '13