Border Code for Windows Word 1.0 (BRC10)

  
b10b16fieldtypesizebitfieldcomments
00dxpLine2Widthshort:30007width of second line of border in pixels
  dxpSpaceBetweenshort:30038distance to maintain between both lines of border in pixels
  dxpLine1Widthshort:301C0width of first border line in pixels
  dxpSpaceshort:53E00width of space to maintain between border and text within border. Must be 0 when BRC is a substructure of the TC.
  fShadowshort:14000when 1, border is drawn with shadow. Must be 0 when BRC10 is a substructure of the TC.
  fSpareshort:18000reserved

The seven types of border lines that Windows Word 1.0 supports are coded with different sets of values for dxpLine1Width, dxpSpaceBetween, and dxpLine2 Width.

The border lines and their brc10 settings follow:

line type

dxpLine1Width

dxpSpaceBetween

dxpLine2Width

no border

0

0

0

single line border

1

0

0

two single line border

1

1

1

fat solid border

4

0

0

thick solid border

2

0

0

dotted border

6 (special value meaning dotted line)

0

0

hairline border

7(special value meaning hairline)

0

0


When the no border settings are stored in the BRC, brc.fShadow and brc.dxpSpace should be set to 0.

cbBRC10 (count of bytes of BRC10) is 2.