Skip to content
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

Adding Header and Footer to every page with image #228

Open
aaronfhd opened this issue Apr 12, 2018 · 5 comments
Open

Adding Header and Footer to every page with image #228

aaronfhd opened this issue Apr 12, 2018 · 5 comments

Comments

@aaronfhd
Copy link

I would like to add a header to every page. With a logo, How would I go about doing this. A example would be great.

Thanks.

@hhurz
Copy link
Owner

hhurz commented Apr 13, 2018

Supposing you want to do that when exporting to pdf, there is currently no easy way to realize it. I put your request on to the list of feature request and will come back as soon there is a solution.

@aaronfhd
Copy link
Author

jspdf-autotable newest release has
margin: {top: 60},
addPageContent: function(data) {
doc.text("Header", 40, 30);
}
Which adds to the header

Don't know if this helps

@gadget00
Copy link

gadget00 commented Dec 28, 2018

any advances on this one? at least a text header would be a great addition

@MartinPerrie
Copy link

Hi. Is there likely to be any progress with this issue? In my case I would like to add a footer to every page. I saw that jsPDF-AutoTable recommends using "didDrawPage" simonbengtsson/jsPDF-AutoTable#559 (comment)

I am using @wenzhixin 's Bootstrap-Table with it's export plugin. Would be really cool if I could use that and include a page header or footer on each page of the PDF!

@IRFAANFTK
Copy link

has anyone been able to achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants