summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/pageint.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-11 12:29:38 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-11 12:29:38 -0700
commit9fa95efa11f211a6faf9b2adb27211f784aee89a (patch)
tree821d0ba42f8cff01eac78da0ebd151e160a93306 /core/fpdfapi/page/pageint.h
parent4ea4281ad5775686317ef53f48eab39898d13d23 (diff)
downloadpdfium-9fa95efa11f211a6faf9b2adb27211f784aee89a.tar.xz
Rename fpdf_page_doc.cpp -> cpdf_docpagedata.h
Review-Url: https://codereview.chromium.org/2409283002
Diffstat (limited to 'core/fpdfapi/page/pageint.h')
-rw-r--r--core/fpdfapi/page/pageint.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/core/fpdfapi/page/pageint.h b/core/fpdfapi/page/pageint.h
index 79cd46b819..5f8351e261 100644
--- a/core/fpdfapi/page/pageint.h
+++ b/core/fpdfapi/page/pageint.h
@@ -307,64 +307,6 @@ class CPDF_ContentParser {
std::unique_ptr<CPDF_StreamContentParser> m_pParser;
};
-class CPDF_DocPageData {
- public:
- explicit CPDF_DocPageData(CPDF_Document* pPDFDoc);
- ~CPDF_DocPageData();
-
- void Clear(bool bRelease = FALSE);
- CPDF_Font* GetFont(CPDF_Dictionary* pFontDict);
- CPDF_Font* GetStandardFont(const CFX_ByteString& fontName,
- CPDF_FontEncoding* pEncoding);
- void ReleaseFont(const CPDF_Dictionary* pFontDict);
- CPDF_ColorSpace* GetColorSpace(CPDF_Object* pCSObj,
- const CPDF_Dictionary* pResources);
- CPDF_ColorSpace* GetCopiedColorSpace(CPDF_Object* pCSObj);
- void ReleaseColorSpace(const CPDF_Object* pColorSpace);
- CPDF_Pattern* GetPattern(CPDF_Object* pPatternObj,
- bool bShading,
- const CFX_Matrix& matrix);
- void ReleasePattern(const CPDF_Object* pPatternObj);
- CPDF_Image* GetImage(CPDF_Object* pImageStream);
- void ReleaseImage(const CPDF_Object* pImageStream);
- CPDF_IccProfile* GetIccProfile(CPDF_Stream* pIccProfileStream);
- void ReleaseIccProfile(const CPDF_IccProfile* pIccProfile);
- CPDF_StreamAcc* GetFontFileStreamAcc(CPDF_Stream* pFontStream);
- void ReleaseFontFileStreamAcc(const CPDF_Stream* pFontStream);
- bool IsForceClear() const { return m_bForceClear; }
- CPDF_CountedColorSpace* FindColorSpacePtr(CPDF_Object* pCSObj) const;
- CPDF_CountedPattern* FindPatternPtr(CPDF_Object* pPatternObj) const;
-
- private:
- using CPDF_CountedFont = CPDF_CountedObject<CPDF_Font>;
- using CPDF_CountedIccProfile = CPDF_CountedObject<CPDF_IccProfile>;
- using CPDF_CountedImage = CPDF_CountedObject<CPDF_Image>;
- using CPDF_CountedStreamAcc = CPDF_CountedObject<CPDF_StreamAcc>;
-
- using CPDF_ColorSpaceMap =
- std::map<const CPDF_Object*, CPDF_CountedColorSpace*>;
- using CPDF_FontFileMap = std::map<const CPDF_Stream*, CPDF_CountedStreamAcc*>;
- using CPDF_FontMap = std::map<const CPDF_Dictionary*, CPDF_CountedFont*>;
- using CPDF_IccProfileMap =
- std::map<const CPDF_Stream*, CPDF_CountedIccProfile*>;
- using CPDF_ImageMap = std::map<uint32_t, CPDF_CountedImage*>;
- using CPDF_PatternMap = std::map<const CPDF_Object*, CPDF_CountedPattern*>;
-
- CPDF_ColorSpace* GetColorSpaceImpl(CPDF_Object* pCSObj,
- const CPDF_Dictionary* pResources,
- std::set<CPDF_Object*>* pVisited);
-
- CPDF_Document* const m_pPDFDoc;
- bool m_bForceClear;
- std::map<CFX_ByteString, CPDF_Stream*> m_HashProfileMap;
- CPDF_ColorSpaceMap m_ColorSpaceMap;
- CPDF_FontFileMap m_FontFileMap;
- CPDF_FontMap m_FontMap;
- CPDF_IccProfileMap m_IccProfileMap;
- CPDF_ImageMap m_ImageMap;
- CPDF_PatternMap m_PatternMap;
-};
-
class CPDF_Function {
public:
enum class Type {