Can the footer-height attribute in an advanced pdf...
# ask-stanley-ai
a
Can the footer-height attribute in an advanced pdf/html template be set to a variable that was set with
Copy code
<#assign>
earlier in the template?
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it appears that the
footer-height
attribute in an advanced pdf/html template cannot be set to a variable that was set with
<#assign>
earlier in the template. The
footer-height
attribute is used to set the height of the footer and it requires a specific value (like a percentage or pt), not a variable. In the conversations, users have tried to set the
footer-height
dynamically based on the content of the header or footer, but they have not been successful. One user suggested trying to control the
footer-height
using a custom field value and then figuring out a height mapping, but it was noted that the
footer-height
cannot be set to auto. Here is an example of how the
footer-height
attribute is used in the body tag:
Copy code
<body header="nlheader" header-height="15%" footer="nlfooter" footer-height="30pt" padding="0.5in 0.5in 0.5in 0.5in" size="Letter">
In this example, the
footer-height
is set to "30pt". ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828090549
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819555461
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818101823
Please provide your feedback on this answer.