Jump to content

Adding data to an OpenOffice document from php


Go to solution Solved by maxxd,

Recommended Posts

I have a requirement to load a Libre Writer odt that I created locally onto a Linux server.

This document eg. An invoice template can then be read by php and data inserted.  The document will have 'tags' in it eg. #InvoiceNumber# and the data supplied as an array or json inserted in the appropriate places.  eg. "InvoiceNumber" => "012345"

There would also be a need to be able to insert a block of data ( for invoice lines ).  Currently I process the block as a separate routine which is fine

The completed document can then be saved on the server or downloaded to the users PC

Does anyone know of a class /module / API that would do this?

Many thanks

invoice.jpg

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.