Translation5:Cross Reference Format

From IDMLWiki

Jump to: navigation, search

Contents

10.2.18 CrossReferenceFormat

InDesignドキュメントには相互参照の機能があります。相互参照は<BuildingBlock>エレメントで設定します。

スキーマの例27 CrossReferenceFormat
  1. CrossReferenceFormat_Object = element CrossReferenceFormat{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string },
  4.   attribute AppliedCharacterStyle{  xsd:string }?,
  5.   element Properties {
  6.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  7.     }?
  8.   }
  9.   ?
  10.   ,
  11. (
  12.   BuildingBlock_Object*
  13. )
  14. }
表38 属性としてのCrossReferenceFormatプロパティ
名前 必須 説明
AppliedCharacterStyle string 相互参照形式に適用する文字スタイル(<CharacterStyle>エレメントのSelf属性の値)
Name string 相互参照形式の名前

相互参照は、テキストとテキスト形式の組み合わせた「構築ブロック」で形成されます。(構築ブロックについての詳細は、InDesignのドキュメントを参照してください)<CrossReferenceFormat>エレメントは複数の<BuildingBlock>エレメントを含むことができます。

スキーマの例28 BuildingBlock
  1. BuildingBlock_Object = element BuildingBlock{ 
  2.   attribute Self { xsd:string },
  3.   attribute BlockType{  BuildingBlockTypes_EnumValue },
  4.   attribute AppliedCharacterStyle{  xsd:string }?,
  5.   attribute CustomText{  xsd:string }?,
  6.   attribute AppliedDelimiter{  xsd:string }?,
  7.   attribute IncludeDelimiter{  xsd:boolean }?
  8. }
表39 属性としてのBuildingBlockプロパティ
名前 必須 説明
AppliedCharacterStyle string 相互参照形式に適用する文字スタイル(<CharacterStyle>エレメントのSelf属性の値)
AppliedDelimiter string 構築ブロックの区切り符号
BlockType BuildingBlockTypes_EnumValue 構築ブロックの種類。CustomStringBuildingBlock、FileNameBuildingBlock、ChapterNumberBuildingBlock、PageNumberBuildingBlock、FullParagraphBuildingBlock、ParagraphNumberBuildingBlock、ParagraphTextBuildingBlockまたはBookmarkNameBuildingBlock
CustomText string 構築ブロックのテキスト。BlockType属性がCustomStringBuildingBlockであるときのみ有効
IncludeDelimiter boolean trueのとき、構築ブロックインスタンスに区切り符号を含む
IDMLの例12 BuildingBlock
  1. <BuildingBlock Self="u8bBuildingBlock1" BlockType="ParagraphNumberBuildingBlock"
  2. AppliedCharacterStyle="n" CustomText="$ID/" AppliedDelimiter="$ID/" Include-
  3. Delimiter="false"/>
Personal tools