1//========================================================================
2//
3// UnicodeTypeTable.h
4//
5// Copyright 2003 Glyph & Cog, LLC
6//
7//========================================================================
8
9//========================================================================
10//
11// Modified under the Poppler project - http://poppler.freedesktop.org
12//
13// All changes made under the Poppler project to this file are licensed
14// under GPL version 2 or later
15//
16// Copyright (C) 2006 Ed Catmur <ed@catmur.co.uk>
17// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
18// Copyright (C) 2016 Khaled Hosny <khaledhosny@eglug.org>
19// Copyright (C) 2019 Adriaan de Groot <groot@kde.org>
20// Copyright (C) 2019 Albert Astals Cid <aacid@kde.org>
21//
22// To see a description of the changes please see the Changelog file that
23// came with your tarball or type make ChangeLog if you are building from git
24//
25//========================================================================
26
27#ifndef UNICODETYPETABLE_H
28#define UNICODETYPETABLE_H
29
30#include "CharTypes.h"
31#include "poppler_private_export.h"
32
33extern bool unicodeTypeL(Unicode c);
34
35extern bool unicodeTypeR(Unicode c);
36
37extern bool unicodeTypeNum(Unicode c);
38
39extern bool unicodeTypeAlphaNum(Unicode c);
40
41extern bool unicodeIsAlphabeticPresentationForm(Unicode c);
42
43extern Unicode unicodeToUpper(Unicode c);
44
45extern Unicode POPPLER_PRIVATE_EXPORT *unicodeNormalizeNFKC(const Unicode *in, int len, int *out_len, int **indices);
46
47extern Unicode POPPLER_PRIVATE_EXPORT *unicodeNormalizeNFKC(const Unicode *in, int len, int *out_len, int **indices, bool reverseRTL);
48
49#endif
50

source code of poppler/poppler/UnicodeTypeTable.h