Understand XML roundtripping for table properties in Adobe FrameMaker.
Read-write rules handle the roundtripping of table formatting properties. The new R/W rule mapping for the table cell properties is as follows:
Property |
Non-CALS R/W Rule |
CALS R/W Rule |
Attribute Value |
---|---|---|---|
|
cell angle |
rotate |
Integer |
|
fill override |
NA |
Integer corresponding to FDK values |
|
use fill override |
NA |
0 = False Nonzero value = True |
|
shading override |
NA |
Tag of |
|
shading override |
NA |
0 = False Nonzero value = True |
|
bottom ruling override |
NA |
Tag of |
|
bottom ruling override |
NA |
0 = False Nonzero value = True |
|
left ruling override |
NA |
Tag of |
|
left ruling override |
NA |
0 = False Nonzero value = True |
|
right ruling override |
NA |
Tag of |
|
right ruling override |
NA |
0 = False Nonzero value = True |
|
top ruling override |
NA |
Tag of |
|
top ruling override |
NA |
0 = False Nonzero value = True |
The read-write rule mapping for the table row properties is as follows:
Property |
Non-CALS R/W Rule |
CALS R/W Rule |
Attribute Value |
---|---|---|---|
|
keep with next |
NA |
0 = False Nonzero value = True |
|
keep with next |
NA |
0 = False Nonzero value = True |
|
row placement |
NA |
Integer corresponding to FDK values |
In the following example, the prop5 attribute controls the bottom ruling of the table.
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;
}
In the following example, the att1, att2, att3, and att4 attributes control the shading properties of the table cell:
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;
}