OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FPDFDOC_CPVT_GENERATEAP_H_ | 7 #ifndef CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
8 #define CORE_FPDFDOC_CPVT_GENERATEAP_H_ | 8 #define CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
9 | 9 |
10 #include "core/fpdfdoc/cpdf_defaultappearance.h" | 10 #include "core/fpdfdoc/cpdf_defaultappearance.h" |
11 #include "core/fpdfdoc/cpdf_variabletext.h" | 11 #include "core/fpdfdoc/cpdf_variabletext.h" |
12 #include "core/fpdfdoc/cpvt_color.h" | 12 #include "core/fpdfdoc/cpvt_color.h" |
13 #include "core/fpdfdoc/cpvt_dash.h" | 13 #include "core/fpdfdoc/cpvt_dash.h" |
14 #include "core/fxcrt/include/fx_coordinates.h" | 14 #include "core/fxcrt/fx_coordinates.h" |
15 #include "core/fxcrt/include/fx_string.h" | 15 #include "core/fxcrt/fx_string.h" |
16 #include "core/fxcrt/include/fx_system.h" | 16 #include "core/fxcrt/fx_system.h" |
17 | 17 |
18 class CPDF_Dictionary; | 18 class CPDF_Dictionary; |
19 class CPDF_Document; | 19 class CPDF_Document; |
20 class IPVT_FontMap; | 20 class IPVT_FontMap; |
21 | 21 |
22 struct CPVT_WordRange; | 22 struct CPVT_WordRange; |
23 | 23 |
24 bool FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); | 24 bool FPDF_GenerateAP(CPDF_Document* pDoc, CPDF_Dictionary* pAnnotDict); |
25 | 25 |
26 class CPVT_GenerateAP { | 26 class CPVT_GenerateAP { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 int32_t nFontIndex, | 65 int32_t nFontIndex, |
66 uint16_t Word, | 66 uint16_t Word, |
67 uint16_t SubWord); | 67 uint16_t SubWord); |
68 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); | 68 static CFX_ByteString GetWordRenderString(const CFX_ByteString& strWords); |
69 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, | 69 static CFX_ByteString GetFontSetString(IPVT_FontMap* pFontMap, |
70 int32_t nFontIndex, | 70 int32_t nFontIndex, |
71 FX_FLOAT fFontSize); | 71 FX_FLOAT fFontSize); |
72 }; | 72 }; |
73 | 73 |
74 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ | 74 #endif // CORE_FPDFDOC_CPVT_GENERATEAP_H_ |
OLD | NEW |