2.9.146 LSPD

Office

The LSPD structure specifies the spacing between lines in a paragraph.


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

dyaLine

fMultLinespace

dyaLine (16 bits):  An integer that specifies the spacing between lines, based on the following rules:

  • dyaLine MUST either be between 0x0000 and 0x7BC0 or between 0x8440 and 0xFFFF.

  • When dyaLine is between 0x8440 and 0xFFFF, the line spacing, in twips, is exactly 0x10000 minus dyaLine.

  • When fMultLinespace is 0x0001 and dyaLine is between 0x0000 and 0x7BC0, a spacing multiplier is used to determine line spacing for this paragraph. The spacing multiplier is dyaLine/240. For example, a spacing multiplier value of 1 specifies single spacing; a spacing multiplier value of 2 specifies double spacing; and so on. The actual line spacing, in twips, is the spacing multiplier times the font size, in twips.

  • When fMultLinespace is 0x0000 and dyaLine is between 0x0000 and 0x7BC0, the line spacing, in twips, is dyaLine or the number of twips necessary for single spacing, whichever value is greater.

fMultLinespace (16 bits):  An integer which MUST be either 0x0000 or 0x0001.

Show: