Differences

This shows you the differences between two versions of the page.

Link to this comparison view

action type - fill pdf [2016/09/14 14:19] (current)
Line 1: Line 1:
 +~~NOTOC~~
 +====== Fill PDF ======
 +This action will let you enter the values for a pdf form and or to overlay images into a pdf.
  
 +===== Explanation =====
 +PDF Forms can be created using programs like Adobe(r) Acrobat(r). ​ Using the tag name and an expression will allow you to pull data from a WorkXpress application and fill in the form before sending it to the end user.  In addition it is possible to insert images on specific pages at specific coordinates to insert things like logos, signatures, or stamps. ​ It is possible to overlay an image without filling in a form.
 +
 +===== Settings =====
 +{{ ::​action_fill_pdf.png?​direct |}}
 +
 +==== Source PDF ====
 +This is a [[Query Builder|query]] that points at the record and [[Field Type - File Attachment|file attachment]] field that contains the pdf form that needs to be filled in.
 +
 +==== Filled in PDF ====
 +This is a [[Query Builder|query]] that points at the record and [[Field Type - File Attachment|file attachment]] field that will store the resulting pdf.
 +
 +==== Finalize PDF ====
 +After the form values are entered the form is left in an editable state unless it is finalized. ​ No further modifications can be performed either by the end user or the WorkXpress System.
 +
 +==== Describe this action ====
 +Useful as a comment, this description will overwrite the automatically generated description in the [[Action Manager|Action Manager]].
 +
 +{{ ::​action_fill_pdf_tag.png?​direct |}}
 +
 +==== Tag Label ====
 +This is the name of the input from the PDF.
 +
 +==== Tag Value ====
 +This is an [[Expression Builder|expression]] that will run to look up the value entered into the form input.
 +
 +{{ ::​action_fill_pdf_image.png?​direct |}}
 +
 +==== Image File ====
 +This is a [[Query Builder|query]] that points at the record and [[Field Type - File Attachment|file attachment]] or [[Field Type - Signature|signature]] field that contains the image to be overlaid on the PDF.  If the image is going to act like a stamp and cover parts of the pdf it is important that the image have a transparent background.
 +
 +==== Page Number ====
 +This is the page number of the PDF page that the image will be placed on.  If the page number does not exist in the PDF the image will be ignored.
 +
 +==== X Coordinates in mm ====
 +The x coordinate should be where the left side of the image should be placed in relation to the left corner of the page. Because PDFs are a representation of a printed page the placement of the image is done in millimeters.  ​
 +
 +==== Y Coordinates in mm ====
 +The y coordinate should be where the top of the image should be placed in relation to the top of the page. Because PDFs are a representation of a printed page the placement of the image is done in millimeters.  ​
 +
 +==== Image Size ====
 +The image size can be calculated automatically or defined statically in millimeters using the format NNNxNNN where the first number represents the width in millimeters and the second number represents the height in millimeters. ​ The automatic calculation applied to determine the size of an image is 100dpi in other words for every 100 pixels the image will be 1 inch wide or high.  Therefore an image with the pixel dimensions of 640x480 will take up 6.4 inches by 4.8 inches of a PDF page.  If the exact dimensions of the image are defined then the image will be scaled to fit in that size regardless of the number of pixels in has.  ​
action type - fill pdf.txt ยท Last modified: 2016/09/14 14:19 (external edit)
Copyright WorkXpress, 2019