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_PARSER_CPDF_DOCUMENT_H_ | 7 #ifndef CORE_FPDFAPI_PARSER_CPDF_DOCUMENT_H_ |
8 #define CORE_FPDFAPI_PARSER_CPDF_DOCUMENT_H_ | 8 #define CORE_FPDFAPI_PARSER_CPDF_DOCUMENT_H_ |
9 | 9 |
10 #include <functional> | 10 #include <functional> |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 int m_iNextPageToTraverse; | 140 int m_iNextPageToTraverse; |
141 bool m_bReachedMaxPageLevel; | 141 bool m_bReachedMaxPageLevel; |
142 bool m_bLinearized; | 142 bool m_bLinearized; |
143 int m_iFirstPageNo; | 143 int m_iFirstPageNo; |
144 uint32_t m_dwFirstPageObjNum; | 144 uint32_t m_dwFirstPageObjNum; |
145 // TODO(thestig): Figure out why this cannot be a std::unique_ptr. | 145 // TODO(thestig): Figure out why this cannot be a std::unique_ptr. |
146 CPDF_DocPageData* m_pDocPage; | 146 CPDF_DocPageData* m_pDocPage; |
147 std::unique_ptr<CPDF_DocRenderData> m_pDocRender; | 147 std::unique_ptr<CPDF_DocRenderData> m_pDocRender; |
148 std::unique_ptr<JBig2_DocumentContext> m_pCodecContext; | 148 std::unique_ptr<JBig2_DocumentContext> m_pCodecContext; |
149 std::unique_ptr<CPDF_LinkList> m_pLinksContext; | 149 std::unique_ptr<CPDF_LinkList> m_pLinksContext; |
150 CFX_ArrayTemplate<uint32_t> m_PageList; | 150 std::vector<uint32_t> m_PageList; |
151 }; | 151 }; |
152 | 152 |
153 #endif // CORE_FPDFAPI_PARSER_CPDF_DOCUMENT_H_ | 153 #endif // CORE_FPDFAPI_PARSER_CPDF_DOCUMENT_H_ |
OLD | NEW |