3.3.3記述例
VerticalLabel サンプル1
水平方向の配置(Horizon 属性)に関するサンプルです。
<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="VerticalLabelSample1" Width="110" Height="50" 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)VerticalLabel1 -->
<Square Width="10" Height="30" X="10" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel1" Width="10" Height="30" X="10" Horizon="right" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">指定なし</VerticalLabel>
<!-- (2)VerticalLabel2 -->
<Square Width="10" Height="30" X="30" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel2" Width="10" Height="30" X="30" Horizon="right" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">右揃え</VerticalLabel>
<!-- (3)VerticalLabel3 -->
<Square Width="10" Height="30" X="50" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel3" Width="10" Height="30" X="50" Horizon="center" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">中央揃え</VerticalLabel>
<!-- (4)VerticalLabel4 -->
<Square Width="10" Height="30" X="70" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel4" Width="10" Height="30" X="70" Horizon="left" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">左揃え</VerticalLabel>
</Layout>
- ①VerticalLabel1: Horizon 指定なし("right"指定と同内容)
- ②VerticalLabel2: Horizon = "right"
- ③VerticalLabel3: Horizon = "center"
- ④VerticalLabel4: Horizon = "left"
VerticalLabel サンプル2
垂直方向の配置(Vertical属性)に関するサンプルです。
<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="VerticalLabelSample2" Width="130" Height="70" 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)VerticalLabel1 -->
<Square Width="10" Height="50" X="10" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel1" Width="10" Height="50" X="10" Horizon="right" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">指定なし</VerticalLabel>
<!-- (2)VerticalLabel2 -->
<Square Width="10" Height="50" X="30" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel2" Width="10" Height="50" X="30" Horizon="right" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">上揃え</VerticalLabel>
<!-- (3)VerticalLabel3 -->
<Square Width="10" Height="50" X="50" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel3" Width="10" Height="50" X="50" Horizon="right" Vertical="center" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">中央揃え</VerticalLabel>
<!-- (4)VerticalLabel4 -->
<Square Width="10" Height="50" X="70" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel4" Width="10" Height="50" X="70" Horizon="right" Vertical="bottom" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">下揃え</VerticalLabel>
<!-- (5)VerticalLabel5 -->
<Square Width="10" Height="50" X="90" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel5" Width="10" Height="50" X="90" Horizon="right" Vertical="even" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">均等割付</VerticalLabel>
</Layout>
- ①VerticalLabel1: Vertical 指定なし("top"指定と同内容)
- ②VerticalLabel2: Vertical = "top"
- ③VerticalLabel3: Vertical = "center"
- ④VerticalLabel4: Vertical = "bottom"
- ⑤VerticalLabel5: Vertical = "even"
VerticalLabel サンプル3
<?xml version="1.0" encoding="UTF-8"?>
<!-- XML file created by biz-Stream Designer -->
<!-- biz-Stream Copyright BrainSellers.com Corp. -->
<Layout Name="VerticalLabelSample3" Width="110" Height="70" X="10" Y="30" 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)VerticalLabel1 -->
<Square Width="10" Height="20" X="10" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel1" Width="10" Height="20" X="10" Horizon="right" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">指定なし サンプルレイアウト</VerticalLabel>
<!-- (2)VerticalLabel2 -->
<Square Width="10" Height="20" X="30" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel2" Width="10" Height="20" X="30" Horizon="right" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="vertical">高さ圧縮 サンプルレイアウト</VerticalLabel>
<!-- (3)VerticalLabel3 -->
<Square Width="10" Height="20" X="50" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel3" Width="10" Height="20" X="50" Horizon="right" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="size">フォントサイズ縮小 サンプルレイアウト</VerticalLabel>
<!-- (4)VerticalLabel4 -->
<Square Width="10" Height="20" X="70" LineColor="14,0,176" LineStyle="Solid"/>
<VerticalLabel Name="VerticalLabel4" Width="10" Height="20" X="70" Horizon="right" Vertical="top" Font="VMSGothic" FontStyle="PLAIN" Narrow="none">圧縮なし サンプルレイアウト</VerticalLabel>
</Layout>
- ①VerticalLabel1: Narrow 指定なし("vertical"指定と同内容)
- ②VerticalLabel2: Narrow = "vertical"
- ③VerticalLabel3: Narrow = "size"
- ④VerticalLabel4: Narrow = "none"
- ※横書きテキストのNarrow初期値が"size"であるのに対し、縦書きテキストの初期値は"vertical"となります。