2.2.5.1 Sprm

The Sprm structure specifies a modification to a property of a character, paragraph, table, or section.


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

ispmd

A

sgc

spra

ispmd (9 bits): An unsigned integer that, when combined with fSpec, specifies the property being modified. See the tables in the Single Property Modifiers section (2.6) for the complete list of valid ispmd, fSpec, spra combinations for each sgc.

A - fSpec (1 bit): When combined with ispmd, specifies the property being modified. See the tables in the Single Property Modifiers section (2.6) for the complete list of valid ispmd, fSpec, spra combinations for each sgc.

sgc (3 bits): An unsigned integer that specifies the kind of document content to which this Sprm applies. The following table specifies the valid values and their meanings.

Sgc

Meaning

1

Sprm is modifying a paragraph property.

2

Sprm is modifying a character property.

3

Sprm is modifying a picture property.

4

Sprm is modifying a section property.

5

Sprm is modifying a table property.

spra (3 bits): An unsigned integer that specifies the size of the operand of this Sprm. The following table specifies the valid values and their meanings.

Spra

Meaning

0

Operand is a ToggleOperand (which is 1 byte in size).

1

Operand is 1 byte.

2

Operand is 2 bytes.

3

Operand is 4 bytes.

4

Operand is 2 bytes.

5

Operand is 2 bytes.

6

Operand is of variable length. The first byte of the operand indicates the size of the rest of the operand, except in the cases of sprmTDefTable and sprmPChgTabs.

7

Operand is 3 bytes.