Round trip table properties

Read-write rules handle the roundtripping of table formatting properties. 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

FP_CellAngle

cell angle

rotate

Integer

FP_CellOverrideFill

fill override

NA

Integer corresponding to FDK values

FP_CellUseOverrideFill

use fill override

NA

0 = False

Nonzero value = True

FP_CellOverrideShading

shading override

NA

Tag of FO_Color

FP_CellUseOverrideShading

shading override

NA

0 = False

Nonzero value = True

FP_CellOverrideBottomRuling

bottom ruling override

NA

Tag of FO_RulingFmt

FP_CellUseOverrideBRuling

bottom ruling override

NA

0 = False

Nonzero value = True

FP_CellOverrideLeftRuling

left ruling override

NA

Tag of FO_RulingFmt

FP_CellUseOverrideLRuling

left ruling override

NA

0 = False

Nonzero value = True

FP_CellOverrideRightRuling

right ruling override

NA

Tag of FO_RulingFmt

FP_CellUseOverrideRRuling

right ruling override

NA

0 = False

Nonzero value = True

FP_CellOverrideTopRuling

top ruling override

NA

Tag of FO_RulingFmt

FP_CellUseOverrideTRuling

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

FP_RowKeepWithNext

keep with next

NA

0 = False

Nonzero value = True

FP_RowKeepWithPrev

keep with next

NA

0 = False

Nonzero value = True

FP_RowStart

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;
}


September 30, 2016

Legal Notices | Online Privacy Policy