Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

annotationエレメントは、注釈を定義するトップレベル・エレメントです。

構文:

エレメント

属性

エレメント/属性/値に関するメモ

annotation













name

文字列

 

 


author

文字列

 

 


subject

文字列

 

 


date

文字列

yyyy-mm-dd HH:MM:SS+HH:MM
デフォルトは現在の日時です。

 

icon





help

デフォルト。

 

 

comment

 

 

 

 

 


note

 


key

 

 

 


insert

 

 


color

 

 


type


square

デフォルト。

 

 

circle

 

 


value

文字列

注釈テキスト

注釈テキストが多く、複数行、にまたがる場合、子フレーズ・エレメントを使用できます。

フレーズ・テキストは、開始フレーズ・タグと終了フレーズ・タグで囲まれたvalue属性やテキスト・ノードから生じます。

options属性を使用して、テキスト値の前後にスペースや新規行を挿入できます。

optionsの値はトークンのコンマ区切りリストです。

構文:

エレメント

属性

エレメント/属性/値に関するメモ

phrase





options




sb

テキスト値の前にスペース

 

 

sa

テキスト値の後にスペース

 

 

nb

テキスト値の前に改行

 

 

na

テキスト値の後に改行

 

value

文字列

テキスト値

<annotation name="doc-help" icon="help" author="author" color="annotation">
   <phrase options="na">This is help one line</phrase>
   <phrase options="na" value="This is help two"/>
   <phrase options="na">This is help three</phrase>
</annotation>