Translation:Use of the Type Attribute in Property Elements

From IDMLWiki

Jump to: navigation, search

9.5.3 プロパティエレメントの属性タイプを使う

<Properties>エレメントがオブジェクトのプロパティを表すのに使用されるなら、各プロパティは<Properties>エレメントの子要素として表されます。それぞれの子要素で、セットされたプロパティのデータ型(「9.3 IDMLのデータ型」を見よ)が値のものだったら、type属性を含みます。 例えば:

  1. <Properties>
  2.   <BaselineFrameGridColor type="enumeration">LightBlue</BaselineFrameGridColor>
  3. </Properties>

上記の例では、値「LightBlue」は、「datatype.rnc」ファイルにあるUIColors Enumerationの定義から来ています。

Personal tools