-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add viewhelper for header / footer elements #31
Comments
Currently, it is necessary to extend the class defined in The |
I think this solution only works if you have a static header and footer. but what if you want to add dynamic data like data from your model? |
I think @macjohnny is proposing a feature similar to this: <pdf:document>
<pdf:header>
<pdf:text>Some headline text: {yourVariable}</pdf:text>
</pdf:header>
<pdf:footer>
<pdf:text>Footer, we are on page {currentPage}</pdf:text>
</pdf:footer>
<pdf:page>
<pdf:header>Maybe we can overwrite header and footer on pages?</pdf:header>
</pdf:page>
</pdf:document> It should be possible to define header and footer on document level. Probably there should also be the possibility to overwrite header and footer on page level and variables like |
That would be great! I would sponsor €100 for something like this. |
I started progress on this one and created a working example: bb942c3 It seems to be easier than expected, although it still needs some effort until it is ready to be used. |
This is implemented and tested in the current |
@Gernott I just released |
No description provided.
The text was updated successfully, but these errors were encountered: