2.4.156 LineFormat

Office

The LineFormat record specifies the appearance of a line.


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

rgb

lns

we

A

B

C

D

reserved2

icv

rgb (4 bytes):  A LongRGB structure that specifies the color of the line. The color MUST match the color specified by icv.

lns (2 bytes):  An unsigned integer that specifies the style of the line. MUST be a value from the following table:

Value

Meaning

0x0000

Solid

0x0001

Dash

0x0002

Dot

0x0003

Dash-dot

0x0004

Dash dot-dot

0x0005

None

0x0006

Dark gray pattern

0x0007

Medium gray pattern

0x0008

Light gray pattern

When the value of this field is 0x0005 (None), the values of we and icv MUST be set to the values specified in the following table:

Attribute

Default Value

Line thickness (we)

0xFFFF (Hairline)

Line color (icv)

0x004D

we (2 bytes):  A signed integer that specifies the thickness of the line. MUST be a value from the following table:

Value

Meaning

0xFFFF (-1)

Hairline

0x0000

Narrow (single)

0x0001

Medium (double)

0x0002

Wide (triple)

A - fAuto (1 bit):  A bit that specifies whether the line has default formatting.

If the value of fAuto is 0, the line has formatting as specified by lns, we, and icv.

If the value of fAuto is 1, lns, we, icv, and rgb MUST be ignored and default values are used as specified in the following table:

Attribute

Default Value

Line pattern (lns)

0xFFFF (Hairline)

Line thickness (we)

0x0000 (Narrow)

Line color (icv)

0x004D

Line color (rgb)

Match the default color used for icv

 

B - reserved1 (1 bit):  MUST be zero, and MUST be ignored.

C - fAxisOn (1 bit):  A bit that specifies whether the axis line is displayed.

If the previous record is AxisLine and the value of the id field of the AxisLine record is equal to 0x0000, this field MUST be a value from the following table:

fAxisOn

Lns

Meaning

0

0x0005

The axis line is not displayed.

0

Any legal value except 0x0005

The axis line is displayed.

1

Any legal value

The axis line is displayed.

If the previous record is not AxisLine and the value of the id field of the AxisLine record is equal to 0x0000, this field MUST be zero, and MUST be ignored.

D - fAutoCo (1 bit):  A bit that specifies whether icv is equal to 0x004D. If the value is 1, icv MUST equal 0x004D. If the value is 0, icv MUST NOT equal 0x004D.

reserved2 (12 bits):  MUST be zero, and MUST be ignored.

icv (2 bytes):  An IcvChart structure that specifies the color of the line. The color MUST match the color specified by rgb.

Show: