OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFAPI_FPDF_PARSER_CPDF_HINT_TABLES_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_CPDF_HINT_TABLES_H_ |
8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_HINT_TABLES_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_HINT_TABLES_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 FX_DWORD GetItemLength(int index, const std::vector<FX_FILESIZE>& szArray); | 44 FX_DWORD GetItemLength(int index, const std::vector<FX_FILESIZE>& szArray); |
45 | 45 |
46 private: | 46 private: |
47 int ReadPrimaryHintStreamOffset() const; | 47 int ReadPrimaryHintStreamOffset() const; |
48 int ReadPrimaryHintStreamLength() const; | 48 int ReadPrimaryHintStreamLength() const; |
49 | 49 |
50 CPDF_Dictionary* m_pLinearizedDict; | 50 CPDF_Dictionary* m_pLinearizedDict; |
51 CPDF_DataAvail* m_pDataAvail; | 51 CPDF_DataAvail* m_pDataAvail; |
52 FX_DWORD m_nFirstPageSharedObjs; | 52 FX_DWORD m_nFirstPageSharedObjs; |
53 FX_FILESIZE m_szFirstPageObjOffset; | 53 FX_FILESIZE m_szFirstPageObjOffset; |
54 CFX_DWordArray m_dwDeltaNObjsArray; | 54 CFX_ArrayTemplate<FX_DWORD> m_dwDeltaNObjsArray; |
55 CFX_DWordArray m_dwNSharedObjsArray; | 55 CFX_ArrayTemplate<FX_DWORD> m_dwNSharedObjsArray; |
56 CFX_DWordArray m_dwSharedObjNumArray; | 56 CFX_ArrayTemplate<FX_DWORD> m_dwSharedObjNumArray; |
57 CFX_DWordArray m_dwIdentifierArray; | 57 CFX_ArrayTemplate<FX_DWORD> m_dwIdentifierArray; |
58 std::vector<FX_FILESIZE> m_szPageOffsetArray; | 58 std::vector<FX_FILESIZE> m_szPageOffsetArray; |
59 std::vector<FX_FILESIZE> m_szSharedObjOffsetArray; | 59 std::vector<FX_FILESIZE> m_szSharedObjOffsetArray; |
60 }; | 60 }; |
61 | 61 |
62 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_HINT_TABLES_H_ | 62 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_HINT_TABLES_H_ |
OLD | NEW |