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_JAVASCRIPT_DOCUMENT_H_ | 7 #ifndef FPDFSDK_JAVASCRIPT_DOCUMENT_H_ |
8 #define FPDFSDK_JAVASCRIPT_DOCUMENT_H_ | 8 #define FPDFSDK_JAVASCRIPT_DOCUMENT_H_ |
9 | 9 |
10 #include <list> | 10 #include <list> |
11 #include <memory> | 11 #include <memory> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" | 14 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h" |
15 #include "core/fpdfapi/fpdf_page/include/cpdf_textobject.h" | 15 #include "core/fpdfapi/fpdf_page/include/cpdf_textobject.h" |
16 #include "core/include/fpdfapi/fpdf_resource.h" | |
17 #include "fpdfsdk/javascript/JS_Define.h" | 16 #include "fpdfsdk/javascript/JS_Define.h" |
18 | 17 |
19 class PrintParamsObj : public CJS_EmbedObj { | 18 class PrintParamsObj : public CJS_EmbedObj { |
20 public: | 19 public: |
21 PrintParamsObj(CJS_Object* pJSObject); | 20 PrintParamsObj(CJS_Object* pJSObject); |
22 ~PrintParamsObj() override {} | 21 ~PrintParamsObj() override {} |
23 | 22 |
24 public: | 23 public: |
25 FX_BOOL bUI; | 24 FX_BOOL bUI; |
26 int nStart; | 25 int nStart; |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 JS_STATIC_METHOD(removeField, Document); | 358 JS_STATIC_METHOD(removeField, Document); |
360 JS_STATIC_METHOD(replacePages, Document); | 359 JS_STATIC_METHOD(replacePages, Document); |
361 JS_STATIC_METHOD(removeIcon, Document); | 360 JS_STATIC_METHOD(removeIcon, Document); |
362 JS_STATIC_METHOD(resetForm, Document); | 361 JS_STATIC_METHOD(resetForm, Document); |
363 JS_STATIC_METHOD(saveAs, Document); | 362 JS_STATIC_METHOD(saveAs, Document); |
364 JS_STATIC_METHOD(submitForm, Document); | 363 JS_STATIC_METHOD(submitForm, Document); |
365 JS_STATIC_METHOD(mailDoc, Document); | 364 JS_STATIC_METHOD(mailDoc, Document); |
366 }; | 365 }; |
367 | 366 |
368 #endif // FPDFSDK_JAVASCRIPT_DOCUMENT_H_ | 367 #endif // FPDFSDK_JAVASCRIPT_DOCUMENT_H_ |
OLD | NEW |