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> |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 CJS_Value& vRet, | 200 CJS_Value& vRet, |
201 CFX_WideString& sError); | 201 CFX_WideString& sError); |
202 FX_BOOL getPrintParams(IJS_Context* cc, | 202 FX_BOOL getPrintParams(IJS_Context* cc, |
203 const std::vector<CJS_Value>& params, | 203 const std::vector<CJS_Value>& params, |
204 CJS_Value& vRet, | 204 CJS_Value& vRet, |
205 CFX_WideString& sError); | 205 CFX_WideString& sError); |
206 FX_BOOL getURL(IJS_Context* cc, | 206 FX_BOOL getURL(IJS_Context* cc, |
207 const std::vector<CJS_Value>& params, | 207 const std::vector<CJS_Value>& params, |
208 CJS_Value& vRet, | 208 CJS_Value& vRet, |
209 CFX_WideString& sError); | 209 CFX_WideString& sError); |
| 210 FX_BOOL gotoNamedDest(IJS_Context* cc, |
| 211 const std::vector<CJS_Value>& params, |
| 212 CJS_Value& vRet, |
| 213 CFX_WideString& sError); |
210 FX_BOOL importAnFDF(IJS_Context* cc, | 214 FX_BOOL importAnFDF(IJS_Context* cc, |
211 const std::vector<CJS_Value>& params, | 215 const std::vector<CJS_Value>& params, |
212 CJS_Value& vRet, | 216 CJS_Value& vRet, |
213 CFX_WideString& sError); | 217 CFX_WideString& sError); |
214 FX_BOOL importAnXFDF(IJS_Context* cc, | 218 FX_BOOL importAnXFDF(IJS_Context* cc, |
215 const std::vector<CJS_Value>& params, | 219 const std::vector<CJS_Value>& params, |
216 CJS_Value& vRet, | 220 CJS_Value& vRet, |
217 CFX_WideString& sError); | 221 CFX_WideString& sError); |
218 FX_BOOL importTextData(IJS_Context* cc, | 222 FX_BOOL importTextData(IJS_Context* cc, |
219 const std::vector<CJS_Value>& params, | 223 const std::vector<CJS_Value>& params, |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 JS_STATIC_METHOD(getIcon, Document); | 353 JS_STATIC_METHOD(getIcon, Document); |
350 JS_STATIC_METHOD(getLinks, Document); | 354 JS_STATIC_METHOD(getLinks, Document); |
351 JS_STATIC_METHOD(getNthFieldName, Document); | 355 JS_STATIC_METHOD(getNthFieldName, Document); |
352 JS_STATIC_METHOD(getOCGs, Document); | 356 JS_STATIC_METHOD(getOCGs, Document); |
353 JS_STATIC_METHOD(getPageBox, Document); | 357 JS_STATIC_METHOD(getPageBox, Document); |
354 JS_STATIC_METHOD(getPageNthWord, Document); | 358 JS_STATIC_METHOD(getPageNthWord, Document); |
355 JS_STATIC_METHOD(getPageNthWordQuads, Document); | 359 JS_STATIC_METHOD(getPageNthWordQuads, Document); |
356 JS_STATIC_METHOD(getPageNumWords, Document); | 360 JS_STATIC_METHOD(getPageNumWords, Document); |
357 JS_STATIC_METHOD(getPrintParams, Document); | 361 JS_STATIC_METHOD(getPrintParams, Document); |
358 JS_STATIC_METHOD(getURL, Document); | 362 JS_STATIC_METHOD(getURL, Document); |
| 363 JS_STATIC_METHOD(gotoNamedDest, Document); |
359 JS_STATIC_METHOD(importAnFDF, Document); | 364 JS_STATIC_METHOD(importAnFDF, Document); |
360 JS_STATIC_METHOD(importAnXFDF, Document); | 365 JS_STATIC_METHOD(importAnXFDF, Document); |
361 JS_STATIC_METHOD(importTextData, Document); | 366 JS_STATIC_METHOD(importTextData, Document); |
362 JS_STATIC_METHOD(insertPages, Document); | 367 JS_STATIC_METHOD(insertPages, Document); |
363 JS_STATIC_METHOD(mailForm, Document); | 368 JS_STATIC_METHOD(mailForm, Document); |
364 JS_STATIC_METHOD(print, Document); | 369 JS_STATIC_METHOD(print, Document); |
365 JS_STATIC_METHOD(removeField, Document); | 370 JS_STATIC_METHOD(removeField, Document); |
366 JS_STATIC_METHOD(replacePages, Document); | 371 JS_STATIC_METHOD(replacePages, Document); |
367 JS_STATIC_METHOD(removeIcon, Document); | 372 JS_STATIC_METHOD(removeIcon, Document); |
368 JS_STATIC_METHOD(resetForm, Document); | 373 JS_STATIC_METHOD(resetForm, Document); |
369 JS_STATIC_METHOD(saveAs, Document); | 374 JS_STATIC_METHOD(saveAs, Document); |
370 JS_STATIC_METHOD(submitForm, Document); | 375 JS_STATIC_METHOD(submitForm, Document); |
371 JS_STATIC_METHOD(mailDoc, Document); | 376 JS_STATIC_METHOD(mailDoc, Document); |
372 }; | 377 }; |
373 | 378 |
374 #endif // FPDFSDK_JAVASCRIPT_DOCUMENT_H_ | 379 #endif // FPDFSDK_JAVASCRIPT_DOCUMENT_H_ |
OLD | NEW |