Chromium Code Reviews| 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 "../../include/javascript/JavaScript.h" | 7 #include "Field.h" |
| 8 | |
| 8 #include "../../include/javascript/IJavaScript.h" | 9 #include "../../include/javascript/IJavaScript.h" |
| 9 #include "../../include/javascript/JS_Define.h" | 10 #include "JS_Define.h" |
|
Lei Zhang
2015/10/05 23:39:24
Ditto, sort if possible. Same for other .cpp files
| |
| 10 #include "../../include/javascript/JS_Object.h" | 11 #include "JS_Object.h" |
| 11 #include "../../include/javascript/JS_Value.h" | 12 #include "JS_Value.h" |
| 12 #include "../../include/javascript/Field.h" | 13 #include "JS_EventHandler.h" |
| 13 #include "../../include/javascript/JS_EventHandler.h" | 14 #include "JS_Context.h" |
| 14 #include "../../include/javascript/JS_Context.h" | 15 #include "JS_Runtime.h" |
| 15 #include "../../include/javascript/JS_Runtime.h" | 16 #include "Document.h" |
| 16 #include "../../include/javascript/Document.h" | 17 #include "color.h" |
| 17 #include "../../include/javascript/color.h" | 18 #include "PublicMethods.h" |
| 18 #include "../../include/javascript/PublicMethods.h" | 19 #include "Icon.h" |
| 19 #include "../../include/javascript/Icon.h" | |
| 20 | 20 |
| 21 /* ---------------------- Field ---------------------- */ | 21 /* ---------------------- Field ---------------------- */ |
| 22 | 22 |
| 23 BEGIN_JS_STATIC_CONST(CJS_Field) | 23 BEGIN_JS_STATIC_CONST(CJS_Field) |
| 24 END_JS_STATIC_CONST() | 24 END_JS_STATIC_CONST() |
| 25 | 25 |
| 26 BEGIN_JS_STATIC_PROP(CJS_Field) | 26 BEGIN_JS_STATIC_PROP(CJS_Field) |
| 27 JS_STATIC_PROP_ENTRY(alignment) | 27 JS_STATIC_PROP_ENTRY(alignment) |
| 28 JS_STATIC_PROP_ENTRY(borderStyle) | 28 JS_STATIC_PROP_ENTRY(borderStyle) |
| 29 JS_STATIC_PROP_ENTRY(buttonAlignX) | 29 JS_STATIC_PROP_ENTRY(buttonAlignX) |
| (...skipping 4010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4040 #define JS_FIELD_MINWIDTH 1 | 4040 #define JS_FIELD_MINWIDTH 1 |
| 4041 #define JS_FIELD_MINHEIGHT 1 | 4041 #define JS_FIELD_MINHEIGHT 1 |
| 4042 | 4042 |
| 4043 void Field::AddField(CPDFSDK_Document* pDocument, | 4043 void Field::AddField(CPDFSDK_Document* pDocument, |
| 4044 int nPageIndex, | 4044 int nPageIndex, |
| 4045 int nFieldType, | 4045 int nFieldType, |
| 4046 const CFX_WideString& sName, | 4046 const CFX_WideString& sName, |
| 4047 const CPDF_Rect& rcCoords) { | 4047 const CPDF_Rect& rcCoords) { |
| 4048 // Not supported. | 4048 // Not supported. |
| 4049 } | 4049 } |
| OLD | NEW |