Translation:Layer(10.2.6)
From IDMLWiki
10.2.6 Layer
InDesignのドキュメントにはレイヤー機能があります。レイヤーを使って、透明のページを重ねるようにレイアウトができます。レイヤーはドキュメントでのオブジェクトの重ね順をコントロールするだけでなく、オブジェクトを整理することもできます。InDesignドキュメントのレイヤーは、ドキュメント全般に対しての機能ですが、IDMLの<Layer>エレメントはdesignmap.xmlファイルの<Document>エレメント内です。
レイヤーについての詳細は、InDesignのオンラインヘルプを参照してください。
スキーマの例16 Layer
Layer_Object = element Layer {
attribute Self { xsd:string },
attribute Name { xsd:string }?,
attribute Visible { xsd:boolean }?,
attribute Locked { xsd:boolean }?,
attribute IgnoreWrap{ xsd:boolean }?,
attribute ShowGuides{ xsd:boolean }?,
attribute LockGuides{ xsd:boolean }?,
attribute UI { xsd:boolean }?,
attribute Expendable { xsd:boolean }?,
attribute Printable { xsd:boolean }?,
element Properties {element LayerColor{ InDesignUIColorType_TypeDef }?&
element Label { element KeyValuePair{ KeyValuePair_TypeDef }*
}?
}?}
| 名前 | 値 | 必須 | 説明 |
|---|---|---|---|
| Expendable | boolean | trueのとき、レイヤーを削除できる | |
| IgnoreWrap | boolean | trueのとき、レイヤーにあるオブジェクトはテキストの回り込みを無視する | |
| Locked | boolean | trueのとき、レイヤーはロックされる | |
| LockGuides | boolean | trueのとき、レイヤーにあるガイドはロックされる | |
| Name | string | レイヤーの名前 | |
| Printable | boolean | trueのとき、レイヤーにあるオブジェクトは印刷される | |
| ShowGuides | boolean | trueのとき、レイヤーにあるガイドを表示する | |
| Visible | boolean | trueのとき、レイヤーは表示される |
| 名前 | 値 | 必須 | 説明 |
|---|---|---|---|
| LayerColor | stringまたはInDesignUIColorType | レイヤーの色。それぞれ0-255の範囲のRとG、Bの値3組の配列かInDesignUIColorTypeの列挙 |
IDMLの例11 Layer
<Layer Self="ub5" Name="Layer 1" Visible="true" Locked="false" IgnoreWrap="false"ShowGuides="true" LockGuides="false" UI="true" Expendable="true" Printable="true"><Properties><LayerColor type="enumeration">LightBlue</LayerColor></Properties>
</Layer>
