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

Side by Side Diff: fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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
« no previous file with comments | « core/src/reflow/reflowedtextpage.h ('k') | fpdfsdk/include/formfiller/FFL_IFormFiller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_ 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_ 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_
9 9
10 #include "../pdfwindow/PWL_FontMap.h" 10 #include "../pdfwindow/PWL_FontMap.h"
(...skipping 11 matching lines...) Expand all
22 22
23 virtual void Initial(FX_LPCSTR fontname = NUL L); 23 virtual void Initial(FX_LPCSTR fontname = NUL L);
24 24
25 public: 25 public:
26 void SetDefaultFont(CPDF_Font * pFont, const CFX_ByteString & sFontName); 26 void SetDefaultFont(CPDF_Font * pFont, const CFX_ByteString & sFontName);
27 27
28 void Reset(); 28 void Reset();
29 void SetAPType(const CFX_Byte String& sAPType); 29 void SetAPType(const CFX_Byte String& sAPType);
30 30
31 protected: 31 protected:
32 » virtual CPDF_Font*» » » FindFontSameCharset(CFX_ByteStri ng& sFontAlias, FX_INT32 nCharset); 32 » virtual CPDF_Font*» » » FindFontSameCharset(CFX_ByteStri ng& sFontAlias, int32_t nCharset);
33 virtual void AddedFont(CPDF_Font* pFont, cons t CFX_ByteString& sFontAlias); 33 virtual void AddedFont(CPDF_Font* pFont, cons t CFX_ByteString& sFontAlias);
34 virtual CPDF_Document* GetDocument(); 34 virtual CPDF_Document* GetDocument();
35 private: 35 private:
36 CPDF_Font* FindResFontSameCharset(C PDF_Dictionary* pResDict, CFX_ByteString& sFontAlias, 36 CPDF_Font* FindResFontSameCharset(C PDF_Dictionary* pResDict, CFX_ByteString& sFontAlias,
37 » » » » » » » » » FX_INT32 nCharset); 37 » » » » » » » » » int32_t nCharset);
38 CPDF_Font* GetAnnotDefaultFont(CFX_ ByteString &csNameTag); 38 CPDF_Font* GetAnnotDefaultFont(CFX_ ByteString &csNameTag);
39 void AddFontToAnnotDict(CPDF_ Font* pFont, const CFX_ByteString& sAlias); 39 void AddFontToAnnotDict(CPDF_ Font* pFont, const CFX_ByteString& sAlias);
40 40
41 private: 41 private:
42 CPDF_Document* m_pDocument; 42 CPDF_Document* m_pDocument;
43 CPDF_Dictionary* m_pAnnotDict; 43 CPDF_Dictionary* m_pAnnotDict;
44 CPDF_Font* m_pDefaultFont; 44 CPDF_Font* m_pDefaultFont;
45 CFX_ByteString m_sDefaultFontName; 45 CFX_ByteString m_sDefaultFontName;
46 46
47 CFX_ByteString m_sAPType; 47 CFX_ByteString m_sAPType;
48 }; 48 };
49 49
50 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_ 50 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_CBA_FONTMAP_H_
OLDNEW
« no previous file with comments | « core/src/reflow/reflowedtextpage.h ('k') | fpdfsdk/include/formfiller/FFL_IFormFiller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698