| 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_PAGE_CPDF_DOCPAGEDATA_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_DOCPAGEDATA_H_ |
| 8 #define CORE_FPDFAPI_PAGE_CPDF_DOCPAGEDATA_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_DOCPAGEDATA_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 class CPDF_Image; | 22 class CPDF_Image; |
| 23 class CPDF_Object; | 23 class CPDF_Object; |
| 24 class CPDF_Stream; | 24 class CPDF_Stream; |
| 25 class CPDF_StreamAcc; | 25 class CPDF_StreamAcc; |
| 26 | 26 |
| 27 class CPDF_DocPageData { | 27 class CPDF_DocPageData { |
| 28 public: | 28 public: |
| 29 explicit CPDF_DocPageData(CPDF_Document* pPDFDoc); | 29 explicit CPDF_DocPageData(CPDF_Document* pPDFDoc); |
| 30 ~CPDF_DocPageData(); | 30 ~CPDF_DocPageData(); |
| 31 | 31 |
| 32 void Clear(bool bRelease = FALSE); | 32 void Clear(bool bRelease = false); |
| 33 CPDF_Font* GetFont(CPDF_Dictionary* pFontDict); | 33 CPDF_Font* GetFont(CPDF_Dictionary* pFontDict); |
| 34 CPDF_Font* GetStandardFont(const CFX_ByteString& fontName, | 34 CPDF_Font* GetStandardFont(const CFX_ByteString& fontName, |
| 35 CPDF_FontEncoding* pEncoding); | 35 CPDF_FontEncoding* pEncoding); |
| 36 void ReleaseFont(const CPDF_Dictionary* pFontDict); | 36 void ReleaseFont(const CPDF_Dictionary* pFontDict); |
| 37 CPDF_ColorSpace* GetColorSpace(CPDF_Object* pCSObj, | 37 CPDF_ColorSpace* GetColorSpace(CPDF_Object* pCSObj, |
| 38 const CPDF_Dictionary* pResources); | 38 const CPDF_Dictionary* pResources); |
| 39 CPDF_ColorSpace* GetCopiedColorSpace(CPDF_Object* pCSObj); | 39 CPDF_ColorSpace* GetCopiedColorSpace(CPDF_Object* pCSObj); |
| 40 void ReleaseColorSpace(const CPDF_Object* pColorSpace); | 40 void ReleaseColorSpace(const CPDF_Object* pColorSpace); |
| 41 CPDF_Pattern* GetPattern(CPDF_Object* pPatternObj, | 41 CPDF_Pattern* GetPattern(CPDF_Object* pPatternObj, |
| 42 bool bShading, | 42 bool bShading, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 std::map<CFX_ByteString, CPDF_Stream*> m_HashProfileMap; | 76 std::map<CFX_ByteString, CPDF_Stream*> m_HashProfileMap; |
| 77 CPDF_ColorSpaceMap m_ColorSpaceMap; | 77 CPDF_ColorSpaceMap m_ColorSpaceMap; |
| 78 CPDF_FontFileMap m_FontFileMap; | 78 CPDF_FontFileMap m_FontFileMap; |
| 79 CPDF_FontMap m_FontMap; | 79 CPDF_FontMap m_FontMap; |
| 80 CPDF_IccProfileMap m_IccProfileMap; | 80 CPDF_IccProfileMap m_IccProfileMap; |
| 81 CPDF_ImageMap m_ImageMap; | 81 CPDF_ImageMap m_ImageMap; |
| 82 CPDF_PatternMap m_PatternMap; | 82 CPDF_PatternMap m_PatternMap; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 #endif // CORE_FPDFAPI_PAGE_CPDF_DOCPAGEDATA_H_ | 85 #endif // CORE_FPDFAPI_PAGE_CPDF_DOCPAGEDATA_H_ |
| OLD | NEW |