Translation:10 8/ja

From IDMLWiki

Jump to: navigation, search

8節 / スタイル

Contents

10.8 スタイル

InDesignドキュメントには、スタイル付けされたオブジェクトがあります。

  • 段落スタイル
  • 文字スタイル
  • オブジェクトスタイル
  • 表スタイル
  • セルスタイル
  • アンカー付きオブジェクト

IDMLパッケージでは、Resourcesフォルダ内のStyles.xmlファイルに、ドキュメントで使用するスタイルがあります。

10.8.1 スタイルのパスとSelf属性

IDMLパッケージ内でスタイルを参照するときは、スタイルのエレメントの位置をパスで指定します。例えば、<RootParagraphStyle>エレメントに「Heading1」という段落スタイルを参照するときは、Self属性の値を下記のように設定します。

 \ParagraphStyles\Heading1

グループ化されているスタイルの場合は、グループ名とスタイル名をコロンで区切ります。(バックスラッシュではありません)コロンはスタイルのName属性で表示されますが、Self属性では「%3a」とエンコードされます。下記はその例です。

 <ParagraphStyleSelf="ParagraphStyle\Headings%3aHeading1" 
 Name="Headings:Heading1">

下記は、段落スタイルが「Headings」というグループのさらに中にある「TableHeadings」というグループ内にあるときです。

 <ParagraphStyle Self="ParagraphStyle\Headings%3aTableHeadings%3aTableHeading1" 
 Name="Headings:TableHeadings:TableHeading1">

10.8.2 段落スタイル

段落スタイルには、文字と段落のフォーマット属性が含まれており、段落単位または複数の段落の範囲に適用することができます。段落スタイルは、適用された段落範囲全体に渡る、文字スタイルを含むすべてのフォーマット属性を定義できます。InDesignドキュメントでの段落スタイルは、その目的に応じた段落スタイルグループにまとめることができます。IDMLでは、段落スタイルのすべてのフォーマット属性を定義する必要はありませんが、定義されない値は、アプリケーションのデフォルト値が適用されることに気をつけてください。

それぞれのIDMLパッケージドキュメントには、<RootParagraphStyleGroup>エレメントが含まれ、さらにその中には<ParagraphStyle>エレメントと<ParagraphStyleGroup>エレメントが含まれます。ひとつの<ParagraphStyleGroup>エレメント中に、他の<ParagraphStyleGroup>エレメントを複数含めることもできます。下記の図は、InDesignドキュメントでのエレメント間の関係の例です。

図54 <RootParagraphStyleGroup>、<ParagraphStyle>、<ParagraphStyleGroup>エレメントの例(Self属性値を表示)

Image:Fig054.png

<RootParagraphStyle>エレメントと<ParagraphStyleGroup>エレメントの構造は同じです。

スキーマの例111 ParagraphStyleGroup
  1. ParagraphStyleGroup_Object = element ParagraphStyleGroup{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string }?,
  4.   element Properties {
  5.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  6.     }?
  7.   }
  8.   ?
  9.   ,
  10. (
  11.   ParagraphStyle_Object*&
  12.   ParagraphStyleGroup_Object*
  13. )
  14. }

InDesignドキュメントには、2つのデフォルト段落スタイルが常にあります。[基本段落]と[段落スタイルなし]です。[基本段落]は、ユーザーで編集可能です。(段落スタイルのUIで[基本段落]と表示されます)[段落スタイルなし]は、デフォルトのフォーマットで、編集不可です。

ほとんどのドキュメントのデザインは、ある種の属性を共有しているスタイルを階層化します。例えば、見出しと小見出しは大抵同じフォントを使います。ベースのスタイルか、または親となるスタイルを作成して、同じスタイルをリンクさせることができます。親スタイルを編集すると、子スタイルも更新されます。子スタイルを、親スタイルとは別に編集することもできます。段落スタイルのBasedOn属性は、親スタイルの<ParagraphStyle>エレメントへの参照です。

NextStyle属性は、UIだけに影響し、ユーザーが入力したテキストに対して自動的にスタイルを割り当てます。例えばドキュメントが、スタイル「body text」は見出しスタイル「heading 1」の次にくるというデザインだとしたら、「heading 1」の次のスタイルに「body text」を設定します。スタイル「heading 1」の段落を入力したあと、EnterかReturnを押すと、スタイル「body text」の新しい段落が作られます。

下記は、<RootParagraphStyleGroup>エレメント内の<ParagraphStyleGroup>エレメントの例です。個々の<ParagraphStyle>エレメントのフォーマットは省略しています。

IDMLの例77 ParagraphStyleGroup
  1. <idPkg: Styles xmlns:idPkg=" http://ns.adobe.com/AdobeInDesign/ idml/1.0/packaging">
  2.   <RootParagraphStyleGroup Self="u69">
  3.     <ParagraphStyleGroup Self="ParagraphStyleGroup\ Headings" Name="Headings">
  4.       <ParagraphStyle Self="ParagraphStyle\ Headings%3aHeading1" Name="Headings:Heading1">
  5.       </ParagraphStyle>
  6.       <ParagraphStyle Self="ParagraphStyle\ Headings%3aHeading2" Name="Headings:Heading2">
  7.       </ParagraphStyle>
  8.       <ParagraphStyle Self="ParagraphStyle\ Headings%3aHeading3" Name="Headings:Heading3">
  9.       </ParagraphStyle>
  10.     </ParagraphStyleGroup>
  11.   </RootParagraphStyleGroup>
  12. </idPkg: Styles>
