- Introduction to WorkXpress
- Building Your Application
- Examples and Best Practices
- Technical Manual
This action will let you enter the values for a pdf form and or to overlay images into a pdf.
PDF Forms can be created using programs like Adobe® Acrobat®. 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.
This is a query that points at the record and file attachment field that contains the pdf form that needs to be filled in.
This is a query that points at the record and file attachment field that will store the resulting 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.
Useful as a comment, this description will overwrite the automatically generated description in the Action Manager.
This is the name of the input from the PDF.
This is an expression that will run to look up the value entered into the form input.
This is a query that points at the record and file attachment or 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.
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.
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.
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.
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 640×480 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.