From IDMLWiki
10.7.11 TextFramePreference
<TextFramePreference>エレメントは、InDesignドキュメントの、デフォルトのテキストフレームのプリファレンスをコントロールします。ここで設定した値は、明示的に属性を設定されていない、ドキュメント中のすべてのテキストフレームのプリファレンスに適用されます。このプリファレンスを定義せず、エレメント単位でも明示的に設定しないときは、IDMLデフォルトファイルの対応する値がエレメントに適用されます。
スキーマの例80 TextFramePreference
TextFramePreference_Object = element TextFramePreference{ attribute Self { xsd:string }, attribute TextColumnCount{ xsd:int {minInclusive="1" maxInclusive="40"} }?, attribute TextColumnGutter{ xsd:double {minInclusive="0"maxInclusive="8640"} }?, attribute TextColumnFixedWidth{ xsd:double {minInclusive="0"maxInclusive="8640"} }?, attribute UseFixedColumnWidth{ xsd:boolean }?, attribute FirstBaselineOffset{ FirstBaseline_EnumValue }?, attribute MinimumFirstBaselineOffset{ xsd:double {minInclusive="0"maxInclusive="8640"} }?, attribute VerticalJustification{ VerticalJustification_EnumValue }?, attribute VerticalThreshold{ xsd:double {minInclusive="0"maxInclusive="8640"} }?, attribute IgnoreWrap{ xsd:boolean }?, element Properties { element InsetSpacing{ (unit_type, xsd:double {minInclusive="0" maxInclusive="8640"} ) | (list_type,
element ListItem{ unit_type, xsd:double {minInclusive="0"maxInclusive="8640"} }, element ListItem{ unit_type, xsd:double {minInclusive="0"maxInclusive="8640"} }, element ListItem{ unit_type, xsd:double {minInclusive="0"maxInclusive="8640"} }, element ListItem{ unit_type, xsd:double {minInclusive="0"maxInclusive="8640"} }) }?
}
?
}
IDMLの例68 TextFramePreference
<TextFramePreference Self="dTextFramePreference1" TextColumnCount=" 1" TextColumnGutter=" 12" TextColumnFixedWidth=" 144" UseFixedColumnWidth=" false" FirstBaselineOffset=" BaselineOffset" MinimumFirstBaselineOffset=" 0" VerticalJustification=" TopAlign" VerticalThreshold=" 0" IgnoreWrap=" false">
<Properties>
<InsetSpacing type="list">
<ListItem type="unit">0</ListItem>
<ListItem type="unit">0</ListItem>
<ListItem type="unit">0</ListItem>
<ListItem type="unit">0</ListItem>
</InsetSpacing>
</Properties>
</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つまで含めることができる。オプション |