Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: xfa/src/fxfa/app/xfa_fontmgr.h

Issue 1778173002: Split apart the remainder of fpdf_render_render.cpp into per-class files. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 XFA_SRC_FXFA_APP_XFA_FONTMGR_H_ 7 #ifndef XFA_SRC_FXFA_APP_XFA_FONTMGR_H_
8 #define XFA_SRC_FXFA_APP_XFA_FONTMGR_H_ 8 #define XFA_SRC_FXFA_APP_XFA_FONTMGR_H_
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "core/include/fxcrt/fx_ext.h" 12 #include "core/include/fxcrt/fx_ext.h"
13 #include "core/include/fxcrt/fx_system.h" 13 #include "core/include/fxcrt/fx_system.h"
14 #include "xfa/include/fxfa/fxfa.h" 14 #include "xfa/include/fxfa/fxfa.h"
15 #include "xfa/src/fgas/font/fgas_font.h" 15 #include "xfa/src/fgas/font/fgas_font.h"
16 16
17 class CPDF_Font;
18
17 struct XFA_FONTINFO { 19 struct XFA_FONTINFO {
18 FX_DWORD dwFontNameHash; 20 FX_DWORD dwFontNameHash;
19 const FX_WCHAR* pPsName; 21 const FX_WCHAR* pPsName;
20 const FX_WCHAR* pReplaceFont; 22 const FX_WCHAR* pReplaceFont;
21 FX_WORD dwStyles; 23 FX_WORD dwStyles;
22 FX_WORD wCodePage; 24 FX_WORD wCodePage;
23 }; 25 };
24 26
25 class CXFA_DefFontMgr : public IXFA_FontMgr { 27 class CXFA_DefFontMgr : public IXFA_FontMgr {
26 public: 28 public:
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 91
90 protected: 92 protected:
91 void DelAllMgrMap(); 93 void DelAllMgrMap();
92 94
93 CFX_MapPtrToPtr m_PDFFontMgrArray; 95 CFX_MapPtrToPtr m_PDFFontMgrArray;
94 IXFA_FontMgr* m_pDefFontMgr; 96 IXFA_FontMgr* m_pDefFontMgr;
95 std::map<CFX_ByteString, IFX_Font*> m_FontMap; 97 std::map<CFX_ByteString, IFX_Font*> m_FontMap;
96 }; 98 };
97 99
98 #endif // XFA_SRC_FXFA_APP_XFA_FONTMGR_H_ 100 #endif // XFA_SRC_FXFA_APP_XFA_FONTMGR_H_
OLDNEW
« BUILD.gn ('K') | « xfa/include/fxjse/fxjse.h ('k') | xfa/src/fxjse/context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698