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_FONTMAP_H_ | 7 #ifndef CORE_FPDFDOC_CPVT_FONTMAP_H_ |
8 #define CORE_FPDFDOC_CPVT_FONTMAP_H_ | 8 #define CORE_FPDFDOC_CPVT_FONTMAP_H_ |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 #include "core/fpdfdoc/ipvt_fontmap.h" | 12 #include "core/fpdfdoc/ipvt_fontmap.h" |
13 #include "core/fxcrt/include/fx_string.h" | 13 #include "core/fxcrt/fx_string.h" |
14 | 14 |
15 class CPDF_Document; | 15 class CPDF_Document; |
16 class CPDF_Dictionary; | 16 class CPDF_Dictionary; |
17 class CPDF_Font; | 17 class CPDF_Font; |
18 | 18 |
19 class CPVT_FontMap : public IPVT_FontMap { | 19 class CPVT_FontMap : public IPVT_FontMap { |
20 public: | 20 public: |
21 CPVT_FontMap(CPDF_Document* pDoc, | 21 CPVT_FontMap(CPDF_Document* pDoc, |
22 CPDF_Dictionary* pResDict, | 22 CPDF_Dictionary* pResDict, |
23 CPDF_Font* pDefFont, | 23 CPDF_Font* pDefFont, |
(...skipping 17 matching lines...) Expand all Loading... |
41 private: | 41 private: |
42 CPDF_Document* const m_pDocument; | 42 CPDF_Document* const m_pDocument; |
43 const CPDF_Dictionary* const m_pResDict; | 43 const CPDF_Dictionary* const m_pResDict; |
44 CPDF_Font* const m_pDefFont; | 44 CPDF_Font* const m_pDefFont; |
45 const CFX_ByteString m_sDefFontAlias; | 45 const CFX_ByteString m_sDefFontAlias; |
46 CPDF_Font* m_pSysFont; | 46 CPDF_Font* m_pSysFont; |
47 CFX_ByteString m_sSysFontAlias; | 47 CFX_ByteString m_sSysFontAlias; |
48 }; | 48 }; |
49 | 49 |
50 #endif // CORE_FPDFDOC_CPVT_FONTMAP_H_ | 50 #endif // CORE_FPDFDOC_CPVT_FONTMAP_H_ |
OLD | NEW |