Translation5:Cell Styles
From IDMLWiki
10.8.6 セルスタイル
セルスタイルは、セルの余白、段落スタイル、罫線、塗りなどの書式設定が含まれます。セルスタイルグループでまとめることもできます。IDMLパッケージでは、<CellStyle>エレメントは<CellStyleGroup>エレメント内に保存されます。すべての<CellStyle>エレメントと<CellStyleGroup>エレメントは<RootCellStyleGroup>エレメント内に存在します。<CellStyleGroup>エレメントには、<CellStyle>エレメントと<CellStyleGroup>エレメントを含むことができます。
スキーマの例151 CellStyleGroup
CellStyleGroup_Object = element CellStyleGroup{
attribute Self { xsd:string },
attribute Name { xsd:string },
element Properties {element Label { element KeyValuePair{ KeyValuePair_TypeDef }*
}?
}?,(CellStyle_Object*&CellStyleGroup_Object*)}
スキーマの例152 CellStyle
CellStyle_Object = element CellStyle{
attribute Self { xsd:string },
attribute AppliedParagraphStyle{ xsd:string }?,
attribute GradientFillLength{ xsd:double }?,
attribute GradientFillAngle{ xsd:double }?,
attribute GradientFillStart{ UnitPointType_TypeDef }?,
attribute TopInset{ xsd:double }?,
attribute LeftInset{ xsd:double }?,
attribute BottomInset{ xsd:double }?,
attribute RightInset{ xsd:double }?,
attribute FillColor{ xsd:string }?,
attribute FillTint{ xsd:double }?,
attribute OverprintFill{ xsd:boolean }?,
attribute TopLeftDiagonalLine{ xsd:boolean }?,
attribute TopRightDiagonalLine{ xsd:boolean }?,
attribute DiagonalLineInFront{ xsd:boolean }?,
attribute DiagonalLineStrokeWeight{ xsd:double }?,
attribute DiagonalLineStrokeType{ xsd:string }?,
attribute DiagonalLineStrokeColor{ xsd:string }?,
attribute DiagonalLineStrokeTint{ xsd:double }?,
attribute DiagonalLineStrokeOverprint{ xsd:boolean }?,
attribute DiagonalLineStrokeGapColor{ xsd:string }?,
attribute DiagonalLineStrokeGapTint{ xsd:double }?,
attribute DiagonalLineStrokeGapOverprint{ xsd:boolean }?,
attribute ClipContentToCell{ xsd:boolean }?,
attribute FirstBaselineOffset{ FirstBaseline_EnumValue }?,
attribute VerticalJustification{ VerticalJustification_EnumValue }?,
attribute ParagraphSpacingLimit{ xsd:double }?,
attribute MinimumFirstBaselineOffset{ xsd:double {minInclusive="0" max Inclusive="8640"} }?,
attribute RotationAngle{ xsd:double }?,
attribute LeftEdgeStrokeWeight{ xsd:double }?,
attribute LeftEdgeStrokeType{ xsd:string }?,
attribute LeftEdgeStrokeColor{ xsd:string }?,
attribute LeftEdgeStrokeTint{ xsd:double }?,
attribute LeftEdgeStrokeOverprint{ xsd:boolean }?,
attribute LeftEdgeStrokeGapColor{ xsd:string }?,
attribute LeftEdgeStrokeGapTint{ xsd:double }?,
attribute LeftEdgeStrokeGapOverprint{ xsd:boolean }?,
attribute TopEdgeStrokeWeight{ xsd:double }?,
attribute TopEdgeStrokeType{ xsd:string }?,
attribute TopEdgeStrokeColor{ xsd:string }?,
attribute TopEdgeStrokeTint{ xsd:double }?,
attribute TopEdgeStrokeOverprint{ xsd:boolean }?,
attribute TopEdgeStrokeGapColor{ xsd:string }?,
attribute TopEdgeStrokeGapTint{ xsd:double }?,
attribute TopEdgeStrokeGapOverprint{ xsd:boolean }?,
attribute RightEdgeStrokeWeight{ xsd:double }?,
attribute RightEdgeStrokeType{ xsd:string }?,
attribute RightEdgeStrokeColor{ xsd:string }?,
attribute RightEdgeStrokeTint{ xsd:double }?,
attribute RightEdgeStrokeOverprint{ xsd:boolean }?,
attribute RightEdgeStrokeGapColor{ xsd:string }?,
attribute RightEdgeStrokeGapTint{ xsd:double }?,
attribute RightEdgeStrokeGapOverprint{ xsd:boolean }?,
attribute BottomEdgeStrokeWeight{ xsd:double }?,
attribute BottomEdgeStrokeType{ xsd:string }?,
attribute BottomEdgeStrokeColor{ xsd:string }?,
attribute BottomEdgeStrokeTint{ xsd:double }?,
attribute BottomEdgeStrokeOverprint{ xsd:boolean }?,
attribute BottomEdgeStrokeGapColor{ xsd:string }?,
attribute BottomEdgeStrokeGapTint{ xsd:double }?,
attribute BottomEdgeStrokeGapOverprint{ xsd:boolean }?,
attribute KeyboardShortcut{ list { xsd:short ,xsd:short } }?,
attribute RotationRunsAgainstStory{ xsd:boolean }?,
attribute Name { xsd:string },
element Properties {element BasedOn{(object_type, xsd:string ) |
(string_type, xsd:string )
}?&
element Label { element KeyValuePair{ KeyValuePair_TypeDef }*
}?
}?}
ほとんどのCellStyleプロパティは、Cellプロパティと共有されています。「10.4.11 インラインエレメント」の「セル」を参照してください。
| 名前 | 値 | 必須 | 説明 |
|---|---|---|---|
| BasedOn | string | 基準にするセルスタイル。ユニークなID(<CellStyle>エレメントのSelf属性)か、デフォルトの[なし]の参照($ID/[No cell style]) |
