-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cover page? #1086
Comments
you can do something like this to not render the header or footer on the first page.
|
Where exactly should I insert this. Pasting it right after const documentDefinition = this.getDocumentDefinition(); doesn't work. The header gets ignored in the PDF. Pasting it after getDocumentDefinition() {return {pageSize: 'A4'pageMargins: [ 50, 80, 40, 100 ]} looks like the code below, but I get ERROR: Type Error Cannot read property 'offer' of undefined: header: function(currentPage, pageCount) {
|
I wasn't sure if this was a good place to reach out about a feature - I hope it's ok.
It would be nice to be able to define a "cover page" that happens only once, and and any defined repeating headers or footers start after that if it exists.
This may be currently possible, and I just have not sorted it out yet.
Thanks - incredible work!
The text was updated successfully, but these errors were encountered: