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

Multi line headers #49

Open
venkatarnunna opened this issue Mar 6, 2017 · 2 comments
Open

Multi line headers #49

venkatarnunna opened this issue Mar 6, 2017 · 2 comments

Comments

@venkatarnunna
Copy link

Does YaHP-Converter support multi line headers? I have tried adding a new row to in the table for Header and that does not seem to work. Please advise if there is any other way of achieving this. In my actual use case the Line2 of header is dyanamic.

headerFooterList
					.add(new IHtmlToPdfTransformer.CHeaderFooter(
							"<table width=\"100%\" height=\"50%\"><tbody><tr><td align=\"center\">"
									+ "Line 1</td>"
									+ "</tr><tr><td>Line2</td></tr></tbody></table>"
@allcolor
Copy link
Owner

allcolor commented Mar 6, 2017 via email

@venkatarnunna
Copy link
Author

Thank you very much. By adding the margin we were able to show the multi line header in the PDF. Currently the Header is shows up on all pages. Is there way to not show the header on first page of the PDF?

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

No branches or pull requests

2 participants