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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 CPDF_Document* m_pDocument; | 445 CPDF_Document* m_pDocument; |
446 | 446 |
447 CPDF_SyntaxParser m_Syntax; | 447 CPDF_SyntaxParser m_Syntax; |
448 FX_BOOL m_bOwnFileRead; | 448 FX_BOOL m_bOwnFileRead; |
449 CPDF_Object* ParseDirect(CPDF_Object* pObj); | 449 CPDF_Object* ParseDirect(CPDF_Object* pObj); |
450 | 450 |
451 FX_BOOL LoadAllCrossRefV4(FX_FILESIZE pos); | 451 FX_BOOL LoadAllCrossRefV4(FX_FILESIZE pos); |
452 | 452 |
453 FX_BOOL LoadAllCrossRefV5(FX_FILESIZE pos); | 453 FX_BOOL LoadAllCrossRefV5(FX_FILESIZE pos); |
454 | 454 |
455 FX_BOOL LoadCrossRefV4(FX_FILESIZE pos, | 455 bool LoadCrossRefV4(FX_FILESIZE pos, |
456 FX_FILESIZE streampos, | 456 FX_FILESIZE streampos, |
457 FX_BOOL bSkip, | 457 FX_BOOL bSkip, |
458 FX_BOOL bFirst); | 458 FX_BOOL bFirst); |
459 | 459 |
460 FX_BOOL LoadCrossRefV5(FX_FILESIZE pos, FX_FILESIZE& prev, FX_BOOL bMainXRef); | 460 FX_BOOL LoadCrossRefV5(FX_FILESIZE pos, FX_FILESIZE& prev, FX_BOOL bMainXRef); |
461 | 461 |
462 CPDF_Dictionary* LoadTrailerV4(); | 462 CPDF_Dictionary* LoadTrailerV4(); |
463 | 463 |
464 FX_BOOL RebuildCrossRef(); | 464 FX_BOOL RebuildCrossRef(); |
465 | 465 |
466 FX_DWORD SetEncryptHandler(); | 466 FX_DWORD SetEncryptHandler(); |
467 | 467 |
468 void ReleaseEncryptHandler(); | 468 void ReleaseEncryptHandler(); |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 FX_DWORD src_size, | 928 FX_DWORD src_size, |
929 const CPDF_Dictionary* pDict, | 929 const CPDF_Dictionary* pDict, |
930 uint8_t*& dest_buf, | 930 uint8_t*& dest_buf, |
931 FX_DWORD& dest_size, | 931 FX_DWORD& dest_size, |
932 CFX_ByteString& ImageEncoding, | 932 CFX_ByteString& ImageEncoding, |
933 CPDF_Dictionary*& pImageParms, | 933 CPDF_Dictionary*& pImageParms, |
934 FX_DWORD estimated_size, | 934 FX_DWORD estimated_size, |
935 FX_BOOL bImageAcc); | 935 FX_BOOL bImageAcc); |
936 | 936 |
937 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 937 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
OLD | NEW |