• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 The PDFium Authors
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 CORE_FPDFDOC_CPVT_WORDINFO_H_
8 #define CORE_FPDFDOC_CPVT_WORDINFO_H_
9 
10 #include <stdint.h>
11 
12 #include "core/fxcrt/fx_codepage_forward.h"
13 
14 struct CPVT_WordInfo {
15   CPVT_WordInfo();
16   CPVT_WordInfo(uint16_t word, FX_Charset charset, int32_t fontIndex);
17   CPVT_WordInfo(const CPVT_WordInfo& word);
18   ~CPVT_WordInfo();
19 
20   CPVT_WordInfo& operator=(const CPVT_WordInfo& word);
21 
22   uint16_t Word;
23   FX_Charset nCharset;
24   float fWordX;
25   float fWordY;
26   float fWordTail;
27   int32_t nFontIndex;
28 };
29 
30 #endif  // CORE_FPDFDOC_CPVT_WORDINFO_H_
31