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

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

Issue 1257163002: Kill FX_READER_DLL symbol (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 4 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #define GREEK_CHARSET 161 43 #define GREEK_CHARSET 161
44 #define TURKISH_CHARSET 162 44 #define TURKISH_CHARSET 162
45 #define VIETNAMESE_CHARSET 163 45 #define VIETNAMESE_CHARSET 163
46 #define THAI_CHARSET 222 46 #define THAI_CHARSET 222
47 #define EASTEUROPE_CHARSET 238 47 #define EASTEUROPE_CHARSET 238
48 #define RUSSIAN_CHARSET 204 48 #define RUSSIAN_CHARSET 204
49 #define BALTIC_CHARSET 186 49 #define BALTIC_CHARSET 186
50 50
51 #endif 51 #endif
52 52
53 #ifndef PWL_CLASS 53 class CPWL_FontMap : public IFX_Edit_FontMap
54
55 » #ifdef FX_READER_DLL
56 » » #define PWL_CLASS» » __declspec(dllexport)
57 » #else
58 » » #define PWL_CLASS
59 » #endif
60 #endif
61
62 class PWL_CLASS CPWL_FontMap : public IFX_Edit_FontMap
63 { 54 {
64 public: 55 public:
65 CPWL_FontMap(IFX_SystemHandler* pSystemHandler); 56 CPWL_FontMap(IFX_SystemHandler* pSystemHandler);
66 virtual ~CPWL_FontMap(); 57 virtual ~CPWL_FontMap();
67 58
68 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex); 59 virtual CPDF_Font* GetPDFFont(int32_t nFontIndex);
69 virtual CFX_ByteString GetPDFFo ntAlias(int32_t nFontIndex); 60 virtual CFX_ByteString GetPDFFo ntAlias(int32_t nFontIndex);
70 virtual int32_t GetWordF ontIndex(FX_WORD word, int32_t nCharset, int32_t nFontIndex); 61 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); 62 virtual int32_t CharCode FromUnicode(int32_t nFontIndex, FX_WORD word);
72 virtual int32_t CharSetF romUnicode(FX_WORD word, int32_t nOldCharset); 63 virtual int32_t CharSetF romUnicode(FX_WORD word, int32_t nOldCharset);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 108
118 protected: 109 protected:
119 CFX_ArrayTemplate<CPWL_FontMap_Data*> m_aData; 110 CFX_ArrayTemplate<CPWL_FontMap_Data*> m_aData;
120 CFX_ArrayTemplate<CPWL_FontMap_Native*> m_aNativeFont; 111 CFX_ArrayTemplate<CPWL_FontMap_Native*> m_aNativeFont;
121 112
122 private: 113 private:
123 CPDF_Document* m_pPDFDoc; 114 CPDF_Document* m_pPDFDoc;
124 IFX_SystemHandler* m_pSystemHandler; 115 IFX_SystemHandler* m_pSystemHandler;
125 }; 116 };
126 117
127 class PWL_CLASS CPWL_DocFontMap : public CPWL_FontMap 118 class CPWL_DocFontMap : public CPWL_FontMap
128 { 119 {
129 public: 120 public:
130 CPWL_DocFontMap(IFX_SystemHandler* pSystemHandler, CPDF_Document* pAttac hedDoc); 121 CPWL_DocFontMap(IFX_SystemHandler* pSystemHandler, CPDF_Document* pAttac hedDoc);
131 virtual ~CPWL_DocFontMap(); 122 virtual ~CPWL_DocFontMap();
132 123
133 virtual CPDF_Document* GetDocum ent(); 124 virtual CPDF_Document* GetDocum ent();
134 125
135 private: 126 private:
136 CPDF_Document* m_pAttachedDoc; 127 CPDF_Document* m_pAttachedDoc;
137 }; 128 };
138 129
139 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_FONTMAP_H_ 130 #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