2.9.45 CSSA

The CSSA structure specifies a cell spacing SPRM argument used by many Table SPRMs to define table cell margins and cell spacing.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

itc

grfbrc

ftsWidth

wWidth

itc (2 bytes): An ItcFirstLim that specifies which cells this CSSA structure applies to.

grfbrc (1 byte): A bit field that specifies which cell sides this cell margin or cell spacing applies to. The bit values and their meanings are as follows.

Name

Bit Mask

Meaning

fbrcTop

0x01

Specifies the top side.

fbrcLeft

0x02

Specifies the left side.

fbrcBottom

0x04

Specifies the bottom side.

fbrcRight

0x08

Specifies the right side.

Setting all four side bits results in fBrcSidesOnly (0x0F). All other bits MUST be 0.

ftsWidth (1 byte):  An Fts that specifies how wWidth is defined.

wWidth (2 bytes):  An unsigned integer value that specifies the cell margin or cell spacing that is applied to cells itc.itcFirst through itc.itcLim – 1. The interpretation of this value depends on the value of ftsWidth. If ftsWidth is ftsNil (0x00), then wWidth MUST be zero.