summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/fx_edit.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-29 17:03:59 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-29 17:03:59 -0700
commit0bb385b1093740cc03c5d19847819d852aecc4bf (patch)
tree6ce5be28b3c0a27f8011f98ce45f5f589ed86736 /fpdfsdk/fxedit/fx_edit.h
parentbec76925d40d28e6c26ca4bb456368ff5f69a607 (diff)
downloadpdfium-0bb385b1093740cc03c5d19847819d852aecc4bf.tar.xz
Move fpdfsdk/fxedit/include to fpdfsdk/fxedit
BUG=pdfium:611 Review-Url: https://codereview.chromium.org/2375963006
Diffstat (limited to 'fpdfsdk/fxedit/fx_edit.h')
-rw-r--r--fpdfsdk/fxedit/fx_edit.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/fpdfsdk/fxedit/fx_edit.h b/fpdfsdk/fxedit/fx_edit.h
new file mode 100644
index 0000000000..6c9166709c
--- /dev/null
+++ b/fpdfsdk/fxedit/fx_edit.h
@@ -0,0 +1,23 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef FPDFSDK_FXEDIT_FX_EDIT_H_
+#define FPDFSDK_FXEDIT_FX_EDIT_H_
+
+#include "core/fxcrt/fx_basic.h"
+
+class IPVT_FontMap;
+
+#define FX_EDIT_ISLATINWORD(u) \
+ (u == 0x2D || (u <= 0x005A && u >= 0x0041) || \
+ (u <= 0x007A && u >= 0x0061) || (u <= 0x02AF && u >= 0x00C0))
+
+CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap,
+ int32_t nFontIndex,
+ uint16_t Word,
+ uint16_t SubWord);
+
+#endif // FPDFSDK_FXEDIT_FX_EDIT_H_