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 #ifndef FPDFSDK_SRC_JAVASCRIPT_DOCUMENT_H_ | 7 #ifndef FPDFSDK_SRC_JAVASCRIPT_DOCUMENT_H_ |
8 #define FPDFSDK_SRC_JAVASCRIPT_DOCUMENT_H_ | 8 #define FPDFSDK_SRC_JAVASCRIPT_DOCUMENT_H_ |
9 | 9 |
10 #include <list> | 10 #include <list> |
11 #include <memory> | 11 #include <memory> |
| 12 #include <vector> |
12 | 13 |
13 #include "fpdfsdk/src/javascript/JS_Define.h" | 14 #include "fpdfsdk/src/javascript/JS_Define.h" |
14 | 15 |
15 class PrintParamsObj : public CJS_EmbedObj { | 16 class PrintParamsObj : public CJS_EmbedObj { |
16 public: | 17 public: |
17 PrintParamsObj(CJS_Object* pJSObject); | 18 PrintParamsObj(CJS_Object* pJSObject); |
18 ~PrintParamsObj() override {} | 19 ~PrintParamsObj() override {} |
19 | 20 |
20 public: | 21 public: |
21 FX_BOOL bUI; | 22 FX_BOOL bUI; |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 JS_STATIC_METHOD(removeField, Document); | 356 JS_STATIC_METHOD(removeField, Document); |
356 JS_STATIC_METHOD(replacePages, Document); | 357 JS_STATIC_METHOD(replacePages, Document); |
357 JS_STATIC_METHOD(removeIcon, Document); | 358 JS_STATIC_METHOD(removeIcon, Document); |
358 JS_STATIC_METHOD(resetForm, Document); | 359 JS_STATIC_METHOD(resetForm, Document); |
359 JS_STATIC_METHOD(saveAs, Document); | 360 JS_STATIC_METHOD(saveAs, Document); |
360 JS_STATIC_METHOD(submitForm, Document); | 361 JS_STATIC_METHOD(submitForm, Document); |
361 JS_STATIC_METHOD(mailDoc, Document); | 362 JS_STATIC_METHOD(mailDoc, Document); |
362 }; | 363 }; |
363 | 364 |
364 #endif // FPDFSDK_SRC_JAVASCRIPT_DOCUMENT_H_ | 365 #endif // FPDFSDK_SRC_JAVASCRIPT_DOCUMENT_H_ |
OLD | NEW |