biz-Streamマニュアル XMLページレイアウトタグ リファレンス 第13章 フォーム 13.8 ラジオボタン<form:radio-button>

13.8 ラジオボタン<form:radio-button>


13.8.1機能説明

ラジオボタンのフォーム定義を行います。



13.8.2属性説明

属性名指定説明指定内容初期値
name必須フォームの名前CDATA
field-name必須フォームフィールドのフィールド名CDATA
x任意X座標CDATA0
y任意Y座標CDATA0
unit任意単位(Choice)mm / cm / in / px / ptmm
width必須フォームの幅CDATA
height必須フォームの高さCDATA
border-color任意枠線の色CDATA
border-width任意枠線の幅CDATAthin / normal / thicknormal
border-style任意枠線のスタイル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
checkmark-style任意チェックのスタイル(Choice)check-mark(チェックマーク) /
diamond(菱形) /
circle(円形) /
square(四角形) /
cross(十字型) /
star(星型)
circle(円形)
checkmark-color任意チェックのカラーCDATA0
select任意チェックの初期値(Choice)true(チェックする) /
false(チェックしない)
false
  • (注) 初期値:出荷時のXMLデフォルト情報(default_values.properties)値を表します。ユーザにより値の変更が行われた場合は内容が異なります。



13.8.3記述例

form:radio-buttonサンプル1

form:radio-buttonサンプル1
(『<biz-Stream_home>/sample/xml/form_radiobutton/form_radiobuttonSample1.xml』)

<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="form:radio-buttonSample1" Width="25" Height="35" X="5" 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">
    <form:radio-button name="last_week" y="25" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="true" checkmark-style="check-mark" select="true">1</form:radio-button>
    <form:radio-button name="last_week" y="20" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="circle" select="false">2</form:radio-button>
    <form:radio-button name="last_week" y="15" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="cross" select="false">3</form:radio-button>
    <form:radio-button name="this_week" x="10" y="25" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="diamond" select="false">1</form:radio-button>
    <form:radio-button name="this_week" x="10" y="20" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="square" select="false">2</form:radio-button>
    <form:radio-button name="this_week" x="10" y="15" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="star" select="false">3</form:radio-button>
    <form:submit-button name="submit1" x="1.5" y="8" width="10" height="4" font-family="MSGothic" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" method="POST" format="XML" uri="mailto:technical@brainsellers.com">送信</form:submit-button>
</Layout>

<form:radio-button name="last_week" y="25" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="true" checkmark-style="check-mark" select="true">1</form:radio-button>
<form:radio-button name="last_week" y="20" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="circle" select="false">2</form:radio-button>
<form:radio-button name="last_week" y="15" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="cross" select="false">3</form:radio-button>
<form:radio-button name="this_week" x="10" y="25" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="diamond" select="false">1</form:radio-button>
<form:radio-button name="this_week" x="10" y="20" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="square" select="false">2</form:radio-button>
<form:radio-button name="this_week" x="10" y="15" width="3" height="3" border-width="normal" border-style="solid" hidden="false" print="true" read-only="false" checkmark-style="star" select="false">3</form:radio-button>


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

ラジオボタン
ラジオボタン