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_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ |
9 | 9 |
10 #include "../fxedit/fx_edit.h" | 10 #include "fpdfsdk/include/fxedit/fx_edit.h" |
11 #include "public/fpdf_sysfontinfo.h" | 11 #include "public/fpdf_sysfontinfo.h" |
12 | 12 |
13 class CPDF_Document; | 13 class CPDF_Document; |
14 class IFX_SystemHandler; | 14 class IFX_SystemHandler; |
15 | 15 |
16 struct CPWL_FontMap_Data { | 16 struct CPWL_FontMap_Data { |
17 CPDF_Font* pFont; | 17 CPDF_Font* pFont; |
18 int32_t nCharset; | 18 int32_t nCharset; |
19 CFX_ByteString sFontName; | 19 CFX_ByteString sFontName; |
20 }; | 20 }; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 CPDF_Document* pAttachedDoc); | 126 CPDF_Document* pAttachedDoc); |
127 ~CPWL_DocFontMap() override; | 127 ~CPWL_DocFontMap() override; |
128 | 128 |
129 virtual CPDF_Document* GetDocument(); | 129 virtual CPDF_Document* GetDocument(); |
130 | 130 |
131 private: | 131 private: |
132 CPDF_Document* m_pAttachedDoc; | 132 CPDF_Document* m_pAttachedDoc; |
133 }; | 133 }; |
134 | 134 |
135 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ | 135 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ |
OLD | NEW |