Lines Matching refs:runtime
72 CJS_V8* runtime, in HWXY() argument
78 CXFA_Node* pNode = ToNode(runtime->ToXFAObject(params[0])); in HWXY()
84 WideString tmp_unit = runtime->ToWideString(params[1]); in HWXY()
88 int32_t iIndex = params.size() >= 3 ? runtime->ToInt32(params[2]) : 0; in HWXY()
104 return CJS_Return(runtime->NewNumber(0.0)); in HWXY()
125 return CJS_Return(runtime->NewNumber(FXSYS_round(fValue * 1000) / 1000.0f)); in HWXY()
129 CJS_V8* runtime, in h() argument
131 return HWXY(runtime, params, XFA_LAYOUTMODEL_H); in h()
135 CJS_V8* runtime, in w() argument
137 return HWXY(runtime, params, XFA_LAYOUTMODEL_W); in w()
141 CJS_V8* runtime, in x() argument
143 return HWXY(runtime, params, XFA_LAYOUTMODEL_X); in x()
147 CJS_V8* runtime, in y() argument
149 return HWXY(runtime, params, XFA_LAYOUTMODEL_Y); in y()
152 CJS_Return CJX_LayoutPseudoModel::NumberedPageCount(CJS_V8* runtime, in NumberedPageCount() argument
173 return CJS_Return(runtime->NewNumber(iPageCount)); in NumberedPageCount()
177 CJS_V8* runtime, in pageCount() argument
179 return NumberedPageCount(runtime, true); in pageCount()
183 CJS_V8* runtime, in pageSpan() argument
188 CXFA_Node* pNode = ToNode(runtime->ToXFAObject(params[0])); in pageSpan()
198 return CJS_Return(runtime->NewNumber(-1)); in pageSpan()
203 return CJS_Return(runtime->NewNumber(iPageSpan)); in pageSpan()
207 CJS_V8* runtime, in page() argument
209 return PageInternals(runtime, params, false); in page()
347 CJS_V8* runtime, in pageContent() argument
354 iIndex = runtime->ToInt32(params[0]); in pageContent()
358 wsType = runtime->ToWideString(params[1]); in pageContent()
362 bOnPageArea = runtime->ToBoolean(params[2]); in pageContent()
377 return CJS_Return(runtime->NewXFAObject( in pageContent()
383 CJS_V8* runtime, in absPageCount() argument
385 return NumberedPageCount(runtime, false); in absPageCount()
389 CJS_V8* runtime, in absPageCountInBatch() argument
391 return CJS_Return(runtime->NewNumber(0)); in absPageCountInBatch()
395 CJS_V8* runtime, in sheetCountInBatch() argument
397 return CJS_Return(runtime->NewNumber(0)); in sheetCountInBatch()
401 CJS_V8* runtime, in relayout() argument
416 CJS_V8* runtime, in absPageSpan() argument
418 return pageSpan(runtime, params); in absPageSpan()
422 CJS_V8* runtime, in absPageInBatch() argument
426 return CJS_Return(runtime->NewNumber(0)); in absPageInBatch()
430 CJS_V8* runtime, in sheetInBatch() argument
434 return CJS_Return(runtime->NewNumber(0)); in sheetInBatch()
438 CJS_V8* runtime, in sheet() argument
440 return PageInternals(runtime, params, true); in sheet()
444 CJS_V8* runtime, in relayoutPageArea() argument
450 CJS_V8* runtime, in sheetCount() argument
452 return NumberedPageCount(runtime, false); in sheetCount()
456 CJS_V8* runtime, in absPage() argument
458 return PageInternals(runtime, params, true); in absPage()
462 CJS_V8* runtime, in PageInternals() argument
468 CXFA_Node* pNode = ToNode(runtime->ToXFAObject(params[0])); in PageInternals()
470 return CJS_Return(runtime->NewNumber(0)); in PageInternals()
478 return CJS_Return(runtime->NewNumber(-1)); in PageInternals()
481 return CJS_Return(runtime->NewNumber(bAbsPage ? iPage : iPage + 1)); in PageInternals()