Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h

Issue 1415803002: XFA: add CPDFDocumentToFPDFDocument() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Address comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/include/fsdk_baseform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698