Home | History | Annotate | Download | only in fpdfdoc
      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 <memory>
     11 
     12 #include "core/fxcrt/fx_system.h"
     13 
     14 struct CPVT_WordInfo {
     15   CPVT_WordInfo();
     16   CPVT_WordInfo(uint16_t word, int32_t charset, int32_t fontIndex);
     17   CPVT_WordInfo(const CPVT_WordInfo& word);
     18   ~CPVT_WordInfo();
     19 
     20   void operator=(const CPVT_WordInfo& word);
     21 
     22   uint16_t Word;
     23   int32_t nCharset;
     24   float fWordX;
     25   float fWordY;
     26   float fWordTail;
     27   int32_t nFontIndex;
     28 };
     29 
     30 #endif  // CORE_FPDFDOC_CPVT_WORDINFO_H_
     31