Home | History | Annotate | Download | only in fxedit
      1 // Copyright 2014 PDFium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
      6 
      7 #ifndef FPDFSDK_FXEDIT_FX_EDIT_H_
      8 #define FPDFSDK_FXEDIT_FX_EDIT_H_
      9 
     10 #include "core/fxcrt/fx_basic.h"
     11 
     12 class IPVT_FontMap;
     13 
     14 #define FX_EDIT_ISLATINWORD(u)                  \
     15   (u == 0x2D || (u <= 0x005A && u >= 0x0041) || \
     16    (u <= 0x007A && u >= 0x0061) || (u <= 0x02AF && u >= 0x00C0))
     17 
     18 CFX_ByteString GetPDFWordString(IPVT_FontMap* pFontMap,
     19                                 int32_t nFontIndex,
     20                                 uint16_t Word,
     21                                 uint16_t SubWord);
     22 
     23 #endif  // FPDFSDK_FXEDIT_FX_EDIT_H_
     24