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/src/javascript/Field.h" | 7 #include "fpdfsdk/src/javascript/Field.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
| 11 #include <string> |
11 #include <vector> | 12 #include <vector> |
12 | 13 |
13 #include "fpdfsdk/include/fsdk_mgr.h" // For CPDFDoc_Environment. | 14 #include "fpdfsdk/include/fsdk_mgr.h" // For CPDFDoc_Environment. |
14 #include "fpdfsdk/include/javascript/IJavaScript.h" | 15 #include "fpdfsdk/include/javascript/IJavaScript.h" |
15 #include "fpdfsdk/src/javascript/Document.h" | 16 #include "fpdfsdk/src/javascript/Document.h" |
16 #include "fpdfsdk/src/javascript/Icon.h" | 17 #include "fpdfsdk/src/javascript/Icon.h" |
17 #include "fpdfsdk/src/javascript/JS_Context.h" | 18 #include "fpdfsdk/src/javascript/JS_Context.h" |
18 #include "fpdfsdk/src/javascript/JS_Define.h" | 19 #include "fpdfsdk/src/javascript/JS_Define.h" |
19 #include "fpdfsdk/src/javascript/JS_EventHandler.h" | 20 #include "fpdfsdk/src/javascript/JS_EventHandler.h" |
20 #include "fpdfsdk/src/javascript/JS_Object.h" | 21 #include "fpdfsdk/src/javascript/JS_Object.h" |
(...skipping 3567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3588 } | 3589 } |
3589 } | 3590 } |
3590 | 3591 |
3591 void Field::AddField(CPDFSDK_Document* pDocument, | 3592 void Field::AddField(CPDFSDK_Document* pDocument, |
3592 int nPageIndex, | 3593 int nPageIndex, |
3593 int nFieldType, | 3594 int nFieldType, |
3594 const CFX_WideString& sName, | 3595 const CFX_WideString& sName, |
3595 const CFX_FloatRect& rcCoords) { | 3596 const CFX_FloatRect& rcCoords) { |
3596 // Not supported. | 3597 // Not supported. |
3597 } | 3598 } |
OLD | NEW |