OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 PDF_PAGENODE_PAGE, | 952 PDF_PAGENODE_PAGE, |
953 PDF_PAGENODE_PAGES, | 953 PDF_PAGENODE_PAGES, |
954 PDF_PAGENODE_ARRAY, | 954 PDF_PAGENODE_ARRAY, |
955 }; | 955 }; |
956 class CPDF_PageNode { | 956 class CPDF_PageNode { |
957 public: | 957 public: |
958 CPDF_PageNode() : m_type(PDF_PAGENODE_UNKOWN) {} | 958 CPDF_PageNode() : m_type(PDF_PAGENODE_UNKOWN) {} |
959 ~CPDF_PageNode(); | 959 ~CPDF_PageNode(); |
960 PDF_PAGENODE_TYPE m_type; | 960 PDF_PAGENODE_TYPE m_type; |
961 FX_DWORD m_dwPageNo; | 961 FX_DWORD m_dwPageNo; |
962 CFX_PtrArray m_childNode; | 962 CFX_ArrayTemplate<CPDF_PageNode*> m_childNode; |
963 }; | 963 }; |
964 enum PDF_DATAAVAIL_STATUS { | 964 enum PDF_DATAAVAIL_STATUS { |
965 PDF_DATAAVAIL_HEADER = 0, | 965 PDF_DATAAVAIL_HEADER = 0, |
966 PDF_DATAAVAIL_FIRSTPAGE, | 966 PDF_DATAAVAIL_FIRSTPAGE, |
967 PDF_DATAAVAIL_FIRSTPAGE_PREPARE, | 967 PDF_DATAAVAIL_FIRSTPAGE_PREPARE, |
968 PDF_DATAAVAIL_HINTTABLE, | 968 PDF_DATAAVAIL_HINTTABLE, |
969 PDF_DATAAVAIL_END, | 969 PDF_DATAAVAIL_END, |
970 PDF_DATAAVAIL_CROSSREF, | 970 PDF_DATAAVAIL_CROSSREF, |
971 PDF_DATAAVAIL_CROSSREF_ITEM, | 971 PDF_DATAAVAIL_CROSSREF_ITEM, |
972 PDF_DATAAVAIL_CROSSREF_STREAM, | 972 PDF_DATAAVAIL_CROSSREF_STREAM, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1008 FX_DWORD src_size, | 1008 FX_DWORD src_size, |
1009 const CPDF_Dictionary* pDict, | 1009 const CPDF_Dictionary* pDict, |
1010 uint8_t*& dest_buf, | 1010 uint8_t*& dest_buf, |
1011 FX_DWORD& dest_size, | 1011 FX_DWORD& dest_size, |
1012 CFX_ByteString& ImageEncoding, | 1012 CFX_ByteString& ImageEncoding, |
1013 CPDF_Dictionary*& pImageParms, | 1013 CPDF_Dictionary*& pImageParms, |
1014 FX_DWORD estimated_size, | 1014 FX_DWORD estimated_size, |
1015 FX_BOOL bImageAcc); | 1015 FX_BOOL bImageAcc); |
1016 | 1016 |
1017 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 1017 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
OLD | NEW |