/external/pdfium/fpdfsdk/javascript/ |
color.cpp | 58 void color::ConvertPWLColorToArray(CJS_Runtime* pRuntime, 63 array->SetElement(pRuntime, 0, CJS_Value(pRuntime, "T")); 66 array->SetElement(pRuntime, 0, CJS_Value(pRuntime, "G")); 67 array->SetElement(pRuntime, 1, CJS_Value(pRuntime, color.fColor1)); 70 array->SetElement(pRuntime, 0, CJS_Value(pRuntime, "RGB")); 71 array->SetElement(pRuntime, 1, CJS_Value(pRuntime, color.fColor1)) [all...] |
JS_Value.h | 34 explicit CJS_Value(CJS_Runtime* pRuntime); 35 CJS_Value(CJS_Runtime* pRuntime, v8::Local<v8::Value> pValue); 36 CJS_Value(CJS_Runtime* pRuntime, const int& iValue); 37 CJS_Value(CJS_Runtime* pRuntime, const double& dValue); 38 CJS_Value(CJS_Runtime* pRuntime, const float& fValue); 39 CJS_Value(CJS_Runtime* pRuntime, const bool& bValue); 40 CJS_Value(CJS_Runtime* pRuntime, CJS_Object* pObj); 41 CJS_Value(CJS_Runtime* pRuntime, const FX_CHAR* pStr); 42 CJS_Value(CJS_Runtime* pRuntime, const FX_WCHAR* pWstr); 43 CJS_Value(CJS_Runtime* pRuntime, const CJS_Array& array) [all...] |
event.h | 18 bool change(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 19 bool changeEx(CJS_Runtime* pRuntime, 22 bool commitKey(CJS_Runtime* pRuntime, 25 bool fieldFull(CJS_Runtime* pRuntime, 28 bool keyDown(CJS_Runtime* pRuntime, 31 bool modifier(CJS_Runtime* pRuntime, 34 bool name(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 35 bool rc(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 36 bool richChange(CJS_Runtime* pRuntime, 39 bool richChangeEx(CJS_Runtime* pRuntime, [all...] |
color.h | 20 bool black(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 21 bool blue(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 22 bool cyan(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 23 bool dkGray(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 24 bool gray(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 25 bool green(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 26 bool ltGray(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 27 bool magenta(CJS_Runtime* pRuntime, 30 bool red(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 31 bool transparent(CJS_Runtime* pRuntime, [all...] |
event.cpp | 49 bool event::change(CJS_Runtime* pRuntime, 53 pRuntime->GetCurrentEventContext()->GetEventHandler(); 64 bool event::changeEx(CJS_Runtime* pRuntime, 71 pRuntime->GetCurrentEventContext()->GetEventHandler(); 77 bool event::commitKey(CJS_Runtime* pRuntime, 84 pRuntime->GetCurrentEventContext()->GetEventHandler(); 90 bool event::fieldFull(CJS_Runtime* pRuntime, 94 pRuntime->GetCurrentEventContext()->GetEventHandler(); 104 bool event::keyDown(CJS_Runtime* pRuntime, 111 pRuntime->GetCurrentEventContext()->GetEventHandler() [all...] |
app.h | 44 bool activeDocs(CJS_Runtime* pRuntime, 47 bool calculate(CJS_Runtime* pRuntime, 50 bool formsVersion(CJS_Runtime* pRuntime, 53 bool fs(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 54 bool fullscreen(CJS_Runtime* pRuntime, 57 bool language(CJS_Runtime* pRuntime, 60 bool media(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 61 bool platform(CJS_Runtime* pRuntime, 64 bool runtimeHighlight(CJS_Runtime* pRuntime, 67 bool viewerType(CJS_Runtime* pRuntime, [all...] |
JS_Value.cpp | 36 CJS_Value::CJS_Value(CJS_Runtime* pRuntime) {} 38 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, v8::Local<v8::Value> pValue) 41 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const int& iValue) 42 : m_pValue(pRuntime->NewNumber(iValue)) {} 44 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const bool& bValue) 45 : m_pValue(pRuntime->NewBoolean(bValue)) {} 47 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const float& fValue) 48 : m_pValue(pRuntime->NewNumber(fValue)) {} 50 CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const double& dValue) 51 : m_pValue(pRuntime->NewNumber(dValue)) { [all...] |
Document.cpp | 149 CJS_Runtime* pRuntime = static_cast<CJS_Runtime*>(pIRuntime); 151 pDoc->SetFormFillEnv(pRuntime->GetFormFillEnv()); 164 bool Document::numFields(CJS_Runtime* pRuntime, 181 bool Document::dirty(CJS_Runtime* pRuntime, 202 bool Document::ADBE(CJS_Runtime* pRuntime, 206 vp.GetJSValue()->SetNull(pRuntime); 211 bool Document::pageNum(CJS_Runtime* pRuntime, 236 bool Document::addAnnot(CJS_Runtime* pRuntime, 244 bool Document::addField(CJS_Runtime* pRuntime, 252 bool Document::exportAsText(CJS_Runtime* pRuntime, [all...] |
Document.h | 53 bool ADBE(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 54 bool author(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 55 bool baseURL(CJS_Runtime* pRuntime, 58 bool bookmarkRoot(CJS_Runtime* pRuntime, 61 bool calculate(CJS_Runtime* pRuntime, 64 bool Collab(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 65 bool creationDate(CJS_Runtime* pRuntime, 68 bool creator(CJS_Runtime* pRuntime, 71 bool delay(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 72 bool dirty(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError) [all...] |
util.cpp | 112 bool util::printf(CJS_Runtime* pRuntime, 119 std::wstring c_ConvChar(params[0].ToCFXWideString(pRuntime).c_str()); 152 strSegment.Format(c_strFormat.c_str(), params[iIndex].ToInt(pRuntime)); 156 params[iIndex].ToDouble(pRuntime)); 160 params[iIndex].ToCFXWideString(pRuntime).c_str()); 170 vRet = CJS_Value(pRuntime, c_strResult.c_str()); 174 bool util::printd(CJS_Runtime* pRuntime, 185 if (!p2.ConvertToDate(pRuntime, jsDate)) { 190 if (!jsDate.IsValidDate(pRuntime)) { 197 switch (p1.ToInt(pRuntime)) { [all...] |
app.cpp | 29 CJS_Runtime* pRuntime, 63 CJS_Runtime* pRuntime, 74 m_pRuntime(pRuntime), 210 bool app::activeDocs(CJS_Runtime* pRuntime, 217 v8::Local<v8::Object> pObj = pRuntime->GetThisObj(); 219 pJSDocument = static_cast<CJS_Document*>(pRuntime->GetObjectPrivate(pObj)); 222 aDocs.SetElement(pRuntime, 0, CJS_Value(pRuntime, pJSDocument)); 223 if (aDocs.GetLength(pRuntime) > 0) 226 vp.GetJSValue()->SetNull(pRuntime); [all...] |
console.cpp | 33 bool console::clear(CJS_Runtime* pRuntime, 40 bool console::hide(CJS_Runtime* pRuntime, 47 bool console::println(CJS_Runtime* pRuntime, 57 bool console::show(CJS_Runtime* pRuntime,
|
console.h | 20 bool clear(CJS_Runtime* pRuntime, 24 bool hide(CJS_Runtime* pRuntime, 28 bool println(CJS_Runtime* pRuntime, 32 bool show(CJS_Runtime* pRuntime,
|
Consts.cpp | 109 void CJS_GlobalConsts::DefineJSObjects(CJS_Runtime* pRuntime) { 110 GLOBAL_STRING(pRuntime, L"IDS_GREATER_THAN", 113 GLOBAL_STRING(pRuntime, L"IDS_GT_AND_LT", 117 GLOBAL_STRING(pRuntime, L"IDS_LESS_THAN", 120 GLOBAL_STRING(pRuntime, L"IDS_INVALID_MONTH", L"**Invalid**"); 122 pRuntime, L"IDS_INVALID_DATE", 125 GLOBAL_STRING(pRuntime, L"IDS_INVALID_VALUE", 128 GLOBAL_STRING(pRuntime, L"IDS_AM", L"am"); 129 GLOBAL_STRING(pRuntime, L"IDS_PM", L"pm"); 130 GLOBAL_STRING(pRuntime, L"IDS_MONTH_INFO" [all...] |
PublicMethods.h | 21 static bool AFNumber_Format(CJS_Runtime* pRuntime, 25 static bool AFNumber_Keystroke(CJS_Runtime* pRuntime, 29 static bool AFPercent_Format(CJS_Runtime* pRuntime, 33 static bool AFPercent_Keystroke(CJS_Runtime* pRuntime, 37 static bool AFDate_FormatEx(CJS_Runtime* pRuntime, 41 static bool AFDate_KeystrokeEx(CJS_Runtime* pRuntime, 45 static bool AFDate_Format(CJS_Runtime* pRuntime, 49 static bool AFDate_Keystroke(CJS_Runtime* pRuntime, 53 static bool AFTime_FormatEx(CJS_Runtime* pRuntime, 57 static bool AFTime_KeystrokeEx(CJS_Runtime* pRuntime, [all...] |
util.h | 20 bool printd(CJS_Runtime* pRuntime, 24 bool printf(CJS_Runtime* pRuntime, 28 bool printx(CJS_Runtime* pRuntime, 32 bool scand(CJS_Runtime* pRuntime, 36 bool byteToChar(CJS_Runtime* pRuntime,
|
JS_Define.h | 42 CJS_Runtime* pRuntime = 44 if (!pRuntime) 47 static_cast<CJS_Object*>(pRuntime->GetObjectPrivate(info.Holder())); 52 CJS_PropValue value(pRuntime); 54 if (!(pObj->*M)(pRuntime, value, sError)) { 55 pRuntime->Error( 59 info.GetReturnValue().Set(value.GetJSValue()->ToV8Value(pRuntime)); 68 CJS_Runtime* pRuntime = 70 if (!pRuntime) 73 static_cast<CJS_Object*>(pRuntime->GetObjectPrivate(info.Holder())) [all...] |
Field.h | 80 bool alignment(CJS_Runtime* pRuntime, 83 bool borderStyle(CJS_Runtime* pRuntime, 86 bool buttonAlignX(CJS_Runtime* pRuntime, 89 bool buttonAlignY(CJS_Runtime* pRuntime, 92 bool buttonFitBounds(CJS_Runtime* pRuntime, 95 bool buttonPosition(CJS_Runtime* pRuntime, 98 bool buttonScaleHow(CJS_Runtime* pRuntime, 101 bool buttonScaleWhen(CJS_Runtime* pRuntime, 104 bool calcOrderIndex(CJS_Runtime* pRuntime, 107 bool charLimit(CJS_Runtime* pRuntime, [all...] |
Annot.h | 20 bool hidden(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 21 bool name(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError); 22 bool type(CJS_Runtime* pRuntime, CJS_PropValue& vp, CFX_WideString& sError);
|
PublicMethods.cpp | 190 CJS_Array CJS_PublicMethods::AF_MakeArrayFromList(CJS_Runtime* pRuntime, 194 val.ConvertToArray(pRuntime, StrArray); 197 CFX_WideString wsStr = val.ToCFXWideString(pRuntime); 208 pRuntime, nIndex, 209 CJS_Value(pRuntime, StrTrim(CFX_ByteString(p)).c_str())); 218 pRuntime, nIndex, 219 CJS_Value(pRuntime, StrTrim(CFX_ByteString(pSub)).c_str())); 753 bool CJS_PublicMethods::AFNumber_Format(CJS_Runtime* pRuntime, 764 pRuntime->GetCurrentEventContext()->GetEventHandler(); 773 int iDec = params[0].ToInt(pRuntime); [all...] |
report.cpp | 29 bool Report::writeText(CJS_Runtime* pRuntime, 37 bool Report::save(CJS_Runtime* pRuntime,
|
report.h | 20 bool save(CJS_Runtime* pRuntime, 24 bool writeText(CJS_Runtime* pRuntime,
|
global.cpp | 31 CJS_Runtime* pRuntime = static_cast<CJS_Runtime*>(pIRuntime); 34 pGlobal->Initial(pRuntime->GetFormFillEnv()); 67 bool JSGlobalAlternate::DelProperty(CJS_Runtime* pRuntime, 78 bool JSGlobalAlternate::DoProperty(CJS_Runtime* pRuntime, 114 DelProperty(pRuntime, propname, sError); 123 vp.GetJSValue()->SetNull(pRuntime); 128 vp.GetJSValue()->SetNull(pRuntime); 148 vp.GetJSValue()->SetNull(pRuntime); 157 bool JSGlobalAlternate::setPersistent(CJS_Runtime* pRuntime, 166 auto it = m_mapGlobal.find(params[0].ToCFXByteString(pRuntime)); [all...] |
global.h | 38 bool setPersistent(CJS_Runtime* pRuntime, 43 bool DoProperty(CJS_Runtime* pRuntime, 47 bool DelProperty(CJS_Runtime* pRuntime, 54 void CommitGlobalPersisitentVariables(CJS_Runtime* pRuntime); 63 void ObjectToArray(CJS_Runtime* pRuntime,
|
Icon.cpp | 28 bool Icon::name(CJS_Runtime* pRuntime,
|