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 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" | 7 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h" |
8 | 8 |
9 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" | 9 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" |
10 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" | 10 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h" |
11 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h" | 11 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h" |
12 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" | 12 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h" |
13 #include "fpdfsdk/include/cpdfsdk_document.h" | 13 #include "fpdfsdk/include/cpdfsdk_document.h" |
14 #include "fpdfsdk/include/cpdfsdk_environment.h" | 14 #include "fpdfsdk/include/cpdfsdk_environment.h" |
15 #include "fpdfsdk/include/cpdfsdk_interform.h" | 15 #include "fpdfsdk/include/cpdfsdk_interform.h" |
16 #include "fpdfsdk/include/cpdfsdk_pageview.h" | 16 #include "fpdfsdk/include/cpdfsdk_pageview.h" |
17 #include "fpdfsdk/include/fsdk_define.h" | 17 #include "fpdfsdk/include/fsdk_define.h" |
18 #include "fpdfsdk/javascript/ijs_runtime.h" | 18 #include "fpdfsdk/javascript/ijs_runtime.h" |
19 #include "public/fpdf_formfill.h" | 19 #include "public/fpdf_formfill.h" |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 } | 192 } |
193 | 193 |
194 void CPDFXFA_Document::SetSDKDoc(std::unique_ptr<CPDFSDK_Document> pSDKDoc) { | 194 void CPDFXFA_Document::SetSDKDoc(std::unique_ptr<CPDFSDK_Document> pSDKDoc) { |
195 m_pSDKDoc.reset(pSDKDoc.release()); | 195 m_pSDKDoc.reset(pSDKDoc.release()); |
196 } | 196 } |
197 | 197 |
198 void CPDFXFA_Document::ClearChangeMark() { | 198 void CPDFXFA_Document::ClearChangeMark() { |
199 if (m_pSDKDoc) | 199 if (m_pSDKDoc) |
200 m_pSDKDoc->ClearChangeMark(); | 200 m_pSDKDoc->ClearChangeMark(); |
201 } | 201 } |
OLD | NEW |