Border Code (BRC)

The BRC is a substructure of the CHP, PAP, PIC, SEP, TAP and TC. See also the obsolete BRC10 structure.

b10

b16

field

type

size

bitfield

comments

0

0

dptLineWidth

short

:8

00FF

width of a single line in 1/8 pt, max of 32 pt.

brcType

short

:8

FF00

border type code:
0 none
1 single
2 thick
3 double
5 hairline
6 dot
7 dash large gap
8 dot dash
9 dot dot dash
10 triple
11 thin-thick small gap
12 thick-thin small gap
13 thin-thick-thin small gap
14 thin-thick medium gap
15 thick-thin medium gap
16 thin-thick-thin medium gap
17 thin-thick large gap
18 thick-thin large gap
19 thin-thick-thin large gap
20 wave
21 double wave
22 dash small gap
23 dash dot stroked
24 emboss 3D
25 engrave 3D
codes 64 – 230 represent border art types and are used only for page borders.

2

2

ico

short

:8

00FF

color code (see chp.ico)

dptSpace

short

:5

1F00

width of space to maintain between border and text within border. Must be 0 when BRC is a substructure of TC. Stored in points.

fShadow

short

:1

2000

when 1, border is drawn with shadow. Must be 0 when BRC is a substructure of the TC

fFrame

short

:1

4000

short

:1

8000

reserved


cbBRC (count of bytes of BRC) is 4.