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 FPDFXFA_DOC_H_ | 7 #ifndef FPDFXFA_DOC_H_ |
8 #define FPDFXFA_DOC_H_ | 8 #define FPDFXFA_DOC_H_ |
9 | 9 |
10 #include "../../../xfa/include/fxfa/fxfa.h" | 10 #include "../../../xfa/include/fxfa/fxfa.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 private: | 208 private: |
209 void CloseXFADoc(IXFA_DocHandler* pDoc) { | 209 void CloseXFADoc(IXFA_DocHandler* pDoc) { |
210 if (pDoc) { | 210 if (pDoc) { |
211 pDoc->CloseDoc(m_pXFADoc); | 211 pDoc->CloseDoc(m_pXFADoc); |
212 pDoc->ReleaseDoc(m_pXFADoc); | 212 pDoc->ReleaseDoc(m_pXFADoc); |
213 m_pXFADoc = NULL; | 213 m_pXFADoc = NULL; |
214 m_pXFADocView = NULL; | 214 m_pXFADocView = NULL; |
215 } | 215 } |
216 } | 216 } |
217 | 217 |
| 218 int m_iDocType; |
218 CPDF_Document* m_pPDFDoc; | 219 CPDF_Document* m_pPDFDoc; |
| 220 CPDFSDK_Document* m_pSDKDoc; |
219 IXFA_Doc* m_pXFADoc; | 221 IXFA_Doc* m_pXFADoc; |
220 IXFA_DocView* m_pXFADocView; | 222 IXFA_DocView* m_pXFADocView; |
221 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; | |
222 CPDFSDK_Document* m_pSDKDoc; | |
223 CPDFXFA_App* m_pApp; | 223 CPDFXFA_App* m_pApp; |
224 IJS_Context* m_pJSContext; | 224 IJS_Context* m_pJSContext; |
225 int m_iDocType; | 225 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; |
226 }; | 226 }; |
227 | 227 |
228 #endif // FPDFXFA_DOC_H_ | 228 #endif // FPDFXFA_DOC_H_ |
OLD | NEW |