From: | Vincenzo Campanella <vinz65(at)gmail(dot)com> |
---|---|
To: | Vincent Veyron <vv(dot)lists(at)wanadoo(dot)fr>, avpro avpro <avprowebeden(at)gmail(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [SQL] Re: Link Office Word form document with data from PostgreSQL |
Date: | 2015-03-30 15:37:28 |
Message-ID: | 55196DB8.6090501@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-novice pgsql-sql |
Il 30.03.2015 15:01, Vincent Veyron ha scritto:
> Hi,
>
> I use Perl for this. The process is :
>
> -unzip the .docx document, and look for /word/document.xml in the resulting directory
> -substitute field names with their values in this file (I don't use MS Word 'fields', though, just placeholders that are unlikely to be found in documents, such as client_name, client_address, facturation_date, etc)
> -zip the archive anew with a .docx extension
>
> Voilà.
>
> The code is about 40 lines long, I can post it if you care; the same process also works with Libre/OpenOffice documents
>
Hi Vincent, could you please post the code? That would be very nice.
Thank you
vince
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Colson | 2015-03-30 16:48:21 | Re: Link Office Word form document with data from PostgreSQL |
Previous Message | Paul Ramsey | 2015-03-30 15:20:46 | Re: [postgis-users] Memory management in postgres (with liblwgeom functions in particular) |
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Colson | 2015-03-30 16:48:21 | Re: Link Office Word form document with data from PostgreSQL |
Previous Message | John R Pierce | 2015-03-30 15:18:23 | Re: Link Office Word form document with data from PostgreSQL |
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Colson | 2015-03-30 16:48:21 | Re: Link Office Word form document with data from PostgreSQL |
Previous Message | John R Pierce | 2015-03-30 15:18:23 | Re: Link Office Word form document with data from PostgreSQL |