Place individual text per page
You may adjust the structure in the first step so that e.g. the text strings, their position and their color meet your expectations.
Step 1: createTextConfigs
There are two adjustable sections: The textArray with the text strings and the layout parameters for the texts.
The first element in this array will be placed on the first page and so on. With a 4 element textArray the fifth page will again use the same text that was used on the first page. It should be easy to adjust the textArray according to your requirements.
Right below the textArray there is the function "buildConfigs" which specifies configuration sets for each page of the PDF file. In the core of this function is the object params. For each page one instance of this object is put onto the list of configurations for Place text so that there will be as many such configurations as there are pages in the PDF file.
You may edit all values in params except:
- "apply_to" which specifies the page for the current configuration
- "text" which takes one element out of the textArray
All other parameters should be self explanatory, you will find additional information in the comments of the step.
This step only applies what has been set up before.