| 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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 | 468 |
| 469 CPDF_StreamAcc* GetObjectStream(FX_DWORD number); | 469 CPDF_StreamAcc* GetObjectStream(FX_DWORD number); |
| 470 | 470 |
| 471 FX_BOOL IsLinearizedFile(IFX_FileRead* pFileAccess, FX_DWORD offset); | 471 FX_BOOL IsLinearizedFile(IFX_FileRead* pFileAccess, FX_DWORD offset); |
| 472 | 472 |
| 473 bool FindPosInOffsets(FX_FILESIZE pos) const; | 473 bool FindPosInOffsets(FX_FILESIZE pos) const; |
| 474 | 474 |
| 475 void SetEncryptDictionary(CPDF_Dictionary* pDict); | 475 void SetEncryptDictionary(CPDF_Dictionary* pDict); |
| 476 | 476 |
| 477 FX_FILESIZE GetObjectPositionOrZero(FX_DWORD objnum) const; | 477 FX_FILESIZE GetObjectPositionOrZero(FX_DWORD objnum) const; |
| 478 void ShrinkObjectMap(FX_DWORD size); |
| 478 | 479 |
| 479 CPDF_Document* m_pDocument; | 480 CPDF_Document* m_pDocument; |
| 480 | 481 |
| 481 CPDF_SyntaxParser m_Syntax; | 482 CPDF_SyntaxParser m_Syntax; |
| 482 FX_BOOL m_bOwnFileRead; | 483 FX_BOOL m_bOwnFileRead; |
| 483 int m_FileVersion; | 484 int m_FileVersion; |
| 484 | 485 |
| 485 CPDF_Dictionary* m_pTrailer; | 486 CPDF_Dictionary* m_pTrailer; |
| 486 | 487 |
| 487 CPDF_Dictionary* m_pEncryptDict; | 488 CPDF_Dictionary* m_pEncryptDict; |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 FX_DWORD src_size, | 981 FX_DWORD src_size, |
| 981 const CPDF_Dictionary* pDict, | 982 const CPDF_Dictionary* pDict, |
| 982 uint8_t*& dest_buf, | 983 uint8_t*& dest_buf, |
| 983 FX_DWORD& dest_size, | 984 FX_DWORD& dest_size, |
| 984 CFX_ByteString& ImageEncoding, | 985 CFX_ByteString& ImageEncoding, |
| 985 CPDF_Dictionary*& pImageParms, | 986 CPDF_Dictionary*& pImageParms, |
| 986 FX_DWORD estimated_size, | 987 FX_DWORD estimated_size, |
| 987 FX_BOOL bImageAcc); | 988 FX_BOOL bImageAcc); |
| 988 | 989 |
| 989 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 990 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
| OLD | NEW |