Same template/layout for all pages?

14 views
Skip to first unread message

mix

unread,
Nov 3, 2009, 8:38:50 AM11/3/09
to Prawn
Hi, I read a long time ago (February) that was planning to add the
possibility to add in all the pages an header/footer/etc. Has it been
implemented ?
I've the problem to generate pdf of invoices on multiple pages which
should have a header + footer + a table in middle with all the items,
the content would change just in the table.
I was trying to do this also in a html way, but it's a hell for having
the same template on all the pages and then print it correctly...
Do you have any hint on how do this with prawn?
Thank you

Daniel Nelson

unread,
Nov 3, 2009, 11:46:31 AM11/3/09
to prawn...@googlegroups.com
Hi,

I submitted this feature (called stamps) within the last couple weeks,
including an example (examples/general/stamp.rb) for how one can use
it to generate page templates. I'm not certain that it will make it
into the .6 release, but we only have a few days until we find out.

Cheers,

Daniel

Gregory Brown

unread,
Nov 3, 2009, 11:51:54 AM11/3/09
to prawn...@googlegroups.com

Sorry, I've been bad about communicating. Unless I run into problems
with the merge, all the features you implemented will be merged.

-greg

Daniel Nelson

unread,
Nov 3, 2009, 11:56:37 AM11/3/09
to prawn...@googlegroups.com
That's great. I just didn't want to assume anything.

Best,

Daniel

Reply all
Reply to author
Forward
0 new messages