28 CJS_Document(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
33 return m_pFormFillEnv.Get();
36 void DoFieldDelay(
const WideString& sFieldName,
int nControlIndex);
115 static uint32_t ObjDefnID;
116 static const char kName[];
121 CJS_Result set_ADBE(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
124 CJS_Result set_author(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
126 CJS_Result get_base_URL(CJS_Runtime* pRuntime);
127 CJS_Result set_base_URL(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
129 CJS_Result get_bookmark_root(CJS_Runtime* pRuntime);
130 CJS_Result set_bookmark_root(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
132 CJS_Result get_calculate(CJS_Runtime* pRuntime);
133 CJS_Result set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
136 CJS_Result set_collab(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
138 CJS_Result get_creation_date(CJS_Runtime* pRuntime);
139 CJS_Result set_creation_date(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
141 CJS_Result get_creator(CJS_Runtime* pRuntime);
142 CJS_Result set_creator(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
145 CJS_Result set_delay(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
148 CJS_Result set_dirty(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
150 CJS_Result get_document_file_name(CJS_Runtime* pRuntime);
151 CJS_Result set_document_file_name(CJS_Runtime* pRuntime,
152 v8::Local<v8::Value> vp);
154 CJS_Result get_external(CJS_Runtime* pRuntime);
155 CJS_Result set_external(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
157 CJS_Result get_filesize(CJS_Runtime* pRuntime);
158 CJS_Result set_filesize(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
161 CJS_Result set_icons(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
164 CJS_Result set_info(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
166 CJS_Result get_keywords(CJS_Runtime* pRuntime);
167 CJS_Result set_keywords(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
170 CJS_Result set_layout(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
173 CJS_Result set_media(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
175 CJS_Result get_mod_date(CJS_Runtime* pRuntime);
176 CJS_Result set_mod_date(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
178 CJS_Result get_mouse_x(CJS_Runtime* pRuntime);
179 CJS_Result set_mouse_x(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
181 CJS_Result get_mouse_y(CJS_Runtime* pRuntime);
182 CJS_Result set_mouse_y(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
184 CJS_Result get_num_fields(CJS_Runtime* pRuntime);
185 CJS_Result set_num_fields(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
187 CJS_Result get_num_pages(CJS_Runtime* pRuntime);
188 CJS_Result set_num_pages(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
190 CJS_Result get_page_num(CJS_Runtime* pRuntime);
191 CJS_Result set_page_num(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
193 CJS_Result get_page_window_rect(CJS_Runtime* pRuntime);
194 CJS_Result set_page_window_rect(CJS_Runtime* pRuntime,
195 v8::Local<v8::Value> vp);
198 CJS_Result set_path(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
200 CJS_Result get_producer(CJS_Runtime* pRuntime);
201 CJS_Result set_producer(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
203 CJS_Result get_subject(CJS_Runtime* pRuntime);
204 CJS_Result set_subject(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
207 CJS_Result set_title(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
210 CJS_Result set_zoom(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
212 CJS_Result get_zoom_type(CJS_Runtime* pRuntime);
213 CJS_Result set_zoom_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
216 CJS_Result set_URL(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
219 pdfium::span<v8::Local<v8::Value>> params);
221 pdfium::span<v8::Local<v8::Value>> params);
223 pdfium::span<v8::Local<v8::Value>> params);
225 pdfium::span<v8::Local<v8::Value>> params);
226 CJS_Result calculateNow(CJS_Runtime* pRuntime,
227 pdfium::span<v8::Local<v8::Value>> params);
229 pdfium::span<v8::Local<v8::Value>> params);
230 CJS_Result createDataObject(CJS_Runtime* pRuntime,
231 pdfium::span<v8::Local<v8::Value>> params);
233 pdfium::span<v8::Local<v8::Value>> params);
234 CJS_Result exportAsText(CJS_Runtime* pRuntime,
235 pdfium::span<v8::Local<v8::Value>> params);
237 pdfium::span<v8::Local<v8::Value>> params);
238 CJS_Result exportAsXFDF(CJS_Runtime* pRuntime,
239 pdfium::span<v8::Local<v8::Value>> params);
240 CJS_Result extractPages(CJS_Runtime* pRuntime,
241 pdfium::span<v8::Local<v8::Value>> params);
243 pdfium::span<v8::Local<v8::Value>> params);
245 pdfium::span<v8::Local<v8::Value>> params);
247 pdfium::span<v8::Local<v8::Value>> params);
249 pdfium::span<v8::Local<v8::Value>> params);
251 pdfium::span<v8::Local<v8::Value>> params);
253 pdfium::span<v8::Local<v8::Value>> params);
255 pdfium::span<v8::Local<v8::Value>> params);
256 CJS_Result getNthFieldName(CJS_Runtime* pRuntime,
257 pdfium::span<v8::Local<v8::Value>> params);
259 pdfium::span<v8::Local<v8::Value>> params);
261 pdfium::span<v8::Local<v8::Value>> params);
262 CJS_Result getPageNthWord(CJS_Runtime* pRuntime,
263 pdfium::span<v8::Local<v8::Value>> params);
264 CJS_Result getPageNthWordQuads(CJS_Runtime* pRuntime,
265 pdfium::span<v8::Local<v8::Value>> params);
266 CJS_Result getPageNumWords(CJS_Runtime* pRuntime,
267 pdfium::span<v8::Local<v8::Value>> params);
268 CJS_Result getPrintParams(CJS_Runtime* pRuntime,
269 pdfium::span<v8::Local<v8::Value>> params);
271 pdfium::span<v8::Local<v8::Value>> params);
272 CJS_Result gotoNamedDest(CJS_Runtime* pRuntime,
273 pdfium::span<v8::Local<v8::Value>> params);
275 pdfium::span<v8::Local<v8::Value>> params);
276 CJS_Result importAnXFDF(CJS_Runtime* pRuntime,
277 pdfium::span<v8::Local<v8::Value>> params);
278 CJS_Result importTextData(CJS_Runtime* pRuntime,
279 pdfium::span<v8::Local<v8::Value>> params);
281 pdfium::span<v8::Local<v8::Value>> params);
283 pdfium::span<v8::Local<v8::Value>> params);
285 pdfium::span<v8::Local<v8::Value>> params);
287 pdfium::span<v8::Local<v8::Value>> params);
288 CJS_Result replacePages(CJS_Runtime* pRuntime,
289 pdfium::span<v8::Local<v8::Value>> params);
291 pdfium::span<v8::Local<v8::Value>> params);
293 pdfium::span<v8::Local<v8::Value>> params);
295 pdfium::span<v8::Local<v8::Value>> params);
296 CJS_Result syncAnnotScan(CJS_Runtime* pRuntime,
297 pdfium::span<v8::Local<v8::Value>> params);
299 pdfium::span<v8::Local<v8::Value>> params);
301 pdfium::span<v8::Local<v8::Value>> params);
303 CJS_Result getPropertyInternal(CJS_Runtime* pRuntime,
304 const ByteString& propName);
307 CPDFSDK_InteractiveForm* GetSDKInteractiveForm();
309 WideString m_cwBaseURL;
310 ObservedPtr<CPDFSDK_FormFillEnvironment> m_pFormFillEnv;
311 std::list<std::unique_ptr<CJS_DelayData>> m_DelayData;
313 std::list<WideString> m_IconNames;
314 bool m_bDelay =
false;