Translation:Text Frame Preference

From IDMLWiki

Jump to: navigation, search

10.7.11 TextFramePreference

<TextFramePreference>エレメントは、InDesignドキュメントの、デフォルトのテキストフレームのプリファレンスをコントロールします。ここで設定した値は、明示的に属性を設定されていない、ドキュメント中のすべてのテキストフレームのプリファレンスに適用されます。このプリファレンスを定義せず、エレメント単位でも明示的に設定しないときは、IDMLデフォルトファイルの対応する値がエレメントに適用されます。

スキーマの例80 TextFramePreference
  1. TextFramePreference_Object = element TextFramePreference{ 
  2.   attribute Self { xsd:string },
  3.   attribute TextColumnCount{  xsd:int {minInclusive="1" maxInclusive="40"} }?,
  4.   attribute TextColumnGutter{  xsd:double {minInclusive="0"maxInclusive="8640"} }?,
  5.   attribute TextColumnFixedWidth{  xsd:double {minInclusive="0"maxInclusive="8640"} }?,
  6.   attribute UseFixedColumnWidth{  xsd:boolean }?,
  7.   attribute FirstBaselineOffset{  FirstBaseline_EnumValue }?,
  8.   attribute MinimumFirstBaselineOffset{  xsd:double {minInclusive="0"maxInclusive="8640"} }?,
  9.   attribute VerticalJustification{  VerticalJustification_EnumValue }?,
  10.   attribute VerticalThreshold{  xsd:double {minInclusive="0"maxInclusive="8640"} }?,
  11.   attribute IgnoreWrap{  xsd:boolean }?,
  12.   element Properties {
  13.     element InsetSpacing{ 
  14.       (unit_type, xsd:double {minInclusive="0" maxInclusive="8640"} ) |
  15.       (list_type,
  16.       element ListItem{  unit_type, xsd:double {minInclusive="0"maxInclusive="8640"} },
  17.       element ListItem{  unit_type, xsd:double {minInclusive="0"maxInclusive="8640"} },
  18.       element ListItem{  unit_type, xsd:double {minInclusive="0"maxInclusive="8640"} },
  19.       element ListItem{  unit_type, xsd:double {minInclusive="0"maxInclusive="8640"} })
  20.     }?
  21.   }
  22.   ?
  23. }
IDMLの例68 TextFramePreference
  1. <TextFramePreference Self="dTextFramePreference1" TextColumnCount=" 1" TextColumnGutter=" 12" TextColumnFixedWidth=" 144" UseFixedColumnWidth=" false" FirstBaselineOffset=" BaselineOffset" MinimumFirstBaselineOffset=" 0" VerticalJustification=" TopAlign" VerticalThreshold=" 0" IgnoreWrap=" false">
  2.   <Properties>
  3.     <InsetSpacing type="list">
  4.       <ListItem type="unit">0</ListItem>
  5.       <ListItem type="unit">0</ListItem>
  6.       <ListItem type="unit">0</ListItem>
  7.       <ListItem type="unit">0</ListItem>
  8.     </InsetSpacing>
  9.   </Properties>
  10. </TextFramePreference>
表87 属性としてのTextFramePreferenceプロパティ
名前 必須 説明
FirstBaselineOffset FirstBaseline_EnumValue 先頭ベースライン位置。AscentOffset、CapHeight、LeadingOffset、EmboxHeight、XHeightまたはFixedHeight
IgnoreWrap boolean trueのとき、テキストの回りこみを無視
MinimumFirstBaselineOffset double 先頭ベースライン位置の最小値(0-8640)
TextColumnCount int 段組の数。Note:UseFixedColumnWidth属性の値によっては、段組の数はテキストフレームのサイズにより変化する。1-40
TextColumnFixedWidth double 段組の幅。0-8640
UseFixedColumnWidth boolean trueのとき、固定段間幅。falseのとき、段組の幅はテキストフレームのサイズにより変化する。Note:trueのとき、フレームの大きさを変えると、段組の数が変わる
VerticalJustification VerticalJustification_EnumValue テキストの配置
VerticalThreshold double 段落スペース最大値。Note:VerticalJustification属性がJustifyAlighのときのみ。段落間隔が設定値以上にならない。0-8640
表88 エレメントとしてのTextFramePreferenceプロパティ
名前 必須 説明
InSetSpacing ListItemまたはdouble フレーム内マージン。長方形のテキストフレームでは4つの値(上下左右)。長方形以外では1つ(内)。ListItemエレメントを4つまで含めることができる。オプション
Personal tools