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
utf8arshaping.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* utf8arshaping.h - class UTF8arShaping: a Filter which can
4
* be used to improve Arabic shaping of character in a
5
* text stream
6
*
7
* $Id: utf8arshaping.h 3786 2020-08-30 11:35:14Z scribe $
8
*
9
* Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org)
10
* CrossWire Bible Society
11
* P. O. Box 2528
12
* Tempe, AZ 85280-2528
13
*
14
* This program is free software; you can redistribute it and/or modify it
15
* under the terms of the GNU General Public License as published by the
16
* Free Software Foundation version 2.
17
*
18
* This program is distributed in the hope that it will be useful, but
19
* WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
* General Public License for more details.
22
*
23
*/
24
25
#ifndef UTF8ARSHAPING_H
26
#define UTF8ARSHAPING_H
27
28
#include <
swfilter.h
>
29
30
#include <unicode/utypes.h>
31
#include <unicode/ucnv.h>
32
#include <unicode/uchar.h>
33
#include <unicode/ushape.h>
34
35
SWORD_NAMESPACE_START
36
40
class
SWDLLEXPORT
UTF8arShaping
:
public
SWFilter
{
41
private
:
42
UConverter*
conv
;
43
UErrorCode
err
;
44
public
:
45
UTF8arShaping
();
46
~
UTF8arShaping
();
47
virtual
char
processText
(
SWBuf
&text,
const
SWKey
*key = 0,
const
SWModule
*
module
= 0);
48
};
49
50
SWORD_NAMESPACE_END
51
#endif
52
53
UTF8arShaping
Definition:
utf8arshaping.h:40
SWORD_NAMESPACE_START
#define SWORD_NAMESPACE_START
Definition:
defs.h:39
SWBuf
Definition:
swbuf.h:47
SWDLLEXPORT
#define SWDLLEXPORT
Definition:
defs.h:171
module
SWText * module
Definition:
osis2mod.cpp:105
swfilter.h
SWFilter
Definition:
swfilter.h:45
SWModule
Definition:
swmodule.h:101
SWFilter::processText
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)=0
UTF8arShaping::conv
UConverter * conv
Definition:
utf8arshaping.h:42
SWORD_NAMESPACE_END
#define SWORD_NAMESPACE_END
Definition:
defs.h:40
UTF8arShaping::err
UErrorCode err
Definition:
utf8arshaping.h:43
SWKey
Definition:
swkey.h:77
include
utf8arshaping.h
Generated by
1.8.5