表属性のラウンドトリップ

Adobe FrameMaker に含まれる表属性の XML ラウンドトリップについて説明します。

読み書きルールは表の書式設定属性のラウンドトリップを扱います。 表のセル属性における新しい読み書きルールのマッピングは次の通りです。

プロパティ

非 CALS 読み書きルール

CALS 読み書きルール

属性値

FP_CellAngle

セル角度

rotate

Integer

FP_CellOverrideFill

塗りの上書き

NA

Integer corresponding to FDK values

FP_CellUseOverrideFill

塗りの上書きを使用

NA

0 = False

Nonzero value = True

FP_CellOverrideShading

陰影の上書き

NA

FO_Color のタグ

FP_CellUseOverrideShading

陰影の上書き

NA

0 = False

Nonzero value = True

FP_CellOverrideBottomRuling

下罫線の上書き

NA

FO_RulingFmt のタグ

FP_CellUseOverrideBRuling

下罫線の上書き

NA

0 = False

Nonzero value = True

FP_CellOverrideLeftRuling

左罫線の上書き

NA

FO_RulingFmt のタグ

FP_CellUseOverrideLRuling

左罫線の上書き

NA

0 = False

Nonzero value = True

FP_CellOverrideRightRuling

右罫線の上書き

NA

FO_RulingFmt のタグ

FP_CellUseOverrideRRuling

右罫線の上書き

NA

0 = False

Nonzero value = True

FP_CellOverrideTopRuling

上罫線の上書き

NA

FO_RulingFmt のタグ

FP_CellUseOverrideTRuling

上罫線の上書き

NA

0 = False

Nonzero value = True

表の行のプロパティの読み書きルールのマッピングは次の通りです。

プロパティ

非 CALS 読み書きルール

CALS 読み書きルール

属性値

FP_RowKeepWithNext

次と連動

NA

0 = False

Nonzero value = True

FP_RowKeepWithPrev

次と連動

NA

0 = False

Nonzero value = True

FP_RowStart

行の配置

NA

Integer corresponding to FDK values

次の例では、prop5 属性が表の下罫線を制御します。

element "tablecell"
{
   is fm table cell element;
   attribute "prop1" is fm property right ruling override;
   attribute "prop2" is fm property use right ruling override;
   attribute "prop3" is fm property top ruling override;
   attribute "prop4" is fm property use top ruling override;
   attribute "prop5" is fm property bottom ruling override;
   attribute "prop6" is fm property use bottom ruling override;
   attribute "prop7" is fm property left ruling override;
   attribute "prop8" is fm property use left ruling override;
   attribute "prop9" is fm property cell angle;
}

次の例では、att1、att2、att3、att4 属性が表セルの塗り属性を制御します。

element "tablecell2"
{
   is fm table cell element;
   attribute "att1" is fm property shading override;
   attribute "att2" is fm property use shading override;
   attribute "att3" is fm property bottom ruling override;
   attribute "att4" is fm property use bottom ruling override; 
   attribute "att5" is fm property fill override;
   attribute "att6" is fm property use fill override;
}