27 CJS_Document(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
32 return m_pFormFillEnv.Get();
114 static uint32_t ObjDefnID;
115 static const char kName[];
120 CJS_Result set_ADBE(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
123 CJS_Result set_author(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
125 CJS_Result get_base_URL(CJS_Runtime* pRuntime);
126 CJS_Result set_base_URL(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
128 CJS_Result get_bookmark_root(CJS_Runtime* pRuntime);
129 CJS_Result set_bookmark_root(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
131 CJS_Result get_calculate(CJS_Runtime* pRuntime);
132 CJS_Result set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
135 CJS_Result set_collab(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
137 CJS_Result get_creation_date(CJS_Runtime* pRuntime);
138 CJS_Result set_creation_date(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
140 CJS_Result get_creator(CJS_Runtime* pRuntime);
141 CJS_Result set_creator(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
144 CJS_Result set_delay(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
147 CJS_Result set_dirty(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
149 CJS_Result get_document_file_name(CJS_Runtime* pRuntime);
150 CJS_Result set_document_file_name(CJS_Runtime* pRuntime,
151 v8::Local<v8::Value> vp);
153 CJS_Result get_external(CJS_Runtime* pRuntime);
154 CJS_Result set_external(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
156 CJS_Result get_filesize(CJS_Runtime* pRuntime);
157 CJS_Result set_filesize(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
160 CJS_Result set_icons(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
163 CJS_Result set_info(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
165 CJS_Result get_keywords(CJS_Runtime* pRuntime);
166 CJS_Result set_keywords(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
169 CJS_Result set_layout(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
172 CJS_Result set_media(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
174 CJS_Result get_mod_date(CJS_Runtime* pRuntime);
175 CJS_Result set_mod_date(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
177 CJS_Result get_mouse_x(CJS_Runtime* pRuntime);
178 CJS_Result set_mouse_x(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
180 CJS_Result get_mouse_y(CJS_Runtime* pRuntime);
181 CJS_Result set_mouse_y(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
183 CJS_Result get_num_fields(CJS_Runtime* pRuntime);
184 CJS_Result set_num_fields(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
186 CJS_Result get_num_pages(CJS_Runtime* pRuntime);
187 CJS_Result set_num_pages(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
189 CJS_Result get_page_num(CJS_Runtime* pRuntime);
190 CJS_Result set_page_num(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
192 CJS_Result get_page_window_rect(CJS_Runtime* pRuntime);
193 CJS_Result set_page_window_rect(CJS_Runtime* pRuntime,
194 v8::Local<v8::Value> vp);
197 CJS_Result set_path(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
199 CJS_Result get_producer(CJS_Runtime* pRuntime);
200 CJS_Result set_producer(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
202 CJS_Result get_subject(CJS_Runtime* pRuntime);
203 CJS_Result set_subject(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
206 CJS_Result set_title(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
209 CJS_Result set_zoom(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
211 CJS_Result get_zoom_type(CJS_Runtime* pRuntime);
212 CJS_Result set_zoom_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
215 CJS_Result set_URL(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
218 pdfium::span<v8::Local<v8::Value>> params);
220 pdfium::span<v8::Local<v8::Value>> params);
222 pdfium::span<v8::Local<v8::Value>> params);
224 pdfium::span<v8::Local<v8::Value>> params);
225 CJS_Result calculateNow(CJS_Runtime* pRuntime,
226 pdfium::span<v8::Local<v8::Value>> params);
228 pdfium::span<v8::Local<v8::Value>> params);
229 CJS_Result createDataObject(CJS_Runtime* pRuntime,
230 pdfium::span<v8::Local<v8::Value>> params);
232 pdfium::span<v8::Local<v8::Value>> params);
233 CJS_Result exportAsText(CJS_Runtime* pRuntime,
234 pdfium::span<v8::Local<v8::Value>> params);
236 pdfium::span<v8::Local<v8::Value>> params);
237 CJS_Result exportAsXFDF(CJS_Runtime* pRuntime,
238 pdfium::span<v8::Local<v8::Value>> params);
239 CJS_Result extractPages(CJS_Runtime* pRuntime,
240 pdfium::span<v8::Local<v8::Value>> params);
242 pdfium::span<v8::Local<v8::Value>> params);
244 pdfium::span<v8::Local<v8::Value>> params);
246 pdfium::span<v8::Local<v8::Value>> params);
248 pdfium::span<v8::Local<v8::Value>> params);
250 pdfium::span<v8::Local<v8::Value>> params);
252 pdfium::span<v8::Local<v8::Value>> params);
254 pdfium::span<v8::Local<v8::Value>> params);
255 CJS_Result getNthFieldName(CJS_Runtime* pRuntime,
256 pdfium::span<v8::Local<v8::Value>> params);
258 pdfium::span<v8::Local<v8::Value>> params);
260 pdfium::span<v8::Local<v8::Value>> params);
261 CJS_Result getPageNthWord(CJS_Runtime* pRuntime,
262 pdfium::span<v8::Local<v8::Value>> params);
263 CJS_Result getPageNthWordQuads(CJS_Runtime* pRuntime,
264 pdfium::span<v8::Local<v8::Value>> params);
265 CJS_Result getPageNumWords(CJS_Runtime* pRuntime,
266 pdfium::span<v8::Local<v8::Value>> params);
267 CJS_Result getPrintParams(CJS_Runtime* pRuntime,
268 pdfium::span<v8::Local<v8::Value>> params);
270 pdfium::span<v8::Local<v8::Value>> params);
271 CJS_Result gotoNamedDest(CJS_Runtime* pRuntime,
272 pdfium::span<v8::Local<v8::Value>> params);
274 pdfium::span<v8::Local<v8::Value>> params);
275 CJS_Result importAnXFDF(CJS_Runtime* pRuntime,
276 pdfium::span<v8::Local<v8::Value>> params);
277 CJS_Result importTextData(CJS_Runtime* pRuntime,
278 pdfium::span<v8::Local<v8::Value>> params);
280 pdfium::span<v8::Local<v8::Value>> params);
282 pdfium::span<v8::Local<v8::Value>> params);
284 pdfium::span<v8::Local<v8::Value>> params);
286 pdfium::span<v8::Local<v8::Value>> params);
287 CJS_Result replacePages(CJS_Runtime* pRuntime,
288 pdfium::span<v8::Local<v8::Value>> params);
290 pdfium::span<v8::Local<v8::Value>> params);
292 pdfium::span<v8::Local<v8::Value>> params);
294 pdfium::span<v8::Local<v8::Value>> params);
295 CJS_Result syncAnnotScan(CJS_Runtime* pRuntime,
296 pdfium::span<v8::Local<v8::Value>> params);
298 pdfium::span<v8::Local<v8::Value>> params);
300 pdfium::span<v8::Local<v8::Value>> params);
302 CJS_Result getPropertyInternal(CJS_Runtime* pRuntime,
306 CPDFSDK_InteractiveForm* GetSDKInteractiveForm();
309 ObservedPtr<CPDFSDK_FormFillEnvironment> m_pFormFillEnv;
310 std::list<std::unique_ptr<CJS_DelayData>> m_DelayData;
312 std::list<WideString> m_IconNames;
313 bool m_bDelay =
false;