1
by Dmitrijs Ledkovs
Import upstream version 1.5.11 |
1 |
/******************************************************************************
|
2 |
*
|
|
3 |
* $Id: unicodertf.h 1688 2005-01-01 04:42:26Z scribe $
|
|
4 |
*
|
|
5 |
* Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
|
|
6 |
* CrossWire Bible Society
|
|
7 |
* P. O. Box 2528
|
|
8 |
* Tempe, AZ 85280-2528
|
|
9 |
*
|
|
10 |
* This program is free software; you can redistribute it and/or modify it
|
|
11 |
* under the terms of the GNU General Public License as published by the
|
|
12 |
* Free Software Foundation version 2.
|
|
13 |
*
|
|
14 |
* This program is distributed in the hope that it will be useful, but
|
|
15 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
17 |
* General Public License for more details.
|
|
18 |
*
|
|
19 |
*/
|
|
20 |
||
21 |
#ifndef UNICODERTF_H
|
|
22 |
#define UNICODERTF_H
|
|
23 |
||
24 |
#include <swfilter.h> |
|
25 |
||
26 |
SWORD_NAMESPACE_START
|
|
27 |
||
28 |
/** This filter converts UTF-8 text into RTF Unicode tags
|
|
29 |
*/
|
|
30 |
class SWDLLEXPORT UnicodeRTF : public SWFilter { |
|
31 |
public: |
|
32 |
UnicodeRTF(); |
|
33 |
virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0); |
|
34 |
};
|
|
35 |
||
36 |
SWORD_NAMESPACE_END
|
|
37 |
#endif
|