| 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 "../fxcrt/fx_system.h" | 10 #include "../fxcrt/fx_system.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 class CPDF_DocRenderData; | 27 class CPDF_DocRenderData; |
| 28 class CPDF_ModuleMgr; | 28 class CPDF_ModuleMgr; |
| 29 class CFX_DIBSource; | 29 class CFX_DIBSource; |
| 30 class CPDF_Font; | 30 class CPDF_Font; |
| 31 class CPDF_Image; | 31 class CPDF_Image; |
| 32 class CPDF_ColorSpace; | 32 class CPDF_ColorSpace; |
| 33 class CPDF_Pattern; | 33 class CPDF_Pattern; |
| 34 class CPDF_FontEncoding; | 34 class CPDF_FontEncoding; |
| 35 class CPDF_IccProfile; | 35 class CPDF_IccProfile; |
| 36 class CFX_PrivateData; | 36 class CFX_PrivateData; |
| 37 class CPDF_HintTables; |
| 37 #define FPDFPERM_PRINT 0x0004 | 38 #define FPDFPERM_PRINT 0x0004 |
| 38 #define FPDFPERM_MODIFY 0x0008 | 39 #define FPDFPERM_MODIFY 0x0008 |
| 39 #define FPDFPERM_EXTRACT 0x0010 | 40 #define FPDFPERM_EXTRACT 0x0010 |
| 40 #define FPDFPERM_ANNOT_FORM 0x0020 | 41 #define FPDFPERM_ANNOT_FORM 0x0020 |
| 41 #define FPDFPERM_FILL_FORM 0x0100 | 42 #define FPDFPERM_FILL_FORM 0x0100 |
| 42 #define FPDFPERM_EXTRACT_ACCESS 0x0200 | 43 #define FPDFPERM_EXTRACT_ACCESS 0x0200 |
| 43 #define FPDFPERM_ASSEMBLE 0x0400 | 44 #define FPDFPERM_ASSEMBLE 0x0400 |
| 44 #define FPDFPERM_PRINT_HIGH 0x0800 | 45 #define FPDFPERM_PRINT_HIGH 0x0800 |
| 45 #define FPDF_PAGE_MAX_NUM 0xFFFFF | 46 #define FPDF_PAGE_MAX_NUM 0xFFFFF |
| 46 | 47 |
| (...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 CPDF_PageNode() : m_type(PDF_PAGENODE_UNKOWN) {} | 898 CPDF_PageNode() : m_type(PDF_PAGENODE_UNKOWN) {} |
| 898 ~CPDF_PageNode(); | 899 ~CPDF_PageNode(); |
| 899 PDF_PAGENODE_TYPE m_type; | 900 PDF_PAGENODE_TYPE m_type; |
| 900 FX_DWORD m_dwPageNo; | 901 FX_DWORD m_dwPageNo; |
| 901 CFX_PtrArray m_childNode; | 902 CFX_PtrArray m_childNode; |
| 902 }; | 903 }; |
| 903 enum PDF_DATAAVAIL_STATUS { | 904 enum PDF_DATAAVAIL_STATUS { |
| 904 PDF_DATAAVAIL_HEADER = 0, | 905 PDF_DATAAVAIL_HEADER = 0, |
| 905 PDF_DATAAVAIL_FIRSTPAGE, | 906 PDF_DATAAVAIL_FIRSTPAGE, |
| 906 PDF_DATAAVAIL_FIRSTPAGE_PREPARE, | 907 PDF_DATAAVAIL_FIRSTPAGE_PREPARE, |
| 908 PDF_DATAAVAIL_HINTTABLE, |
| 907 PDF_DATAAVAIL_END, | 909 PDF_DATAAVAIL_END, |
| 908 PDF_DATAAVAIL_CROSSREF, | 910 PDF_DATAAVAIL_CROSSREF, |
| 909 PDF_DATAAVAIL_CROSSREF_ITEM, | 911 PDF_DATAAVAIL_CROSSREF_ITEM, |
| 910 PDF_DATAAVAIL_CROSSREF_STREAM, | 912 PDF_DATAAVAIL_CROSSREF_STREAM, |
| 911 PDF_DATAAVAIL_TRAILER, | 913 PDF_DATAAVAIL_TRAILER, |
| 912 PDF_DATAAVAIL_LOADALLCRSOSSREF, | 914 PDF_DATAAVAIL_LOADALLCRSOSSREF, |
| 913 PDF_DATAAVAIL_ROOT, | 915 PDF_DATAAVAIL_ROOT, |
| 914 PDF_DATAAVAIL_INFO, | 916 PDF_DATAAVAIL_INFO, |
| 915 PDF_DATAAVAIL_ACROFORM, | 917 PDF_DATAAVAIL_ACROFORM, |
| 916 PDF_DATAAVAIL_ACROFORM_SUBOBJECT, | 918 PDF_DATAAVAIL_ACROFORM_SUBOBJECT, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 928 FX_DWORD src_size, | 930 FX_DWORD src_size, |
| 929 const CPDF_Dictionary* pDict, | 931 const CPDF_Dictionary* pDict, |
| 930 uint8_t*& dest_buf, | 932 uint8_t*& dest_buf, |
| 931 FX_DWORD& dest_size, | 933 FX_DWORD& dest_size, |
| 932 CFX_ByteString& ImageEncoding, | 934 CFX_ByteString& ImageEncoding, |
| 933 CPDF_Dictionary*& pImageParms, | 935 CPDF_Dictionary*& pImageParms, |
| 934 FX_DWORD estimated_size, | 936 FX_DWORD estimated_size, |
| 935 FX_BOOL bImageAcc); | 937 FX_BOOL bImageAcc); |
| 936 | 938 |
| 937 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 939 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
| OLD | NEW |