Here is an example of adding a footer page number in a word document(.docx, .doc) using PHP in ProcessMaker tool. Sometimes we would like to add the footer connect via styles or tag attributes to enable the footer on pages.
View:
Below screen the output screen to display the custom footer with few lines of code
Example:
<table border="0" cellpadding="0" cellspacing="0" id="test" style="width: 100%;">
<tbody>
<tr>
<td>
<!--footer starts-->
<div id="f1" style="position: fixed; bottom: 5mm; left: 0mm; width: 100%; mso-element: footer;">
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
<tbody>
<tr>
<td class="footer">
<table style="width: 100%;">
<tbody>
<tr>
<td align="right" class="footer">
Page
<g:message code="offer.letter.page.label">
</g:message>
<span style="mso-field-code: PAGE;">
</span>
/
<span style="mso-field-code: NUMPAGES;">
</span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<!--footer ends-->
</td>
</tr>
</tbody>
</table>
Comments
Post a Comment