OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 CORE_FPDFAPI_FPDF_PAGE_CPDF_PAGEMODULE_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_PAGEMODULE_H_ |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_PAGEMODULE_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_PAGEMODULE_H_ |
9 | 9 |
10 #include "core/fpdfapi/font/font_int.h" | 10 #include "core/fpdfapi/font/font_int.h" |
11 #include "core/fpdfapi/fpdf_page/cpdf_colorspace.h" | 11 #include "core/fpdfapi/page/cpdf_colorspace.h" |
12 #include "core/fpdfapi/fpdf_page/pageint.h" | 12 #include "core/fpdfapi/page/pageint.h" |
13 | 13 |
14 class CPDF_Document; | 14 class CPDF_Document; |
15 | 15 |
16 class CPDF_PageModule { | 16 class CPDF_PageModule { |
17 public: | 17 public: |
18 CPDF_PageModule(); | 18 CPDF_PageModule(); |
19 ~CPDF_PageModule(); | 19 ~CPDF_PageModule(); |
20 | 20 |
21 CPDF_FontGlobals* GetFontGlobals(); | 21 CPDF_FontGlobals* GetFontGlobals(); |
22 CPDF_ColorSpace* GetStockCS(int family); | 22 CPDF_ColorSpace* GetStockCS(int family); |
23 void ClearStockFont(CPDF_Document* pDoc); | 23 void ClearStockFont(CPDF_Document* pDoc); |
24 | 24 |
25 private: | 25 private: |
26 CPDF_FontGlobals m_FontGlobals; | 26 CPDF_FontGlobals m_FontGlobals; |
27 CPDF_DeviceCS m_StockGrayCS; | 27 CPDF_DeviceCS m_StockGrayCS; |
28 CPDF_DeviceCS m_StockRGBCS; | 28 CPDF_DeviceCS m_StockRGBCS; |
29 CPDF_DeviceCS m_StockCMYKCS; | 29 CPDF_DeviceCS m_StockCMYKCS; |
30 CPDF_PatternCS m_StockPatternCS; | 30 CPDF_PatternCS m_StockPatternCS; |
31 }; | 31 }; |
32 | 32 |
33 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_PAGEMODULE_H_ | 33 #endif // CORE_FPDFAPI_PAGE_CPDF_PAGEMODULE_H_ |
OLD | NEW |