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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_FontMap.h

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. 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 | « fpdfsdk/include/pdfwindow/PWL_EditCtrl.h ('k') | fpdfsdk/include/pdfwindow/PWL_Icon.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_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 "../../../public/fpdf_sysfontinfo.h" 10 #include "../../../public/fpdf_sysfontinfo.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 CPWL_FontMap(IFX_SystemHandler* pSystemHandler); 65 CPWL_FontMap(IFX_SystemHandler* pSystemHandler);
66 virtual ~CPWL_FontMap(); 66 virtual ~CPWL_FontMap();
67 67
68 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex); 68 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex);
69 virtual CFX_ByteString GetPDFFo ntAlias(int32_t nFontIndex); 69 virtual CFX_ByteString GetPDFFo ntAlias(int32_t nFontIndex);
70 virtual int32_t GetWordF ontIndex(FX_WORD word, int32_t nCharset, int32_t nFontIndex); 70 virtual int32_t GetWordF ontIndex(FX_WORD word, int32_t nCharset, int32_t nFontIndex);
71 virtual int32_t CharCode FromUnicode(int32_t nFontIndex, FX_WORD word); 71 virtual int32_t CharCode FromUnicode(int32_t nFontIndex, FX_WORD word);
72 virtual int32_t CharSetF romUnicode(FX_WORD word, int32_t nOldCharset); 72 virtual int32_t CharSetF romUnicode(FX_WORD word, int32_t nOldCharset);
73 73
74 public: 74 public:
75 » virtual void» » » » » » » » Initial(FX_LPCSTR fontname = NULL); 75 » virtual void» » » » » » » » Initial(const FX_CHAR* fontname = NULL);
76 void SetSystemHandler(IFX_SystemHandler* pSystemHandler); 76 void SetSystemHandler(IFX_SystemHandler* pSystemHandler);
77 77
78 int32_t GetFontMapCount() const; 78 int32_t GetFontMapCount() const;
79 const CPWL_FontMap_Data* GetFontM apData(int32_t nIndex) const; 79 const CPWL_FontMap_Data* GetFontM apData(int32_t nIndex) const;
80 80
81 public: 81 public:
82 static int32_t GetNativeCharset(); 82 static int32_t GetNativeCharset();
83 CFX_ByteString GetNativeFontName(int32_t nCharset); 83 CFX_ByteString GetNativeFontName(int32_t nCharset);
84 84
85 static CFX_ByteString GetDefau ltFontByCharset(int32_t nCharset); 85 static CFX_ByteString GetDefau ltFontByCharset(int32_t nCharset);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 CPWL_DocFontMap(IFX_SystemHandler* pSystemHandler, CPDF_Document* pAttac hedDoc); 130 CPWL_DocFontMap(IFX_SystemHandler* pSystemHandler, CPDF_Document* pAttac hedDoc);
131 virtual ~CPWL_DocFontMap(); 131 virtual ~CPWL_DocFontMap();
132 132
133 virtual CPDF_Document* GetDocum ent(); 133 virtual CPDF_Document* GetDocum ent();
134 134
135 private: 135 private:
136 CPDF_Document* m_pAttachedDoc; 136 CPDF_Document* m_pAttachedDoc;
137 }; 137 };
138 138
139 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ 139 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_EditCtrl.h ('k') | fpdfsdk/include/pdfwindow/PWL_Icon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698