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 "fpdfsdk/include/fsdk_mgr.h" // For CPDFDoc_Environment. | 14 #include "core/include/fpdfapi/fpdf_page.h" |
| 15 #include "fpdfsdk/include/fsdk_mgr.h" |
15 #include "fpdfsdk/include/javascript/IJavaScript.h" | 16 #include "fpdfsdk/include/javascript/IJavaScript.h" |
16 #include "fpdfsdk/javascript/Document.h" | 17 #include "fpdfsdk/javascript/Document.h" |
17 #include "fpdfsdk/javascript/Icon.h" | 18 #include "fpdfsdk/javascript/Icon.h" |
18 #include "fpdfsdk/javascript/JS_Context.h" | 19 #include "fpdfsdk/javascript/JS_Context.h" |
19 #include "fpdfsdk/javascript/JS_Define.h" | 20 #include "fpdfsdk/javascript/JS_Define.h" |
20 #include "fpdfsdk/javascript/JS_EventHandler.h" | 21 #include "fpdfsdk/javascript/JS_EventHandler.h" |
21 #include "fpdfsdk/javascript/JS_Object.h" | 22 #include "fpdfsdk/javascript/JS_Object.h" |
22 #include "fpdfsdk/javascript/JS_Runtime.h" | 23 #include "fpdfsdk/javascript/JS_Runtime.h" |
23 #include "fpdfsdk/javascript/JS_Value.h" | 24 #include "fpdfsdk/javascript/JS_Value.h" |
24 #include "fpdfsdk/javascript/PublicMethods.h" | 25 #include "fpdfsdk/javascript/PublicMethods.h" |
(...skipping 3566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3591 } | 3592 } |
3592 } | 3593 } |
3593 | 3594 |
3594 void Field::AddField(CPDFSDK_Document* pDocument, | 3595 void Field::AddField(CPDFSDK_Document* pDocument, |
3595 int nPageIndex, | 3596 int nPageIndex, |
3596 int nFieldType, | 3597 int nFieldType, |
3597 const CFX_WideString& sName, | 3598 const CFX_WideString& sName, |
3598 const CFX_FloatRect& rcCoords) { | 3599 const CFX_FloatRect& rcCoords) { |
3599 // Not supported. | 3600 // Not supported. |
3600 } | 3601 } |
OLD | NEW |