Lines Matching refs:js_platform
190 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in JS_appAlert() local
191 if (!js_platform || !js_platform->app_alert) in JS_appAlert()
196 return js_platform->app_alert(js_platform, AsFPDFWideString(&bsMsg), in JS_appAlert()
207 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in JS_appResponse() local
208 if (!js_platform || !js_platform->app_response) in JS_appResponse()
215 return js_platform->app_response( in JS_appResponse()
216 js_platform, AsFPDFWideString(&bsQuestion), AsFPDFWideString(&bsTitle), in JS_appResponse()
222 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in JS_appBeep() local
223 if (!js_platform || !js_platform->app_beep) in JS_appBeep()
226 js_platform->app_beep(js_platform, nType); in JS_appBeep()
230 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in JS_fieldBrowse() local
231 if (!js_platform || !js_platform->Field_browse) in JS_fieldBrowse()
234 const int nRequiredLen = js_platform->Field_browse(js_platform, nullptr, 0); in JS_fieldBrowse()
240 js_platform->Field_browse(js_platform, pBuff.data(), nRequiredLen); in JS_fieldBrowse()
259 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in JS_docmailForm() local
260 if (!js_platform || !js_platform->Doc_mail) in JS_docmailForm()
268 js_platform->Doc_mail(js_platform, const_cast<uint8_t*>(mailData.data()), in JS_docmailForm()
283 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in JS_docprint() local
284 if (!js_platform || !js_platform->Doc_print) in JS_docprint()
287 js_platform->Doc_print(js_platform, bUI, nStart, nEnd, bSilent, bShrinkToFit, in JS_docprint()
292 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in JS_docgotoPage() local
293 if (!js_platform || !js_platform->Doc_gotoPage) in JS_docgotoPage()
296 js_platform->Doc_gotoPage(js_platform, nPageNum); in JS_docgotoPage()
305 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in GetFilePath() local
306 if (!js_platform || !js_platform->Doc_getFilePath) in GetFilePath()
310 js_platform->Doc_getFilePath(js_platform, nullptr, 0); in GetFilePath()
316 js_platform->Doc_getFilePath(js_platform, pBuff.data(), nRequiredLen); in GetFilePath()
330 IPDF_JSPLATFORM* js_platform = GetJSPlatform(); in SubmitForm() local
331 if (!js_platform || !js_platform->Doc_submitForm) in SubmitForm()
335 js_platform->Doc_submitForm( in SubmitForm()
336 js_platform, const_cast<uint8_t*>(form_data.data()), in SubmitForm()