summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Document.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-02-21 15:05:57 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-02-22 01:08:38 +0000
commit9b99b63fa5e56bd820aecdc0fd2decd22a3d075a (patch)
treeb1eb5be25aef41f2f4f70a985e822af004f007a5 /fpdfsdk/javascript/Document.cpp
parentc54c07eac0531b6d9fcd591c3e44c5e27817d076 (diff)
downloadpdfium-9b99b63fa5e56bd820aecdc0fd2decd22a3d075a.tar.xz
Convert native method names to single-byte.
There are no non-ascii characters, so save space. Change-Id: Ib9efb9386b6fc83bf3bb1810c791aadeeeebc259 Reviewed-on: https://pdfium-review.googlesource.com/2817 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/javascript/Document.cpp')
-rw-r--r--fpdfsdk/javascript/Document.cpp84
1 files changed, 42 insertions, 42 deletions
diff --git a/fpdfsdk/javascript/Document.cpp b/fpdfsdk/javascript/Document.cpp
index adc831d90b..d4dc9c35bd 100644
--- a/fpdfsdk/javascript/Document.cpp
+++ b/fpdfsdk/javascript/Document.cpp
@@ -98,48 +98,48 @@ JSPropertySpec CJS_Document::PropertySpecs[] = {
{0, 0, 0}};
JSMethodSpec CJS_Document::MethodSpecs[] = {
- {L"addAnnot", addAnnot_static},
- {L"addField", addField_static},
- {L"addLink", addLink_static},
- {L"addIcon", addIcon_static},
- {L"calculateNow", calculateNow_static},
- {L"closeDoc", closeDoc_static},
- {L"createDataObject", createDataObject_static},
- {L"deletePages", deletePages_static},
- {L"exportAsText", exportAsText_static},
- {L"exportAsFDF", exportAsFDF_static},
- {L"exportAsXFDF", exportAsXFDF_static},
- {L"extractPages", extractPages_static},
- {L"getAnnot", getAnnot_static},
- {L"getAnnots", getAnnots_static},
- {L"getAnnot3D", getAnnot3D_static},
- {L"getAnnots3D", getAnnots3D_static},
- {L"getField", getField_static},
- {L"getIcon", getIcon_static},
- {L"getLinks", getLinks_static},
- {L"getNthFieldName", getNthFieldName_static},
- {L"getOCGs", getOCGs_static},
- {L"getPageBox", getPageBox_static},
- {L"getPageNthWord", getPageNthWord_static},
- {L"getPageNthWordQuads", getPageNthWordQuads_static},
- {L"getPageNumWords", getPageNumWords_static},
- {L"getPrintParams", getPrintParams_static},
- {L"getURL", getURL_static},
- {L"gotoNamedDest", gotoNamedDest_static},
- {L"importAnFDF", importAnFDF_static},
- {L"importAnXFDF", importAnXFDF_static},
- {L"importTextData", importTextData_static},
- {L"insertPages", insertPages_static},
- {L"mailForm", mailForm_static},
- {L"print", print_static},
- {L"removeField", removeField_static},
- {L"replacePages", replacePages_static},
- {L"resetForm", resetForm_static},
- {L"removeIcon", removeIcon_static},
- {L"saveAs", saveAs_static},
- {L"submitForm", submitForm_static},
- {L"syncAnnotScan", syncAnnotScan_static},
- {L"mailDoc", mailDoc_static},
+ {"addAnnot", addAnnot_static},
+ {"addField", addField_static},
+ {"addLink", addLink_static},
+ {"addIcon", addIcon_static},
+ {"calculateNow", calculateNow_static},
+ {"closeDoc", closeDoc_static},
+ {"createDataObject", createDataObject_static},
+ {"deletePages", deletePages_static},
+ {"exportAsText", exportAsText_static},
+ {"exportAsFDF", exportAsFDF_static},
+ {"exportAsXFDF", exportAsXFDF_static},
+ {"extractPages", extractPages_static},
+ {"getAnnot", getAnnot_static},
+ {"getAnnots", getAnnots_static},
+ {"getAnnot3D", getAnnot3D_static},
+ {"getAnnots3D", getAnnots3D_static},
+ {"getField", getField_static},
+ {"getIcon", getIcon_static},
+ {"getLinks", getLinks_static},
+ {"getNthFieldName", getNthFieldName_static},
+ {"getOCGs", getOCGs_static},
+ {"getPageBox", getPageBox_static},
+ {"getPageNthWord", getPageNthWord_static},
+ {"getPageNthWordQuads", getPageNthWordQuads_static},
+ {"getPageNumWords", getPageNumWords_static},
+ {"getPrintParams", getPrintParams_static},
+ {"getURL", getURL_static},
+ {"gotoNamedDest", gotoNamedDest_static},
+ {"importAnFDF", importAnFDF_static},
+ {"importAnXFDF", importAnXFDF_static},
+ {"importTextData", importTextData_static},
+ {"insertPages", insertPages_static},
+ {"mailForm", mailForm_static},
+ {"print", print_static},
+ {"removeField", removeField_static},
+ {"replacePages", replacePages_static},
+ {"resetForm", resetForm_static},
+ {"removeIcon", removeIcon_static},
+ {"saveAs", saveAs_static},
+ {"submitForm", submitForm_static},
+ {"syncAnnotScan", syncAnnotScan_static},
+ {"mailDoc", mailDoc_static},
{0, 0}};
IMPLEMENT_JS_CLASS(CJS_Document, Document)