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