蓝色天空.知识 · 实践 · 创造
我的收藏
在线代码实验室

完整FO输入:landscape.fo

XMLWindows / Temurin Java1.8.0_492 / Apache FOP2.12 / Python3.12 / pypdf6.10.0 / lxml6.1.3landscape.fo
landscape.fo1 行
<?xml version="1.0" encoding="UTF-8"?><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="Helvetica" font-size="11pt" line-height="15pt" ><fo:layout-master-set><fo:simple-page-master master-name="land" page-width="297mm" page-height="210mm" margin="10mm"><fo:region-body margin="30mm"/><fo:region-before extent="20mm"/><fo:region-after extent="20mm"/><fo:region-start extent="20mm"/><fo:region-end extent="20mm"/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence master-reference="land"><fo:static-content flow-name="xsl-region-before"><fo:block color="#2563eb">HEADER</fo:block></fo:static-content><fo:static-content flow-name="xsl-region-after"><fo:block color="#2563eb">FOOTER</fo:block></fo:static-content><fo:static-content flow-name="xsl-region-start"><fo:block color="#2563eb">START</fo:block></fo:static-content><fo:static-content flow-name="xsl-region-end"><fo:block color="#2563eb">END</fo:block></fo:static-content><fo:flow flow-name="xsl-region-body"><fo:block font-size="18pt" color="#2563eb" space-after="8mm">MBSKY | mbsky.com</fo:block><fo:block >Body width = 217 mm; height = 130 mm.</fo:block></fo:flow></fo:page-sequence></fo:root>
本例需在 Windows / Temurin Java1.8.0_492 / Apache FOP2.12 / Python3.12 / pypdf6.10.0 / lxml6.1.3 中运行,请复制源码、保存文件或下载工程包后在本地执行验证。
运行说明与环境独立工程

运行环境:Windows / Temurin Java1.8.0_492 / Apache FOP2.12 / Python3.12 / pypdf6.10.0 / lxml6.1.3

入口文件:projects/fo-lab/fo/landscape.fo

预期结果与验证条件观察提示
  • 217 mm;HEADER;FOOTER;START;END

请结合实际环境逐项观察。

附件与关联工程包下载

下载课程关联工程包:XSL-FO

课程关联工程包(登记关联13章) · 含当前章节或实例 · mbskycom202611a543.zip
SITE SEARCH

搜索教程、工具与资讯

热门搜索

JavaScriptJSON格式化正则表达式AI 编程AI 翻译AI导航专题标签
Esc 关闭

欢迎登录蓝色天空网

使用会员账号,继续你的学习