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_FORMFILLER_CBA_FONTMAP_H_ | 7 #ifndef FPDFSDK_FORMFILLER_CBA_FONTMAP_H_ |
8 #define FPDFSDK_FORMFILLER_CBA_FONTMAP_H_ | 8 #define FPDFSDK_FORMFILLER_CBA_FONTMAP_H_ |
9 | 9 |
10 #include "fpdfsdk/include/pdfwindow/PWL_FontMap.h" | 10 #include "fpdfsdk/pdfwindow/PWL_FontMap.h" |
11 | 11 |
12 class CPDF_Dictionary; | 12 class CPDF_Dictionary; |
13 class CPDFSDK_Annot; | 13 class CPDFSDK_Annot; |
14 | 14 |
15 class CBA_FontMap : public CPWL_FontMap { | 15 class CBA_FontMap : public CPWL_FontMap { |
16 public: | 16 public: |
17 CBA_FontMap(CPDFSDK_Annot* pAnnot, IFX_SystemHandler* pSystemHandler); | 17 CBA_FontMap(CPDFSDK_Annot* pAnnot, IFX_SystemHandler* pSystemHandler); |
18 ~CBA_FontMap() override; | 18 ~CBA_FontMap() override; |
19 | 19 |
20 void SetDefaultFont(CPDF_Font* pFont, const CFX_ByteString& sFontName); | 20 void SetDefaultFont(CPDF_Font* pFont, const CFX_ByteString& sFontName); |
(...skipping 16 matching lines...) Expand all Loading... |
37 void AddFontToAnnotDict(CPDF_Font* pFont, const CFX_ByteString& sAlias); | 37 void AddFontToAnnotDict(CPDF_Font* pFont, const CFX_ByteString& sAlias); |
38 | 38 |
39 CPDF_Document* m_pDocument; | 39 CPDF_Document* m_pDocument; |
40 CPDF_Dictionary* m_pAnnotDict; | 40 CPDF_Dictionary* m_pAnnotDict; |
41 CPDF_Font* m_pDefaultFont; | 41 CPDF_Font* m_pDefaultFont; |
42 CFX_ByteString m_sDefaultFontName; | 42 CFX_ByteString m_sDefaultFontName; |
43 CFX_ByteString m_sAPType; | 43 CFX_ByteString m_sAPType; |
44 }; | 44 }; |
45 | 45 |
46 #endif // FPDFSDK_FORMFILLER_CBA_FONTMAP_H_ | 46 #endif // FPDFSDK_FORMFILLER_CBA_FONTMAP_H_ |
OLD | NEW |