| 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/javascript/Field.h" | 7 #include "fpdfsdk/javascript/Field.h" |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "core/fpdfapi/fpdf_font/include/cpdf_font.h" | 14 #include "core/fpdfapi/fpdf_font/include/cpdf_font.h" |
| 15 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" | 15 #include "core/fpdfapi/fpdf_page/include/cpdf_page.h" |
| 16 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
| 16 #include "core/fpdfdoc/include/cpdf_interform.h" | 17 #include "core/fpdfdoc/include/cpdf_interform.h" |
| 18 #include "fpdfsdk/include/cpdfdoc_environment.h" |
| 19 #include "fpdfsdk/include/cpdfsdk_document.h" |
| 17 #include "fpdfsdk/include/cpdfsdk_interform.h" | 20 #include "fpdfsdk/include/cpdfsdk_interform.h" |
| 21 #include "fpdfsdk/include/cpdfsdk_pageview.h" |
| 18 #include "fpdfsdk/include/cpdfsdk_widget.h" | 22 #include "fpdfsdk/include/cpdfsdk_widget.h" |
| 19 #include "fpdfsdk/include/fsdk_mgr.h" | |
| 20 #include "fpdfsdk/javascript/Document.h" | 23 #include "fpdfsdk/javascript/Document.h" |
| 21 #include "fpdfsdk/javascript/Icon.h" | 24 #include "fpdfsdk/javascript/Icon.h" |
| 22 #include "fpdfsdk/javascript/JS_Define.h" | 25 #include "fpdfsdk/javascript/JS_Define.h" |
| 23 #include "fpdfsdk/javascript/JS_EventHandler.h" | 26 #include "fpdfsdk/javascript/JS_EventHandler.h" |
| 24 #include "fpdfsdk/javascript/JS_Object.h" | 27 #include "fpdfsdk/javascript/JS_Object.h" |
| 25 #include "fpdfsdk/javascript/JS_Value.h" | 28 #include "fpdfsdk/javascript/JS_Value.h" |
| 26 #include "fpdfsdk/javascript/PublicMethods.h" | 29 #include "fpdfsdk/javascript/PublicMethods.h" |
| 27 #include "fpdfsdk/javascript/cjs_context.h" | 30 #include "fpdfsdk/javascript/cjs_context.h" |
| 28 #include "fpdfsdk/javascript/cjs_runtime.h" | 31 #include "fpdfsdk/javascript/cjs_runtime.h" |
| 29 #include "fpdfsdk/javascript/color.h" | 32 #include "fpdfsdk/javascript/color.h" |
| (...skipping 3458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3488 } | 3491 } |
| 3489 } | 3492 } |
| 3490 | 3493 |
| 3491 void Field::AddField(CPDFSDK_Document* pDocument, | 3494 void Field::AddField(CPDFSDK_Document* pDocument, |
| 3492 int nPageIndex, | 3495 int nPageIndex, |
| 3493 int nFieldType, | 3496 int nFieldType, |
| 3494 const CFX_WideString& sName, | 3497 const CFX_WideString& sName, |
| 3495 const CFX_FloatRect& rcCoords) { | 3498 const CFX_FloatRect& rcCoords) { |
| 3496 // Not supported. | 3499 // Not supported. |
| 3497 } | 3500 } |
| OLD | NEW |