View | Details | Raw Unified | Return to bug 51389
Collapse All | Expand All

(-)src/types/definitions/pap_type.xml (-34 / +76 lines)
Lines 23-55 Link Here
23
    <description>Paragraph Properties.</description>
23
    <description>Paragraph Properties.</description>
24
    <author>S. Ryan Ackley</author>
24
    <author>S. Ryan Ackley</author>
25
    <fields>
25
    <fields>
26
        <field type="int" size="2" name="istd"/>
26
        <field type="int" size="2" name="istd" description="Index to style descriptor"/>
27
        <field type="byte" size="1" name="jc"/>
27
        <field type="byte" size="1" name="fSideBySide"/>
28
        <field type="byte" size="1" name="fKeep"/>
28
        <field type="byte" size="1" name="fKeep"/>
29
        <field type="byte" size="1" name="fKeepFollow"/>
29
        <field type="byte" size="1" name="fKeepFollow"/>
30
        <field type="byte" size="1" name="fPageBreakBefore"/>
30
        <field type="byte" size="1" name="fPageBreakBefore"/>
31
32
        <field type="byte" size="1" name="brcl" description="Border line style"/>
33
        <field type="byte" size="1" name="brcp" description="Rectangle border codes"/>
34
35
        <field type="byte" size="1" name="ilvl" description="List level if non-zero"/>
36
        <!-- According to PAPX doc pointer is byte, but according to sprmPIlfo documentation pointer is short, 
37
            we will use int -->
38
        <field type="int" size="2" name="ilfo" description="1-based index into the pllfo (lists structure), if non-zero"/>
39
        <field type="byte" size="1" name="fNoLnn" description="No line numbering"/>
40
41
        <field type="LineSpacingDescriptor" size="4" name="lspd" description="Line spacing descriptor"/>
42
43
        <field type="int" size="4" name="dyaBefore" description="Space before paragraph"/>
44
        <field type="int" size="4" name="dyaAfter" description="Space after paragraph"/>
45
46
        <!-- Not documented in PAP, but referenced by SPRM doc -->
47
        <field type="byte" size="1" name="fInTable" description="Paragraph is in table flag"/>
48
        <field type="byte" size="1" name="finTableW97" description="Archaic paragraph is in table flag"/>
49
        <field type="byte" size="1" name="fTtp" description="Table trailer paragraph (last in table row)"/>
50
51
        <field type="int" size="4" name="dxaAbs"/>
52
        <field type="int" size="4" name="dyaAbs"/>
53
        <field type="int" size="4" name="dxaWidth"/>
54
31
        <field type="byte" size="1" name="fBrLnAbove"/>
55
        <field type="byte" size="1" name="fBrLnAbove"/>
32
        <field type="byte" size="1" name="fBrLnBelow"/>
56
        <field type="byte" size="1" name="fBrLnBelow"/>
57
33
        <field type="byte" size="1" name="pcVert"/>
58
        <field type="byte" size="1" name="pcVert"/>
34
        <field type="byte" size="1" name="pcHorz"/>
59
        <field type="byte" size="1" name="pcHorz"/>
35
        <field type="byte" size="1" name="brcp"/>
60
36
        <field type="byte" size="1" name="brcl"/>
61
        <field type="byte" size="1" name="wr"/>
37
        <field type="byte" size="1" name="ilvl"/>
62
38
        <field type="byte" size="1" name="fNoLnn"/>
39
        <field type="int" size="2" name="ilfo"/>
40
        <field type="byte" size="1" name="fSideBySide"/>
41
        <field type="byte" size="1" name="fNoAutoHyph"/>
63
        <field type="byte" size="1" name="fNoAutoHyph"/>
64
        
65
        <!-- wHeightAbs? -->
66
        <field type="int" size="2" name="dyaHeight"/>
67
        <field type="byte" size="1" name="fMinHeight"/>
68
69
        <field type="DropCapSpecifier" size="2" name="dcs"/>
70
71
        <field type="int" size="4" name="dyaFromText" description="Vertical distance between text and absolutely positioned object"/>
72
        <field type="int" size="4" name="dxaFromText" description="Horizontal distance between text and absolutely positioned object"/>
73
74
        <field type="byte" size="1" name="fLocked"/>
42
        <field type="byte" size="1" name="fWidowControl"/>
75
        <field type="byte" size="1" name="fWidowControl"/>
43
        <field type="int" size="4" name="dxaRight"/>
44
        <field type="int" size="4" name="dxaLeft"/>
45
        <field type="int" size="4" name="dxaLeft1"/>
46
        <field type="LineSpacingDescriptor" size="4" name="lspd"/>
47
        <field type="int" size="4" name="dyaBefore"/>
48
        <field type="int" size="4" name="dyaAfter"/>
49
        <field type="byte[]" size="12" name="phe"/>
50
        <field type="byte" size="1" name="fCrLf"/>
51
        <field type="byte" size="1" name="fUsePgsuSettings"/>
52
        <field type="byte" size="1" name="fAdjustRight"/>
53
        <field type="byte" size="1" name="fKinsoku"/>
76
        <field type="byte" size="1" name="fKinsoku"/>
54
        <field type="byte" size="1" name="fWordWrap"/>
77
        <field type="byte" size="1" name="fWordWrap"/>
55
        <field type="byte" size="1" name="fOverflowPunct"/>
78
        <field type="byte" size="1" name="fOverflowPunct"/>
Lines 62-99 Link Here
62
          <bit number="1" mask="0x0002" name="fBackward"/>
