Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: fpdfsdk/fxedit/include/fx_edit.h

Issue 2347313002: Remove duplicated charset definitions (Closed)
Patch Set: Nits Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/fxedit/fxet_edit.cpp ('k') | fpdfsdk/pdfwindow/PWL_Edit.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_ 7 #ifndef FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_
8 #define FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_ 8 #define FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_
9 9
10 #include "core/fxcrt/include/fx_basic.h" 10 #include "core/fxcrt/include/fx_basic.h"
11 11
12 class IPVT_FontMap; 12 class IPVT_FontMap;
13 13
14 #define FX_EDIT_ISLATINWORD(u) \ 14 #define FX_EDIT_ISLATINWORD(u) \
15 (u == 0x2D || (u <= 0x005A && u >= 0x0041) || \ 15 (u == 0x2D || (u <= 0x005A && u >= 0x0041) || \
16 (u <= 0x007A && u >= 0x0061) || (u <= 0x02AF && u >= 0x00C0)) 16 (u <= 0x007A && u >= 0x0061) || (u <= 0x02AF && u >= 0x00C0))
17 17
18 #ifndef DEFAULT_CHARSET
19 #define DEFAULT_CHARSET 1
20 #endif
21
22 CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap, 18 CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap,
23 int32_t nFontIndex, 19 int32_t nFontIndex,
24 uint16_t Word, 20 uint16_t Word,
25 uint16_t SubWord); 21 uint16_t SubWord);
26 22
27 #endif // FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_ 23 #endif // FPDFSDK_FXEDIT_INCLUDE_FX_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fxedit/fxet_edit.cpp ('k') | fpdfsdk/pdfwindow/PWL_Edit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698