FB2MetadataContext.h Source File documentation

FB2MetadataContext.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libe-book project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef FB2METADATACONTEXT_H_INCLUDED
11 #define FB2METADATACONTEXT_H_INCLUDED
12
13 #include "FB2ParserContext.h"
14
15 namespace libebook
16 {
17
18 class FB2Authors;
19
20 class FB2AnnotationContext : public FB2BlockFormatContextBase
21 {
22 public:
23 FB2AnnotationContext(FB2ParserContext *parentContext, const FB2BlockFormat &format);
24
25 private:
26 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
27 virtual void startOfElement();
28 virtual void endOfElement();
29 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
30 virtual void text(const char *value);
31 };
32
33 class FB2AuthorContext : public FB2ParserContext
34 {
35 public:
36 FB2AuthorContext(FB2ParserContext *parentContext, FB2Authors &authors);
37
38 private:
39 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
40 virtual void startOfElement();
41 virtual void endOfElement();
42 virtual void endOfAttributes() {}
43 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
44 virtual void text(const char *value);
45
46 private:
47 FB2Authors &m_authors;
48 };
49
50 class FB2BookNameContext : public FB2ParserContext
51 {
52 public:
53 explicit FB2BookNameContext(FB2ParserContext *parentContext);
54
55 private:
56 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
57 virtual void startOfElement();
58 virtual void endOfElement();
59 virtual void endOfAttributes() {}
60 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
61 virtual void text(const char *value);
62 };
63
64 class FB2BookTitleContext : public FB2ParserContext
65 {
66 public:
67 explicit FB2BookTitleContext(FB2ParserContext *parentContext);
68
69 private:
70 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
71 virtual void startOfElement();
72 virtual void endOfElement();
73 virtual void endOfAttributes() {}
74 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
75 virtual void text(const char *value);
76 };
77
78 class FB2CityContext : public FB2ParserContext
79 {
80 public:
81 explicit FB2CityContext(FB2ParserContext *parentContext);
82
83 private:
84 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
85 virtual void startOfElement();
86 virtual void endOfElement();
87 virtual void endOfAttributes() {}
88 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
89 virtual void text(const char *value);
90 };
91
92 class FB2CoverpageContext : public FB2ParserContext
93 {
94 public:
95 explicit FB2CoverpageContext(FB2ParserContext *parentContext);
96
97 private:
98 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
99 virtual void startOfElement();
100 virtual void endOfElement();
101 virtual void endOfAttributes() {}
102 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
103 virtual void text(const char *value);
104 };
105
106 class FB2CustomInfoContext : public FB2ParserContext
107 {
108 public:
109 explicit FB2CustomInfoContext(FB2ParserContext *parentContext);
110
111 private:
112 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
113 virtual void startOfElement();
114 virtual void endOfElement();
115 virtual void endOfAttributes() {}
116 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
117 virtual void text(const char *value);
118
119 private:
120 librevenge::RVNGString m_type;
121 librevenge::RVNGString m_text;
122 };
123
124 class FB2DateContext : public FB2ParserContext
125 {
126 // no copying
127 FB2DateContext(const FB2DateContext &);
128 FB2DateContext &operator=(const FB2DateContext &);
129
130 public:
131 FB2DateContext(FB2ParserContext *parentContext, const char *name);
132
133 private:
134 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
135 virtual void startOfElement();
136 virtual void endOfElement();
137 virtual void endOfAttributes() {}
138 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
139 virtual void text(const char *value);
140
141 private:
142 const char *const m_name;
143 };
144
145 class FB2DescriptionContext : public FB2ParserContext
146 {
147 public:
148 FB2DescriptionContext(FB2ParserContext *parentContext, FB2Collector *collector);
149
150 private:
151 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
152 virtual void startOfElement();
153 virtual void endOfElement();
154 virtual void endOfAttributes() {}
155 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
156 virtual void text(const char *value);
157 };
158
159 class TextInfoContext : public FB2ParserContext
160 {
161 // no copying
162 TextInfoContext(const TextInfoContext &other);
163 TextInfoContext &operator=(const TextInfoContext &other);
164
165 public:
166 TextInfoContext(FB2ParserContext *parentContext);
167
168 private:
169 virtual ~TextInfoContext();
170
171 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
172 virtual void startOfElement();
173 virtual void endOfElement();
174 virtual void endOfAttributes() {}
175 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
176 virtual void text(const char *value);
177
178 private:
179 FB2Authors *m_authors;
180 };
181
182 class FB2EmailContext : public FB2ParserContext
183 {
184 public:
185 explicit FB2EmailContext(FB2ParserContext *parentContext);
186
187 private:
188 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
189 virtual void startOfElement();
190 virtual void endOfElement();
191 virtual void endOfAttributes() {}
192 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
193 virtual void text(const char *value);
194 };
195
196 class FB2FirstNameContext : public FB2ParserContext
197 {
198 public:
199 FB2FirstNameContext(FB2ParserContext *parentContext, FB2Authors &authors);
200
201 private:
202 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
203 virtual void startOfElement();
204 virtual void endOfElement();
205 virtual void endOfAttributes() {}
206 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
207 virtual void text(const char *value);
208
209 private:
210 FB2Authors &m_authors;
211 };
212
213 class FB2GenreContext : public FB2ParserContext
214 {
215 public:
216 explicit FB2GenreContext(FB2ParserContext *parentContext);
217
218 private:
219 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
220 virtual void startOfElement();
221 virtual void endOfElement();
222 virtual void endOfAttributes() {}
223 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
224 virtual void text(const char *value);
225 };
226
227 class FB2HistoryContext : public FB2ParserContext
228 {
229 public:
230 explicit FB2HistoryContext(FB2ParserContext *parentContext);
231
232 private:
233 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
234 virtual void startOfElement();
235 virtual void endOfElement();
236 virtual void endOfAttributes() {}
237 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
238 virtual void text(const char *value);
239 };
240
241 class FB2HomePageContext : public FB2ParserContext
242 {
243 public:
244 explicit FB2HomePageContext(FB2ParserContext *parentContext);
245
246 private:
247 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
248 virtual void startOfElement();
249 virtual void endOfElement();
250 virtual void endOfAttributes() {}
251 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
252 virtual void text(const char *value);
253 };
254
255 class FB2IdContext : public FB2ParserContext
256 {
257 public:
258 explicit FB2IdContext(FB2ParserContext *parentContext);
259
260 private:
261 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
262 virtual void startOfElement();
263 virtual void endOfElement();
264 virtual void endOfAttributes() {}
265 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
266 virtual void text(const char *value);
267 };
268
269 class FB2IsbnContext : public FB2ParserContext
270 {
271 public:
272 explicit FB2IsbnContext(FB2ParserContext *parentContext);
273
274 private:
275 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
276 virtual void startOfElement();
277 virtual void endOfElement();
278 virtual void endOfAttributes() {}
279 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
280 virtual void text(const char *value);
281 };
282
283 class FB2KeywordsContext : public FB2ParserContext
284 {
285 public:
286 explicit FB2KeywordsContext(FB2ParserContext *parentContext);
287
288 private:
289 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
290 virtual void startOfElement();
291 virtual void endOfElement();
292 virtual void endOfAttributes() {}
293 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
294 virtual void text(const char *value);
295 };
296
297 class FB2LangContext : public FB2ParserContext
298 {
299 public:
300 explicit FB2LangContext(FB2ParserContext *parentContext);
301
302 private:
303 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
304 virtual void startOfElement();
305 virtual void endOfElement();
306 virtual void endOfAttributes() {}
307 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
308 virtual void text(const char *value);
309 };
310
311 class FB2LastNameContext : public FB2ParserContext
312 {
313 public:
314 FB2LastNameContext(FB2ParserContext *parentContext, FB2Authors &authors);
315
316 private:
317 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
318 virtual void startOfElement();
319 virtual void endOfElement();
320 virtual void endOfAttributes() {}
321 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
322 virtual void text(const char *value);
323
324 private:
325 FB2Authors &m_authors;
326 };
327
328 class FB2MiddleNameContext : public FB2ParserContext
329 {
330 public:
331 FB2MiddleNameContext(FB2ParserContext *parentContext, FB2Authors &authors);
332
333 private:
334 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
335 virtual void startOfElement();
336 virtual void endOfElement();
337 virtual void endOfAttributes() {}
338 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
339 virtual void text(const char *value);
340
341 private:
342 FB2Authors &m_authors;
343 };
344
345 class FB2NicknameContext : public FB2ParserContext
346 {
347 public:
348 FB2NicknameContext(FB2ParserContext *parentContext, FB2Authors &authors);
349
350 private:
351 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
352 virtual void startOfElement();
353 virtual void endOfElement();
354 virtual void endOfAttributes() {}
355 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
356 virtual void text(const char *value);
357
358 private:
359 FB2Authors &m_authors;
360 };
361
362 class FB2OutputContext : public FB2ParserContext
363 {
364 public:
365 explicit FB2OutputContext(FB2ParserContext *parentContext);
366
367 private:
368 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
369 virtual void startOfElement();
370 virtual void endOfElement();
371 virtual void endOfAttributes() {}
372 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
373 virtual void text(const char *value);
374 };
375
376 class FB2OutputDocumentClassContext : public FB2ParserContext
377 {
378 public:
379 explicit FB2OutputDocumentClassContext(FB2ParserContext *parentContext);
380
381 private:
382 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
383 virtual void startOfElement();
384 virtual void endOfElement();
385 virtual void endOfAttributes() {}
386 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
387 virtual void text(const char *value);
388 };
389
390 class FB2PartContext : public FB2ParserContext
391 {
392 public:
393 explicit FB2PartContext(FB2ParserContext *parentContext);
394
395 private:
396 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
397 virtual void startOfElement();
398 virtual void endOfElement();
399 virtual void endOfAttributes() {}
400 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
401 virtual void text(const char *value);
402 };
403
404 class FB2ProgramUsedContext : public FB2ParserContext
405 {
406 public:
407 explicit FB2ProgramUsedContext(FB2ParserContext *parentContext);
408
409 private:
410 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
411 virtual void startOfElement();
412 virtual void endOfElement();
413 virtual void endOfAttributes() {}
414 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
415 virtual void text(const char *value);
416 };
417
418 class FB2PublisherContext : public FB2ParserContext
419 {
420 public:
421 explicit FB2PublisherContext(FB2ParserContext *parentContext);
422
423 private:
424 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
425 virtual void startOfElement();
426 virtual void endOfElement();
427 virtual void endOfAttributes() {}
428 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
429 virtual void text(const char *value);
430 };
431
432 class FB2PublishInfoContext : public FB2ParserContext
433 {
434 public:
435 explicit FB2PublishInfoContext(FB2ParserContext *parentContext);
436
437 private:
438 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
439 virtual void startOfElement();
440 virtual void endOfElement();
441 virtual void endOfAttributes() {}
442 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
443 virtual void text(const char *value);
444 };
445
446 class FB2SequenceContext : public FB2ParserContext
447 {
448 public:
449 explicit FB2SequenceContext(FB2ParserContext *parentContext);
450
451 private:
452 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
453 virtual void startOfElement();
454 virtual void endOfElement();
455 virtual void endOfAttributes() {}
456 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
457 virtual void text(const char *value);
458 };
459
460 class FB2SrcLangContext : public FB2ParserContext
461 {
462 public:
463 explicit FB2SrcLangContext(FB2ParserContext *parentContext);
464
465 private:
466 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
467 virtual void startOfElement();
468 virtual void endOfElement();
469 virtual void endOfAttributes() {}
470 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
471 virtual void text(const char *value);
472 };
473
474 class FB2SrcOcrContext : public FB2ParserContext
475 {
476 public:
477 explicit FB2SrcOcrContext(FB2ParserContext *parentContext);
478
479 private:
480 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
481 virtual void startOfElement();
482 virtual void endOfElement();
483 virtual void endOfAttributes() {}
484 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
485 virtual void text(const char *value);
486 };
487
488 class FB2SrcTitleInfoContext : public FB2ParserContext
489 {
490 public:
491 explicit FB2SrcTitleInfoContext(FB2ParserContext *parentContext);
492
493 private:
494 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
495 virtual void startOfElement();
496 virtual void endOfElement();
497 virtual void endOfAttributes() {}
498 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
499 virtual void text(const char *value);
500 };
501
502 class FB2SrcUrlContext : public FB2ParserContext
503 {
504 public:
505 explicit FB2SrcUrlContext(FB2ParserContext *parentContext);
506
507 private:
508 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
509 virtual void startOfElement();
510 virtual void endOfElement();
511 virtual void endOfAttributes() {}
512 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
513 virtual void text(const char *value);
514 };
515
516 class FB2TitleInfoContext : public FB2ParserContext
517 {
518 // no copying
519 FB2TitleInfoContext(const FB2TitleInfoContext &other);
520 FB2TitleInfoContext &operator=(const FB2TitleInfoContext &other);
521
522 public:
523 explicit FB2TitleInfoContext(FB2ParserContext *parentContext);
524
525 private:
526 virtual ~FB2TitleInfoContext();
527
528 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
529 virtual void startOfElement();
530 virtual void endOfElement();
531 virtual void endOfAttributes() {}
532 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
533 virtual void text(const char *value);
534
535 private:
536 FB2Authors *m_authors;
537 };
538
539 class FB2TranslatorContext : public FB2ParserContext
540 {
541 public:
542 explicit FB2TranslatorContext(FB2ParserContext *parentContext);
543
544 private:
545 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
546 virtual void startOfElement();
547 virtual void endOfElement();
548 virtual void endOfAttributes() {}
549 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
550 virtual void text(const char *value);
551 };
552
553 class FB2VersionContext : public FB2ParserContext
554 {
555 public:
556 explicit FB2VersionContext(FB2ParserContext *parentContext);
557
558 private:
559 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
560 virtual void startOfElement();
561 virtual void endOfElement();
562 virtual void endOfAttributes() {}
563 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
564 virtual void text(const char *value);
565 };
566
567 class FB2YearContext : public FB2ParserContext
568 {
569 public:
570 explicit FB2YearContext(FB2ParserContext *parentContext);
571
572 private:
573 virtual FB2XMLParserContext *element(const FB2TokenData &name, const FB2TokenData &ns);
574 virtual void startOfElement();
575 virtual void endOfElement();
576 virtual void endOfAttributes() {}
577 virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value);
578 virtual void text(const char *value);
579 };
580
581 }
582
583 #endif // FB2METADATACONTEXT_H_INCLUDED
584
585 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook::EBOOKHTMLToken::value
Definition: EBOOKHTMLToken.h:263
libebook::FB2PublishInfoContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:441
libebook::FB2BookTitleContext
Definition: FB2MetadataContext.h:64
libebook::FB2ParserContext::operator=
FB2ParserContext & operator=(const FB2ParserContext &other)
FB2ParserContext.h
libebook::FB2PublishInfoContext
Definition: FB2MetadataContext.h:432
libebook::FB2AuthorContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:42
libebook::FB2IsbnContext
Definition: FB2MetadataContext.h:269
libebook::FB2FirstNameContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:205
libebook::FB2DateContext::m_name
const char *const m_name
Definition: FB2MetadataContext.h:142
libebook::FB2OutputDocumentClassContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:385
libebook::FB2MiddleNameContext::m_authors
FB2Authors & m_authors
Definition: FB2MetadataContext.h:342
libebook::FB2BookNameContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:59
libebook::FB2Collector
Definition: FB2Collector.h:19
libebook::FB2YearContext
Definition: FB2MetadataContext.h:567
libebook::FB2OutputDocumentClassContext
Definition: FB2MetadataContext.h:376
libebook::FB2SrcOcrContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:483
libebook::FB2XMLParserContext
Definition: FB2XMLParserContext.h:18
libebook::FB2KeywordsContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:292
libebook::FB2TokenData
Definition: FB2Token.h:135
libebook::FB2SrcLangContext
Definition: FB2MetadataContext.h:460
libebook::FB2AnnotationContext::attribute
virtual void attribute(const FB2TokenData &name, const FB2TokenData *ns, const char *value)
Process an attribute.
Definition: FB2MetadataContext.cpp:134
libebook::FB2NicknameContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:354
libebook::FB2TitleInfoContext
Definition: FB2MetadataContext.h:516
libebook::FB2SrcTitleInfoContext
Definition: FB2MetadataContext.h:488
libebook::FB2EmailContext
Definition: FB2MetadataContext.h:182
libebook::FB2ProgramUsedContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:413
libebook::FB2NicknameContext
Definition: FB2MetadataContext.h:345
libebook::FB2AnnotationContext::startOfElement
virtual void startOfElement()
Signalize the start of an element.
Definition: FB2MetadataContext.cpp:124
libebook::FB2SrcTitleInfoContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:497
libebook::FB2AnnotationContext::element
virtual FB2XMLParserContext * element(const FB2TokenData &name, const FB2TokenData &ns)
Create a context for parsing a child element.
Definition: FB2MetadataContext.cpp:109
libebook::FB2OutputContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:371
libebook::FB2SequenceContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:455
libebook::FB2AnnotationContext::FB2AnnotationContext
FB2AnnotationContext(FB2ParserContext *parentContext, const FB2BlockFormat &format)
Definition: FB2MetadataContext.cpp:104
libebook::FB2BookTitleContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:73
libebook::FB2DescriptionContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:154
libebook::FB2SequenceContext
Definition: FB2MetadataContext.h:446
libebook::FB2EmailContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:191
libebook::FB2AnnotationContext
Definition: FB2MetadataContext.h:20
libebook::FB2LastNameContext::m_authors
FB2Authors & m_authors
Definition: FB2MetadataContext.h:325
libebook::FB2LangContext
Definition: FB2MetadataContext.h:297
libebook::FB2KeywordsContext
Definition: FB2MetadataContext.h:283
libebook::FB2AnnotationContext::text
virtual void text(const char *value)
Process textual content of an element.
Definition: FB2MetadataContext.cpp:148
libebook::FB2GenreContext
Definition: FB2MetadataContext.h:213
libebook::FB2SrcUrlContext
Definition: FB2MetadataContext.h:502
libebook::FB2CustomInfoContext::m_text
librevenge::RVNGString m_text
Definition: FB2MetadataContext.h:121
libebook::FB2TitleInfoContext::m_authors
FB2Authors * m_authors
Definition: FB2MetadataContext.h:536
libebook::FB2CustomInfoContext
Definition: FB2MetadataContext.h:106
libebook::FB2OutputContext
Definition: FB2MetadataContext.h:362
libebook::FB2PublisherContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:427
libebook::FB2BlockFormatContextBase
Definition: FB2ParserContext.h:151
libebook::FB2MiddleNameContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:337
libebook::FB2IdContext
Definition: FB2MetadataContext.h:255
name
string name
Definition: CHMStream.cpp:80
libebook::FB2HistoryContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:236
libebook::FB2AuthorContext
Definition: FB2MetadataContext.h:33
libebook::FB2SrcUrlContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:511
libebook::FB2GenreContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:222
libebook::FB2ProgramUsedContext
Definition: FB2MetadataContext.h:404
libebook::TextInfoContext::m_authors
FB2Authors * m_authors
Definition: FB2MetadataContext.h:179
libebook::FB2NicknameContext::m_authors
FB2Authors & m_authors
Definition: FB2MetadataContext.h:359
libebook::FB2YearContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:576
libebook::FB2TranslatorContext
Definition: FB2MetadataContext.h:539
libebook::EBOOKOPFToken::format
Definition: EBOOKOPFToken.h:56
libebook::FB2CustomInfoContext::m_type
librevenge::RVNGString m_type
Definition: FB2MetadataContext.h:120
libebook::FB2MiddleNameContext
Definition: FB2MetadataContext.h:328
libebook::FB2VersionContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:562
libebook::FB2LastNameContext
Definition: FB2MetadataContext.h:311
libebook::FB2PartContext
Definition: FB2MetadataContext.h:390
libebook
Definition: CHMParser.cpp:20
libebook::FB2SrcLangContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:469
libebook::FB2CityContext
Definition: FB2MetadataContext.h:78
libebook::FB2FirstNameContext
Definition: FB2MetadataContext.h:196
libebook::FB2IdContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:264
libebook::FB2DateContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:137
libebook::FB2DateContext
Definition: FB2MetadataContext.h:124
libebook::FB2TitleInfoContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:531
libebook::TextInfoContext
Definition: FB2MetadataContext.h:159
libebook::FB2BlockFormat
Definition: FB2Style.h:35
libebook::FB2SrcOcrContext
Definition: FB2MetadataContext.h:474
libebook::FB2FirstNameContext::m_authors
FB2Authors & m_authors
Definition: FB2MetadataContext.h:210
libebook::FB2HomePageContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:250
libebook::FB2DescriptionContext
Definition: FB2MetadataContext.h:145
libebook::FB2AnnotationContext::endOfElement
virtual void endOfElement()
Signalize the end of an element.
Definition: FB2MetadataContext.cpp:129
libebook::FB2HistoryContext
Definition: FB2MetadataContext.h:227
libebook::TextInfoContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:174
libebook::FB2IsbnContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:278
libebook::FB2LangContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:306
libebook::FB2ParserContext
Base class for all contexts.
Definition: FB2ParserContext.h:23
libebook::FB2BookNameContext
Definition: FB2MetadataContext.h:50
libebook::FB2CityContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:87
libebook::FB2CoverpageContext
Definition: FB2MetadataContext.h:92
libebook::FB2PartContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:399
libebook::FB2CustomInfoContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:115
libebook::FB2PublisherContext
Definition: FB2MetadataContext.h:418
libebook::FB2CoverpageContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:101
libebook::FB2VersionContext
Definition: FB2MetadataContext.h:553
libebook::FB2Authors
Definition: FB2MetadataContext.cpp:21
libebook::FB2AuthorContext::m_authors
FB2Authors & m_authors
Definition: FB2MetadataContext.h:47
libebook::FB2HomePageContext
Definition: FB2MetadataContext.h:241
libebook::FB2LastNameContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:320
libebook::FB2TranslatorContext::endOfAttributes
virtual void endOfAttributes()
Signalize the end of attributes.
Definition: FB2MetadataContext.h:548