Translation:Layer(10.2.6)

From IDMLWiki

Jump to: navigation, search

10.2.6 Layer

InDesignのドキュメントにはレイヤー機能があります。レイヤーを使って、透明のページを重ねるようにレイアウトができます。レイヤーはドキュメントでのオブジェクトの重ね順をコントロールするだけでなく、オブジェクトを整理することもできます。InDesignドキュメントのレイヤーは、ドキュメント全般に対しての機能ですが、IDMLの<Layer>エレメントはdesignmap.xmlファイルの<Document>エレメント内です。

レイヤーについての詳細は、InDesignのオンラインヘルプを参照してください。

スキーマの例16 Layer
  1. Layer_Object = element Layer {
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string }?,
  4.   attribute Visible { xsd:boolean }?,
  5.   attribute Locked { xsd:boolean }?,
  6.   attribute IgnoreWrap{  xsd:boolean }?,
  7.   attribute ShowGuides{  xsd:boolean }?,
  8.   attribute LockGuides{  xsd:boolean }?,
  9.   attribute UI { xsd:boolean }?,
  10.   attribute Expendable { xsd:boolean }?,
  11.   attribute Printable { xsd:boolean }?,
  12.     element Properties {
  13.     element LayerColor{  InDesignUIColorType_TypeDef }?&
  14.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  15.     }?
  16.   }
  17.   ?
  18. }
表18 属性としてのLayerプロパティ
名前 必須 説明
Expendable boolean trueのとき、レイヤーを削除できる
IgnoreWrap boolean trueのとき、レイヤーにあるオブジェクトはテキストの回り込みを無視する
Locked boolean trueのとき、レイヤーはロックされる
LockGuides boolean trueのとき、レイヤーにあるガイドはロックされる
Name string レイヤーの名前
Printable boolean trueのとき、レイヤーにあるオブジェクトは印刷される
ShowGuides boolean trueのとき、レイヤーにあるガイドを表示する
Visible boolean trueのとき、レイヤーは表示される
表19 エレメントとしてのLayerプロパティ
名前 必須 説明
LayerColor stringまたはInDesignUIColorType レイヤーの色。それぞれ0-255の範囲のRとG、Bの値3組の配列かInDesignUIColorTypeの列挙
IDMLの例11 Layer
  1. <Layer Self="ub5" Name="Layer 1" Visible="true" Locked="false" IgnoreWrap="false"
  2. ShowGuides="true" LockGuides="false" UI="true" Expendable="true" Printable="true">
  3. <Properties><LayerColor type="enumeration">LightBlue</LayerColor></Properties>
  4. </Layer>
Personal tools