bpampuch / pdfmake

Client/server side PDF printing in pure JavaScript
http://pdfmake.org
Other
11.61k stars 2.04k forks source link

Side bar/header #2738

Open kpetrow opened 2 months ago

kpetrow commented 2 months ago

Is it possible to have the header go on the side of the page from top to bottom. Then repeat on each page like the header does?

kpetrow commented 2 months ago

Figure work around with "background" feature. Would still be nice to have header and footer be rename to singel more generic functions like sideBar, that you could position left,top,right,bottom...

liborm85 commented 2 months ago

You can use footer.

kpetrow commented 2 months ago

You can use footer.

does that work for a side bar?

liborm85 commented 2 months ago

Why side bar? You write on side header. Header can be top in header or bottom in footer (in both cases left or right). Describe exactly what you need.

kpetrow commented 2 months ago

I need a repeatable sidebar like header or footer but to be on the side. What i am suggesting is remove header and footer and have "direction" be a parameter of new option. image