スキーマの例112 ParagraphStyle
  1. ParagraphStyle_Object = element ParagraphStyle{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string },
  4.   attribute Imported { xsd:boolean }?,
  5.   attribute NextStyle{  xsd:string }?,
  6.   attribute FirstLineIndent{  xsd:double }?,
  7.   attribute LeftIndent{  xsd:double }?,
  8.   attribute RightIndent{  xsd:double }?,
  9.   attribute SpaceBefore{  xsd:double }?,
  10.   attribute SpaceAfter{  xsd:double }?,
  11.   attribute Justification { Justification_EnumValue }?,
  12.   attribute SingleWordJustification{  SingleWordJustification_EnumValue }?,
  13.   attribute AutoLeading{  xsd:double }?,
  14.   attribute DropCapLines{  xsd:short {minInclusive="0" maxInclusive="25"} }?,
  15.   attribute DropCapCharacters{  xsd:short {minInclusive="0"maxInclusive="150"} }?,
  16.   attribute KeepLinesTogether{  xsd:boolean }?,
  17.   attribute KeepAllLinesTogether{  xsd:boolean }?,
  18.   attribute KeepWithNext{  xsd:short {minInclusive="0" maxInclusive="5"} }?,
  19.   attribute KeepFirstLines{  xsd:short {minInclusive="1" maxInclusive="50"} }?,
  20.   attribute KeepLastLines{  xsd:short {minInclusive="1" maxInclusive="50"} }?,
  21.   attribute StartParagraph{  StartParagraph_EnumValue }?,
  22.   attribute Composer { xsd:string }?,
  23.   attribute MinimumWordSpacing{  xsd:double }?,
  24.   attribute MaximumWordSpacing{  xsd:double }?,
  25.   attribute DesiredWordSpacing{  xsd:double }?,
  26.   attribute MinimumLetterSpacing{  xsd:double }?,
  27.   attribute MaximumLetterSpacing{  xsd:double }?,
  28.   attribute DesiredLetterSpacing{  xsd:double }?,
  29.   attribute MinimumGlyphScaling{  xsd:double }?,
  30.   attribute MaximumGlyphScaling{  xsd:double }?,
  31.   attribute DesiredGlyphScaling{  xsd:double }?,
  32.   attribute RuleAbove{  xsd:boolean }?,
  33.   attribute RuleAboveOverprint{  xsd:boolean }?,
  34.   attribute RuleAboveLineWeight{  xsd:double }?,
  35.   attribute RuleAboveTint{  xsd:double }?,
  36.   attribute RuleAboveOffset{  xsd:double }?,
  37.   attribute RuleAboveLeftIndent{  xsd:double }?,
  38.   attribute RuleAboveRightIndent{  xsd:double }?,
  39.   attribute RuleAboveWidth{  RuleWidth_EnumValue }?,
  40.   attribute RuleAboveGapTint{  xsd:double }?,
  41.   attribute RuleAboveGapOverprint{  xsd:boolean }?,
  42.   attribute RuleBelow{  xsd:boolean }?,
  43.   attribute RuleBelowLineWeight{  xsd:double }?,
  44.   attribute RuleBelowTint{  xsd:double }?,
  45.   attribute RuleBelowOffset{  xsd:double }?,
  46.   attribute RuleBelowLeftIndent{  xsd:double }?,
  47.   attribute RuleBelowRightIndent{  xsd:double }?,
  48.   attribute RuleBelowWidth{  RuleWidth_EnumValue }?,
  49.   attribute RuleBelowGapTint{  xsd:double }?,
  50.   attribute HyphenateCapitalizedWords{  xsd:boolean }?,
  51.   attribute Hyphenation { xsd:boolean }?,
  52.   attribute HyphenateBeforeLast{  xsd:short {minInclusive="1"maxInclusive="15"} }?,
  53.   attribute HyphenateAfterFirst{  xsd:short {minInclusive="1"maxInclusive="15"} }?,
  54.   attribute HyphenateWordsLongerThan{  xsd:short {minInclusive="3"maxInclusive="25"} }?,
  55.   attribute HyphenateLadderLimit{  xsd:short {minInclusive="0"maxInclusive="25"} }?,
  56.   attribute HyphenationZone{  xsd:double }?,
  57.   attribute HyphenWeight{  xsd:short {minInclusive="0" maxInclusive="10"} }?,
  58.   attribute FontStyle{  xsd:string }?,
  59.   attribute PointSize{  xsd:double }?,
  60.   attribute KerningMethod{  xsd:string }?,
  61.   attribute Tracking { xsd:double }?,
  62.   attribute Capitalization { Capitalization_EnumValue }?,
  63.   attribute Position { Position_EnumValue }?,
  64.   attribute Underline { xsd:boolean }?,
  65.   attribute StrikeThru{  xsd:boolean }?,
  66.   attribute Ligatures { xsd:boolean }?,
  67.   attribute NoBreak{  xsd:boolean }?,
  68.   attribute HorizontalScale{  xsd:double }?,
  69.   attribute VerticalScale{  xsd:double }?,
  70.   attribute BaselineShift{  xsd:double }?,
  71.   attribute Skew { xsd:double }?,
  72.   attribute FillTint{  xsd:double }?,
  73.   attribute StrokeTint{  xsd:double }?,
  74.   attribute StrokeWeight{  xsd:double }?,
  75.   attribute OverprintStroke{  xsd:boolean }?,
  76.   attribute OverprintFill{  xsd:boolean }?,
  77.   attribute OTFFigureStyle{  OTFFigureStyle_EnumValue }?,
  78.   attribute OTFOrdinal { xsd:boolean }?,
  79.   attribute OTFFraction { xsd:boolean }?,
  80.   attribute OTFDiscretionaryLigature{  xsd:boolean }?,
  81.   attribute OTFTitling { xsd:boolean }?,
  82.   attribute OTFContextualAlternate{  xsd:boolean }?,
  83.   attribute OTFSwash { xsd:boolean }?,
  84.   attribute UnderlineTint{  xsd:double }?,
  85.   attribute UnderlineGapTint{  xsd:double }?,
  86.   attribute UnderlineOverprint{  xsd:boolean }?,
  87.   attribute UnderlineGapOverprint{  xsd:boolean }?,
  88.   attribute UnderlineOffset{  xsd:double }?,
  89.   attribute UnderlineWeight{  xsd:double }?,
  90.   attribute StrikeThroughTint{  xsd:double }?,
  91.   attribute StrikeThroughGapTint{  xsd:double }?,
  92.   attribute StrikeThroughOverprint{  xsd:boolean }?,
  93.   attribute StrikeThroughGapOverprint{  xsd:boolean }?,
  94.   attribute StrikeThroughOffset{  xsd:double }?,
  95.   attribute StrikeThroughWeight{  xsd:double }?,
  96.   attribute FillColor{  xsd:string }?,
  97.   attribute StrokeColor{  xsd:string }?,
  98.   attribute AppliedLanguage{  xsd:string }?,
  99.   attribute KeyboardShortcut{  list { xsd:short ,xsd:short } }?,
  100.   attribute LastLineIndent{  xsd:double }?,
  101.   attribute HyphenateLastWord{  xsd:boolean }?,
  102.   attribute OTFSlashedZero{  xsd:boolean }?,
  103.   attribute OTFHistorical { xsd:boolean }?,
  104.   attribute OTFStylisticSets{  xsd:int }?,
  105.   attribute GradientFillLength{  xsd:double }?,
  106.   attribute GradientFillAngle{  xsd:double }?,
  107.   attribute GradientStrokeLength{  xsd:double }?,
  108.   attribute GradientStrokeAngle{  xsd:double }?,
  109.   attribute GradientFillStart{  UnitPointType_TypeDef }?,
  110.   attribute GradientStrokeStart{  UnitPointType_TypeDef }?,
  111.   attribute RuleBelowOverprint{  xsd:boolean }?,
  112.   attribute RuleBelowGapOverprint{  xsd:boolean }?,
  113.   attribute DropcapDetail{  xsd:int }?,
  114.   attribute HyphenateAcrossColumns{  xsd:boolean }?,
  115.   attribute KeepRuleAboveInFrame{  xsd:boolean }?,
  116.   attribute IgnoreEdgeAlignment{  xsd:boolean }?,
  117.   attribute OTFMark { xsd:boolean }?,
  118.   attribute OTFLocale { xsd:boolean }?,
  119.   attribute PositionalForm{  PositionalForms_EnumValue }?,
  120.   attribute ParagraphDirection{  ParagraphDirection_EnumValue }?,
  121.   attribute ParagraphJustification{  ParagraphJustification_EnumValue }?,
  122.   attribute MiterLimit{  xsd:double {minInclusive="1" maxInclusive="500"} }?,
  123.   attribute StrokeAlignment{  TextStrokeAlign_EnumValue }?,
  124.   attribute EndJoin{  OutlineJoin_EnumValue }?,
  125.   attribute OTFOverlapSwash{  xsd:boolean }?,
  126.   attribute OTFStylisticAlternate{  xsd:boolean }?,
  127.   attribute OTFJustificationAlternate{  xsd:boolean }?,
  128.   attribute OTFStretchedAlternate{  xsd:boolean }?,
  129.   attribute CharacterDirection{  CharacterDirection_EnumValue }?,
  130.   attribute KeyboardDirection{  CharacterDirection_EnumValue }?,
  131.   attribute DigitsType{  DigitsType_EnumValue }?,
  132.   attribute Kashidas { Kashidas_EnumValue }?,
  133.   attribute DiacriticPosition{  DiacriticPosition_EnumValue }?,
  134.   attribute XOffsetDiacritic{  xsd:double }?,
  135.   attribute YOffsetDiacritic{  xsd:double }?,
  136.   attribute GotoNextX{  GotoNextX_EnumValue }?,
  137.   attribute PageNumberType{  PageNumberType_EnumValue }?,
  138.   attribute CharacterAlignment{  CharacterAlignment_EnumValue }?,
  139.   attribute Tsume { xsd:double }?,
  140.   attribute LeadingAki{  xsd:double }?,
  141.   attribute TrailingAki{  xsd:double }?,
  142.   attribute CharacterRotation{  xsd:double }?,
  143.   attribute Jidori { xsd:short }?,
  144.   attribute ShataiMagnification{  xsd:double }?,
  145.   attribute ShataiDegreeAngle{  xsd:double }?,
  146.   attribute ShataiAdjustRotation{  xsd:boolean }?,
  147.   attribute ShataiAdjustTsume{  xsd:boolean }?,
  148.   attribute Tatechuyoko { xsd:boolean }?,
  149.   attribute TatechuyokoXOffset{  xsd:double }?,
  150.   attribute TatechuyokoYOffset{  xsd:double }?,
  151.   attribute KentenTint{  xsd:double }?,
  152.   attribute KentenStrokeTint{  xsd:double }?,
  153.   attribute KentenWeight{  xsd:double }?,
  154.   attribute KentenOverprintFill{  AdornmentOverprint_EnumValue }?,
  155.   attribute KentenOverprintStroke{  AdornmentOverprint_EnumValue }?,
  156.   attribute KentenKind{  KentenCharacter_EnumValue }?,
  157.   attribute KentenPlacement{  xsd:double }?,
  158.   attribute KentenAlignment{  KentenAlignment_EnumValue }?,
  159.   attribute KentenPosition{  RubyKentenPosition_EnumValue }?,
  160.   attribute KentenFontSize{  xsd:double }?,
  161.   attribute KentenXScale{  xsd:double }?,
  162.   attribute KentenYScale{  xsd:double }?,
  163.   attribute KentenCustomCharacter{  xsd:string }?,
  164.   attribute KentenCharacterSet{  KentenCharacterSet_EnumValue }?,
  165.   attribute RubyTint{  xsd:double }?,
  166.   attribute RubyWeight{  xsd:double }?,
  167.   attribute RubyOverprintFill{  AdornmentOverprint_EnumValue }?,
  168.   attribute RubyOverprintStroke{  AdornmentOverprint_EnumValue }?,
  169.   attribute RubyStrokeTint{  xsd:double }?,
  170.   attribute RubyFontSize{  xsd:double }?,
  171.   attribute RubyOpenTypePro{  xsd:boolean }?,
  172.   attribute RubyXScale{  xsd:double }?,
  173.   attribute RubyYScale{  xsd:double }?,
  174.   attribute RubyType{  RubyTypes_EnumValue }?,
  175.   attribute RubyAlignment{  RubyAlignments_EnumValue }?,
  176.   attribute RubyPosition{  RubyKentenPosition_EnumValue }?,
  177.   attribute RubyXOffset{  xsd:double }?,
  178.   attribute RubyYOffset{  xsd:double }?,
  179.   attribute RubyParentSpacing{  RubyParentSpacing_EnumValue }?,
  180.   attribute RubyAutoAlign{  xsd:boolean }?,
  181.   attribute RubyOverhang{  xsd:boolean }?,
  182.   attribute RubyAutoScaling{  xsd:boolean }?,
  183.   attribute RubyParentScalingPercent{  xsd:double }?,
  184.   attribute RubyParentOverhangAmount{  RubyOverhang_EnumValue }?,
  185.   attribute Warichu { xsd:boolean }?,
  186.   attribute WarichuSize{  xsd:double }?,
  187.   attribute WarichuLines{  xsd:short }?,
  188.   attribute WarichuLineSpacing{  xsd:double }?,
  189.   attribute WarichuAlignment{  WarichuAlignment_EnumValue }?,
  190.   attribute WarichuCharsAfterBreak{  xsd:short }?,
  191.   attribute WarichuCharsBeforeBreak{  xsd:short }?,
  192.   attribute OTFProportionalMetrics{  xsd:boolean }?,
  193.   attribute OTFHVKana { xsd:boolean }?,
  194.   attribute OTFRomanItalics{  xsd:boolean }?,
  195.   attribute ScaleAffectsLineHeight{  xsd:boolean }?,
  196.   attribute CjkGridTracking{  xsd:boolean }?,
  197.   attribute GlyphForm{  AlternateGlyphForms_EnumValue }?,
  198.   attribute GridAlignFirstLineOnly{  xsd:boolean }?,
  199.   attribute GridAlignment{  GridAlignment_EnumValue }?,
  200.   attribute GridGyoudori{  xsd:short }?,
  201.   attribute AutoTcy{  xsd:short }?,
  202.   attribute AutoTcyIncludeRoman{  xsd:boolean }?,
  203.   attribute KinsokuType{  KinsokuType_EnumValue }?,
  204.   attribute KinsokuHangType{  KinsokuHangTypes_EnumValue }?,
  205.   attribute BunriKinshi{  xsd:boolean }?,
  206.   attribute Rensuuji { xsd:boolean }?,
  207.   attribute RotateSingleByteCharacters{  xsd:boolean }?,
  208.   attribute LeadingModel{  LeadingModel_EnumValue }?,
  209.   attribute RubyAutoTcyDigits{  xsd:short }?,
  210.   attribute RubyAutoTcyIncludeRoman{  xsd:boolean }?,
  211.   attribute RubyAutoTcyAutoScale{  xsd:boolean }?,
  212.   attribute TreatIdeographicSpaceAsSpace{  xsd:boolean }?,
  213.   attribute AllowArbitraryHyphenation{  xsd:boolean }?,
  214.   attribute ParagraphGyoudori{  xsd:boolean }?,
  215.   attribute NumberingExpression{  xsd:string }?,
  216.   attribute BulletsTextAfter{  xsd:string }?,
  217.   attribute NumberingLevel{  xsd:int }?,
  218.   attribute NumberingContinue{  xsd:boolean }?,
  219.   attribute NumberingStartAt{  xsd:int }?,
  220.   attribute NumberingApplyRestartPolicy{  xsd:boolean }?,
  221.   attribute BulletsAlignment{  ListAlignment_EnumValue }?,
  222.   attribute NumberingAlignment{  ListAlignment_EnumValue }?,
  223.   attribute BulletsAndNumberingListType{  ListType_EnumValue }?,
  224.   element Properties {
  225.     element BasedOn{ 
  226.       (object_type, xsd:string ) |
  227.       (string_type, xsd:string )
  228.     }?&
  229.     element BalanceRaggedLines{ 
  230.       (bool_type, xsd:boolean ) |
  231.       (enum_type, BalanceLinesStyle_EnumValue )
  232.     }?&
  233.     element RuleAboveColor{ 
  234.       (object_type, xsd:string ) |
  235.       (string_type, xsd:string )
  236.     }?&
  237.     element RuleAboveGapColor{ 
  238.       (object_type, xsd:string ) |
  239.       (string_type, xsd:string )
  240.     }?&
  241.     element RuleAboveType{ 
  242.       (object_type, xsd:string ) |
  243.       (string_type, xsd:string )
  244.     }?&
  245.     element RuleBelowColor{ 
  246.       (object_type, xsd:string ) |
  247.       (string_type, xsd:string )
  248.     }?&
  249.     element RuleBelowGapColor{ 
  250.       (object_type, xsd:string ) |
  251.       (string_type, xsd:string )
  252.     }?&
  253.     element RuleBelowType{ 
  254.       (object_type, xsd:string ) |
  255.       (string_type, xsd:string )
  256.     }?&
  257.     element AllNestedStyles{  list_type, element ListItem{ 
  258.         record_type,
  259.         (
  260.         element AppliedCharacterStyle{  object_type, xsd:string }&
  261.         element Delimiter {
  262.           (string_type, xsd:string ) |
  263.           (enum_type, NestedStyleDelimiters_EnumValue )
  264.         }&
  265.         element Repetition { long_type, xsd:int }&
  266.         element Inclusive { bool_type, xsd:boolean })
  267.       }*
  268.     }?&
  269.     element TabList{  list_type, element ListItem{ 
  270.         record_type,
  271.         (
  272.         element Alignment { enum_type, TabStopAlignment_EnumValue }&
  273.         element AlignmentCharacter{  string_type, xsd:string }&
  274.         element Leader { string_type, xsd:string }&
  275.         element Position { unit_type, xsd:double })
  276.       }*
  277.     }?&
  278.     element AppliedFont{ 
  279.       (object_type, xsd:string ) |
  280.       (string_type, xsd:string )
  281.     }?&
  282.     element Leading {
  283.       (unit_type, xsd:double ) |
  284.       (enum_type, Leading_EnumValue )
  285.     }?&
  286.     element UnderlineColor{ 
  287.       (object_type, xsd:string ) |
  288.       (string_type, xsd:string )
  289.     }?&
  290.     element UnderlineGapColor{ 
  291.       (object_type, xsd:string ) |
  292.       (string_type, xsd:string )
  293.     }?&
  294.     element UnderlineType{ 
  295.       (object_type, xsd:string ) |
  296.       (string_type, xsd:string )
  297.     }?&
  298.     element StrikeThroughColor{ 
  299.       (object_type, xsd:string ) |
  300.       (string_type, xsd:string )
  301.     }?&
  302.     element StrikeThroughGapColor{ 
  303.       (object_type, xsd:string ) |
  304.       (string_type, xsd:string )
  305.     }?&
  306.     element StrikeThroughType{ 
  307.       (object_type, xsd:string ) |
  308.       (string_type, xsd:string )
  309.     }?&
  310.     element PreviewColor{ 
  311.       (InDesignUIColorType_TypeDef ) |
  312.       (enum_type, NothingEnum_EnumValue )
  313.     }?&
  314.     element KentenFillColor{ 
  315.       (object_type, xsd:string ) |
  316.       (string_type, xsd:string )
  317.     }?&
  318.     element KentenStrokeColor{ 
  319.       (object_type, xsd:string ) |
  320.       (string_type, xsd:string )
  321.     }?&
  322.     element KentenFont{ 
  323.       (object_type, xsd:string ) |
  324.       (string_type, xsd:string )
  325.     }?&
  326.     element KentenFontStyle{ 
  327.       (string_type, xsd:string ) |
  328.       (enum_type, NothingEnum_EnumValue )
  329.     }?&
  330.     element RubyFill{ 
  331.       (object_type, xsd:string ) |
  332.       (string_type, xsd:string )
  333.     }?&
  334.     element RubyStroke{ 
  335.       (object_type, xsd:string ) |
  336.       (string_type, xsd:string )
  337.     }?&
  338.     element RubyFont{ 
  339.       (object_type, xsd:string ) |
  340.       (string_type, xsd:string )
  341.     }?&
  342.     element RubyFontStyle{ 
  343.       (string_type, xsd:string ) |
  344.       (enum_type, NothingEnum_EnumValue )
  345.     }?&
  346.     element KinsokuSet{ 
  347.       (object_type, xsd:string ) |
  348.       (enum_type, KinsokuSet_EnumValue ) |
  349.       (string_type, xsd:string )
  350.     }?&
  351.     element Mojikumi {
  352.       (object_type, xsd:string ) |
  353.       (string_type, xsd:string ) |
  354.       (enum_type, MojikumiTableDefaults_EnumValue )
  355.     }?&
  356.     element BulletsFont{ 
  357.       (object_type, xsd:string ) |
  358.       (string_type, xsd:string ) |
  359.       (enum_type, AutoEnum_EnumValue )
  360.     }?&
  361.     element BulletsFontStyle{ 
  362.       (string_type, xsd:string ) |
  363.       (enum_type, NothingEnum_EnumValue ) |
  364.       (enum_type, AutoEnum_EnumValue )
  365.     }?&
  366.     element BulletsCharacterStyle{ 
  367.       (object_type, xsd:string ) |
  368.       (string_type, xsd:string )
  369.     }?&
  370.     element NumberingCharacterStyle{ 
  371.       (object_type, xsd:string ) |
  372.       (string_type, xsd:string )
  373.     }?&
  374.     element AppliedNumberingList{ 
  375.       (object_type, xsd:string ) |
  376.       (string_type, xsd:string )
  377.     }?&
  378.     element NumberingFormat{ 
  379.       (enum_type, NumberingStyle_EnumValue ) |
  380.       (string_type, xsd:string )
  381.     }?&
  382.     element NumberingRestartPolicies{ 
  383.       attribute RestartPolicy{  RestartPolicy_EnumValue },
  384.       attribute LowerLevel{  xsd:int },
  385.       attribute UpperLevel{  xsd:int }
  386.     }?&
  387.     element BulletChar{ 
  388.       attribute BulletCharacterType{  BulletCharacterType_EnumValue },
  389.       attribute BulletCharacterValue{  xsd:int }
  390.     }?&
  391.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  392.     }?
  393.   }
  394.   ?
  395.   ,
  396. (
  397.   NestedLineStyle_Object*&
  398.   NestedGrepStyle_Object*
  399. )
  400. }

