2.9.16 Brc
The Brc structure specifies a border.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cv |
|||||||||||||||||||||||||||||||
dptLineWidth |
brcType |
dptSpace |
A |
B |
fReserved |
cv (4 bytes): A COLORREF that specifies the color of this border.
dptLineWidth (8 bits): Specifies the width of the border. Different meanings based on brcType.
brcType |
Meaning |
---|---|
brcType < 0x40 |
An unsigned integer that specifies the width of the border in 1/8-point increments. Values of less than 2 are considered to be equivalent to 2. |
brcType >= 0x40 |
An unsigned integer that specifies the width of the border in 1-point increments. This value MUST be less than 32. |
brcType (1 byte): A BrcType that specifies the type of this border.
dptSpace (5 bits): An unsigned integer that specifies the distance from the text to the border, in points. For page borders, sprmSPgbProp can specify that this value shall specify the distance from the edge of the page to the border.
A - fShadow (1 bit): If this bit is set, the border has an additional shadow effect. For top, logical left, and between borders, this has no visual effect.
B - fFrame (1 bit): If this bit is set, then the border has a three-dimensional effect. For top, logical left, and between borders, this has no visual effect. For visually symmetric border types, this has no visual effect.
fReserved (9 bits): This value is unused and MUST be ignored.