Added optional continue2pages parameter to SetDocTemplate method, allowing a template to continue the last 2 pages alternately.
This option makes it possible to set a document template of (minimum) 2 pages, where the last 2 pages will continue to be used alternately as a template. This allows the creation of PDF's for booklets with a background where the left page of the booklet matches in the right page of the booklet.
For example, you can use a 2 paged PDF as a template, where page 1 is used for each left (odd) page of the booklet and page 2 is used for each right (even) page of the booklet.
Added optional
continue2pages
parameter toSetDocTemplate
method, allowing a template to continue the last 2 pages alternately.This option makes it possible to set a document template of (minimum) 2 pages, where the last 2 pages will continue to be used alternately as a template. This allows the creation of PDF's for booklets with a background where the left page of the booklet matches in the right page of the booklet. For example, you can use a 2 paged PDF as a template, where page 1 is used for each left (odd) page of the booklet and page 2 is used for each right (even) page of the booklet.
Related to changes in pull request: https://github.com/mpdf/mpdf/pull/1485
Note that the changelog should be changed to the correct version number as soon as the correct version number is known