<ParagraphStyle>エレメントのほとんどの属性とエレメントは、他のテキスト関連エレメントと共有されています。「10.4.6 共通のTextプロパティ」を参照してください。下の表は、<ParagraphStyle>エレメントだけが持つ属性とエレメントです。

表113 属性としてのParagraphStyleプロパティ
名前 必須 説明
Imported boolean trueのとき、段落スタイルは他のファイルから読み込まれた
KeyboardShortcut string キーボードショートカット
NextStyle string 次の段落に割り当てるスタイル。ユニークなID。(<ParagraphStyle>エレメントのSelf属性の値)段落の最後でEnterかReturnを押してできた次の段落に対して割り当てるスタイル
表114 エレメントとしてのParagraphStyleプロパティ
名前 必須 説明
BasedOn string 基準となる段落スタイル。ユニークなID(<ParagraphStyle>エレメントのSelf属性値)か、デフォルトの[段落スタイルなし]への参照($ID/[No paragraph style])
IDMLの例78 BasedOnを[段落スタイルなし]にするとき
  1. <ParagraphStyle Self="ParagraphStyle\ Code" Name="Code" Imported="false" NextStyle=" ParagraphStyle\ Code">
  2.   <Properties>
  3.     <BasedOn type="string">$ID/[No paragraph style]</BasedOn>
  4.   </Properties>
  5. </ParagraphStyle>
IDMLの例79 BasedOnを他のスタイルにするとき
  1. <ParagraphStyle Self="ParagraphStyle\ ListStyles% 3aListFirst" Name="ListFirst" Imported="false" NextStyle=" ParagraphStyle\ ListStyles% 3aList">
  2.   <Properties>
  3.     <BasedOn type="object">ParagraphStyle\ ListStyles% 3aList</ BasedOn>
  4.   </Properties>
  5. </ParagraphStyle>

10.8.3 先頭文字スタイル

先頭文字スタイルは、InDesignの段落フォーマットの機能です。ローカルのフォーマットまたは段落スタイルの一部として適用することができます。先頭文字スタイルを使うと、段落内の1文字以上のテキスト単位で、文字レベルのフォーマットをすることができます。先頭文字スタイルは2つの要素から成り立っています。スタイルを適用するテキストの範囲を区切る区切り文字と、適用する文字スタイルです。

先頭文字スタイルは、特に突き出し見出し(先頭の数文字が見出し文字となるような見出しスタイル)の作成に便利です。例えば、段落の最初の文字に文字スタイルを適用し、違う文字スタイルを最初のコロン(:)の範囲まで適用するように設定することができます。また、それぞれの先頭文字スタイルに、タブ文字や単語の末尾の文字などを、区切り文字として定義することもできます。

先頭文字スタイルのスキーマは、いくつかのテキストオブジェクト(特に<ParagraphStyle>エレメントと<ParagraphStyleRange>エレメント)に含まれています。

スキーマの例113 NestedStyle
  1. element AllNestedStyles { list_type, element ListItem {
  2.   record_type,
  3.   (
  4.     element AppliedCharacterStyle { object_type, xsd:string }&
  5.     element Delimiter {
  6.       (string_type, xsd:string ) |
  7.       (enum_type, NestedStyleDelimiters_EnumValue )
  8.     }&
  9.     element Repetition { long_type, xsd:int }&
  10.     element Inclusive { bool_type, xsd:boolean })
  11.   }*
  12. }?&
表115 エレメントとしてのNestedStyleプロパティ
名前 必須 説明
AppliedCharacterStyle string 適用する文字スタイル。文字スタイルのSelf属性の参照
Delimiter stringまたはNestedStyleDelimiters_EnumValue 区切り文字
Repetition int 繰り返し回数
Inclusive boolean trueのとき、区切り文字が先頭文字スタイルに含まれる

下記は、先頭文字スタイルでの文字スタイルと段落スタイルの使用例です。

IDMLの例80 NestedStyle
  1. <CharacterStyle Self="CharacterStyle/Note" Name="Note" FillColor="Color/C=15 M=100 Y=100 K=0" FontStyle="Bold">
  2.   <Properties>
  3.     <BasedOn type="string">$ID/[No character style]</BasedOn>
  4.     <PreviewColor type="enumeration">Nothing</PreviewColor>
  5.     <AppliedFont type="string">Myriad Pro</AppliedFont>
  6.   </Properties>
  7. </CharacterStyle>
  8. <ParagraphStyle Self="ParagraphStyle/note" Name="note" NextStyle="ParagraphStyle/paragraph">
  9.   <Properties>
  10.     <BasedOn type="object">ParagraphStyle/paragraph</BasedOn>
  11.     <PreviewColor type="enumeration">Nothing</PreviewColor>
  12.     <AllNestedStyles type="list">
  13.       <ListItem type="record">
  14.         <AppliedCharacterStyle type="object">CharacterStyle/Note </AppliedCharacterStyle>
  15.         <Delimiter type="string">:</Delimiter>
  16.         <Repetition type="long">1</Repetition>
  17.         <Inclusive type="boolean">true</Inclusive>
  18.       </ListItem>
  19.     </AllNestedStyles>
  20.   </Properties>
  21. </ParagraphStyle>
図55 先頭文字スタイル

Image:Fig055.png

10.8.4 文字スタイル

文字スタイルは、1回の操作でテキストに適用できる、文字書式の属性の集まりです。段落スタイルとは異なり、文字スタイルには選択したテキストのすべての書式設定属性が含まれるわけではなく、通常、適用するテキストで周囲のテキストと異なる書式だけを設定します。

IDMLでの文字スタイルは、段落スタイルと同じ方法で記述されます。各ドキュメントには<RootCharacterStyleGroup>エレメントがあり、その中にドキュメントで使用されるすべての<CharacterStyle>エレメントと<CharacterStyleGroup>エレメントが含まれます。<RootCharacterStyleGroup>エレメントと<CharacterStyleGroup>エレメントは同じ構造です。

スキーマの例114 CharacterStyleGroup
  1. CharacterStyleGroup_Object = element CharacterStyleGroup{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string }?,
  4.   element Properties {
  5.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  6.     }?
  7.   }
  8.   ?
  9.   ,
  10. (
  11.   CharacterStyle_Object*&
  12.   CharacterStyleGroup_Object*
  13. )
  14. }
IDMLの例81 CharacterStyleGroup
  1. <RootCharacterStyleGroup Self="u6a">
  2.   <CharacterStyle Self="CharacterStyle\[ No character style]" Imported="false" Name="$ID/[No character style]"/>
  3.   <CharacterStyle Self="CharacterStyle\ Emphasis" Imported="false" Name="Emphasis" FontStyle=" Italic">
  4.     <Properties>
  5.       <BasedOn type="string">$ID/[No character style]</BasedOn>
  6.     </Properties>
  7.   </CharacterStyle>
  8.   <CharacterStyle Self="CharacterStyle\ cInlineCode" Imported="false" Name="InlineCode" FontStyle=" Regular">
  9.     <Properties>
  10.       <BasedOn type="string">$ID/[No character style]</BasedOn>
  11.       <AppliedFont type="string">Droid Sans Mono</AppliedFont>
  12.     </Properties>
  13.   </CharacterStyle>
  14.   <CharacterStyleGroup Self="CharacterStyleGroup\ HyperlinkStyles" Name="$ID/HyperlinkStyles">
  15.     <CharacterStyle Self="CharacterStyle\ HyperlinkStyles% 3aEmail" Imported="false" Name="HyperlinkStyles: Email">
  16.       <Properties>
  17.         <BasedOn type="object">CharacterStyle\ HyperlinkStyles\ Hyperlink</BasedOn>
  18.       </Properties>
  19.     </CharacterStyle>
  20.     <CharacterStyle Self="CharacterStyle\ HyperlinkStyles\ URL" Imported="false" Name="HyperlinkStyles: URL">
  21.       <Properties>
  22.         <BasedOn type="object">CharacterStyle\ HyperlinkStyles\ Hyperlink</BasedOn>
  23.       </Properties>
  24.     </CharacterStyle>
  25.     <CharacterStyle Self="CharacterStyle\ HyperlinkStyles\ Hyperlink" Imported="false" Name="HyperlinkStyles: Hyperlink">
  26.       <Properties>
  27.         <BasedOn type="string">$ID/[No character style]</BasedOn>
  28.       </Properties>
  29.     </CharacterStyle>
  30.   </CharacterStyleGroup>
  31. </RootCharacterStyleGroup>
図56 文字スタイル

Image:Fig056.png

スキーマの例115 CharacterStyle
  1. CharacterStyle_Object = element CharacterStyle{ 
  2.   attribute Self { xsd:string },
  3.   attribute Imported { xsd:boolean }?,
  4.   attribute FontStyle{  xsd:string }?,
  5.   attribute PointSize{  xsd:double }?,
  6.   attribute KerningMethod{  xsd:string }?,
  7.   attribute Tracking { xsd:double }?,
  8.   attribute Capitalization { Capitalization_EnumValue }?,
  9.   attribute Position { Position_EnumValue }?,
  10.   attribute Underline { xsd:boolean }?,
  11.   attribute StrikeThru{  xsd:boolean }?,
  12.   attribute Ligatures { xsd:boolean }?,
  13.   attribute NoBreak{  xsd:boolean }?,
  14.   attribute HorizontalScale{  xsd:double }?,
  15.   attribute VerticalScale{  xsd:double }?,
  16.   attribute BaselineShift{  xsd:double }?,
  17.   attribute Skew { xsd:double }?,
  18.   attribute FillTint{  xsd:double }?,
  19.   attribute StrokeTint{  xsd:double }?,
  20.   attribute StrokeWeight{  xsd:double }?,
  21.   attribute OverprintStroke{  xsd:boolean }?,
  22.   attribute OverprintFill{  xsd:boolean }?,
  23.   attribute OTFFigureStyle{  OTFFigureStyle_EnumValue }?,
  24.   attribute OTFOrdinal { xsd:boolean }?,
  25.   attribute OTFFraction { xsd:boolean }?,
  26.   attribute OTFDiscretionaryLigature{  xsd:boolean }?,
  27.   attribute OTFTitling { xsd:boolean }?,
  28.   attribute OTFContextualAlternate{  xsd:boolean }?,
  29.   attribute OTFSwash { xsd:boolean }?,
  30.   attribute UnderlineTint{  xsd:double }?,
  31.   attribute UnderlineGapTint{  xsd:double }?,
  32.   attribute UnderlineOverprint{  xsd:boolean }?,
  33.   attribute UnderlineGapOverprint{  xsd:boolean }?,
  34.   attribute UnderlineOffset{  xsd:double }?,
  35.   attribute UnderlineWeight{  xsd:double }?,
  36.   attribute StrikeThroughTint{  xsd:double }?,
  37.   attribute StrikeThroughGapTint{  xsd:double }?,
  38.   attribute StrikeThroughOverprint{  xsd:boolean }?,
  39.   attribute StrikeThroughGapOverprint{  xsd:boolean }?,
  40.   attribute StrikeThroughOffset{  xsd:double }?,
  41.   attribute StrikeThroughWeight{  xsd:double }?,
  42.   attribute FillColor{  xsd:string }?,
  43.   attribute StrokeColor{  xsd:string }?,
  44.   attribute AppliedLanguage{  xsd:string }?,
  45.   attribute KeyboardShortcut{  list { xsd:short ,xsd:short } }?,
  46.   attribute OTFSlashedZero{  xsd:boolean }?,
  47.   attribute OTFHistorical { xsd:boolean }?,
  48.   attribute OTFStylisticSets{  xsd:int }?,
  49.   attribute GradientFillLength{  xsd:double }?,
  50.   attribute GradientFillAngle{  xsd:double }?,
  51.   attribute GradientStrokeLength{  xsd:double }?,
  52.   attribute GradientStrokeAngle{  xsd:double }?,
  53.   attribute GradientFillStart{  UnitPointType_TypeDef }?,
  54.   attribute GradientStrokeStart{  UnitPointType_TypeDef }?,
  55.   attribute OTFMark { xsd:boolean }?,
  56.   attribute OTFLocale { xsd:boolean }?,
  57.   attribute PositionalForm{  PositionalForms_EnumValue }?,
  58.   attribute Name { xsd:string },
  59.   attribute MiterLimit{  xsd:double {minInclusive="1" maxInclusive="500"} }?,
  60.   attribute StrokeAlignment{  TextStrokeAlign_EnumValue }?,
  61.   attribute EndJoin{  OutlineJoin_EnumValue }?,
  62.   attribute OTFOverlapSwash{  xsd:boolean }?,
  63.   attribute OTFStylisticAlternate{  xsd:boolean }?,
  64.   attribute OTFJustificationAlternate{  xsd:boolean }?,
  65.   attribute OTFStretchedAlternate{  xsd:boolean }?,
  66.   attribute CharacterDirection{  CharacterDirection_EnumValue }?,
  67.   attribute KeyboardDirection{  CharacterDirection_EnumValue }?,
  68.   attribute DigitsType{  DigitsType_EnumValue }?,
  69.   attribute Kashidas { Kashidas_EnumValue }?,
  70.   attribute DiacriticPosition{  DiacriticPosition_EnumValue }?,
  71.   attribute XOffsetDiacritic{  xsd:double }?,
  72.   attribute YOffsetDiacritic{  xsd:double }?,
  73.   attribute GotoNextX{  GotoNextX_EnumValue }?,
  74.   attribute PageNumberType{  PageNumberType_EnumValue }?,
  75.   attribute CharacterAlignment{  CharacterAlignment_EnumValue }?,
  76.   attribute Tsume { xsd:double }?,
  77.   attribute LeadingAki{  xsd:double }?,
  78.   attribute TrailingAki{  xsd:double }?,
  79.   attribute CharacterRotation{  xsd:double }?,
  80.   attribute Jidori { xsd:short }?,
  81.   attribute ShataiMagnification{  xsd:double }?,
  82.   attribute ShataiDegreeAngle{  xsd:double }?,
  83.   attribute ShataiAdjustRotation{  xsd:boolean }?,
  84.   attribute ShataiAdjustTsume{  xsd:boolean }?,
  85.   attribute Tatechuyoko { xsd:boolean }?,
  86.   attribute TatechuyokoXOffset{  xsd:double }?,
  87.   attribute TatechuyokoYOffset{  xsd:double }?,
  88.   attribute KentenTint{  xsd:double }?,
  89.   attribute KentenStrokeTint{  xsd:double }?,
  90.   attribute KentenWeight{  xsd:double }?,
  91.   attribute KentenOverprintFill{  AdornmentOverprint_EnumValue }?,
  92.   attribute KentenOverprintStroke{  AdornmentOverprint_EnumValue }?,
  93.   attribute KentenKind{  KentenCharacter_EnumValue }?,
  94.   attribute KentenPlacement{  xsd:double }?,
  95.   attribute KentenAlignment{  KentenAlignment_EnumValue }?,
  96.   attribute KentenPosition{  RubyKentenPosition_EnumValue }?,
  97.   attribute KentenFontSize{  xsd:double }?,
  98.   attribute KentenXScale{  xsd:double }?,
  99.   attribute KentenYScale{  xsd:double }?,
  100.   attribute KentenCustomCharacter{  xsd:string }?,
  101.   attribute KentenCharacterSet{  KentenCharacterSet_EnumValue }?,
  102.   attribute RubyTint{  xsd:double }?,
  103.   attribute RubyWeight{  xsd:double }?,
  104.   attribute RubyOverprintFill{  AdornmentOverprint_EnumValue }?,
  105.   attribute RubyOverprintStroke{  AdornmentOverprint_EnumValue }?,
  106.   attribute RubyStrokeTint{  xsd:double }?,
  107.   attribute RubyFontSize{  xsd:double }?,
  108.   attribute RubyOpenTypePro{  xsd:boolean }?,
  109.   attribute RubyXScale{  xsd:double }?,
  110.   attribute RubyYScale{  xsd:double }?,
  111.   attribute RubyType{  RubyTypes_EnumValue }?,
  112.   attribute RubyAlignment{  RubyAlignments_EnumValue }?,
  113.   attribute RubyPosition{  RubyKentenPosition_EnumValue }?,
  114.   attribute RubyXOffset{  xsd:double }?,
  115.   attribute RubyYOffset{  xsd:double }?,
  116.   attribute RubyParentSpacing{  RubyParentSpacing_EnumValue }?,
  117.   attribute RubyAutoAlign{  xsd:boolean }?,
  118.   attribute RubyOverhang{  xsd:boolean }?,
  119.   attribute RubyAutoScaling{  xsd:boolean }?,
  120.   attribute RubyParentScalingPercent{  xsd:double }?,
  121.   attribute RubyParentOverhangAmount{  RubyOverhang_EnumValue }?,
  122.   attribute Warichu { xsd:boolean }?,
  123.   attribute WarichuSize{  xsd:double }?,
  124.   attribute WarichuLines{  xsd:short }?,
  125.   attribute WarichuLineSpacing{  xsd:double }?,
  126.   attribute WarichuAlignment{  WarichuAlignment_EnumValue }?,
  127.   attribute WarichuCharsAfterBreak{  xsd:short }?,
  128.   attribute WarichuCharsBeforeBreak{  xsd:short }?,
  129.   attribute OTFProportionalMetrics{  xsd:boolean }?,
  130.   attribute OTFHVKana { xsd:boolean }?,
  131.   attribute OTFRomanItalics{  xsd:boolean }?,
  132.   attribute ScaleAffectsLineHeight{  xsd:boolean }?,
  133.   attribute CjkGridTracking{  xsd:boolean }?,
  134.   attribute GlyphForm{  AlternateGlyphForms_EnumValue }?,
  135.   attribute RubyAutoTcyDigits{  xsd:short }?,
  136.   attribute RubyAutoTcyIncludeRoman{  xsd:boolean }?,
  137.   attribute RubyAutoTcyAutoScale{  xsd:boolean }?,
  138.   element Properties {
  139.     element BasedOn{ 
  140.       (object_type, xsd:string ) |
  141.       (string_type, xsd:string )
  142.     }?&
  143.     element AppliedFont{ 
  144.       (object_type, xsd:string ) |
  145.       (string_type, xsd:string )
  146.     }?&
  147.     element Leading {
  148.       (unit_type, xsd:double ) |
  149.       (enum_type, Leading_EnumValue )
  150.     }?&
  151.     element UnderlineColor{ 
  152.       (object_type, xsd:string ) |
  153.       (string_type, xsd:string )
  154.     }?&
  155.     element UnderlineGapColor{ 
  156.       (object_type, xsd:string ) |
  157.       (string_type, xsd:string )
  158.     }?&
  159.     element UnderlineType{ 
  160.       (object_type, xsd:string ) |
  161.       (string_type, xsd:string )
  162.     }?&
  163.     element StrikeThroughColor{ 
  164.       (object_type, xsd:string ) |
  165.       (string_type, xsd:string )
  166.     }?&
  167.     element StrikeThroughGapColor{ 
  168.       (object_type, xsd:string ) |
  169.       (string_type, xsd:string )
  170.     }?&
  171.     element StrikeThroughType{ 
  172.       (object_type, xsd:string ) |
  173.       (string_type, xsd:string )
  174.     }?&
  175.     element PreviewColor{ 
  176.       (InDesignUIColorType_TypeDef ) |
  177.       (enum_type, NothingEnum_EnumValue )
  178.     }?&
  179.     element KentenFillColor{ 
  180.       (object_type, xsd:string ) |
  181.       (string_type, xsd:string )
  182.     }?&
  183.     element KentenStrokeColor{ 
  184.       (object_type, xsd:string ) |
  185.       (string_type, xsd:string )
  186.     }?&
  187.     element KentenFont{ 
  188.       (object_type, xsd:string ) |
  189.       (string_type, xsd:string )
  190.     }?&
  191.     element KentenFontStyle{ 
  192.       (string_type, xsd:string ) |
  193.       (enum_type, NothingEnum_EnumValue )
  194.     }?&
  195.     element RubyFill{ 
  196.       (object_type, xsd:string ) |
  197.       (string_type, xsd:string )
  198.     }?&
  199.     element RubyStroke{ 
  200.       (object_type, xsd:string ) |
  201.       (string_type, xsd:string )
  202.     }?&
  203.     element RubyFont{ 
  204.       (object_type, xsd:string ) |
  205.       (string_type, xsd:string )
  206.     }?&
  207.     element RubyFontStyle{ 
  208.       (string_type, xsd:string ) |
  209.       (enum_type, NothingEnum_EnumValue )
  210.     }?&
  211.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  212.     }?
  213.   }
  214.   ?
  215. }

<CharacterStyle>エレメントのほとんどの属性とエレメントは、他のテキスト関連エレメントと共有されています。「10.4.6 共通のテキストプロパティ」を参照してください。下の表は、<CharacterStyle>エレメントだけが持つ属性とエレメントです。

表116 属性としてのCharacterStyleプロパティ
名前 必須 説明
Imported boolean trueのとき、文字スタイルは他のファイルから読み込まれた
KeyboardShortcut string キーボードショートカット
Name string 文字スタイル名
表114 エレメントとしてのCharacterStyleプロパティ
名前 必須 説明
BasedOn string 基準となる文字スタイル。ユニークなID(<CharacterStyle>エレメントのSelf属性値)か、デフォルトの[なし]への参照($ID/[No character style])

10.8.5 表スタイル

表スタイルは、1回の操作で適用できる、表の境界線や行と列の罫線などの表の書式設定属性の集まりです。表スタイルグループでまとめることもできます。IDMLパッケージでは、<TableStyle>エレメントは<TableStyleGroup>エレメント内に保存されます。すべての<TableStyle>エレメントと<TableStyleGroup>エレメントは<RootTableStyleGroup>エレメント内に存在します。<TableStyleGroup>エレメントには、<TableStyle>エレメントと<TableStyleGroup>エレメントを含むことができます。

スキーマの例116 TableStyleGroup
  1. TableStyleGroup_Object = element TableStyleGroup{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string },
  4.   element Properties {
  5.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  6.     }?
  7.   }
  8.   ?
  9.   ,
  10. (
  11.   TableStyle_Object*&
  12.   TableStyleGroup_Object*
  13. )
  14. }
スキーマの例117 TableStyle
  1. TableStyle_Object = element TableStyle{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string },
  4.   attribute StrokeOrder{  StrokeOrderTypes_EnumValue }?,
  5.   attribute TopBorderStrokeWeight{  xsd:double }?,
  6.   attribute TopBorderStrokeType{  xsd:string }?,
  7.   attribute TopBorderStrokeColor{  xsd:string }?,
  8.   attribute TopBorderStrokeTint{  xsd:double }?,
  9.   attribute TopBorderStrokeOverprint{  xsd:boolean }?,
  10.   attribute TopBorderStrokeGapColor{  xsd:string }?,
  11.   attribute TopBorderStrokeGapTint{  xsd:double }?,
  12.   attribute TopBorderStrokeGapOverprint{  xsd:boolean }?,
  13.   attribute LeftBorderStrokeWeight{  xsd:double }?,
  14.   attribute LeftBorderStrokeType{  xsd:string }?,
  15.   attribute LeftBorderStrokeColor{  xsd:string }?,
  16.   attribute LeftBorderStrokeTint{  xsd:double }?,
  17.   attribute LeftBorderStrokeOverprint{  xsd:boolean }?,
  18.   attribute LeftBorderStrokeGapColor{  xsd:string }?,
  19.   attribute LeftBorderStrokeGapTint{  xsd:double }?,
  20.   attribute LeftBorderStrokeGapOverprint{  xsd:boolean }?,
  21.   attribute BottomBorderStrokeWeight{  xsd:double }?,
  22.   attribute BottomBorderStrokeType{  xsd:string }?,
  23.   attribute BottomBorderStrokeColor{  xsd:string }?,
  24.   attribute BottomBorderStrokeTint{  xsd:double }?,
  25.   attribute BottomBorderStrokeOverprint{  xsd:boolean }?,
  26.   attribute BottomBorderStrokeGapColor{  xsd:string }?,
  27.   attribute BottomBorderStrokeGapTint{  xsd:double }?,
  28.   attribute BottomBorderStrokeGapOverprint{  xsd:boolean }?,
  29.   attribute RightBorderStrokeWeight{  xsd:double }?,
  30.   attribute RightBorderStrokeType{  xsd:string }?,
  31.   attribute RightBorderStrokeColor{  xsd:string }?,
  32.   attribute RightBorderStrokeTint{  xsd:double }?,
  33.   attribute RightBorderStrokeOverprint{  xsd:boolean }?,
  34.   attribute RightBorderStrokeGapColor{  xsd:string }?,
  35.   attribute RightBorderStrokeGapTint{  xsd:double }?,
  36.   attribute RightBorderStrokeGapOverprint{  xsd:boolean }?,
  37.   attribute SpaceBefore{  xsd:double }?,
  38.   attribute SpaceAfter{  xsd:double }?,
  39.   attribute SkipFirstAlternatingStrokeRows{  xsd:int }?,
  40.   attribute SkipLastAlternatingStrokeRows{  xsd:int }?,
  41.   attribute StartRowStrokeCount{  xsd:int }?,
  42.   attribute StartRowStrokeColor{  xsd:string }?,
  43.   attribute StartRowStrokeWeight{  xsd:double }?,
  44.   attribute StartRowStrokeType{  xsd:string }?,
  45.   attribute StartRowStrokeTint{  xsd:double }?,
  46.   attribute StartRowStrokeGapOverprint{  xsd:boolean }?,
  47.   attribute StartRowStrokeGapColor{  xsd:string }?,
  48.   attribute StartRowStrokeGapTint{  xsd:double }?,
  49.   attribute StartRowStrokeOverprint{  xsd:boolean }?,
  50.   attribute EndRowStrokeCount{  xsd:int }?,
  51.   attribute EndRowStrokeColor{  xsd:string }?,
  52.   attribute EndRowStrokeWeight{  xsd:double }?,
  53.   attribute EndRowStrokeType{  xsd:string }?,
  54.   attribute EndRowStrokeTint{  xsd:double }?,
  55.   attribute EndRowStrokeOverprint{  xsd:boolean }?,
  56.   attribute EndRowStrokeGapColor{  xsd:string }?,
  57.   attribute EndRowStrokeGapTint{  xsd:double }?,
  58.   attribute EndRowStrokeGapOverprint{  xsd:boolean }?,
  59.   attribute SkipFirstAlternatingStrokeColumns{  xsd:int }?,
  60.   attribute SkipLastAlternatingStrokeColumns{  xsd:int }?,
  61.   attribute StartColumnStrokeCount{  xsd:int }?,
  62.   attribute StartColumnStrokeColor{  xsd:string }?,
  63.   attribute StartColumnStrokeWeight{  xsd:double }?,
  64.   attribute StartColumnStrokeType{  xsd:string }?,
  65.   attribute StartColumnStrokeTint{  xsd:double }?,
  66.   attribute StartColumnStrokeOverprint{  xsd:boolean }?,
  67.   attribute StartColumnStrokeGapColor{  xsd:string }?,
  68.   attribute StartColumnStrokeGapTint{  xsd:double }?,
  69.   attribute StartColumnStrokeGapOverprint{  xsd:boolean }?,
  70.   attribute EndColumnStrokeCount{  xsd:int }?,
  71.   attribute EndColumnStrokeColor{  xsd:string }?,
  72.   attribute EndColumnStrokeWeight{  xsd:double }?,
  73.   attribute EndColumnLineStyle{  xsd:string }?,
  74.   attribute EndColumnStrokeTint{  xsd:double }?,
  75.   attribute EndColumnStrokeOverprint{  xsd:boolean }?,
  76.   attribute EndColumnStrokeGapColor{  xsd:string }?,
  77.   attribute EndColumnStrokeGapTint{  xsd:double }?,
  78.   attribute EndColumnStrokeGapOverprint{  xsd:boolean }?,
  79.   attribute ColumnFillsPriority{  xsd:boolean }?,
  80.   attribute SkipFirstAlternatingFillRows{  xsd:int }?,
  81.   attribute SkipLastAlternatingFillRows{  xsd:int }?,
  82.   attribute StartRowFillColor{  xsd:string }?,
  83.   attribute StartRowFillCount{  xsd:int }?,
  84.   attribute StartRowFillTint{  xsd:double }?,
  85.   attribute StartRowFillOverprint{  xsd:boolean }?,
  86.   attribute EndRowFillCount{  xsd:int }?,
  87.   attribute EndRowFillColor{  xsd:string }?,
  88.   attribute EndRowFillTint{  xsd:double }?,
  89.   attribute EndRowFillOverprint{  xsd:boolean }?,
  90.   attribute SkipFirstAlternatingFillColumns{  xsd:int }?,
  91.   attribute SkipLastAlternatingFillColumns{  xsd:int }?,
  92.   attribute StartColumnFillCount{  xsd:int }?,
  93.   attribute StartColumnFillColor{  xsd:string }?,
  94.   attribute StartColumnFillTint{  xsd:double }?,
  95.   attribute StartColumnFillOverprint{  xsd:boolean }?,
  96.   attribute EndColumnFillCount{  xsd:int }?,
  97.   attribute EndColumnFillColor{  xsd:string }?,
  98.   attribute EndColumnFillTint{  xsd:double }?,
  99.   attribute EndColumnFillOverprint{  xsd:boolean }?,
  100.   attribute HeaderRegionSameAsBodyRegion{  xsd:boolean }?,
  101.   attribute FooterRegionSameAsBodyRegion{  xsd:boolean }?,
  102.   attribute LeftColumnRegionSameAsBodyRegion{  xsd:boolean }?,
  103.   attribute RightColumnRegionSameAsBodyRegion{  xsd:boolean }?,
  104.   attribute HeaderRegionCellStyle{  xsd:string }?,
  105.   attribute FooterRegionCellStyle{  xsd:string }?,
  106.   attribute LeftColumnRegionCellStyle{  xsd:string }?,
  107.   attribute RightColumnRegionCellStyle{  xsd:string }?,
  108.   attribute BodyRegionCellStyle{  xsd:string }?,
  109.   attribute KeyboardShortcut{  list { xsd:short ,xsd:short } }?,
  110.   element Properties {
  111.     element BasedOn{ 
  112.       (object_type, xsd:string ) |
  113.       (string_type, xsd:string )
  114.     }?&
  115.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  116.     }?
  117.   }
  118.   ?
  119. }
表118 属性としてのTableStyleプロパティ
名前 必須 説明
BodyRegionCellStyle string セルスタイル/本文行(ヘッダやフッタでないセル)
BottomBorderStrokeColor string 下境界線のカラー。スウォッチ(カラー、グラデーション、濃淡または混合インキ)で指定
BottomBorderStrokeGapColor string 下境界線の間隔のカラー。スウォッチ(カラー、グラデーション、濃淡または混合インキ)で指定。Note:BottomBorderStrokeTypeがSolidでないときのみ
BottomBorderStrokeGapOverprint boolean trueのとき、下境界線の間隔はオーバープリント。Note:BottomBorderStrokeTypeがSolidでないときのみ
BottomBorderStrokeGapTint double 下境界線の間隔の濃淡(0-100%)Note:BottomBorderStrokeTypeがSolidでないときのみ
BottomBorderStrokeOverprint boolean trueのとき、下境界線はオーバープリント
BottomBorderStrokeTint double 下境界線の濃淡(0-100%)
BottomBorderStrokeType string 下境界線の種類
BottomBorderStrokeWeight double 下境界線の線幅
ColumnFillsPriority boolean trueのとき、塗りのパターンの繰り返しは列単位。falseのときは行単位
EndColumnFillColor string 塗りのスタイル/次の列のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
EndColumnFillCount int 塗りのスタイル/次の列数。Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
EndColumnFillOverprint boolean trueのとき、塗りのスタイル/次の列のカラーはオーバープリント。Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
EndColumnFillTint double 塗りのスタイル/次の列の濃淡(0-100%)Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
EndColumnLineStyle string 列の罫線/次の種類
EndColumnStrokeColor string 列の罫線/次の列のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:次の列数が1以上のときのみ
EndColumnStrokeCount int 列の罫線/次の列数
EndColumnStrokeGapColor string 列の罫線/次の間隔のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:次の列数が1以上のときのみ
EndColumnStrokeGapOverprint boolean trueのとき、列の罫線/次の間隔はオーバープリント。Note:次の列数が1以上のときのみ
EndColumnStrokeGapTint double 列の罫線/次の間隔の濃淡(0-100%)。Note:次の列数が1以上のときのみ
EndColumnStrokeOverprint boolean trueのとき、列の罫線/次はオーバープリント。Note:次の列数が1以上のときのみ
EndColumnStrokeTint double 列の罫線/次の濃淡(0-100%)。Note:次の列数が1以上のときのみ
EndColumnStrokeWeight double 列の罫線/次の線幅。Note:次の列数が1以上のときのみ有効
EndRowFillColor string 塗りのスタイル/次の行のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
EndRowFillCount int 塗りのスタイル/次の行数。Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
EndRowFillOverprint boolean trueのとき、塗りのスタイル/次の行のカラーはオーバープリント。Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
EndRowFillTint double 塗りのスタイル/次の行の濃淡(0-100%)Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
EndRowStrokeColor string 行の罫線/次の行のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:次の行数が1以上のときのみ
EndRowStrokeCount int 行の罫線/次の行数
EndRowStrokeGapColor string 行の罫線/次の間隔のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:次の行数が1以上のときのみ
EndRowStrokeGapOverprint boolean trueのとき、行の罫線/次の間隔はオーバープリント。Note:次の行数が1以上のときのみ
EndRowStrokeGapTint double 行の罫線/次の間隔の濃淡(0-100%)。Note:次の行数が1以上のときのみ
EndRowStrokeOverprint boolean trueのとき、行の罫線/次はオーバープリント。Note:次の行数が1以上のときのみ
EndRowStrokeTint double 行の罫線/次の濃淡(0-100%)。Note:次の行数が1以上のときのみ
EndRowStrokeType string 行の罫線/次の種類
EndRowStrokeWeight double 行の罫線/次の線幅。Note:次の行数が1以上のときのみ有効
FooterRegionCellStyle string セルスタイル/フッタ行
FooterRegionSameAsBodyRegion boolean trueのとき、フッタ行のセルスタイルは本文行と同じ
HeaderRegionCellStyle string セルスタイル/ヘッダ行
HeaderRegionSameAsBodyRegion boolean trueのとき、ヘッダ行のセルスタイルは本文行と同じ
KeyboardShortcut
LeftBorderStrokeColor string 左境界線のカラー。スウォッチ(カラー、グラデーション、濃淡または混合インキ)で指定
LeftBorderStrokeGapColor string 左境界線の間隔のカラー。スウォッチ(カラー、グラデーション、濃淡または混合インキ)で指定。Note:LeftBorderStrokeTypeがSolidでないときのみ
LeftBorderStrokeGapOverprint boolean trueのとき、左境界線の間隔はオーバープリント。Note:LeftBorderStrokeTypeがSolidでないときのみ
LeftBorderStrokeGapTint double 左境界線の間隔の濃淡(0-100%)Note:LeftBorderStrokeTypeがSolidでないときのみ
LeftBorderStrokeOverprint boolean trueのとき、左境界線はオーバープリント
LeftBorderStrokeTint double 左境界線の濃淡(0-100%)
LeftBorderStrokeType string 左境界線の種類
LeftBorderStrokeWeight double 左境界線の線幅
LeftColumnRegionCellStyle string セルスタイル/左/上の列
LeftColumnRegionSameAsBodyRegion boolean trueのとき、左/上の列のセルスタイルは本文行と同じ
Name string 表スタイル名
RightBorderStrokeColor string 右境界線のカラー。スウォッチ(カラー、グラデーション、濃淡または混合インキ)で指定
RightBorderStrokeGapColor string 右境界線の間隔のカラー。スウォッチ(カラー、グラデーション、濃淡または混合インキ)で指定。Note:RightBorderStrokeTypeがSolidでないときのみ
RightBorderStrokeGapOverprint boolean trueのとき、右境界線の間隔はオーバープリント。Note:RightBorderStrokeTypeがSolidでないときのみ
RightBorderStrokeGapTint double 右境界線の間隔の濃淡(0-100%)Note:RightBorderStrokeTypeがSolidでないときのみ
RightBorderStrokeOverprint boolean trueのとき、右境界線はオーバープリント
RightBorderStrokeTint double 右境界線の濃淡(0-100%)
RightBorderStrokeType string 右境界線の種類
RightBorderStrokeWeight double 右境界線の線幅
RightColumnRegionCellStyle string セルスタイル/右/下の列
RightColumnRegionSameAsBodyRegion boolean trueのとき、右/下の列のセルスタイルは本文行と同じ
SkipFirstAlternatingFillColumns int 塗りのスタイル/スキップする最初の列数。Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
SkipFirstAlternatingFillRows int 塗りのスタイル/スキップする最初の行数。Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
SkipFirstAlternatingStrokeColumns int 列の罫線/スキップする最初の列数。Note:最初の列数または次の列数が1以上のときのみ
SkipFirstAlternatingStrokeRows int 行の罫線/スキップする最初の行数。Note:最初の行数または次の行数が1以上のときのみ
SkipLastAlternatingFillColumns int 塗りのスタイル/スキップする最後の列数。Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
SkipLastAlternatingFillRows int 塗りのスタイル/スキップする最後の行数。Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
SkipLastAlternatingStrokeColumns int 列の罫線/スキップする最後の列数。Note:最初の列数または次の列数が1以上のときのみ
SkipLastAlternatingStrokeRows int 行の罫線/スキップする最後の行数。Note:最初の行数または次の行数が1以上のときのみ
SpaceAfter double 表の後のアキ
SpaceBefore double 表の前のアキ
StartColumnFillColor string 塗りのスタイル/最初のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
StartColumnFillCount int 塗りのスタイル/最初の行数。Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
StartColumnFillOverprint boolean trueのとき、塗りのスタイル/最初のカラーはオーバープリント。Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
StartColumnFillTint double 塗りのスタイル/最初の濃淡(0-100%)Note:塗りのパターンの繰り返しが列単位に設定されているときのみ
StartColumnStrokeColor string 列の罫線/最初のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)
StartColumnStrokeCount int 列の罫線/最初の列数
StartColumnStrokeGapColor string 列の罫線/最初の間隔のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:最初の列数が1以上のときのみ
StartColumnStrokeGapOverprint boolean trueのとき、列の罫線/最初の間隔はオーバープリント。Note:最初の列数が1以上のときのみ
StartColumnStrokeGapTint double 列の罫線/最初の間隔の濃淡(0-100%)。Note:最初の列数が1以上のときのみ
StartColumnStrokeOverprint boolean trueのとき、列の罫線/最初はオーバープリント。Note:最初の列数が1以上のときのみ
StartColumnStrokeTint double 列の罫線/最初の濃淡(0-100%)。Note:最初の列数が1以上のときのみ
StartColumnStrokeType string 列の罫線/最初の種類
StartColumnStrokeWeight double 列の罫線/最初の線幅。Note:最初の列数が1以上のときのみ
StartRowFillColor string 塗りのスタイル/最初のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
StartRowFillCount int 塗りのスタイル/最初の行数。Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
StartRowFillOverprint boolean trueのとき、塗りのスタイル/最初のカラーはオーバープリント。Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
StartRowFillTint double 塗りのスタイル/最初の濃淡(0-100%)Note:塗りのパターンの繰り返しが行単位に設定されているときのみ
StartRowStrokeColor string 行の罫線/最初のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:最初の行数が1以上のときのみ
StartRowStrokeCount int 行の罫線/最初の行数
StartRowStrokeGapColor string 行の罫線/最初の間隔のカラーのスウォッチ(カラー、グラデーション、濃淡または混合インキ)。Note:最初の行数が1以上のときのみ
StartRowStrokeGapOverprint boolean trueのとき、行の罫線/最初の間隔はオーバープリント。Note:最初の行数が1以上のときのみ
StartRowStrokeGapTint double 行の罫線/最初の間隔の濃淡(0-100%)。Note:最初の行数が1以上のときのみ
StartRowStrokeOverprint boolean trueのとき、行の罫線/最初はオーバープリント。Note:最初の行数が1以上のときのみ
StartRowStrokeTint double 行の罫線/最初の濃淡(0-100%)。Note:最初の行数が1以上のときのみ
StartRowStrokeType string 行の罫線/最初の種類
StartRowStrokeWeight double 行の罫線/最初の線幅。Note:最初の行数が1以上のときのみ
StrokeOrder StrokeOrderTypes_EnumValue 表の設定/罫線のアレンジ。RowOnTop(行の罫線を前面へ)、ColumnOnTop(列の罫線を前面へ)、BestJoins(行と列の結合を最適化)またはInDesign2Compatibility(InDesign 2.0 ベース)
TopBorderStrokeColor string 上境界線のカラー。スウォッチ(カラー、グラデーション、濃淡または混合インキ)で指定
TopBorderStrokeGapColor string 上境界線の間隔のカラー。スウォッチ(カラー、グラデーション、濃淡または混合インキ)で指定。Note:TopBorderStrokeTypeがSolidでないときのみ
TopBorderStrokeGapOverprint boolean trueのとき、上境界線の間隔はオーバープリント。Note:TopBorderStrokeTypeがSolidでないときのみ
TopBorderStrokeGapTint double 上境界線の間隔の濃淡(0-100%)Note:TopBorderStrokeTypeがSolidでないときのみ
TopBorderStrokeOverprint boolean trueのとき、上境界線はオーバープリント
TopBorderStrokeTint double 上境界線の濃淡(0-100%)
TopBorderStrokeType string 上境界線の種類
TopBorderStrokeWeight double 上境界線の線幅
表119 エレメントとしてのTableStyleプロパティ
名前 必須 説明
BasedOn string 基準にする表スタイル。
type = "object"
基準にする表スタイルのユニークなID(<TableStyle>エレメントのSelf属性)
または
type = "string"
デフォルト表スタイル[表スタイルなし]エレメントの参照($ID/[No table style])

10.8.6 セルスタイル

セルスタイルは、セルの余白、段落スタイル、罫線、塗りなどの書式設定が含まれます。セルスタイルグループでまとめることもできます。IDMLパッケージでは、<CellStyle>エレメントは<CellStyleGroup>エレメント内に保存されます。すべての<CellStyle>エレメントと<CellStyleGroup>エレメントは<RootCellStyleGroup>エレメント内に存在します。<CellStyleGroup>エレメントには、<CellStyle>エレメントと<CellStyleGroup>エレメントを含むことができます。

スキーマの例118 CellStyleGroup
  1. CellStyleGroup_Object = element CellStyleGroup{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string },
  4.   element Properties {
  5.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  6.     }?
  7.   }
  8.   ?
  9.   ,
  10. (
  11.   CellStyle_Object*&
  12.   CellStyleGroup_Object*
  13. )
  14. }
スキーマの例119 CellStyle
  1. CellStyle_Object = element CellStyle{ 
  2.   attribute Self { xsd:string },
  3.   attribute AppliedParagraphStyle{  xsd:string }?,
  4.   attribute GradientFillLength{  xsd:double }?,
  5.   attribute GradientFillAngle{  xsd:double }?,
  6.   attribute GradientFillStart{  UnitPointType_TypeDef }?,
  7.   attribute TopInset{  xsd:double }?,
  8.   attribute LeftInset{  xsd:double }?,
  9.   attribute BottomInset{  xsd:double }?,
  10.   attribute RightInset{  xsd:double }?,
  11.   attribute FillColor{  xsd:string }?,
  12.   attribute FillTint{  xsd:double }?,
  13.   attribute OverprintFill{  xsd:boolean }?,
  14.   attribute TopLeftDiagonalLine{  xsd:boolean }?,
  15.   attribute TopRightDiagonalLine{  xsd:boolean }?,
  16.   attribute DiagonalLineInFront{  xsd:boolean }?,
  17.   attribute DiagonalLineStrokeWeight{  xsd:double }?,
  18.   attribute DiagonalLineStrokeType{  xsd:string }?,
  19.   attribute DiagonalLineStrokeColor{  xsd:string }?,
  20.   attribute DiagonalLineStrokeTint{  xsd:double }?,
  21.   attribute DiagonalLineStrokeOverprint{  xsd:boolean }?,
  22.   attribute DiagonalLineStrokeGapColor{  xsd:string }?,
  23.   attribute DiagonalLineStrokeGapTint{  xsd:double }?,
  24.   attribute DiagonalLineStrokeGapOverprint{  xsd:boolean }?,
  25.   attribute ClipContentToCell{  xsd:boolean }?,
  26.   attribute FirstBaselineOffset{  FirstBaseline_EnumValue }?,
  27.   attribute VerticalJustification{  VerticalJustification_EnumValue }?,
  28.   attribute ParagraphSpacingLimit{  xsd:double }?,
  29.   attribute MinimumFirstBaselineOffset{  xsd:double {minInclusive="0" max Inclusive="8640"} }?,
  30.   attribute RotationAngle{  xsd:double }?,
  31.   attribute LeftEdgeStrokeWeight{  xsd:double }?,
  32.   attribute LeftEdgeStrokeType{  xsd:string }?,
  33.   attribute LeftEdgeStrokeColor{  xsd:string }?,
  34.   attribute LeftEdgeStrokeTint{  xsd:double }?,
  35.   attribute LeftEdgeStrokeOverprint{  xsd:boolean }?,
  36.   attribute LeftEdgeStrokeGapColor{  xsd:string }?,
  37.   attribute LeftEdgeStrokeGapTint{  xsd:double }?,
  38.   attribute LeftEdgeStrokeGapOverprint{  xsd:boolean }?,
  39.   attribute TopEdgeStrokeWeight{  xsd:double }?,
  40.   attribute TopEdgeStrokeType{  xsd:string }?,
  41.   attribute TopEdgeStrokeColor{  xsd:string }?,
  42.   attribute TopEdgeStrokeTint{  xsd:double }?,
  43.   attribute TopEdgeStrokeOverprint{  xsd:boolean }?,
  44.   attribute TopEdgeStrokeGapColor{  xsd:string }?,
  45.   attribute TopEdgeStrokeGapTint{  xsd:double }?,
  46.   attribute TopEdgeStrokeGapOverprint{  xsd:boolean }?,
  47.   attribute RightEdgeStrokeWeight{  xsd:double }?,
  48.   attribute RightEdgeStrokeType{  xsd:string }?,
  49.   attribute RightEdgeStrokeColor{  xsd:string }?,
  50.   attribute RightEdgeStrokeTint{  xsd:double }?,
  51.   attribute RightEdgeStrokeOverprint{  xsd:boolean }?,
  52.   attribute RightEdgeStrokeGapColor{  xsd:string }?,
  53.   attribute RightEdgeStrokeGapTint{  xsd:double }?,
  54.   attribute RightEdgeStrokeGapOverprint{  xsd:boolean }?,
  55.   attribute BottomEdgeStrokeWeight{  xsd:double }?,
  56.   attribute BottomEdgeStrokeType{  xsd:string }?,
  57.   attribute BottomEdgeStrokeColor{  xsd:string }?,
  58.   attribute BottomEdgeStrokeTint{  xsd:double }?,
  59.   attribute BottomEdgeStrokeOverprint{  xsd:boolean }?,
  60.   attribute BottomEdgeStrokeGapColor{  xsd:string }?,
  61.   attribute BottomEdgeStrokeGapTint{  xsd:double }?,
  62.   attribute BottomEdgeStrokeGapOverprint{  xsd:boolean }?,
  63.   attribute KeyboardShortcut{  list { xsd:short ,xsd:short } }?,
  64.   attribute RotationRunsAgainstStory{  xsd:boolean }?,
  65.   attribute Name { xsd:string },
  66.   element Properties {
  67.     element BasedOn{ 
  68.       (object_type, xsd:string ) |
  69.       (string_type, xsd:string )
  70.     }?&
  71.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  72.     }?
  73.   }
  74.   ?
  75. }

ほとんどのCellStyleプロパティは、Cellプロパティと共有されています。「10.4.11 インラインエレメント」の「セル」を参照してください。

表120 エレメントとしてのCellStyleプロパティ
名前 必須 説明
BasedOn string 基準にするセルスタイル。ユニークなID(<CellStyle>エレメントのSelf属性)か、デフォルトの[なし]の参照($ID/[No cell style])

10.8.7 オブジェクトスタイル

段落スタイルや文字スタイルを使用して簡単にテキストを書式設定するように、オブジェクトスタイルを使用してグラフィックやフレームを簡単に書式設定できます。オブジェクトスタイルには、線、カラー、透明度、ドロップシャドウ、段落スタイル、テキストの回り込みなどの設定が含まれます。オブジェクト、塗り、線、およびテキストに対してさまざまな透明効果を割り当てることができます。ページオブジェクトは、ローカルで設定するのではなくオブジェクトスタイルを使うようにしてください。

オブジェクトスタイルは、オブジェクト、グループおよびフレーム(テキストフレームを含む)に適用できます。スタイルを使用すると、すべてのオブジェクト設定を消去して置換することも、その他の設定を変更せずに特定の設定のみを置換することもできます。定義内に設定カテゴリーを含めるか、または除外することで、スタイルが影響を及ぼす設定を制御できます。

InDesignドキュメントでのオブジェクトスタイルは、オブジェクトスタイルグループにまとめることができます。

InDesignドキュメントには、デフォルトのオブジェクトスタイルがあります。

  • [なし]
  • [基本グラフィックフレーム]
  • [基本テキストフレーム]
  • [基本グリッド]

[なし]以外のデフォルトオブジェクトスタイルは編集可なので、これらをオブジェクトの書式として使用するならば、IDMLで定義することができます。[なし]には書式が何もありません。このオブジェクトスタイルは、ページオブジェクトにローカルの書式を設定するときに使用します。

デフォルトオブジェクトスタイルについては、InDesignのドキュメントを参照してください。

IDMLパッケージでは、Styles.xmlドキュメントに<RootObjectStyleGroup>エレメントがあり、その中に<ObjectStyle>エレメントと<ObjectStyleGroup>エレメントがあります。<ObjectStyleGroup>エレメントの中に他の<ObjectStyleGroup>エレメントを入れることもできます。

スキーマの例120 ObjectStyleGroup
  1. ObjectStyleGroup_Object = element ObjectStyleGroup{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string },
  4.   element Properties {
  5.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  6.     }?
  7.   }
  8.   ?
  9.   ,
  10. (
  11.   ObjectStyle_Object*&
  12.   ObjectStyleGroup_Object*
  13. )
  14. }
スキーマの例121 ObjectStyle
  1. ObjectStyle_Object = element ObjectStyle{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string },
  4.   attribute AppliedParagraphStyle{  xsd:string }?,
  5.   attribute ApplyNextParagraphStyle{  xsd:boolean }?,
  6.   attribute EnableFill{  xsd:boolean }?,
  7.   attribute EnableStroke{  xsd:boolean }?,
  8.   attribute EnableParagraphStyle{  xsd:boolean }?,
  9.   attribute EnableTextFrameGeneralOptions{  xsd:boolean }?,
  10.   attribute EnableTextFrameBaselineOptions{  xsd:boolean }?,
  11.   attribute EnableStoryOptions{  xsd:boolean }?,
  12.   attribute EnableTextWrapAndOthers{  xsd:boolean }?,
  13.   attribute EnableAnchoredObjectOptions{  xsd:boolean }?,
  14.   attribute FillColor{  xsd:string }?,
  15.   attribute FillTint{  xsd:double }?,
  16.   attribute OverprintFill{  xsd:boolean }?,
  17.   attribute StrokeWeight{  xsd:double }?,
  18.   attribute MiterLimit{  xsd:double {minInclusive="1" maxInclusive="500"} }?,
  19.   attribute EndCap{  EndCap_EnumValue }?,
  20.   attribute EndJoin{  EndJoin_EnumValue }?,
  21.   attribute StrokeType{  xsd:string }?,
  22.   attribute StrokeCornerAdjustment{  StrokeCornerAdjustment_EnumValue }?,
  23.   attribute StrokeDashAndGap{  list { xsd:double * } }?,
  24.   attribute LeftLineEnd{  ArrowHead_EnumValue }?,
  25.   attribute RightLineEnd{  ArrowHead_EnumValue }?,
  26.   attribute StrokeColor{  xsd:string }?,
  27.   attribute StrokeTint{  xsd:double }?,
  28.   attribute CornerRadius{  xsd:double }?,
  29.   attribute OverprintStroke{  xsd:boolean }?,
  30.   attribute GapColor{  xsd:string }?,
  31.   attribute GapTint{  xsd:double }?,
  32.   attribute OverprintGap{  xsd:boolean }?,
  33.   attribute StrokeAlignment{  StrokeAlignment_EnumValue }?,
  34.   attribute Nonprinting { xsd:boolean }?,
  35.   attribute GradientFillAngle{  xsd:double }?,
  36.   attribute GradientStrokeAngle{  xsd:double }?,
  37.   attribute AppliedNamedGrid{  xsd:string }?,
  38.   attribute KeyboardShortcut{  list { xsd:short ,xsd:short } }?,
  39.   attribute EnableFrameFittingOptions{  xsd:boolean }?,
  40.   attribute CornerOption{  CornerOptions_EnumValue }?,
  41.   attribute EnableStrokeAndCornerOptions{  xsd:boolean }?,
  42.   element Properties {
  43.     element BasedOn{ 
  44.       (object_type, xsd:string ) |
  45.       (string_type, xsd:string )
  46.     }?&
  47.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  48.     }?
  49.   }
  50.   ?
  51.   ,
  52. (
  53.   TextFramePreference_Object?&
  54.   BaselineFrameGridOption_Object?&
  55.   AnchoredObjectSetting_Object?&
  56.   TextWrapPreference_Object?&
  57.   StoryPreference_Object?&
  58.   FrameFittingOption_Object?&
  59.   TransparencySetting_Object?&
  60.   StrokeTransparencySetting_Object?&
  61.   FillTransparencySetting_Object?&
  62.   ContentTransparencySetting_Object?&
  63.   ObjectStyleObjectEffectsCategorySettings_Object?&
  64.   ObjectStyleStrokeEffectsCategorySettings_Object?&
  65.   ObjectStyleFillEffectsCategorySettings_Object?&
  66.   ObjectStyleContentEffectsCategorySettings_Object?
  67. )
  68. }

オブジェクトスタイルのほとんどの属性とエレメントは、他のエレメントと共有されています。下記のエレメントについては、「10.3 スプレッドとマスタースプレッド」の対応するセクションを参照してください。

  • <TextFramePreference>エレメント
  • <BaselineFrameGridOption>エレメント
  • <TextWrapPreference>エレメント
  • <FrameFittingOption>エレメント
  • <TransparencySetting>エレメント
  • <StrokeTransparencySetting>エレメント
  • <ContentTransparencySetting>エレメント

下記のエレメントについては、「10.4 ストーリー」を参照してください。

  • <AnchoredObjectSetting>エレメント
  • <StoryPreference>エレメント

<ObjectStyleObjectEffectsCategorySettings>エレメント、<ObjectStyleStrokeEffectsCategorySettings>エレメント、<ObjectStyleFillEffectsCategorySettings>エレメントおよび<ObjectStyleContentEffectsCategorySettings>エレメントは、<ObjectStyle>エレメント特有のものです。これらのエレメントには<ObjectStyle>のセクションの有効(true)無効(false)を設定する属性があります。例えば、オブジェクトスタイルのドロップシャドウの設定を、ページオブジェクトの塗りに適用させないようにするには、<ObjectStyleStrokeEffectsCategorySettings>エレメントのEnableDropShadow属性をfalseに設定します。

スキーマの例122 ObjectStyleObjectEffectsCategorySettings
  1. ObjectStyleObjectEffectsCategorySettings_Object = element ObjectStyleObjectEffectsCategorySettings{ 
  2.   attribute Self { xsd:string },
  3.   attribute EnableTransparency{  xsd:boolean }?,
  4.   attribute EnableDropShadow{  xsd:boolean }?,
  5.   attribute EnableFeather{  xsd:boolean }?,
  6.   attribute EnableInnerShadow{  xsd:boolean }?,
  7.   attribute EnableOuterGlow{  xsd:boolean }?,
  8.   attribute EnableInnerGlow{  xsd:boolean }?,
  9.   attribute EnableBevelEmboss{  xsd:boolean }?,
  10.   attribute EnableSatin{  xsd:boolean }?,
  11.   attribute EnableDirectionalFeather{  xsd:boolean }?,
  12.   attribute EnableGradientFeather{  xsd:boolean }?
  13. }
スキーマの例123 ObjectStyleStrokeEffectsCategorySettings
  1. ObjectStyleStrokeEffectsCategorySettings_Object = element ObjectStyleStrokeEffectsCategorySettings{ 
  2.   attribute Self { xsd:string },
  3.   attribute EnableTransparency{  xsd:boolean }?,
  4.   attribute EnableDropShadow{  xsd:boolean }?,
  5.   attribute EnableFeather{  xsd:boolean }?,
  6.   attribute EnableInnerShadow{  xsd:boolean }?,
  7.   attribute EnableOuterGlow{  xsd:boolean }?,
  8.   attribute EnableInnerGlow{  xsd:boolean }?,
  9.   attribute EnableBevelEmboss{  xsd:boolean }?,
  10.   attribute EnableSatin{  xsd:boolean }?,
  11.   attribute EnableDirectionalFeather{  xsd:boolean }?,
  12.   attribute EnableGradientFeather{  xsd:boolean }?
  13. }
スキーマの例124 ObjectStyleFillEffectsCategorySettings
  1. ObjectStyleFillEffectsCategorySettings_Object = element ObjectStyleFillEffectsCategorySettings{ 
  2.   attribute Self { xsd:string },
  3.   attribute EnableTransparency{  xsd:boolean }?,
  4.   attribute EnableDropShadow{  xsd:boolean }?,
  5.   attribute EnableFeather{  xsd:boolean }?,
  6.   attribute EnableInnerShadow{  xsd:boolean }?,
  7.   attribute EnableOuterGlow{  xsd:boolean }?,
  8.   attribute EnableInnerGlow{  xsd:boolean }?,
  9.   attribute EnableBevelEmboss{  xsd:boolean }?,
  10.   attribute EnableSatin{  xsd:boolean }?,
  11.   attribute EnableDirectionalFeather{  xsd:boolean }?,
  12.   attribute EnableGradientFeather{  xsd:boolean }?
  13. }
スキーマの例125 ObjectStyleContentEffectsCategorySettings
  1. ObjectStyleContentEffectsCategorySettings_Object = element ObjectStyleContentEffectsCategorySettings{ 
  2.   attribute Self { xsd:string },
  3.   attribute EnableTransparency{  xsd:boolean }?,
  4.   attribute EnableDropShadow{  xsd:boolean }?,
  5.   attribute EnableFeather{  xsd:boolean }?,
  6.   attribute EnableInnerShadow{  xsd:boolean }?,
  7.   attribute EnableOuterGlow{  xsd:boolean }?,
  8.   attribute EnableInnerGlow{  xsd:boolean }?,
  9.   attribute EnableBevelEmboss{  xsd:boolean }?,
  10.   attribute EnableSatin{  xsd:boolean }?,
  11.   attribute EnableDirectionalFeather{  xsd:boolean }?,
  12.   attribute EnableGradientFeather{  xsd:boolean }?
  13. }

文字スタイルと同じように、オブジェクトスタイルはオブジェクトの書式をすべて設定する必要はありません。ページオブジェクトの塗りカラーはそのままでドロップシャドウだけを適用するオブジェクトスタイルを作れます。下記に例を示します。このオブジェクトスタイルと、基本になっているオブジェクトスタイルとの唯一の違いは、<TransparencySetting>エレメントのMode属性がDrop(ドロップシャドウ効果を適用する)に設定されていることです。<TransparencySetting>エレメントの属性については、「透明(Transparency)」を参照してください。

IDMLの例82 ObjectStyle
  1. <ObjectStyle Self="ObjectStyle\ DropShadow" Name="DropShadow">
  2.   <Properties>
  3.     <BasedOn type="object">ObjectStyle\[ Normal Graphics Frame]</BasedOn>
  4.   </Properties>
  5.   <TransparencySetting Self="ud4TransparencySetting1">
  6.     <DropShadowSetting Self="ud4TransparencySetting1DropShadowSetting1" Mode="Drop"/>
  7.   </TransparencySetting>
  8. </ObjectStyle>
図57 オブジェクトスタイル

Image:Fig057a.png

Image:Fig057b.png

10.8.8 目次スタイル

目次(TOC)は、InDesignドキュメントのコンテンツのリストです。ドキュメントには、複数の目次を設定できます。例えば、章の目次と図の目次です。目次スタイルで、目次の生成方法と書式設定を行います。

IDMLドキュメントでは、<TOCStyle>エレメントにTOCのプロパティを定義する属性があります。<TOCStyle>エレメント内の<TOCStyleElement>エレメントが、目次として抽出する段落と各段落の書式を定義します。

スキーマの例126 TOCStyle
  1. TOCStyle_Object = element TOCStyle {
  2.   attribute Self { xsd:string },
  3.   attribute TitleStyle{  xsd:string }?,
  4.   attribute Title { xsd:string }?,
  5.   attribute Name { xsd:string },
  6.   attribute RunIn{  xsd:boolean }?,
  7.   attribute IncludeHidden{  xsd:boolean }?,
  8.   attribute IncludeBookDocuments{  xsd:boolean }?,
  9.   attribute CreateBookmarks{  xsd:boolean }?,
  10.   attribute SetStoryDirection{  HorizontalOrVertical_EnumValue }?,
  11.   attribute NumberedParagraphs{  NumberedParagraphsOptions_EnumValue }?,
  12.   element Properties {
  13.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  14.     }?
  15.   }
  16.   ?
  17.   ,
  18. (
  19.   TOCStyleEntry_Object*
  20. )
  21. }
スキーマの例127 TOCStyleEntry
  1. TOCStyleEntry_Object = element TOCStyleEntry{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string }?,
  4.   attribute Level { xsd:short }?,
  5.   attribute PageNumberPosition{  PageNumberPosition_EnumValue }?,
  6.   attribute Separator { xsd:string }?,
  7.   attribute SortAlphabet{  xsd:boolean }?,
  8.   element Properties {
  9.     element FormatStyle{ 
  10.       (object_type, xsd:string ) |
  11.       (string_type, xsd:string )
  12.     }?&
  13.     element PageNumberStyle{ 
  14.       (object_type, xsd:string ) |
  15.       (string_type, xsd:string )
  16.     }?&
  17.     element SeparatorStyle{ 
  18.       (object_type, xsd:string ) |
  19.       (string_type, xsd:string )
  20.     }?
  21.   }
  22.   ?
  23. }
表121 属性としてのTOCStyleプロパティ
名前 必須 説明
CreateBookmarks boolean trueのとき、PDFブックマークを作成
IncludeBookDocuments boolean trueのとき、ブックのドキュメントを含む。falseのとき、現在のドキュメントのみ。Note:現在のドキュメントがブックに登録されているときのみ
IncludeHidden boolean trueのとき、非表示レイヤーのテキストを含む(次回生成時に適用され、現在の目次は変更されない)
Name string TOCStyleの名前
NumberedParagraphs NumberedParagraphsOptions_EnumValue 段落の自動番号。IncludeFullParagraph、IncludeNumbersOnlyまたはExcludeNumbers
RunIn boolean trueのとき、1行にまとめる
SetStoryDirection HorizontalOrVertical_EnumValue フレームの方向。LeftToRightDirectionまたはRightToLeftDirection
Title string タイトル
TitleStyle string タイトルの段落スタイル
表122 属性としてのTOCStyleEntryプロパティ
名前 必須 説明
Level short レベル
Name string TOCStyleEntryの名前
PageNumberPosition PageNumberPosition_EnumValue ページ番号。AfterEntry、BeforeEntryまたはNone
Self string オブジェクトのユニークID
Separator string 項目と番号間
SortAlphabet boolean trueのとき、項目をアルファベット・50音順に並べる
表123 エレメントとしてのTOCStyleEntryプロパティ
名前 必須 説明
FormatStyle string 目次項目に割り当てる段落スタイル。
type = "object"
参照する段落スタイルのユニークID(<ParagraphStyle>エレメントのSelf属性)
または
type = "string"
デフォルト段落スタイル[段落スタイルなし]エレメントの参照($ID/[No paragraph style])
PageNumberStyle string ページ番号に割り当てる文字スタイル。
type = "object"
参照する文字スタイルのユニークID(<CharacterStyle>エレメントのSelf属性)
または
type = "string"
デフォルト文字スタイル[なし]エレメントの参照($ID/[No character style])
SeparatorStyle string 項目と番号間に割り当てる文字スタイル。
type = "object"
参照する文字スタイルのユニークID(<CharacterStyle>エレメントのSelf属性)
または
type = "string"
デフォルト文字スタイル[なし]エレメントの参照($ID/[No character style])
IDMLの例83 TOCStyle
  1. <TOCStyle Self="TOCStyle\kDefaultTOCStyleName" TitleStyle=" ParagraphStyle\ k[No paragraph style]" Title="Contents" Name="$ID/DefaultTOCStyleName" RunIn=" false" IncludeHidden=" false" IncludeBookDocuments=" false" CreateBookmarks=" true" SetStoryDirection=" Horizontal" NumberedParagraphs=" IncludeFullParagraph"/>
  2. <TOCStyle Self="TOCStyle\cExampleTOCStyle" TitleStyle=" ParagraphStyle\ cContentsTitle" Title="Contents" Name="ExampleTOCStyle" RunIn=" false" IncludeHidden=" false" IncludeBookDocuments=" false" CreateBookmarks=" true" NumberedParagraphs=" IncludeFullParagraph">
  3.   <TOCStyleEntry Self="ue4TOCStyleEntry0" Name="Headings:Heading1" Level="1" PageNumberPosition=" AfterEntry" Separator="$ID/^t" SortAlphabet=" false">
  4.     <Properties>
  5.       <FormatStyle type="object">ParagraphStyle\ TOCHeading1</FormatStyle>
  6.       <PageNumberStyle type="object">CharacterStyle\ PageNumber</ PageNumberStyle>
  7.       <SeparatorStyle type="object">CharacterStyle\ DotLeader</ SeparatorStyle>
  8.     </Properties>
  9.   </TOCStyleEntry>
  10.   <TOCStyleEntry Self="ue4TOCStyleEntry1" Name="Headings:Heading2" Level="2" PageNumberPosition=" AfterEntry" Separator="$ID/^t" SortAlphabet=" false">
  11.     <Properties>
  12.       <FormatStyle type="object">ParagraphStyle\ TOCHeading2</FormatStyle>
  13.       <PageNumberStyle type="object">CharacterStyle\ PageNumber</ PageNumberStyle>
  14.       <SeparatorStyle type="object">CharacterStyle\ DotLeader</ SeparatorStyle>
  15.     </Properties>
  16.   </TOCStyleEntry>
  17.   <TOCStyleEntry Self="ue4TOCStyleEntry2" Name="Headings:Heading3" Level="3" PageNumberPosition=" AfterEntry" Separator="$ID/^t" SortAlphabet=" false">
  18.     <Properties>
  19.       <FormatStyle type="object">ParagraphStyle\ TOCHeading3</FormatStyle>
  20.       <PageNumberStyle type="object">CharacterStyle\ PageNumber</ PageNumberStyle>
  21.       <SeparatorStyle type="object">CharacterStyle\ DotLeader</ SeparatorStyle>
  22.     </Properties>
  23.   </TOCStyleEntry>
  24. </TOCStyle>
図58 目次スタイル

Image:Fig058.png

10.8.9 トラッププリセット

トラッププリセットは、ドキュメントのページまたはページ範囲に適用するトラップ設定の組み合わせです。トラッププリセットはドキュメント全体、ページ範囲またはページ単位で適用することができます。トラッププリセットが適用されていないと、InDesignはトラッププリセット[デフォルト]を使用します。

IDMLパッケージでのトラッププリセットは、<TrapPreset>エレメントにあります。

スキーマの例128 TrapPreset
  1. TrapPreset_Object = element TrapPreset{ 
  2.   attribute Self { xsd:string },
  3.   attribute Name { xsd:string },
  4.   attribute DefaultTrapWidth{  xsd:double {minInclusive="0" maxInclusive="8"} }?,
  5.   attribute BlackWidth{  xsd:double {minInclusive="0" maxInclusive="8"} }?,
  6.   attribute TrapJoin{  EndJoin_EnumValue }?,
  7.   attribute TrapEnd{  TrapEndTypes_EnumValue }?,
  8.   attribute ObjectsToImages{  xsd:boolean }?,
  9.   attribute ImagesToImages{  xsd:boolean }?,
  10.   attribute InternalImages{  xsd:boolean }?,
  11.   attribute OneBitImages{  xsd:boolean }?,
  12.   attribute ImagePlacement{  TrapImagePlacementTypes_EnumValue }?,
  13.   attribute StepThreshold{  xsd:double {minInclusive="1" maxInclusive="100"} }?,
  14.   attribute BlackColorThreshold{  xsd:double {minInclusive="0" maxInclusive="100"} }?,
  15.   attribute BlackDensity{  xsd:double {minInclusive="0" maxInclusive="10"} }?,
  16.   attribute SlidingTrapThreshold{  xsd:double {minInclusive="0" maxInclusive="100"} }?,
  17.   attribute ColorReduction{  xsd:double {minInclusive="0" maxInclusive="100"} }?,
  18.   element Properties {
  19.     element Label { element KeyValuePair{  KeyValuePair_TypeDef }*
  20.     }?
  21.   }
  22.   ?
  23. }
IDMLの例84 TrapPreset
  1. <TrapPreset Self="TrapPreset\ ExampleTrapPreset" Name="ExampleTrapPreset" DefaultTrapWidth=" 0.25" BlackWidth=" 0.5" TrapJoin=" MiterEndJoin" TrapEnd=" MiterTrapEnds" ObjectsToImages=" true" ImagesToImages=" true" InternalImages=" false" OneBitImages=" true" ImagePlacement=" CenterEdges" StepThreshold=" 10" BlackColorThreshold=" 100" BlackDensity=" 1.6" SlidingTrapThreshold=" 70" ColorReduction=" 100"/>
表124 属性としてのTrapPresetプロパティ
名前 必須 説明
BlackColorThreshold double トラップのしきい値/ブラックカラーリミット(0-100%)
BlackDensity double トラップのしきい値/ブラック濃度リミット(0.001-10)
BlackWidth double トラップの幅/対ブラック(0.0-8.0)
ColorReduction double トラップのしきい値/トラップ減色(0-100%)Note:値を0%にすると、トラップのND値は暗いカラーのND値と同じになる
DefaultTrapWidth double トラップの幅/デフォルト(0.0-8.0)
ImagePlacement TrapImagePlacementTypes_EnumValue 画像/トラップ配置。CenterEdges、Choke、ImageNeutralDensityまたはImagesOverSpread
ImagesToImages boolean trueのとき、画像間でトラップ
InternalImages boolean trueのとき、内側の画像をトラップ
Name string トラッププリセット名
ObjectsToImages boolean trueのとき、オブジェクトを画像にトラップ
OneBitImages boolean trueのとき、1-ビット画像をトラップ
SlidingTrapThreshold double トラップのしきい値/トラップ限界のスライド(0-100%)
StepThreshold double トラップのしきい値/色差(1-100%)
TrapEnd TrapEndTypes_EnumValue トラップの外観/端のスタイル。MiterTrapEndsまたはOverlapTrapEnds
TrapJoin EndJoin_EnumValue トラップの外観/結合スタイル。MiterEndJoin、RoundEndJoinまたはBevelEndJoin
Personal tools