-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi,
I am having an issue with the header and footer option. When I place an attribute into a html tag like style='some css'. The header and footer does not show. I think there is an issue with the quotations within quotations. Like so:
'header': {
'height': '1cm',
'contents': "<span style='text-align:center'><small>" + titleheader + "</small></span>"
},
'footer': {
'height': '1cm',
'contents': '<span style="text-align:right"><small>{currentPage}</small></span>'
}Thou, it does work without the attributes. Like so:
'header': {
'height': '1cm',
'contents': "<center><small>" + titleheader + "</small></center>"
},
'footer': {
'height': '1cm',
'contents': '<span><center><small>{currentPage}</small></center></span>'
}It will be great if I can align the footer page numbers to the right of the PDF.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels