Re: [SQL] Re: [GENERAL] Link Office Word form document with data from PostgreSQL - Mailing list pgsql-novice

From Vincent Veyron
Subject Re: [SQL] Re: [GENERAL] Link Office Word form document with data from PostgreSQL
Date
Msg-id 20150330195142.679f46979311c6b80efc0f24@wanadoo.fr
Whole thread Raw
In response to Re: [SQL] Re: [GENERAL] Link Office Word form document with data from PostgreSQL  (Vincenzo Campanella <vinz65@gmail.com>)
Responses Re: [SQL] Re: [GENERAL] Link Office Word form document with data from PostgreSQL  (avpro avpro <avprowebeden@gmail.com>)
List pgsql-novice
On Mon, 30 Mar 2015 17:37:28 +0200
Vincenzo Campanella <vinz65@gmail.com> wrote:
Stirling Newberry <stirling.newberry@gmail.com> wrote:

>post the code

Here you go :

http://pastebin.com/eVXZiFws


This is a mod_perl module used in the HeaderParser phase of the Apache request cycle; it first grabs the sql associated
withthe model, and passes parameters to it; this sql is used to retrieve the required values for the model, and the
placeholdersin the document are replaced with those values. The user is then redirected to the newly created document 

You can see it in action in the demo account of the site referenced in my signature : open any file (those are legal
files/insuranceclaims), click on the 'Contributors' tab (third tab from left; add a contributor if none is present),
andclick on 'Templates'. Click on the template to generate a document 


--
                    Salutations, Vincent Veyron

https://legalcase.libremen.com/
Legal case, contract and insurance claim management software


pgsql-novice by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Optimize a big matrix select
Next
From: avpro avpro
Date:
Subject: Re: [SQL] Re: [GENERAL] Link Office Word form document with data from PostgreSQL