当前位置: 首页 > 网络学院 > XML相关教程 > XSL-FO > XSL-FO 区域

XSL-FO
XSL-FO 介绍
XSL-FO 文档
XSL-FO 区域
XSL-FO 输出
XSL-FO 流程
XSL-FO 页面
XSL-FO 块状区域
XSL-FO 列表
XSL-FO 表格
XSL-FO 和 XSLT
XSL-FO 软件
XSL-FO 参考资料

XSL-FO 区域


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 622 ::
收藏到网摘: n/a

XSL-FO uses rectangular boxes (areas) to display output.
XSL-FO 使用矩形块(域)来显示结果。


XSL-FO Areas
XSL-FO 区域

The XSL formatting model defines a number of rectangular areas (boxes) to display output.
XSL格式化模型定义了大量的矩形域(块状区)来显示结果。

All output (text, pictures, etc.) will be formatted into these boxes and then displayed or printed to a target media.
所有的结果(文本、图片,等等)都会被格式化以后放入这些区域里,并且,它将会在目标媒体上显示或打印出来。

We will take a closer look at the following areas:
让我们进一步看看下面的区域:

  • Pages  页面
  • Regions  区域
  • Block areas  块状区域
  • Line areas  行区域
  • Inline areas  行内区域

XSL-FO Pages
XSL-FO 页面

XSL-FO output is formatted into pages. Printed output will normally go into many separate pages. Browser output will often go into one long page.
XSL-FO 结果被格式化成页面形式。打印出来的结果通常会被写进很多独立的页面。浏览器的输出的结果通常会显示长长的一页。

XSL-FO Pages contain Regions.
XSL-FO页面包含区域。


XSL-FO Regions
XSL-FO 区域

Each XSL-FO Page contains a number of Regions:
每张XSL-FO页面都包含大量的区域。

  • region-body (the body of the page)
    region-body   区域 主体(页面的主体)
  • region-before (the header of the page)
    region-before   区域头部(页面页首)
  • region-after (the footer of the page)
    region-after  区域尾部(页面的页脚)
  • region-start (the left sidebar)
    region-start  区域左端(左工具条)
  • region-end (the right sidebar)
    region-end  区域右端(右工具条)

XSL-FO Regions contain Block areas.
XSL-FO 区域包含块状区域。


XSL-FO Block Areas
XSL-FO 块状区域

XSL-FO Block areas define small block elements (the ones that normally starts with a new line) like paragraphs, tables and lists.
XSL-FO 块状区域定义了小块状元素(通常是以新的一行作为起始的元素),例如图表、表格和列表。

XSL-FO Block areas can contain other Block areas, but most often they contain Line areas.
XSL-FO 块状区域可以包含其它的块状区域,但是大多数情况下,它们通常包含行区域。


XSL-FO Line Areas
XSL-FO 行区域

XSL-FO Line areas define text lines inside Block areas.
XSL-FO 行区域定义了块状区域内部的文本行。

XSL-FO Line areas contain Inline areas.
XSL-FO 行区域包含行内区域。


XSL-FO Inline Areas
XSL-FO Inline 行内区域

XSL-FO Inline areas define text inside Lines (bullets, single character, graphics, and more).
XSL-FO 行内区域定义了行内的文本内容(段首粗体圆点、单字符、图形,等等)。

评论 (0) All

登陆 | 还没注册?