1 /* AbiWord
2 * Copyright (C) 1998 AbiSource, Inc.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 * 02110-1301 USA.
18 */
19
20
21 #include "pf_Frag_Strux_Section.h"
22 #include "px_ChangeRecord.h"
23 #include "px_CR_Strux.h"
24
25 /*****************************************************************/
26 /*****************************************************************/
27
pf_Frag_Strux_Section(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)28 pf_Frag_Strux_Section::pf_Frag_Strux_Section(pt_PieceTable * pPT,
29 PT_AttrPropIndex indexAP)
30 : pf_Frag_Strux(pPT,PTX_Section,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
31 {
32 m_struxType = PTX_Section;
33 }
34
~pf_Frag_Strux_Section()35 pf_Frag_Strux_Section::~pf_Frag_Strux_Section()
36 {
37 }
38
pf_Frag_Strux_SectionHdrFtr(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)39 pf_Frag_Strux_SectionHdrFtr::pf_Frag_Strux_SectionHdrFtr(pt_PieceTable * pPT,
40 PT_AttrPropIndex indexAP)
41 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
42 {
43 m_struxType = PTX_SectionHdrFtr;
44 }
45
~pf_Frag_Strux_SectionHdrFtr()46 pf_Frag_Strux_SectionHdrFtr::~pf_Frag_Strux_SectionHdrFtr()
47 {
48 }
49
pf_Frag_Strux_SectionEndnote(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)50 pf_Frag_Strux_SectionEndnote::pf_Frag_Strux_SectionEndnote(pt_PieceTable * pPT,
51 PT_AttrPropIndex indexAP)
52 : pf_Frag_Strux(pPT,PTX_SectionEndnote,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
53 {
54 m_struxType = PTX_SectionEndnote;
55 }
56
~pf_Frag_Strux_SectionEndnote()57 pf_Frag_Strux_SectionEndnote::~pf_Frag_Strux_SectionEndnote()
58 {
59 }
60
pf_Frag_Strux_SectionTable(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)61 pf_Frag_Strux_SectionTable::pf_Frag_Strux_SectionTable(pt_PieceTable * pPT,
62 PT_AttrPropIndex indexAP)
63 : pf_Frag_Strux(pPT,PTX_SectionTable,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
64 {
65 m_struxType = PTX_SectionTable;
66 }
67
~pf_Frag_Strux_SectionTable()68 pf_Frag_Strux_SectionTable::~pf_Frag_Strux_SectionTable()
69 {
70 }
71
pf_Frag_Strux_SectionCell(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)72 pf_Frag_Strux_SectionCell::pf_Frag_Strux_SectionCell(pt_PieceTable * pPT,
73 PT_AttrPropIndex indexAP)
74 : pf_Frag_Strux(pPT,PTX_SectionCell,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
75 {
76 m_struxType = PTX_SectionCell;
77 }
78
~pf_Frag_Strux_SectionCell()79 pf_Frag_Strux_SectionCell::~pf_Frag_Strux_SectionCell()
80 {
81 }
82
83
pf_Frag_Strux_SectionFootnote(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)84 pf_Frag_Strux_SectionFootnote::pf_Frag_Strux_SectionFootnote(pt_PieceTable * pPT,
85 PT_AttrPropIndex indexAP)
86 : pf_Frag_Strux(pPT,PTX_SectionFootnote,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
87 {
88 m_struxType = PTX_SectionFootnote;
89 }
90
~pf_Frag_Strux_SectionFootnote()91 pf_Frag_Strux_SectionFootnote::~pf_Frag_Strux_SectionFootnote()
92 {
93 }
94
95
pf_Frag_Strux_SectionAnnotation(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)96 pf_Frag_Strux_SectionAnnotation::pf_Frag_Strux_SectionAnnotation(pt_PieceTable * pPT,
97 PT_AttrPropIndex indexAP)
98 : pf_Frag_Strux(pPT,PTX_SectionAnnotation,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
99 {
100 m_struxType = PTX_SectionAnnotation;
101 }
102
~pf_Frag_Strux_SectionAnnotation()103 pf_Frag_Strux_SectionAnnotation::~pf_Frag_Strux_SectionAnnotation()
104 {
105 }
106
pf_Frag_Strux_SectionMarginnote(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)107 pf_Frag_Strux_SectionMarginnote::pf_Frag_Strux_SectionMarginnote(pt_PieceTable * pPT,
108 PT_AttrPropIndex indexAP)
109 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
110 {
111 m_struxType = PTX_SectionMarginnote;
112 }
113
~pf_Frag_Strux_SectionMarginnote()114 pf_Frag_Strux_SectionMarginnote::~pf_Frag_Strux_SectionMarginnote()
115 {
116 }
117
pf_Frag_Strux_SectionFrame(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)118 pf_Frag_Strux_SectionFrame::pf_Frag_Strux_SectionFrame(pt_PieceTable * pPT,
119 PT_AttrPropIndex indexAP)
120 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
121 {
122 m_struxType = PTX_SectionFrame;
123 }
124
~pf_Frag_Strux_SectionFrame()125 pf_Frag_Strux_SectionFrame::~pf_Frag_Strux_SectionFrame()
126 {
127 }
128
129
pf_Frag_Strux_SectionEndFootnote(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)130 pf_Frag_Strux_SectionEndFootnote::pf_Frag_Strux_SectionEndFootnote(pt_PieceTable * pPT,
131 PT_AttrPropIndex indexAP)
132 : pf_Frag_Strux(pPT,PTX_SectionFootnote,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
133 {
134 m_struxType = PTX_EndFootnote;
135 }
136
~pf_Frag_Strux_SectionEndFootnote()137 pf_Frag_Strux_SectionEndFootnote::~pf_Frag_Strux_SectionEndFootnote()
138 {
139 }
140
141
142
pf_Frag_Strux_SectionEndAnnotation(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)143 pf_Frag_Strux_SectionEndAnnotation::pf_Frag_Strux_SectionEndAnnotation(pt_PieceTable * pPT,
144 PT_AttrPropIndex indexAP)
145 : pf_Frag_Strux(pPT,PTX_EndAnnotation,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
146 {
147 m_struxType = PTX_EndAnnotation;
148 }
149
~pf_Frag_Strux_SectionEndAnnotation()150 pf_Frag_Strux_SectionEndAnnotation::~pf_Frag_Strux_SectionEndAnnotation()
151 {
152 }
153
154
pf_Frag_Strux_SectionEndEndnote(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)155 pf_Frag_Strux_SectionEndEndnote::pf_Frag_Strux_SectionEndEndnote(pt_PieceTable * pPT,
156 PT_AttrPropIndex indexAP)
157 : pf_Frag_Strux(pPT,PTX_SectionEndnote,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
158 {
159 m_struxType = PTX_EndEndnote;
160 }
161
~pf_Frag_Strux_SectionEndEndnote()162 pf_Frag_Strux_SectionEndEndnote::~pf_Frag_Strux_SectionEndEndnote()
163 {
164 }
165
166
pf_Frag_Strux_SectionEndTable(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)167 pf_Frag_Strux_SectionEndTable::pf_Frag_Strux_SectionEndTable(pt_PieceTable * pPT,
168 PT_AttrPropIndex indexAP)
169 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
170 {
171 m_struxType = PTX_EndTable;
172 }
173
~pf_Frag_Strux_SectionEndTable()174 pf_Frag_Strux_SectionEndTable::~pf_Frag_Strux_SectionEndTable()
175 {
176 }
177
pf_Frag_Strux_SectionEndCell(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)178 pf_Frag_Strux_SectionEndCell::pf_Frag_Strux_SectionEndCell(pt_PieceTable * pPT,
179 PT_AttrPropIndex indexAP)
180 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
181 {
182 m_struxType = PTX_EndCell;
183 }
184
~pf_Frag_Strux_SectionEndCell()185 pf_Frag_Strux_SectionEndCell::~pf_Frag_Strux_SectionEndCell()
186 {
187 }
188
pf_Frag_Strux_SectionEndMarginnote(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)189 pf_Frag_Strux_SectionEndMarginnote::pf_Frag_Strux_SectionEndMarginnote(pt_PieceTable * pPT,
190 PT_AttrPropIndex indexAP)
191 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
192 {
193 m_struxType = PTX_EndMarginnote;
194 }
195
~pf_Frag_Strux_SectionEndMarginnote()196 pf_Frag_Strux_SectionEndMarginnote::~pf_Frag_Strux_SectionEndMarginnote()
197 {
198 }
199
pf_Frag_Strux_SectionEndFrame(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)200 pf_Frag_Strux_SectionEndFrame::pf_Frag_Strux_SectionEndFrame(pt_PieceTable * pPT,
201 PT_AttrPropIndex indexAP)
202 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
203 {
204 m_struxType = PTX_EndFrame;
205 }
206
~pf_Frag_Strux_SectionEndFrame()207 pf_Frag_Strux_SectionEndFrame::~pf_Frag_Strux_SectionEndFrame()
208 {
209 }
210
211
212
pf_Frag_Strux_SectionTOC(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)213 pf_Frag_Strux_SectionTOC::pf_Frag_Strux_SectionTOC(pt_PieceTable * pPT,
214 PT_AttrPropIndex indexAP)
215 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
216 {
217 m_struxType = PTX_SectionTOC;
218 }
219
~pf_Frag_Strux_SectionTOC()220 pf_Frag_Strux_SectionTOC::~pf_Frag_Strux_SectionTOC()
221 {
222 }
223
224
pf_Frag_Strux_SectionEndTOC(pt_PieceTable * pPT,PT_AttrPropIndex indexAP)225 pf_Frag_Strux_SectionEndTOC::pf_Frag_Strux_SectionEndTOC(pt_PieceTable * pPT,
226 PT_AttrPropIndex indexAP)
227 : pf_Frag_Strux(pPT,PTX_SectionHdrFtr,pf_FRAG_STRUX_SECTION_LENGTH,indexAP)
228 {
229 m_struxType = PTX_EndTOC;
230 }
231
~pf_Frag_Strux_SectionEndTOC()232 pf_Frag_Strux_SectionEndTOC::~pf_Frag_Strux_SectionEndTOC()
233 {
234 }
235
236
237
238
239
240