Repeat template on multiple pages with Phpword

Asked

Viewed 302 times

1

Friends, I would like to use Phpword to generate the company’s stitch sheets so that I manage a single docx with all stitch sheets to facilitate printing.

I thought of using a template, where I would change the schedule of days, manually placing Saturdays, Sundays and holidays, and then make a while at the base generating the stitch sheets as follows:

  • Page 1 Page of John
  • Page 2 of Maria
  • Page 3 of Sergio...

Could someone with experience in Phpword give me a light? An example?

  • And what did you try to do up here? Post some code for us.

  • So far I’ve only used the example of TEMPLATE, and managed to reproduce an Employee’s Point Sheet in a docx file. The problem is that, this way, to print is very inconvenient, because we have to open all generated files.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.