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 XFA_FXFA_INCLUDE_XFA_FFDOC_H_ | 7 #ifndef XFA_FXFA_INCLUDE_XFA_FFDOC_H_ |
8 #define XFA_FXFA_INCLUDE_XFA_FFDOC_H_ | 8 #define XFA_FXFA_INCLUDE_XFA_FFDOC_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "xfa/fxfa/include/fxfa.h" | 13 #include "xfa/fxfa/include/fxfa.h" |
| 14 #include "xfa/fxfa/parser/cxfa_document.h" |
14 #include "xfa/fxfa/parser/cxfa_document_parser.h" | 15 #include "xfa/fxfa/parser/cxfa_document_parser.h" |
15 #include "xfa/fxfa/parser/xfa_document.h" | |
16 | 16 |
17 class CXFA_ChecksumContext; | 17 class CXFA_ChecksumContext; |
18 class CXFA_FFApp; | 18 class CXFA_FFApp; |
19 class CXFA_FFNotify; | 19 class CXFA_FFNotify; |
20 class CXFA_FFDocView; | 20 class CXFA_FFDocView; |
21 | 21 |
22 struct FX_IMAGEDIB_AND_DPI { | 22 struct FX_IMAGEDIB_AND_DPI { |
23 CFX_DIBSource* pDibSource; | 23 CFX_DIBSource* pDibSource; |
24 int32_t iImageXDpi; | 24 int32_t iImageXDpi; |
25 int32_t iImageYDpi; | 25 int32_t iImageYDpi; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 CXFA_FFApp* m_pApp; | 60 CXFA_FFApp* m_pApp; |
61 std::unique_ptr<CXFA_FFNotify> m_pNotify; | 61 std::unique_ptr<CXFA_FFNotify> m_pNotify; |
62 CPDF_Document* m_pPDFDoc; | 62 CPDF_Document* m_pPDFDoc; |
63 std::map<uint32_t, FX_IMAGEDIB_AND_DPI> m_HashToDibDpiMap; | 63 std::map<uint32_t, FX_IMAGEDIB_AND_DPI> m_HashToDibDpiMap; |
64 std::map<uint32_t, std::unique_ptr<CXFA_FFDocView>> m_TypeToDocViewMap; | 64 std::map<uint32_t, std::unique_ptr<CXFA_FFDocView>> m_TypeToDocViewMap; |
65 uint32_t m_dwDocType; | 65 uint32_t m_dwDocType; |
66 FX_BOOL m_bOwnStream; | 66 FX_BOOL m_bOwnStream; |
67 }; | 67 }; |
68 | 68 |
69 #endif // XFA_FXFA_INCLUDE_XFA_FFDOC_H_ | 69 #endif // XFA_FXFA_INCLUDE_XFA_FFDOC_H_ |
OLD | NEW |