Scribus Forums

Scribus => PDF Generation => Topic started by: brian sansone on November 06, 2011, 11:27:39 pm

Title: making an editable/interactive PDF ????
Post by: brian sansone on November 06, 2011, 11:27:39 pm
I read that scribus can make interactive PDFs.
How??

I would like to make an invoice with fields such as the date, amount , number, etc.., that I can fill out.

Now I must fill out the different fields in scribus, save as a PDF,  then email. not very efficient.

Thanks
Brian
 
Title: Re: making an editable/interactive PDF ????
Post by: Meho R. on November 12, 2011, 01:28:20 pm
With JavaScript. In the attachment you'll find a simple example. Basically,

1. use PDF text boxes for entries containing numbers which will be calculated,
2. give every box unique name (double click to open "Field Properties" dialog),
3. define type of field (number, percentage etc.) in "Format" tab of "Field Properties" window,
4. in "Calculate" tab define what operation should be done (I used "Custom calculation script" in the example).

Note 1: You'll need a PDF viewer which supports JavaScript.
Note 2: If you're using Adobe Reader, you won't be able to save values entered in PDF (only Adobe Acrobat can do that). However, you can use, e.g., PDF-XChange Viewer (http://www.tracker-software.com/product/pdf-xchange-viewer) instead.