summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/Document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/javascript/Document.cpp')
-rw-r--r--fpdfsdk/src/javascript/Document.cpp146
1 files changed, 73 insertions, 73 deletions
diff --git a/fpdfsdk/src/javascript/Document.cpp b/fpdfsdk/src/javascript/Document.cpp
index fe417ce1fc..04a3b80e3d 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);
@@ -821,7 +821,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);
@@ -883,7 +883,7 @@ FX_BOOL Document::info(IFXJS_Context* cc,
}
}
-FX_BOOL Document::creationDate(IFXJS_Context* cc,
+FX_BOOL Document::creationDate(IJS_Context* cc,
CJS_PropValue& vp,
CFX_WideString& sError) {
CPDF_Dictionary* pDictionary =
@@ -905,7 +905,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 =
@@ -927,7 +927,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 =
@@ -977,7 +977,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 =
@@ -999,7 +999,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 =
@@ -1021,7 +1021,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 =
@@ -1043,7 +1043,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)
@@ -1068,7 +1068,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()) {
@@ -1080,7 +1080,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.
@@ -1090,7 +1090,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()) {
@@ -1102,19 +1102,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()) {
@@ -1125,7 +1125,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);
@@ -1149,7 +1149,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()) {
@@ -1213,7 +1213,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()) {
@@ -1225,26 +1225,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) {
@@ -1252,21 +1252,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) {
@@ -1274,7 +1274,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) {
@@ -1282,7 +1282,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) {
@@ -1290,14 +1290,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) {
@@ -1388,7 +1388,7 @@ void IconTree::DeleteIconElement(CFX_WideString swIconName) {
}
}
-FX_BOOL Document::addIcon(IFXJS_Context* cc,
+FX_BOOL Document::addIcon(IJS_Context* cc,
const CJS_Parameters& params,
CJS_Value& vRet,
CFX_WideString& sError) {
@@ -1428,7 +1428,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()) {
@@ -1474,7 +1474,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) {
@@ -1518,7 +1518,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) {
@@ -1534,7 +1534,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) {
@@ -1542,13 +1542,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) {
@@ -1566,13 +1566,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) {
@@ -1634,7 +1634,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) {
@@ -1646,7 +1646,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) {
@@ -1690,7 +1690,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) {
@@ -1779,7 +1779,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;
@@ -1795,13 +1795,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) {
@@ -1852,7 +1852,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) {
@@ -1860,7 +1860,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) {
@@ -1868,7 +1868,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) {
@@ -1876,7 +1876,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) {