The SWORD Project
1.9.0.svnversion
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
diafiltmgr.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* diafiltmgr.h - DiathekeFilterMgr
4
*
5
* $Id: diafiltmgr.h 3753 2020-07-10 09:32:46Z scribe $
6
*
7
* Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org)
8
* CrossWire Bible Society
9
* P. O. Box 2528
10
* Tempe, AZ 85280-2528
11
*
12
* This program is free software; you can redistribute it and/or modify it
13
* under the terms of the GNU General Public License as published by the
14
* Free Software Foundation version 2.
15
*
16
* This program is distributed in the hope that it will be useful, but
17
* WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
* General Public License for more details.
20
*
21
*/
22
23
#ifndef DIAFILTMGR_H
24
#define DIAFILTMGR_H
25
26
#define FMT_CGI 127
27
#define FMT_INTERNAL 126
28
29
#include <
encfiltmgr.h
>
30
31
#ifndef NO_SWORD_NAMESPACE
32
using namespace
sword;
33
#endif
34
35
class
DiathekeFilterMgr
:
public
EncodingFilterMgr
{
36
protected
:
37
SWFilter
*
fromthml
;
38
SWFilter
*
fromgbf
;
39
SWFilter
*
fromplain
;
40
SWFilter
*
fromosis
;
41
SWFilter
*
fromtei
;
42
43
char
markup
;
44
45
void
CreateFilters(
char
markup);
46
public
:
47
DiathekeFilterMgr
(
char
markup =
FMT_THML
,
char
encoding =
ENC_UTF8
);
48
~
DiathekeFilterMgr
();
49
char
Markup(
char
m
=
FMT_UNKNOWN
);
50
virtual
void
addRenderFilters(SWModule *
module
,
ConfigEntMap
§ion);
51
};
52
53
#endif
ENC_UTF8
Definition:
swmodule.h:46
encfiltmgr.h
DiathekeFilterMgr::fromgbf
SWFilter * fromgbf
Definition:
diafiltmgr.h:38
module
SWText * module
Definition:
osis2mod.cpp:105
DiathekeFilterMgr::fromplain
SWFilter * fromplain
Definition:
diafiltmgr.h:39
DiathekeFilterMgr::fromosis
SWFilter * fromosis
Definition:
diafiltmgr.h:40
EncodingFilterMgr
Definition:
encfiltmgr.h:40
FMT_UNKNOWN
Definition:
swmodule.h:45
FMT_THML
Definition:
swmodule.h:45
SWFilter
Definition:
swfilter.h:45
SWORD_NAMESPACE_START::m
DataMap m
Definition:
url.cpp:38
DiathekeFilterMgr
Definition:
diafiltmgr.h:35
ConfigEntMap
SWORD_NAMESPACE_START typedef multimapwithdefault< SWBuf, SWBuf, std::less< SWBuf > > ConfigEntMap
Definition:
swconfig.h:35
DiathekeFilterMgr::fromthml
SWFilter * fromthml
Definition:
diafiltmgr.h:37
DiathekeFilterMgr::markup
char markup
Definition:
diafiltmgr.h:43
DiathekeFilterMgr::fromtei
SWFilter * fromtei
Definition:
diafiltmgr.h:41
utilities
diatheke
diafiltmgr.h
Generated by
1.8.5