agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Vincent Veyron <vv.lists@wanadoo.fr>
To: Vincenzo Campanella <vinz65@gmail.com>
To: stirling.newberry@gmail.com
Cc: avpro avpro <avprowebeden@gmail.com>
Cc: pgsql-novice@postgresql.org
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: Re: [GENERAL] Link Office Word form document with data from PostgreSQL
Date: Mon, 30 Mar 2015 19:51:42 +0200
Message-ID: <20150330195142.679f46979311c6b80efc0f24@wanadoo.fr> (raw)
In-Reply-To: <55196DB8.6090501@gmail.com>
References: <CAAQdDn=JssA0S5WX2_x-Gvh9LxkH87zBLDB5Vox1Tark4CFv5Q@mail.gmail.com>
	<20150330150121.39fc80c1614692b758a6aae3@wanadoo.fr>
	<55196DB8.6090501@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

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 with the model, and passes parameters to it; this sql is used to retrieve the required values for the model, and the placeholders in 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/insurance claims), click on the 'Contributors' tab (third tab from left; add a contributor if none is present), and click 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


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (11+ messages)  latest in thread

Message-ID: <20150330195142.679f46979311c6b80efc0f24@wanadoo.fr>
Permalink:  ../20150330195142.679f46979311c6b80efc0f24@wanadoo.fr/
Also on:    postgresql.org/message-id/20150330195142.679f46979311c6b80efc0f24@wanadoo.fr

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: vv.lists@wanadoo.fr, vinz65@gmail.com, stirling.newberry@gmail.com, avprowebeden@gmail.com, pgsql-novice@postgresql.org, pgsql-general@postgresql.org
  Subject: Re: Re: [GENERAL] Link Office Word form document with data from PostgreSQL
  In-Reply-To: <20150330195142.679f46979311c6b80efc0f24@wanadoo.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox