Translation5:Cell Styles

From IDMLWiki

Jump to: navigation, search

10.8.6 セルスタイル

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

スキーマの例151 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. }
スキーマの例152 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 インラインエレメント」の「セル」を参照してください。

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