OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 FPDFSDK_PDFWINDOW_PWL_FONTMAP_H_ | 7 #ifndef FPDFSDK_PDFWINDOW_PWL_FONTMAP_H_ |
8 #define FPDFSDK_PDFWINDOW_PWL_FONTMAP_H_ | 8 #define FPDFSDK_PDFWINDOW_PWL_FONTMAP_H_ |
9 | 9 |
10 #include "core/fpdfdoc/include/ipvt_fontmap.h" | 10 #include "core/fpdfdoc/include/ipvt_fontmap.h" |
11 #include "fpdfsdk/include/fxedit/fx_edit.h" | 11 #include "fpdfsdk/fxedit/include/fx_edit.h" |
12 #include "public/fpdf_sysfontinfo.h" | 12 #include "public/fpdf_sysfontinfo.h" |
13 | 13 |
14 class CPDF_Document; | 14 class CPDF_Document; |
15 class IFX_SystemHandler; | 15 class IFX_SystemHandler; |
16 | 16 |
17 struct CPWL_FontMap_Data { | 17 struct CPWL_FontMap_Data { |
18 CPDF_Font* pFont; | 18 CPDF_Font* pFont; |
19 int32_t nCharset; | 19 int32_t nCharset; |
20 CFX_ByteString sFontName; | 20 CFX_ByteString sFontName; |
21 }; | 21 }; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 ~CPWL_DocFontMap() override; | 129 ~CPWL_DocFontMap() override; |
130 | 130 |
131 private: | 131 private: |
132 // CPWL_FontMap: | 132 // CPWL_FontMap: |
133 CPDF_Document* GetDocument() override; | 133 CPDF_Document* GetDocument() override; |
134 | 134 |
135 CPDF_Document* m_pAttachedDoc; | 135 CPDF_Document* m_pAttachedDoc; |
136 }; | 136 }; |
137 | 137 |
138 #endif // FPDFSDK_PDFWINDOW_PWL_FONTMAP_H_ | 138 #endif // FPDFSDK_PDFWINDOW_PWL_FONTMAP_H_ |
OLD | NEW |