summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Document.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/Document.h')
-rw-r--r--fpdfsdk/javascript/Document.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fpdfsdk/javascript/Document.h b/fpdfsdk/javascript/Document.h
index ae2d6c1afe..873f70e327 100644
--- a/fpdfsdk/javascript/Document.h
+++ b/fpdfsdk/javascript/Document.h
@@ -207,6 +207,10 @@ class Document : public CJS_EmbedObj {
const std::vector<CJS_Value>& params,
CJS_Value& vRet,
CFX_WideString& sError);
+ FX_BOOL gotoNamedDest(IJS_Context* cc,
+ const std::vector<CJS_Value>& params,
+ CJS_Value& vRet,
+ CFX_WideString& sError);
FX_BOOL importAnFDF(IJS_Context* cc,
const std::vector<CJS_Value>& params,
CJS_Value& vRet,
@@ -356,6 +360,7 @@ class CJS_Document : public CJS_Object {
JS_STATIC_METHOD(getPageNumWords, Document);
JS_STATIC_METHOD(getPrintParams, Document);
JS_STATIC_METHOD(getURL, Document);
+ JS_STATIC_METHOD(gotoNamedDest, Document);
JS_STATIC_METHOD(importAnFDF, Document);
JS_STATIC_METHOD(importAnXFDF, Document);
JS_STATIC_METHOD(importTextData, Document);