andyhutch77 / MvcRazorToPdf

Create pdf documents within an asp .net mvc project by generating your views as normal but returning a PdfActionResult. This converts regular produced razor/html to pdf documents in the browser using the iTextXmlWorker.
125 stars 105 forks source link

Support to add header and footer with every page #44

Open NessfertIndia opened 8 years ago

NessfertIndia commented 8 years ago

Is there any way to add a header and footer with every pages created using this MvcRazorToPDF

NessfertIndia commented 8 years ago

http://stackoverflow.com/questions/34718839/mvcrazortopdf-adding-page-header-and-footer-on-every-pages

Similar question posted here without any answers til this time

andyhutch77 commented 8 years ago

Hi @NessfertIndia, sorry I've not had time to investigate this. I have a new baby in the house and my time is vanishing. I have done something similar in using another pdf engine (abcpdf) but I built this with iTextXmlWorker, I would need some time to investigate it.

If you do get a working solution in the meantime please submit a pull request and I will include it in the package.

kasius commented 8 years ago

there is still no solution for this need ?, becomes very important to make header and footer.

henriquealho commented 7 years ago

Updates on this would be great!

andyhutch77 commented 7 years ago

@henriquev16 Sorry, I've still not had any spare free time to look at it.