26 CJS_App(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
70 static uint32_t ObjDefnID;
71 static const char kName[];
75 CJS_Result get_active_docs(CJS_Runtime* pRuntime);
76 CJS_Result set_active_docs(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
78 CJS_Result get_calculate(CJS_Runtime* pRuntime);
79 CJS_Result set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
81 CJS_Result get_forms_version(CJS_Runtime* pRuntime);
82 CJS_Result set_forms_version(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
85 CJS_Result set_fs(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
87 CJS_Result get_fullscreen(CJS_Runtime* pRuntime);
88 CJS_Result set_fullscreen(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
90 CJS_Result get_language(CJS_Runtime* pRuntime);
91 CJS_Result set_language(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
94 CJS_Result set_media(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
96 CJS_Result get_platform(CJS_Runtime* pRuntime);
97 CJS_Result set_platform(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
99 CJS_Result get_runtime_highlight(CJS_Runtime* pRuntime);
100 CJS_Result set_runtime_highlight(CJS_Runtime* pRuntime,
101 v8::Local<v8::Value> vp);
103 CJS_Result get_viewer_type(CJS_Runtime* pRuntime);
104 CJS_Result set_viewer_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
106 CJS_Result get_viewer_variation(CJS_Runtime* pRuntime);
107 CJS_Result set_viewer_variation(CJS_Runtime* pRuntime,
108 v8::Local<v8::Value> vp);
110 CJS_Result get_viewer_version(CJS_Runtime* pRuntime);
111 CJS_Result set_viewer_version(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
114 pdfium::span<v8::Local<v8::Value>> params);
116 pdfium::span<v8::Local<v8::Value>> params);
117 CJS_Result browseForDoc(CJS_Runtime* pRuntime,
118 pdfium::span<v8::Local<v8::Value>> params);
119 CJS_Result clearInterval(CJS_Runtime* pRuntime,
120 pdfium::span<v8::Local<v8::Value>> params);
121 CJS_Result clearTimeOut(CJS_Runtime* pRuntime,
122 pdfium::span<v8::Local<v8::Value>> params);
124 pdfium::span<v8::Local<v8::Value>> params);
125 CJS_Result execMenuItem(CJS_Runtime* pRuntime,
126 pdfium::span<v8::Local<v8::Value>> params);
127 CJS_Result findComponent(CJS_Runtime* pRuntime,
128 pdfium::span<v8::Local<v8::Value>> params);
130 pdfium::span<v8::Local<v8::Value>> params);
132 pdfium::span<v8::Local<v8::Value>> params);
134 pdfium::span<v8::Local<v8::Value>> params);
136 pdfium::span<v8::Local<v8::Value>> params);
138 pdfium::span<v8::Local<v8::Value>> params);
140 pdfium::span<v8::Local<v8::Value>> params);
142 pdfium::span<v8::Local<v8::Value>> params);
144 pdfium::span<v8::Local<v8::Value>> params);
146 pdfium::span<v8::Local<v8::Value>> params);
148 pdfium::span<v8::Local<v8::Value>> params);
150 pdfium::span<v8::Local<v8::Value>> params);
152 pdfium::span<v8::Local<v8::Value>> params);
154 pdfium::span<v8::Local<v8::Value>> params);
156 void RunJsScript(CJS_Runtime* pRuntime,
const WideString& wsScript);
157 void ClearTimerCommon(CJS_Runtime* pRuntime, v8::Local<v8::Value> param);
159 bool m_bCalculate =
true;
160 bool m_bRuntimeHighLight =
false;
161 std::set<std::unique_ptr<GlobalTimer>> m_Timers;