| 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 class CPDFXFA_App; | 10 class CPDFXFA_App; |
| 11 class CPDFXFA_Document; | 11 class CPDFXFA_Document; |
| 12 class CPDFXFA_Page; | 12 class CPDFXFA_Page; |
| 13 class CPDFSDK_Document; | 13 class CPDFSDK_Document; |
| 14 class CPDFDoc_Environment; | 14 class CPDFDoc_Environment; |
| 15 class IFXJS_Runtime; | 15 class IFXJS_Runtime; |
| 16 class IFXJS_Context; | 16 class IFXJS_Context; |
| 17 class IXFA_DocHandler; | 17 class IXFA_DocHandler; |
| 18 | 18 |
| 19 class CPDFXFA_Document : public IXFA_DocProvider, public CFX_Object | 19 class CPDFXFA_Document : public IXFA_DocProvider |
| 20 { | 20 { |
| 21 public: | 21 public: |
| 22 CPDFXFA_Document(CPDF_Document* pPDFDoc, CPDFXFA_App* pProvider); | 22 CPDFXFA_Document(CPDF_Document* pPDFDoc, CPDFXFA_App* pProvider); |
| 23 ~CPDFXFA_Document(); | 23 ~CPDFXFA_Document(); |
| 24 | 24 |
| 25 FX_BOOL LoadXFADoc(); | 25 FX_BOOL LoadXFADoc(); |
| 26 CPDFXFA_App* GetApp() {return m_pApp;} | 26 CPDFXFA_App* GetApp() {return m_pApp;} |
| 27 CPDF_Document* GetPDFDoc() { return m_pPDFDoc; } | 27 CPDF_Document* GetPDFDoc() { return m_pPDFDoc; } |
| 28 XFA_HDOC GetXFADoc() { return m_pXFADoc; } | 28 XFA_HDOC GetXFADoc() { return m_pXFADoc; } |
| 29 IXFA_DocView* GetXFADocView() { return m_pXFADocView; } | 29 IXFA_DocView* GetXFADocView() { return m_pXFADocView; } |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 CFX_MapByteStringToPtr m_XfaGlobalProperty; | 148 CFX_MapByteStringToPtr m_XfaGlobalProperty; |
| 149 | 149 |
| 150 CFX_MapByteStringToPtr m_ValueMap; | 150 CFX_MapByteStringToPtr m_ValueMap; |
| 151 | 151 |
| 152 IFXJS_Context* m_pJSContext; | 152 IFXJS_Context* m_pJSContext; |
| 153 | 153 |
| 154 int m_iDocType; | 154 int m_iDocType; |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 #endif | 157 #endif |
| OLD | NEW |