Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. <xsl:template name="insertBodyOddFooter">
  2.  
  3. <fo:static-content flow-name="odd-body-footer">
  4. <fo:block xsl:use-attribute-sets="__body__odd__footer">
  5. <xsl:call-template name="insertVariable">
  6. <xsl:with-param name="theVariableID" select="'Body odd footer'"/>
  7. <xsl:with-param name="theParameters">
  8. <heading>
  9. <fo:inline xsl:use-attribute-sets="__body__odd__footer__heading">
  10. <fo:retrieve-marker retrieve-class-name="current-header"/>
  11. </fo:inline>
  12. </heading>
  13. <pagenum>
  14. <fo:inline xsl:use-attribute-sets="__body__odd__footer__pagenum">
  15. <fo:page-number/>
  16. </fo:inline>
  17. </pagenum>
  18. </xsl:with-param>
  19. </xsl:call-template>
  20.  
  21. </fo:block>
  22. <!-- for footer image -->
  23.  
  24. <fo:block xsl:use-attribute-sets="footer_image">
  25. <fo:external-graphic src="url(Customization/OpenTopic/common/artwork/footer_img.png)"/>
  26. </fo:block>
  27. </fo:static-content>
  28.  
  29. <xsl:attribute-set name="footer_image">
  30. <!-- <xsl:attribute name="padding-left">10</xsl:attribute> -->
  31. <xsl:attribute name="position">absolute</xsl:attribute>
  32. <xsl:attribute name="text-align">center</xsl:attribute>
  33. <xsl:attribute name="content-width">scale-to-fit</xsl:attribute>
  34. <xsl:attribute name="space-before.conditionality">retain</xsl:attribute>
  35. <xsl:attribute name="scaling">uniform</xsl:attribute>
  36. <xsl:attribute name="width">100%</xsl:attribute>
  37. </xsl:attribute-set>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement