biz-Streamマニュアル XMLページレイアウトタグ リファレンス 第13章 フォーム 13.2 テキスト<form:text>

13.2 テキスト<form:text>


13.2.1機能説明

テキストフィールドのフォーム定義を行います。



13.2.2属性説明

1form:text属性説明
属性名指定説明指定内容初期値
name必須名前CDATA
field-name必須フォームフィールドのフィールド名CDATA
x任意X座標CDATA0
y任意Y座標CDATA0
unit任意単位(Choice)mm / cm / in / px / ptmm
width必須CDATA
height必須CDATA
font-family任意フォント種類(Choice)ライブラリ共通ガイド
6.6 フォームフォント』を参照
HeiseiKakuGo
font-color任意フォントカラーCDATA0
font-size任意フォントサイズCDATA8
border-color任意枠線の色CDATA
border-width任意枠線の幅CDATAthin / normal / thicknormal
border-style任意枠線のスタイル(Choice)solid / dashed / beveled / inset / underlinedsolid
background-color任意背景の色CDATA
text-align任意テキストの配置
(水平方向)
(Choice)left / center / rightleft
hidden任意フォームフィールドの表示(Choice)true(表示しない) /
false(表示する)
true
print任意フォームフィールドの印刷(Choice)true(印刷する) /
false(印刷しない)
true
read-only任意表示専用(Choice)true(表示専用) /
false(入力可)
false
multi-line任意複数行(Choice)true(複数行) /
false(単行)
false
scroll任意スクロールバーの表示(Choice)true(する) /
false(しない)
true
max-length任意最大入力文字数CDATA
  • (注)初期値:出荷時のXMLデフォルト情報(default_values.properties)値を表します。ユーザにより値の変更が行われた場合は内容が異なります。


2form:number-format属性説明
属性名指定説明指定内容初期値
point任意小数値の位置CDATA2
style任意カンマ編集のフォーマット(Choice)comma-point /
point /
comma /
point-comma
currency任意通貨単位(Choice) none:指定なし /
dollar:ドル /
mark:マルク /
euro:ユーロ /
yen:円 /
franc:フラン /
guilder:ギルダ /
krone:クローネ /
lira:リラ /
peseta:ペセタ /
pound:ポンド
indicator任意(Choice)black /
red /
parenthetic-black /
parenthetic-red
  • (注)通貨形式テキストで使用できる値の範囲および精度は、Java API 仕様の倍精度小数点型(double型)に)に準拠します。範囲は次のとおりです。
    ±4.94065645841246544 × 10324 ~ ±1.79769313486231570× 10308 詳細は、Java API 仕様をご参照ください。


3form:percent-format属性説明
属性名指定説明指定内容初期値
point任意小数値の位置CDATA2
style任意カンマ編集のフォーマット(Choice)comma-point /
point /
comma /
point-comma


4form:date-format属性説明
属性名指定説明指定内容初期値
format任意日付のフォーマット(Choice) m/d
m/d/yy
m/d/yyyy
mm/dd/yy
mm/dd/yyyy
mm/yy
mm/yyyy
d-mmm
d-mmm-yy
d-mmm-yyyy
dd-mmm-yy
dd-mmm-yyyy
yy-mm-dd
yyyy-mm-dd
mmm-yy
mmm/yyyy
mmmm/yy
mmmm/yyyy
mmm d,yyyy
mmmm d,yyyy
m/d/yy h:MM tt
m/d/yyyy h:MM tt
m/d/yy HH:MM
m/d/yyyy HH:MM
m/d


5form:time-format属性説明
属性名指定説明指定内容初期値
format任意時間のフォーマット(Choice)HH:MM / h:MM TT /HH:MM:ss / h:MM:ss TT


6form:special-format属性説明
属性名指定説明指定内容初期値
format任意特殊フォーマット(Choice)zip_code / zip_plus_4 /phone_number / social_number
  • 北米のみ有効な特殊なフォーマットです


7form:range-validate属性説明
属性名指定説明指定内容初期値
minimum任意最小値CDATA
maximum任意最大値CDATA



13.2.3記述例

form:textサンプル1

form:textサンプル1(『<biz-Stream_home>/sample/xml/form_text/form-textSample1.xml』)

<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="formtextSample1" Width="75" Height="90" X="10" Y="10" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0">
    <!-- (1)formtext1 -->

    <form:text name="form1" y="60" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"/>
    <!-- (2)formtext2 -->

    <form:text name="form2" y="50" width="50" height="5" font-family="MSGothic" border-color="255,0,0" border-width="normal" border-style="dashed" text-align="left" hidden="false" print="true" read-only="true" scroll="true" multi-line="false"/>
    <!-- (3)formtext3 -->

    <form:text name="form3" y="40" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="beveled" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"/>
    <!-- (4)formtext4 -->

    <form:text name="form4" y="30" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="inset" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"/>
    <!-- (5)formtext5 -->

    <form:text name="form5" y="20" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="underlined" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"/>
    <!-- (6)formtext6 -->

    <form:text name="form6" y="10" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" background-color="178,178,178" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"/>
</Layout>

生成されるPDF(『<biz-Stream_home>/sample/xml/form_text/form-textSample1.pdf』)


テキスト
  • form1:border-style="solid"、read-only="false"
  • form2:border-style="dashed"、border-color="255,0,0"、read-only="true"
  • form3:border-style="beveled"
  • form4:border-style="inset"
  • form5:border-style="underlined"
  • form6:background-color="80"


form:textサンプル2

フォームフィールドの表示(hidden)と印刷(print)設定に関するサンプルです。

form:textサンプル2(『<biz-Stream_home>/sample/xml/form_text/form-textSample2.xml』)

<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="formtextSample2" Width="85" Height="90" X="10" Y="10" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0">
    <!-- (1)form1 -->

    <Label Height="5" Y="50" Horizon="left" Vertical="center" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">form1</Label>
    <form:text name="form1" x="10" y="50" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" text-align="left" hidden="true" print="true" read-only="false" scroll="true" multi-line="false"/>
    <!-- (2)form2 -->

    <Label Height="5" Y="40" Horizon="left" Vertical="center" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">form2</Label>
    <form:text name="form2" x="10" y="40" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" text-align="left" hidden="true" print="false" read-only="false" scroll="true" multi-line="false"/>
    <!-- (3)form3 -->

    <Label Height="5" Y="30" Horizon="left" Vertical="center" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">form3</Label>
    <form:text name="form3" x="10" y="30" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"/>
    <!-- (4)form4 -->

    <Label Height="5" Y="20" Horizon="left" Vertical="center" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">form4</Label>
    <form:text name="form4" x="10" y="20" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" text-align="left" hidden="false" print="false" read-only="false" scroll="true" multi-line="false"/>
    <!-- (5)form5 -->

    <Label Height="5" Y="10" Horizon="left" Vertical="center" Vector="horizon" Font="MSGothic" FontStyle="PLAIN" Narrow="horizon">form5</Label>
    <form:text name="form5" x="10" y="10" width="50" height="5" font-family="MSGothic" border-color="0,0,0" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"/>
</Layout>

生成されるPDF(『<biz-Stream_home>/sample/xml/form_text/form-textSample2.pdf』)

テキスト
  • form1:hidden="true"、print="true" ⇒ 表示しない・印刷する
  • form2:hidden="true"、print="false" ⇒ 表示しない・印刷しない
  • form3:hidden="false"、print="true" ⇒ 表示する・印刷する
  • form4:hidden="false"、print="false" ⇒ 表示する・印刷しない
  • form5:hidden、print指定なし ⇒ ③と同内容となります


form:textサンプル3

form:number-formatタグを使用して通貨形式で表示するサンプルです。

form:textサンプル3(『<biz-Stream_home>/sample/xml/form_text/form-textSample3.xml』)

<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Width="595pt" Height="400pt" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0">
    <fo:table x="4.939" y="131.233" font-family="MSGothic" font-style="PLAIN" max-rows="10" border-style="Solid" no-data-disabled="false" fix="false">
        <fo:table-column column-width="39.723"/>

        <fo:table-column column-width="39.723"/>

        <fo:table-column column-width="39.723"/>

        <fo:table-column column-width="39.723"/>

        <fo:table-column column-width="39.723"/>

        <fo:table-header border-style="Solid" background-color="192,192,192">
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="left" cell-align="center" narrow="size" border-color="0,0,0" border-style="Solid">
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style</Label>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">comma</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">comma-point</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point-comma</Label>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-header>
        <fo:table-body border-style="Solid">
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon"/>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text100" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false">1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text200" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false">1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text300" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false">1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text400" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false">1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">dollar</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text101" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="dollar">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text201" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="dollar">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text301" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="dollar">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text401" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="dollar">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">euro</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text102" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="euro">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text202" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="euro">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text302" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="euro">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text402" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="euro">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">franc</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text103" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="franc">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text203" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="franc">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text303" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="franc">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text403" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="franc">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">guilder</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text104" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="guilder">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text204" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="guilder">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text304" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="guilder">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text404" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="guilder">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">krone</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text105" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="krone">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text205" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="krone">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text305" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="krone">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text405" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="krone">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">lira</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text106" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="lira">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text206" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="lira">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text306" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="lira">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text406" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="lira">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">mark</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text107" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="mark">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text207" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="mark">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text307" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="mark">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text407" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="mark">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">none</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text108" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="none">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text208" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="none">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text308" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="none">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text408" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="none">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">peseta</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text109" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="peseta">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text209" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="peseta">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text309" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="peseta">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text409" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="peseta">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">pound</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text110" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="pound">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text210" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="pound">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text310" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="pound">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text410" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="pound">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row line-height="8.302" border-style="Solid">
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">yen</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text111" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma" currency="yen">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text211" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="comma-point" currency="yen">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text311" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point" currency="yen">                        </form:number-format>1000</form:text>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0" border-style="Solid">
                    <form:text name="text411" width="39" height="10" font-family="MSGothic" font-size="16" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:number-format style="point-comma" currency="yen">                        </form:number-format>1000</form:text>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-body>
    </fo:table>
</Layout>

64行目抜粋

<form:number-format style="comma" currency="dollar">


67行目抜粋

<form:number-format style="comma-point" currency="dollar">


70行目抜粋

<form:number-format style="point" currency="dollar">


73行目抜粋

<form:number-format style="point-comma" currency="dollar">


生成されるPDF(『<biz-Stream_home>/sample/xml/form_text/form-textSample3.pdf』)


テキスト

同じ値(1000)がstyle属性とcurrency属性の組み合わせで上表のような表示になります。



form:textサンプル4

form:percent-fomatタグを使用してパーセント表示するサンプルです。

form:textサンプル4(『<biz-Stream_home>/sample/xml/form_text/form-textSample4.xml』)

<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Width="11cm" Height="10cm" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0">
    <fo:table x="5mm" y="9.5cm" font-family="MSGothic" font-style="PLAIN" max-rows="10" no-data-disabled="false" fix="false">
        <fo:table-column column-width="40"/>

        <fo:table-column column-width="30"/>

        <fo:table-column column-width="30"/>

        <fo:table-header background-color="192,192,192">
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">設定</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">値</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">表示</Label>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-header>
        <fo:table-body>
            <fo:table-row>
                <fo:table-cell align="vertical" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style="comma"</Label>
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point="0"</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="right" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">0.1</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="text001" width="30" height="10" font-family="MSGothic" font-size="14" border-width="normal" border-style="solid" text-align="right" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:percent-format point="0" style="comma">                        </form:percent-format>0.1</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="vertical" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style="comma"</Label>
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point="0"</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="right" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">1</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="text002" width="30" height="10" font-family="MSGothic" font-size="14" border-width="normal" border-style="solid" text-align="right" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:percent-format point="0" style="comma">                        </form:percent-format>1</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="vertical" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style="comma"</Label>
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point="0"</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="right" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">10</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="text003" width="30" height="10" font-family="MSGothic" font-size="14" border-width="normal" border-style="solid" text-align="right" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:percent-format point="0" style="comma">                        </form:percent-format>10</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="vertical" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style="comma"</Label>
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point="0"</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="right" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">100</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="text004" width="30" height="10" font-family="MSGothic" font-size="14" border-width="normal" border-style="solid" text-align="right" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:percent-format point="0" style="comma">                        </form:percent-format>100</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="vertical" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style="comma"</Label>
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point="2"</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="right" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">0.1</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="text005" width="30" height="10" font-family="MSGothic" font-size="14" border-width="normal" border-style="solid" text-align="right" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:percent-format point="2" style="comma">                        </form:percent-format>0.1</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="vertical" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style="comma-point"</Label>
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point="2"</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="right" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">1</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="text006" width="30" height="10" font-family="MSGothic" font-size="14" border-width="normal" border-style="solid" text-align="right" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:percent-format point="2" style="comma-point">                        </form:percent-format>1</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="vertical" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style="point"</Label>
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point="2"</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="right" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">10</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="text007" width="30" height="10" font-family="MSGothic" font-size="14" border-width="normal" border-style="solid" text-align="right" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:percent-format point="2" style="point">                        </form:percent-format>10</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="vertical" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">style="point-comma"</Label>
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">point="2"</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="right" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="14" FontStyle="PLAIN" Narrow="horizon">100</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="left" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="text008" width="30" height="10" font-family="MSGothic" font-size="14" border-width="normal" border-style="solid" text-align="right" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:percent-format point="2" style="point-comma">                        </form:percent-format>100</form:text>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-body>
    </fo:table>
</Layout>

生成されるPDF(『<biz-Stream_home>/sample/xml/form_text/form-textSample4.pdf』)

テキスト

form:textサンプル5

form:date-formatタグとform:time-formatタグを使用して日時を表示するサンプルです。

form:textサンプル5(『<biz-Stream_home>/sample/xml/form_text/form-textSample5.xml』)

<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="date-timeSample5" Width="29.7cm" Height="21cm" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:bs="http://www.brainsellers.com/schema" xmlns:svg="http://www.brainsellers.com/schema" xmlns:form="http://www.brainsellers.com/schema" xmlns:pdf="http://www.brainsellers.com/schema" version="5.0.0">
    <fo:table x="5mm" y="20cm" font-family="MSGothic" font-style="PLAIN" max-rows="10" no-data-disabled="false" fix="false">
        <fo:table-column column-width="40"/>

        <fo:table-column column-width="40"/>

        <fo:table-column column-width="40"/>

        <fo:table-header background-color="192,192,192">
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">format属性</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">値</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">表示</Label>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-header>
        <fo:table-body>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">指定なし</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">12/22</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date00" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format/>12/22</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">m/d</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">12/22</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date01" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="m/d"/>12/22</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">m/d/yy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">12/22/2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date02" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="m/d/yy"/>12/22/2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">m/d/yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/2/2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date03" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="m/d/yyyy"/>1/2/2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mm/dd/yy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/2/2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date04" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mm/dd/yy"/>1/2/2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mm/dd/yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/2/2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date05" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mm/dd/yyyy"/>1/2/2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mm/yy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/04</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date06" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mm/yy"/>1/04</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mm/yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date07" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mm/yyyy"/>1/2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">d-mmm</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">2/1</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date08" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="d-mmm"/>2/1</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">d-mmm-yy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">2/1/04</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date09" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="d-mmm-yy"/>2/1/04</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">d-mmm-yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">2/1/2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date10" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="d-mmm-yyyy"/>2/1/2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">dd-mmm-yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">2/1/2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date11" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="dd-mmm-yyyy"/>2/1/2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">d-mmm-yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">2/1/2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date12" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="d-mmm-yyyy"/>2/1/2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">yy-mm-dd</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">04-01-03</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date13" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="yy-mm-dd"/>04-01-03</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">yyyy-mm-dd</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">2004-01-03</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date14" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="yyyy-mm-dd"/>2004-01-03</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mmm-yy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">01-04</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date15" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mmm-yy"/>01-04</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mmm-yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1-2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date16" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mmm-yyyy"/>1-2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mmmm-yy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1-2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date17" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mmmm-yy"/>1-2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mmmm-yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1-2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date18" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mmmm-yyyy"/>1-2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mmm d,yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1-2-2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date19" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mmm d,yyyy"/>1-2-2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">mmmm d,yyyy</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1-2-2004</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date20" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="mmmm d,yyyy"/>1-2-2004</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">m/d/yy h:MM tt</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/2/04 2:30 pm</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date21" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="m/d/yy h:MM tt"/>1/2/04 2:30 pm</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">m/d/yyyy h:MM tt</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/2/2004 2:30 pm</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date22" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="m/d/yyyy h:MM tt"/>1/2/2004 2:30 pm</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">m/d/yy HH:MM</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/3/04 14:30</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date23" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="m/d/yy HH:MM"/>1/3/04 14:30</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">m/d/yyyy HH:MM</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">1/3/2004 14:30</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="date24" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:date-format format="m/d/yyyy HH:MM"/>1/3/2004 14:30</form:text>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-body>
    </fo:table>
    <fo:table x="130" y="20cm" font-family="MSGothic" font-style="PLAIN" max-rows="10" no-data-disabled="false" fix="false">
        <fo:table-column column-width="40"/>

        <fo:table-column column-width="40"/>

        <fo:table-column column-width="40"/>

        <fo:table-header background-color="192,192,192">
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">format属性</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">値</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">表示</Label>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-header>
        <fo:table-body>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">指定なし</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">14:30</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="time00" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:time-format/>14:30</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">HH:MM</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">14:30</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="time01" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:time-format format="HH:MM"/>14:30</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">HH:MM:ss</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">2:30 PM</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="time02" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:time-format format="HH:MM:ss"/>2:30 PM</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">h:MM:ss TT</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">14:30:15</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="time03" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:time-format format="h:MM:ss TT"/>14:30:15</form:text>
                </fo:table-cell>
            </fo:table-row>
            <fo:table-row>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">h:MM TT</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <Label Horizon="left" Vertical="bottom" Vector="horizon" Font="MSGothic" FontSize="12" FontStyle="PLAIN" Narrow="horizon">2:30 PM</Label>
                </fo:table-cell>
                <fo:table-cell align="horizon" text-align="center" cell-align="bottom" narrow="size" border-color="0,0,0">
                    <form:text name="time04" width="40" height="6" font-family="MSGothic" font-size="12" border-width="normal" border-style="solid" text-align="left" hidden="false" print="true" read-only="false" scroll="true" multi-line="false"><form:time-format format="h:MM TT"/>2:30 PM</form:text>
                </fo:table-cell>
            </fo:table-row>
        </fo:table-body>
    </fo:table>
</Layout>

133行目抜粋

<form:date-format format="d-mmm-yy"/>2/1/04</form:text>


生成されるPDF(『<biz-Stream_home>/sample/xml/form_text/form-textSample5.pdf』)


テキスト

値をformat属性に従って表示します。