Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(794)

Unified Diff: fpdfsdk/src/javascript/Document.cpp

Issue 1386173002: Rename IFXJS_Runtime and IFXJS_Context to IJS_. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Comment in fxjs_v8.h Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/src/javascript/Document.h ('k') | fpdfsdk/src/javascript/Field.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/javascript/Document.cpp
diff --git a/fpdfsdk/src/javascript/Document.cpp b/fpdfsdk/src/javascript/Document.cpp
index d31bdc4a4e6079f4b248c1fb70c9b393f0fa0dc2..1719c443a9aa3bd2cd709042ce64864519fb6ca0 100644
--- a/fpdfsdk/src/javascript/Document.cpp
+++ b/fpdfsdk/src/javascript/Document.cpp
@@ -20,7 +20,7 @@
#include "app.h"
#include "resource.h"
-static v8::Isolate* GetIsolate(IFXJS_Context* cc) {
+static v8::Isolate* GetIsolate(IJS_Context* cc) {
CJS_Context* pContext = (CJS_Context*)cc;
ASSERT(pContext != NULL);
@@ -140,7 +140,7 @@ END_JS_STATIC_METHOD()
IMPLEMENT_JS_CLASS(CJS_Document, Document)
-FX_BOOL CJS_Document::InitInstance(IFXJS_Context* cc) {
+FX_BOOL CJS_Document::InitInstance(IJS_Context* cc) {
CJS_Context* pContext = (CJS_Context*)cc;
ASSERT(pContext != NULL);
@@ -182,7 +182,7 @@ Document::~Document() {
}
// the total number of fileds in document.
-FX_BOOL Document::numFields(IFXJS_Context* cc,
+FX_BOOL Document::numFields(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsSetting()) {
@@ -196,7 +196,7 @@ FX_BOOL Document::numFields(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::dirty(IFXJS_Context* cc,
+FX_BOOL Document::dirty(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
ASSERT(m_pDocument != NULL);
@@ -220,7 +220,7 @@ FX_BOOL Document::dirty(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::ADBE(IFXJS_Context* cc,
+FX_BOOL Document::ADBE(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
ASSERT(m_pDocument != NULL);
@@ -233,7 +233,7 @@ FX_BOOL Document::ADBE(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::pageNum(IFXJS_Context* cc,
+FX_BOOL Document::pageNum(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
ASSERT(m_pDocument != NULL);
@@ -260,7 +260,7 @@ FX_BOOL Document::pageNum(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::addAnnot(IFXJS_Context* cc,
+FX_BOOL Document::addAnnot(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -268,7 +268,7 @@ FX_BOOL Document::addAnnot(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::addField(IFXJS_Context* cc,
+FX_BOOL Document::addField(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -276,7 +276,7 @@ FX_BOOL Document::addField(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::exportAsText(IFXJS_Context* cc,
+FX_BOOL Document::exportAsText(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -284,7 +284,7 @@ FX_BOOL Document::exportAsText(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::exportAsFDF(IFXJS_Context* cc,
+FX_BOOL Document::exportAsFDF(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -292,7 +292,7 @@ FX_BOOL Document::exportAsFDF(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::exportAsXFDF(IFXJS_Context* cc,
+FX_BOOL Document::exportAsXFDF(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -305,7 +305,7 @@ FX_BOOL Document::exportAsXFDF(IFXJS_Context* cc,
// note: the paremter cName, this is clue how to treat if the cName is not a
// valiable filed name in this document
-FX_BOOL Document::getField(IFXJS_Context* cc,
+FX_BOOL Document::getField(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -338,7 +338,7 @@ FX_BOOL Document::getField(IFXJS_Context* cc,
}
// Gets the name of the nth field in the document
-FX_BOOL Document::getNthFieldName(IFXJS_Context* cc,
+FX_BOOL Document::getNthFieldName(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -364,7 +364,7 @@ FX_BOOL Document::getNthFieldName(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::importAnFDF(IFXJS_Context* cc,
+FX_BOOL Document::importAnFDF(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -372,7 +372,7 @@ FX_BOOL Document::importAnFDF(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::importAnXFDF(IFXJS_Context* cc,
+FX_BOOL Document::importAnXFDF(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -380,7 +380,7 @@ FX_BOOL Document::importAnXFDF(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::importTextData(IFXJS_Context* cc,
+FX_BOOL Document::importTextData(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -395,7 +395,7 @@ FX_BOOL Document::importTextData(IFXJS_Context* cc,
// int CPDFSDK_Document::mailForm(FX_BOOL bUI,String cto,string ccc,string
// cbcc,string cSubject,string cms);
-FX_BOOL Document::mailForm(IFXJS_Context* cc,
+FX_BOOL Document::mailForm(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -436,7 +436,7 @@ FX_BOOL Document::mailForm(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::print(IFXJS_Context* cc,
+FX_BOOL Document::print(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -504,7 +504,7 @@ FX_BOOL Document::print(IFXJS_Context* cc,
// comment:
// note: if the filed name is not retional, adobe is dumb for it.
-FX_BOOL Document::removeField(IFXJS_Context* cc,
+FX_BOOL Document::removeField(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -562,7 +562,7 @@ FX_BOOL Document::removeField(IFXJS_Context* cc,
// comment:
// note: if the fields names r not rational, aodbe is dumb for it.
-FX_BOOL Document::resetForm(IFXJS_Context* cc,
+FX_BOOL Document::resetForm(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -617,7 +617,7 @@ FX_BOOL Document::resetForm(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::saveAs(IFXJS_Context* cc,
+FX_BOOL Document::saveAs(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -625,7 +625,7 @@ FX_BOOL Document::saveAs(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::submitForm(IFXJS_Context* cc,
+FX_BOOL Document::submitForm(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -725,13 +725,13 @@ FX_BOOL Document::ExtractFolderName(CPDFSDK_Document* pDoc,
return FALSE;
}
-FX_BOOL Document::bookmarkRoot(IFXJS_Context* cc,
+FX_BOOL Document::bookmarkRoot(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::mailDoc(IFXJS_Context* cc,
+FX_BOOL Document::mailDoc(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -796,7 +796,7 @@ FX_BOOL Document::mailDoc(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::author(IFXJS_Context* cc,
+FX_BOOL Document::author(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
ASSERT(m_pDocument != NULL);
@@ -820,7 +820,7 @@ FX_BOOL Document::author(IFXJS_Context* cc,
}
}
-FX_BOOL Document::info(IFXJS_Context* cc,
+FX_BOOL Document::info(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
ASSERT(m_pDocument != NULL);
@@ -878,7 +878,7 @@ FX_BOOL Document::info(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::creationDate(IFXJS_Context* cc,
+FX_BOOL Document::creationDate(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
CPDF_Dictionary* pDictionary = m_pDocument->GetDocument()->GetInfo();
@@ -899,7 +899,7 @@ FX_BOOL Document::creationDate(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::creator(IFXJS_Context* cc,
+FX_BOOL Document::creator(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
CPDF_Dictionary* pDictionary = m_pDocument->GetDocument()->GetInfo();
@@ -920,7 +920,7 @@ FX_BOOL Document::creator(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::delay(IFXJS_Context* cc,
+FX_BOOL Document::delay(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsGetting()) {
@@ -955,7 +955,7 @@ FX_BOOL Document::delay(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::keywords(IFXJS_Context* cc,
+FX_BOOL Document::keywords(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
CPDF_Dictionary* pDictionary = m_pDocument->GetDocument()->GetInfo();
@@ -976,7 +976,7 @@ FX_BOOL Document::keywords(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::modDate(IFXJS_Context* cc,
+FX_BOOL Document::modDate(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
CPDF_Dictionary* pDictionary = m_pDocument->GetDocument()->GetInfo();
@@ -997,7 +997,7 @@ FX_BOOL Document::modDate(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::producer(IFXJS_Context* cc,
+FX_BOOL Document::producer(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
CPDF_Dictionary* pDictionary = m_pDocument->GetDocument()->GetInfo();
@@ -1018,7 +1018,7 @@ FX_BOOL Document::producer(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::subject(IFXJS_Context* cc,
+FX_BOOL Document::subject(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
CPDF_Dictionary* pDictionary = m_pDocument->GetDocument()->GetInfo();
@@ -1039,7 +1039,7 @@ FX_BOOL Document::subject(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::title(IFXJS_Context* cc,
+FX_BOOL Document::title(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (m_pDocument == NULL || m_pDocument->GetDocument() == NULL)
@@ -1063,7 +1063,7 @@ FX_BOOL Document::title(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::numPages(IFXJS_Context* cc,
+FX_BOOL Document::numPages(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsSetting()) {
@@ -1075,7 +1075,7 @@ FX_BOOL Document::numPages(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::external(IFXJS_Context* cc,
+FX_BOOL Document::external(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
// In Chrome case,should always return true.
@@ -1085,7 +1085,7 @@ FX_BOOL Document::external(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::filesize(IFXJS_Context* cc,
+FX_BOOL Document::filesize(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsSetting()) {
@@ -1097,19 +1097,19 @@ FX_BOOL Document::filesize(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::mouseX(IFXJS_Context* cc,
+FX_BOOL Document::mouseX(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::mouseY(IFXJS_Context* cc,
+FX_BOOL Document::mouseY(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::baseURL(IFXJS_Context* cc,
+FX_BOOL Document::baseURL(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsGetting()) {
@@ -1120,7 +1120,7 @@ FX_BOOL Document::baseURL(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::calculate(IFXJS_Context* cc,
+FX_BOOL Document::calculate(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
ASSERT(m_pDocument != NULL);
@@ -1144,7 +1144,7 @@ FX_BOOL Document::calculate(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::documentFileName(IFXJS_Context* cc,
+FX_BOOL Document::documentFileName(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsSetting()) {
@@ -1208,7 +1208,7 @@ CFX_WideString Document::CutString(CFX_WideString cbFrom) {
return cbRet;
}
-FX_BOOL Document::path(IFXJS_Context* cc,
+FX_BOOL Document::path(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsSetting()) {
@@ -1220,26 +1220,26 @@ FX_BOOL Document::path(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::pageWindowRect(IFXJS_Context* cc,
+FX_BOOL Document::pageWindowRect(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::layout(IFXJS_Context* cc,
+FX_BOOL Document::layout(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::addLink(IFXJS_Context* cc,
+FX_BOOL Document::addLink(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::closeDoc(IFXJS_Context* cc,
+FX_BOOL Document::closeDoc(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1247,21 +1247,21 @@ FX_BOOL Document::closeDoc(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::getPageBox(IFXJS_Context* cc,
+FX_BOOL Document::getPageBox(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::getAnnot(IFXJS_Context* cc,
+FX_BOOL Document::getAnnot(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::getAnnots(IFXJS_Context* cc,
+FX_BOOL Document::getAnnots(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1269,7 +1269,7 @@ FX_BOOL Document::getAnnots(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::getAnnot3D(IFXJS_Context* cc,
+FX_BOOL Document::getAnnot3D(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1277,7 +1277,7 @@ FX_BOOL Document::getAnnot3D(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::getAnnots3D(IFXJS_Context* cc,
+FX_BOOL Document::getAnnots3D(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1285,14 +1285,14 @@ FX_BOOL Document::getAnnots3D(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::getOCGs(IFXJS_Context* cc,
+FX_BOOL Document::getOCGs(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::getLinks(IFXJS_Context* cc,
+FX_BOOL Document::getLinks(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1349,7 +1349,7 @@ IconElement* IconTree::operator[](int iIndex) {
return NULL;
}
-FX_BOOL Document::addIcon(IFXJS_Context* cc,
+FX_BOOL Document::addIcon(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1389,7 +1389,7 @@ FX_BOOL Document::addIcon(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::icons(IFXJS_Context* cc,
+FX_BOOL Document::icons(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
if (vp.IsSetting()) {
@@ -1435,7 +1435,7 @@ FX_BOOL Document::icons(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::getIcon(IFXJS_Context* cc,
+FX_BOOL Document::getIcon(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1479,7 +1479,7 @@ FX_BOOL Document::getIcon(IFXJS_Context* cc,
return FALSE;
}
-FX_BOOL Document::removeIcon(IFXJS_Context* cc,
+FX_BOOL Document::removeIcon(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1487,7 +1487,7 @@ FX_BOOL Document::removeIcon(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::createDataObject(IFXJS_Context* cc,
+FX_BOOL Document::createDataObject(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1495,13 +1495,13 @@ FX_BOOL Document::createDataObject(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::media(IFXJS_Context* cc,
+FX_BOOL Document::media(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::calculateNow(IFXJS_Context* cc,
+FX_BOOL Document::calculateNow(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1519,13 +1519,13 @@ FX_BOOL Document::calculateNow(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::Collab(IFXJS_Context* cc,
+FX_BOOL Document::Collab(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::getPageNthWord(IFXJS_Context* cc,
+FX_BOOL Document::getPageNthWord(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1587,7 +1587,7 @@ FX_BOOL Document::getPageNthWord(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::getPageNthWordQuads(IFXJS_Context* cc,
+FX_BOOL Document::getPageNthWordQuads(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1599,7 +1599,7 @@ FX_BOOL Document::getPageNthWordQuads(IFXJS_Context* cc,
return FALSE;
}
-FX_BOOL Document::getPageNumWords(IFXJS_Context* cc,
+FX_BOOL Document::getPageNumWords(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1646,7 +1646,7 @@ FX_BOOL Document::getPageNumWords(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::getPrintParams(IFXJS_Context* cc,
+FX_BOOL Document::getPrintParams(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1735,7 +1735,7 @@ CFX_WideString Document::GetObjWordStr(CPDF_TextObject* pTextObj,
return swRet;
}
-FX_BOOL Document::zoom(IFXJS_Context* cc,
+FX_BOOL Document::zoom(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
@@ -1751,13 +1751,13 @@ FX_BOOL Document::zoom(IFXJS_Context* cc,
(refW, ReflowWidth)
*/
-FX_BOOL Document::zoomType(IFXJS_Context* cc,
+FX_BOOL Document::zoomType(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
return TRUE;
}
-FX_BOOL Document::deletePages(IFXJS_Context* cc,
+FX_BOOL Document::deletePages(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1765,7 +1765,7 @@ FX_BOOL Document::deletePages(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::extractPages(IFXJS_Context* cc,
+FX_BOOL Document::extractPages(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1773,7 +1773,7 @@ FX_BOOL Document::extractPages(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::insertPages(IFXJS_Context* cc,
+FX_BOOL Document::insertPages(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1781,7 +1781,7 @@ FX_BOOL Document::insertPages(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::replacePages(IFXJS_Context* cc,
+FX_BOOL Document::replacePages(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1789,7 +1789,7 @@ FX_BOOL Document::replacePages(IFXJS_Context* cc,
return TRUE;
}
-FX_BOOL Document::getURL(IFXJS_Context* cc,
+FX_BOOL Document::getURL(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
« no previous file with comments | « fpdfsdk/src/javascript/Document.h ('k') | fpdfsdk/src/javascript/Field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698