OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #ifndef CORE_FPDFAPI_IPDF_PAGEMODULE_H_ |
| 8 #define CORE_FPDFAPI_IPDF_PAGEMODULE_H_ |
| 9 |
| 10 class CPDF_ColorSpace; |
| 11 class CPDF_DocPageData; |
| 12 class CPDF_Document; |
| 13 class CPDF_FontGlobals; |
| 14 |
| 15 class IPDF_PageModule { |
| 16 public: |
| 17 virtual ~IPDF_PageModule() {} |
| 18 |
| 19 virtual CPDF_DocPageData* CreateDocData(CPDF_Document* pDoc) = 0; |
| 20 virtual void ReleaseDoc(CPDF_Document* pDoc) = 0; |
| 21 virtual void ClearDoc(CPDF_Document* pDoc) = 0; |
| 22 virtual CPDF_FontGlobals* GetFontGlobals() = 0; |
| 23 virtual void ClearStockFont(CPDF_Document* pDoc) = 0; |
| 24 virtual void NotifyCJKAvailable() = 0; |
| 25 virtual CPDF_ColorSpace* GetStockCS(int family) = 0; |
| 26 }; |
| 27 |
| 28 #endif // CORE_FPDFAPI_IPDF_PAGEMODULE_H_ |
OLD | NEW |