85
          <bit number="1" mask="0x0002" name="fBackward"/>
63
          <bit number="2" mask="0x0004" name="fRotateFont"/>
86
          <bit number="2" mask="0x0004" name="fRotateFont"/>
64
        </field>
87
        </field>
88
        <field type="byte" size="1" name="fVertical"/>
65
        <field type="byte" size="1" name="fBackward"/>
89
        <field type="byte" size="1" name="fBackward"/>
66
        <field type="byte" size="1" name="fRotateFont"/>
90
        <field type="byte" size="1" name="fRotateFont"/>
67
        <field type="byte" size="1" name="fInTable"/>
91
68
        <field type="byte" size="1" name="fTtp"/>
92
        <field type="byte" size="1" name="lvl"/>
69
        <field type="byte" size="1" name="wr"/>
93
        <field type="byte" size="1" name="fBiDi"/>
70
        <field type="byte" size="1" name="fLocked"/>
94
        <field type="byte" size="1" name="fNumRMIns"/>
71
        <field type="byte[]" size="4" name="ptap"/>
95
        <field type="byte" size="1" name="fCrLf"/>
72
        <field type="int" size="4" name="dxaAbs"/>
96
        <field type="byte" size="1" name="fUsePgsuSettings"/>
73
        <field type="int" size="4" name="dyaAbs"/>
97
        <field type="byte" size="1" name="fAdjustRight"/>
74
        <field type="int" size="4" name="dxaWidth"/>
98
99
        <!-- itap? -->
100
        <!-- fInnerTableCell? -->
101
        <!-- fOpenTch? -->
102
        
103
        <field type="short" size="2" name="dxcRight" description="Right indent in character units"/>
104
        <field type="short" size="2" name="dxcLeft" description="Left indent in character units"/>
105
        <field type="short" size="2" name="dxcLeft1" description="First line indent in character units"/>
106
107
        <field type="byte" size="1" name="fDyaBeforeAuto" description="Vertical spacing before is automatic"/>
108
        <field type="byte" size="1" name="fDyaAfterAuto" description="Vertical spacing after is automatic"/>
109
110
        <field type="int" size="4" name="dxaRight"/>
111
        <field type="int" size="4" name="dxaLeft"/>
112
        <field type="int" size="4" name="dxaLeft1"/>
113
114
        <field type="byte" size="1" name="jc"/>
115
116
        <field type="byte" size="1" name="fNoAllowOverlap"/>
117
75
        <field type="BorderCode" size="4" name="brcTop"/>
118
        <field type="BorderCode" size="4" name="brcTop"/>
76
        <field type="BorderCode" size="4" name="brcLeft"/>
119
        <field type="BorderCode" size="4" name="brcLeft"/>
77
        <field type="BorderCode" size="4" name="brcBottom"/>
120
        <field type="BorderCode" size="4" name="brcBottom"/>
78
        <field type="BorderCode" size="4" name="brcRight"/>
121
        <field type="BorderCode" size="4" name="brcRight"/>
79
        <field type="BorderCode" size="4" name="brcBetween"/>
122
        <field type="BorderCode" size="4" name="brcBetween"/>
80
        <field type="BorderCode" size="4" name="brcBar"/>
123
        <field type="BorderCode" size="4" name="brcBar"/>
81
        <field type="int" size="4" name="dxaFromText"/>
124
82
        <field type="int" size="4" name="dyaFromText"/>
83
        <field type="int" size="2" name="dyaHeight"/>
84
        <field type="byte" size="1" name="fMinHeight"/>
85
        <field type="ShadingDescriptor" size="2" name="shd"/>
125
        <field type="ShadingDescriptor" size="2" name="shd"/>
86
        <field type="DropCapSpecifier" size="2" name="dcs"/>
87
        <field type="byte" size="1" name="lvl"/>
88
        <field type="byte" size="1" name="fNumRMIns"/>
89
        <field type="byte[]" size="84" name="anld"/>
126
        <field type="byte[]" size="84" name="anld"/>
127
        <field type="byte[]" size="12" name="phe"/>
90
        <field type="int" size="1" name="fPropRMark"/>
128
        <field type="int" size="1" name="fPropRMark"/>
91
        <field type="int" size="2" name="ibstPropRMark"/>
129
        <field type="int" size="2" name="ibstPropRMark"/>
92
        <field type="DateAndTime" size="4" name="dttmPropRMark"/>
130
        <field type="DateAndTime" size="4" name="dttmPropRMark"/>
93
        <field type="byte[]" size="128" name="numrm"/>
131
94
        <field type="int" size="2" name="itbdMac"/>
132
        <field type="int" size="2" name="itbdMac"/>
95
        <field type="int[]" size="128" name="rgdxaTab"/>
133
        <field type="int[]" size="128" name="rgdxaTab"/>
96
        <field type="byte[]" size="128" name="rgtbd"/>
134
        <field type="byte[]" size="128" name="rgtbd"/>
135
        <field type="byte[]" size="128" name="numrm"/>
136
        <field type="byte[]" size="4" name="ptap"/>
137
138
        <!-- Unknown old fields -->
97
        <field type="byte" size="1" name="tableLevel"/>
139
        <field type="byte" size="1" name="tableLevel"/>
98
        <field type="byte" size="1" name="fTtpEmbedded"/>
140
        <field type="byte" size="1" name="fTtpEmbedded"/>
99
        <field type="byte" size="1" name="embeddedCellMark"/>
141
        <field type="byte" size="1" name="embeddedCellMark"/>

Return to bug 51389