| 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 24 matching lines...) Expand all Loading... |
| 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, |
| 43 const CFX_Matrix& matrix); | 43 const CFX_Matrix& matrix); |
| 44 void ReleasePattern(const CPDF_Object* pPatternObj); | 44 void ReleasePattern(const CPDF_Object* pPatternObj); |
| 45 CPDF_Image* GetImage(CPDF_Object* pImageStream); | 45 CPDF_Image* GetImage(uint32_t dwStreamObjNum); |
| 46 void ReleaseImage(const CPDF_Object* pImageStream); | 46 void ReleaseImage(uint32_t dwStreamObjNum); |
| 47 CPDF_IccProfile* GetIccProfile(CPDF_Stream* pIccProfileStream); | 47 CPDF_IccProfile* GetIccProfile(CPDF_Stream* pIccProfileStream); |
| 48 void ReleaseIccProfile(const CPDF_IccProfile* pIccProfile); | 48 void ReleaseIccProfile(const CPDF_IccProfile* pIccProfile); |
| 49 CPDF_StreamAcc* GetFontFileStreamAcc(CPDF_Stream* pFontStream); | 49 CPDF_StreamAcc* GetFontFileStreamAcc(CPDF_Stream* pFontStream); |
| 50 void ReleaseFontFileStreamAcc(const CPDF_Stream* pFontStream); | 50 void ReleaseFontFileStreamAcc(const CPDF_Stream* pFontStream); |
| 51 bool IsForceClear() const { return m_bForceClear; } | 51 bool IsForceClear() const { return m_bForceClear; } |
| 52 CPDF_CountedColorSpace* FindColorSpacePtr(CPDF_Object* pCSObj) const; | 52 CPDF_CountedColorSpace* FindColorSpacePtr(CPDF_Object* pCSObj) const; |
| 53 CPDF_CountedPattern* FindPatternPtr(CPDF_Object* pPatternObj) const; | 53 CPDF_CountedPattern* FindPatternPtr(CPDF_Object* pPatternObj) const; |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 using CPDF_CountedFont = CPDF_CountedObject<CPDF_Font>; | 56 using CPDF_CountedFont = CPDF_CountedObject<CPDF_Font>; |
| (...skipping 19 matching lines...) Expand all 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 |