Translation:Cross Reference Format

From IDMLWiki

Jump to: navigation, search

Contents

10.2.8 CrossReferenceFormat

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

スキーマの例18 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. }
表21 属性としてのCrossReferenceFormatプロパティ
名前 必須 説明
AppliedCharacterStyle string 相互参照形式に適用する文字スタイル(<CharacterStyle>エレメントのSelf属性の値)
Name string 相互参照形式の名前

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

スキーマの例19 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. }
表22 属性としての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