XSL FO Sample Copyright © 2002-2008 Antenna House, Inc. All rights reserved.
- -
対角罫
XSL Formatterでは、ボーダーを指定できるオブジェクトには斜めの対角罫を描くことができます。
fo:tableでの対角罫の使用
対角罫は、たとえば次のような表を作成する際に、1行1列目のセルで使用することができます。この例では、axf:diagonal-border-color="black", axf:diagonal-border-style="solid", axf:diagonal-border-width="1pt"を指定しています。
[四半期グループ別売上げ達成表]
売上月
グループ
1月
2月
3月
Aグループ
58.4%
68.2%
92.0%
Bグループ
67.0%
70.7%
88.2%
Cグループ
87.0%
72.3%
95.2%
逆対角罫
対角罫は、その領域のbefore-start側頂点とafter-end側頂点を結ぶ線ですが、逆対角罫は領域の before-end側頂点と after-start側頂点を結ぶ線となります。逆対角罫の例を次に示します。
An XSL stylesheet processor accepts a document or data in XML and an XSL stylesheet and produces the presentation of that XML source content that was intended by the designer of that stylesheet. There are two aspects of this presentation process: first, constructing a result tree from the XML source tree and second, interpreting the result tree to produce formatted results suitable for presentation on a display, on paper, in speech, or onto other media. The first aspect is called tree transformation and the second is called formatting. The process of formatting is performed by the formatter. This formatter may simply be a rendering engine inside a browser. --- Excerpt from Extensive Stylesheet Language (XSL) Version 1.1
この例では、axf:reverse-diagonal-border-style="solid", axf:reverse-diagonal-border-width="4pt", axf:reverse-diagonal-border-color="#2222FF"を指定して逆対角罫を引いています。
。