Translation:Table Styles

From IDMLWiki

Jump to: navigation, search

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])
Personal tools