如何根据特定条件改变xsl-fo每页的页脚图像

发布于 2024-08-21 16:00:32 字数 34 浏览 5 评论 0原文

有没有办法根据特定条件更改xsl-fo每页的页脚图像?

Is there a way to change the footer image in each page of xsl-fo according to certain condition?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

会发光的星星闪亮亮i 2024-08-28 16:00:32

您将需要使用标记,基本上它们允许您根据主体 XML 的内容更改侧面区域(之前、之后、开始、结束)。我一直使用它们来运行头部,但原理对于你想要的来说是相同的。

可以在 http://www.renderx.com/tutorial.html#Markers 找到一个简单的示例,或者您可以在 Dave Pawson(O'Reilly XSL-FO 书的作者)网站 http://www.dpawson.co.uk/xsl/sect3/markers.html

You will need to use markers, basically they allow you to change the side regions (before, after, start, end) based on the contents of the body XML. I use them all the time for running heads, but the principle will be the same for what you want.

A simple example can be found at http://www.renderx.com/tutorial.html#Markers, or you can get more detail at Dave Pawson's (Author of the O'Reilly XSL-FO book) site http://www.dpawson.co.uk/xsl/sect3/markers.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文