Lines Matching refs:pRuntime

381 CJS_Return Field::get_alignment(CJS_Runtime* pRuntime) {  in get_alignment()  argument
398 return CJS_Return(pRuntime->NewString(L"left")); in get_alignment()
400 return CJS_Return(pRuntime->NewString(L"center")); in get_alignment()
402 return CJS_Return(pRuntime->NewString(L"right")); in get_alignment()
404 return CJS_Return(pRuntime->NewString(L"")); in get_alignment()
407 CJS_Return Field::set_alignment(CJS_Runtime* pRuntime, in set_alignment() argument
413 CJS_Return Field::get_border_style(CJS_Runtime* pRuntime) { in get_border_style() argument
431 return CJS_Return(pRuntime->NewString(L"solid")); in get_border_style()
433 return CJS_Return(pRuntime->NewString(L"dashed")); in get_border_style()
435 return CJS_Return(pRuntime->NewString(L"beveled")); in get_border_style()
437 return CJS_Return(pRuntime->NewString(L"inset")); in get_border_style()
439 return CJS_Return(pRuntime->NewString(L"underline")); in get_border_style()
441 return CJS_Return(pRuntime->NewString(L"")); in get_border_style()
444 CJS_Return Field::set_border_style(CJS_Runtime* pRuntime, in set_border_style() argument
451 ByteString byte_str = ByteString::FromUnicode(pRuntime->ToWideString(vp)); in set_border_style()
513 CJS_Return Field::get_button_align_x(CJS_Runtime* pRuntime) { in get_button_align_x() argument
534 return CJS_Return(pRuntime->NewNumber(static_cast<int32_t>(fLeft))); in get_button_align_x()
537 CJS_Return Field::set_button_align_x(CJS_Runtime* pRuntime, in set_button_align_x() argument
543 CJS_Return Field::get_button_align_y(CJS_Runtime* pRuntime) { in get_button_align_y() argument
564 return CJS_Return(pRuntime->NewNumber(static_cast<int32_t>(fBottom))); in get_button_align_y()
567 CJS_Return Field::set_button_align_y(CJS_Runtime* pRuntime, in set_button_align_y() argument
573 CJS_Return Field::get_button_fit_bounds(CJS_Runtime* pRuntime) { in get_button_fit_bounds() argument
589 pRuntime->NewBoolean(pFormControl->GetIconFit().GetFittingBounds())); in get_button_fit_bounds()
592 CJS_Return Field::set_button_fit_bounds(CJS_Runtime* pRuntime, in set_button_fit_bounds() argument
598 CJS_Return Field::get_button_position(CJS_Runtime* pRuntime) { in get_button_position() argument
613 return CJS_Return(pRuntime->NewNumber(pFormControl->GetTextPosition())); in get_button_position()
616 CJS_Return Field::set_button_position(CJS_Runtime* pRuntime, in set_button_position() argument
622 CJS_Return Field::get_button_scale_how(CJS_Runtime* pRuntime) { in get_button_scale_how() argument
637 return CJS_Return(pRuntime->NewBoolean( in get_button_scale_how()
641 CJS_Return Field::set_button_scale_how(CJS_Runtime* pRuntime, in set_button_scale_how() argument
647 CJS_Return Field::get_button_scale_when(CJS_Runtime* pRuntime) { in get_button_scale_when() argument
667 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Always))); in get_button_scale_when()
670 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Bigger))); in get_button_scale_when()
673 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Never))); in get_button_scale_when()
676 pRuntime->NewNumber(static_cast<int32_t>(CPDF_IconFit::Smaller))); in get_button_scale_when()
681 CJS_Return Field::set_button_scale_when(CJS_Runtime* pRuntime, in set_button_scale_when() argument
687 CJS_Return Field::get_calc_order_index(CJS_Runtime* pRuntime) { in get_calc_order_index() argument
702 return CJS_Return(pRuntime->NewNumber(static_cast<int32_t>( in get_calc_order_index()
706 CJS_Return Field::set_calc_order_index(CJS_Runtime* pRuntime, in set_calc_order_index() argument
712 CJS_Return Field::get_char_limit(CJS_Runtime* pRuntime) { in get_char_limit() argument
723 pRuntime->NewNumber(static_cast<int32_t>(pFormField->GetMaxLen()))); in get_char_limit()
726 CJS_Return Field::set_char_limit(CJS_Runtime* pRuntime, in set_char_limit() argument
732 CJS_Return Field::get_comb(CJS_Runtime* pRuntime) { in get_comb() argument
744 pRuntime->NewBoolean(!!(pFormField->GetFieldFlags() & FIELDFLAG_COMB))); in get_comb()
747 CJS_Return Field::set_comb(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_comb() argument
752 CJS_Return Field::get_commit_on_sel_change(CJS_Runtime* pRuntime) { in get_commit_on_sel_change() argument
765 return CJS_Return(pRuntime->NewBoolean( in get_commit_on_sel_change()
769 CJS_Return Field::set_commit_on_sel_change(CJS_Runtime* pRuntime, in set_commit_on_sel_change() argument
775 CJS_Return Field::get_current_value_indices(CJS_Runtime* pRuntime) { in get_current_value_indices() argument
788 return CJS_Return(pRuntime->NewNumber(-1)); in get_current_value_indices()
790 return CJS_Return(pRuntime->NewNumber(pFormField->GetSelectedIndex(0))); in get_current_value_indices()
792 v8::Local<v8::Array> SelArray = pRuntime->NewArray(); in get_current_value_indices()
794 pRuntime->PutArrayElement( in get_current_value_indices()
795 SelArray, i, pRuntime->NewNumber(pFormField->GetSelectedIndex(i))); in get_current_value_indices()
798 return CJS_Return(pRuntime->NewArray()); in get_current_value_indices()
802 CJS_Return Field::set_current_value_indices(CJS_Runtime* pRuntime, in set_current_value_indices() argument
809 array.push_back(pRuntime->ToInt32(vp)); in set_current_value_indices()
811 v8::Local<v8::Array> SelArray = pRuntime->ToArray(vp); in set_current_value_indices()
812 for (size_t i = 0; i < pRuntime->GetArrayLength(SelArray); i++) { in set_current_value_indices()
814 pRuntime->ToInt32(pRuntime->GetArrayElement(SelArray, i))); in set_current_value_indices()
854 CJS_Return Field::get_default_style(CJS_Runtime* pRuntime) { in get_default_style() argument
858 CJS_Return Field::set_default_style(CJS_Runtime* pRuntime, in set_default_style() argument
863 CJS_Return Field::get_default_value(CJS_Runtime* pRuntime) { in get_default_value() argument
876 return CJS_Return(pRuntime->NewString(pFormField->GetDefaultValue().c_str())); in get_default_value()
879 CJS_Return Field::set_default_value(CJS_Runtime* pRuntime, in set_default_value() argument
885 CJS_Return Field::get_do_not_scroll(CJS_Runtime* pRuntime) { in get_do_not_scroll() argument
896 return CJS_Return(pRuntime->NewBoolean( in get_do_not_scroll()
900 CJS_Return Field::set_do_not_scroll(CJS_Runtime* pRuntime, in set_do_not_scroll() argument
906 CJS_Return Field::get_do_not_spell_check(CJS_Runtime* pRuntime) { in get_do_not_spell_check() argument
919 return CJS_Return(pRuntime->NewBoolean( in get_do_not_spell_check()
923 CJS_Return Field::set_do_not_spell_check(CJS_Runtime* pRuntime, in set_do_not_spell_check() argument
938 CJS_Return Field::get_delay(CJS_Runtime* pRuntime) { in get_delay() argument
939 return CJS_Return(pRuntime->NewBoolean(m_bDelay)); in get_delay()
942 CJS_Return Field::set_delay(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_delay() argument
946 SetDelay(pRuntime->ToBoolean(vp)); in set_delay()
950 CJS_Return Field::get_display(CJS_Runtime* pRuntime) { in get_display() argument
966 return CJS_Return(pRuntime->NewNumber(1)); in get_display()
970 return CJS_Return(pRuntime->NewNumber(3)); in get_display()
971 return CJS_Return(pRuntime->NewNumber(0)); in get_display()
973 return CJS_Return(pRuntime->NewNumber(2)); in get_display()
976 CJS_Return Field::set_display(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_display() argument
981 AddDelay_Int(FP_DISPLAY, pRuntime->ToInt32(vp)); in set_display()
984 pRuntime->ToInt32(vp)); in set_display()
1025 CJS_Return Field::get_doc(CJS_Runtime* pRuntime) { in get_doc() argument
1029 CJS_Return Field::set_doc(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_doc() argument
1033 CJS_Return Field::get_editable(CJS_Runtime* pRuntime) { in get_editable() argument
1043 pRuntime->NewBoolean(!!(pFormField->GetFieldFlags() & FIELDFLAG_EDIT))); in get_editable()
1046 CJS_Return Field::set_editable(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_editable() argument
1050 CJS_Return Field::get_export_values(CJS_Runtime* pRuntime) { in get_export_values() argument
1061 v8::Local<v8::Array> ExportValuesArray = pRuntime->NewArray(); in get_export_values()
1065 pRuntime->PutArrayElement( in get_export_values()
1067 pRuntime->NewString(pFormControl->GetExportValue().c_str())); in get_export_values()
1078 pRuntime->PutArrayElement( in get_export_values()
1080 pRuntime->NewString(pFormControl->GetExportValue().c_str())); in get_export_values()
1085 CJS_Return Field::set_export_values(CJS_Runtime* pRuntime, in set_export_values() argument
1100 CJS_Return Field::get_file_select(CJS_Runtime* pRuntime) { in get_file_select() argument
1109 return CJS_Return(pRuntime->NewBoolean( in get_file_select()
1113 CJS_Return Field::set_file_select(CJS_Runtime* pRuntime, in set_file_select() argument
1125 CJS_Return Field::get_fill_color(CJS_Runtime* pRuntime) { in get_fill_color() argument
1160 v8::Local<v8::Value> array = color::ConvertPWLColorToArray(pRuntime, color); in get_fill_color()
1162 return CJS_Return(pRuntime->NewArray()); in get_fill_color()
1166 CJS_Return Field::set_fill_color(CJS_Runtime* pRuntime, in set_fill_color() argument
1178 CJS_Return Field::get_hidden(CJS_Runtime* pRuntime) { in get_hidden() argument
1193 return CJS_Return(pRuntime->NewBoolean(ANNOTFLAG_INVISIBLE & dwFlags || in get_hidden()
1197 CJS_Return Field::set_hidden(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_hidden() argument
1202 AddDelay_Bool(FP_HIDDEN, pRuntime->ToBoolean(vp)); in set_hidden()
1205 pRuntime->ToBoolean(vp)); in set_hidden()
1218 CJS_Return Field::get_highlight(CJS_Runtime* pRuntime) { in get_highlight() argument
1236 return CJS_Return(pRuntime->NewString(L"none")); in get_highlight()
1238 return CJS_Return(pRuntime->NewString(L"push")); in get_highlight()
1240 return CJS_Return(pRuntime->NewString(L"invert")); in get_highlight()
1242 return CJS_Return(pRuntime->NewString(L"outline")); in get_highlight()
1244 return CJS_Return(pRuntime->NewString(L"toggle")); in get_highlight()
1249 CJS_Return Field::set_highlight(CJS_Runtime* pRuntime, in set_highlight() argument
1255 CJS_Return Field::get_line_width(CJS_Runtime* pRuntime) { in get_line_width() argument
1275 return CJS_Return(pRuntime->NewNumber(pWidget->GetBorderWidth())); in get_line_width()
1278 CJS_Return Field::set_line_width(CJS_Runtime* pRuntime, in set_line_width() argument
1284 AddDelay_Int(FP_LINEWIDTH, pRuntime->ToInt32(vp)); in set_line_width()
1287 pRuntime->ToInt32(vp)); in set_line_width()
1331 CJS_Return Field::get_multiline(CJS_Runtime* pRuntime) { in get_multiline() argument
1342 return CJS_Return(pRuntime->NewBoolean( in get_multiline()
1346 CJS_Return Field::set_multiline(CJS_Runtime* pRuntime, in set_multiline() argument
1352 CJS_Return Field::get_multiple_selection(CJS_Runtime* pRuntime) { in get_multiple_selection() argument
1362 return CJS_Return(pRuntime->NewBoolean( in get_multiple_selection()
1366 CJS_Return Field::set_multiple_selection(CJS_Runtime* pRuntime, in set_multiple_selection() argument
1372 CJS_Return Field::get_name(CJS_Runtime* pRuntime) { in get_name() argument
1377 return CJS_Return(pRuntime->NewString(m_FieldName.c_str())); in get_name()
1380 CJS_Return Field::set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_name() argument
1384 CJS_Return Field::get_num_items(CJS_Runtime* pRuntime) { in get_num_items() argument
1395 return CJS_Return(pRuntime->NewNumber(pFormField->CountOptions())); in get_num_items()
1398 CJS_Return Field::set_num_items(CJS_Runtime* pRuntime, in set_num_items() argument
1403 CJS_Return Field::get_page(CJS_Runtime* pRuntime) { in get_page() argument
1415 return CJS_Return(pRuntime->NewNumber(-1)); in get_page()
1417 v8::Local<v8::Array> PageArray = pRuntime->NewArray(); in get_page()
1428 pRuntime->PutArrayElement( in get_page()
1430 pRuntime->NewNumber(static_cast<int32_t>(pPageView->GetPageIndex()))); in get_page()
1436 CJS_Return Field::set_page(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_page() argument
1440 CJS_Return Field::get_password(CJS_Runtime* pRuntime) { in get_password() argument
1451 return CJS_Return(pRuntime->NewBoolean( in get_password()
1455 CJS_Return Field::set_password(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_password() argument
1460 CJS_Return Field::get_print(CJS_Runtime* pRuntime) { in get_print() argument
1473 pRuntime->NewBoolean(!!(pWidget->GetFlags() & ANNOTFLAG_PRINT))); in get_print()
1476 CJS_Return Field::set_print(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_print() argument
1492 if (pRuntime->ToBoolean(vp)) in set_print()
1517 if (pRuntime->ToBoolean(vp)) in set_print()
1534 CJS_Return Field::get_radios_in_unison(CJS_Runtime* pRuntime) { in get_radios_in_unison() argument
1543 return CJS_Return(pRuntime->NewBoolean( in get_radios_in_unison()
1547 CJS_Return Field::set_radios_in_unison(CJS_Runtime* pRuntime, in set_radios_in_unison() argument
1555 CJS_Return Field::get_readonly(CJS_Runtime* pRuntime) { in get_readonly() argument
1560 return CJS_Return(pRuntime->NewBoolean( in get_readonly()
1564 CJS_Return Field::set_readonly(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_readonly() argument
1571 CJS_Return Field::get_rect(CJS_Runtime* pRuntime) { in get_rect() argument
1584 v8::Local<v8::Array> rcArray = pRuntime->NewArray(); in get_rect()
1585 pRuntime->PutArrayElement( in get_rect()
1586 rcArray, 0, pRuntime->NewNumber(static_cast<int32_t>(crRect.left))); in get_rect()
1587 pRuntime->PutArrayElement( in get_rect()
1588 rcArray, 1, pRuntime->NewNumber(static_cast<int32_t>(crRect.top))); in get_rect()
1589 pRuntime->PutArrayElement( in get_rect()
1590 rcArray, 2, pRuntime->NewNumber(static_cast<int32_t>(crRect.right))); in get_rect()
1591 pRuntime->PutArrayElement( in get_rect()
1592 rcArray, 3, pRuntime->NewNumber(static_cast<int32_t>(crRect.bottom))); in get_rect()
1597 CJS_Return Field::set_rect(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_rect() argument
1603 v8::Local<v8::Array> rcArray = pRuntime->ToArray(vp); in set_rect()
1604 if (pRuntime->GetArrayLength(rcArray) < 4) in set_rect()
1609 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 0))); in set_rect()
1611 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 1))); in set_rect()
1613 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 2))); in set_rect()
1615 pRuntime->ToInt32(pRuntime->GetArrayElement(rcArray, 3))); in set_rect()
1687 CJS_Return Field::get_required(CJS_Runtime* pRuntime) { in get_required() argument
1696 return CJS_Return(pRuntime->NewBoolean( in get_required()
1700 CJS_Return Field::set_required(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_required() argument
1707 CJS_Return Field::get_rich_text(CJS_Runtime* pRuntime) { in get_rich_text() argument
1718 return CJS_Return(pRuntime->NewBoolean( in get_rich_text()
1722 CJS_Return Field::set_rich_text(CJS_Runtime* pRuntime, in set_rich_text() argument
1728 CJS_Return Field::get_rich_value(CJS_Runtime* pRuntime) { in get_rich_value() argument
1732 CJS_Return Field::set_rich_value(CJS_Runtime* pRuntime, in set_rich_value() argument
1737 CJS_Return Field::get_rotation(CJS_Runtime* pRuntime) { in get_rotation() argument
1749 return CJS_Return(pRuntime->NewNumber(pFormControl->GetRotation())); in get_rotation()
1752 CJS_Return Field::set_rotation(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_rotation() argument
1757 CJS_Return Field::get_stroke_color(CJS_Runtime* pRuntime) { in get_stroke_color() argument
1789 v8::Local<v8::Value> array = color::ConvertPWLColorToArray(pRuntime, color); in get_stroke_color()
1791 return CJS_Return(pRuntime->NewArray()); in get_stroke_color()
1795 CJS_Return Field::set_stroke_color(CJS_Runtime* pRuntime, in set_stroke_color() argument
1804 CJS_Return Field::get_style(CJS_Runtime* pRuntime) { in get_style() argument
1845 pRuntime->NewString(WideString::FromLocal(csBCaption.c_str()).c_str())); in get_style()
1848 CJS_Return Field::set_style(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_style() argument
1853 CJS_Return Field::get_submit_name(CJS_Runtime* pRuntime) { in get_submit_name() argument
1857 CJS_Return Field::set_submit_name(CJS_Runtime* pRuntime, in set_submit_name() argument
1862 CJS_Return Field::get_text_color(CJS_Runtime* pRuntime) { in get_text_color() argument
1889 v8::Local<v8::Value> array = color::ConvertPWLColorToArray(pRuntime, crRet); in get_text_color()
1891 return CJS_Return(pRuntime->NewArray()); in get_text_color()
1895 CJS_Return Field::set_text_color(CJS_Runtime* pRuntime, in set_text_color() argument
1904 CJS_Return Field::get_text_font(CJS_Runtime* pRuntime) { in get_text_font() argument
1929 return CJS_Return(pRuntime->NewString( in get_text_font()
1933 CJS_Return Field::set_text_font(CJS_Runtime* pRuntime, in set_text_font() argument
1940 !ByteString::FromUnicode(pRuntime->ToWideString(vp)).IsEmpty()); in set_text_font()
1943 CJS_Return Field::get_text_size(CJS_Runtime* pRuntime) { in get_text_size() argument
1959 return CJS_Return(pRuntime->NewNumber(static_cast<int>(fFontSize))); in get_text_size()
1962 CJS_Return Field::set_text_size(CJS_Runtime* pRuntime, in set_text_size() argument
1968 CJS_Return Field::get_type(CJS_Runtime* pRuntime) { in get_type() argument
1976 return CJS_Return(pRuntime->NewString(L"unknown")); in get_type()
1978 return CJS_Return(pRuntime->NewString(L"button")); in get_type()
1980 return CJS_Return(pRuntime->NewString(L"checkbox")); in get_type()
1982 return CJS_Return(pRuntime->NewString(L"radiobutton")); in get_type()
1984 return CJS_Return(pRuntime->NewString(L"combobox")); in get_type()
1986 return CJS_Return(pRuntime->NewString(L"listbox")); in get_type()
1988 return CJS_Return(pRuntime->NewString(L"text")); in get_type()
1990 return CJS_Return(pRuntime->NewString(L"signature")); in get_type()
1992 return CJS_Return(pRuntime->NewString(L"unknown")); in get_type()
1996 CJS_Return Field::set_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_type() argument
2000 CJS_Return Field::get_user_name(CJS_Runtime* pRuntime) { in get_user_name() argument
2008 pRuntime->NewString(FieldArray[0]->GetAlternateName().c_str())); in get_user_name()
2011 CJS_Return Field::set_user_name(CJS_Runtime* pRuntime, in set_user_name() argument
2017 CJS_Return Field::get_value(CJS_Runtime* pRuntime) { in get_value() argument
2030 ret = pRuntime->NewString(pFormField->GetValue().c_str()); in get_value()
2034 v8::Local<v8::Array> ValueArray = pRuntime->NewArray(); in get_value()
2040 pRuntime->NewString(pFormField->GetOptionValue(iIndex).c_str()); in get_value()
2041 if (wcslen(pRuntime->ToWideString(ElementValue).c_str()) == 0) { in get_value()
2043 pRuntime->NewString(pFormField->GetOptionLabel(iIndex).c_str()); in get_value()
2045 pRuntime->PutArrayElement(ValueArray, i, ElementValue); in get_value()
2049 ret = pRuntime->NewString(pFormField->GetValue().c_str()); in get_value()
2058 ret = pRuntime->NewString( in get_value()
2065 ret = pRuntime->NewString(L"Off"); in get_value()
2070 ret = pRuntime->NewString(pFormField->GetValue().c_str()); in get_value()
2073 return CJS_Return(pRuntime->MaybeCoerceToNumber(ret)); in get_value()
2076 CJS_Return Field::set_value(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_value() argument
2082 v8::Local<v8::Array> ValueArray = pRuntime->ToArray(vp); in set_value()
2083 for (size_t i = 0; i < pRuntime->GetArrayLength(ValueArray); i++) { in set_value()
2085 pRuntime->ToWideString(pRuntime->GetArrayElement(ValueArray, i))); in set_value()
2088 strArray.push_back(pRuntime->ToWideString(vp)); in set_value()
2155 CJS_Return Field::get_value_as_string(CJS_Runtime* pRuntime) { in get_value_as_string() argument
2167 return CJS_Return(pRuntime->NewString( in get_value_as_string()
2175 return CJS_Return(pRuntime->NewString( in get_value_as_string()
2179 return CJS_Return(pRuntime->NewString(L"Off")); in get_value_as_string()
2184 return CJS_Return(pRuntime->NewString(L"")); in get_value_as_string()
2186 return CJS_Return(pRuntime->NewString(pFormField->GetValue().c_str())); in get_value_as_string()
2189 CJS_Return Field::set_value_as_string(CJS_Runtime* pRuntime, in set_value_as_string() argument
2195 CJS_Runtime* pRuntime, in browseForFileToSubmit() argument
2215 CJS_Runtime* pRuntime, in buttonGetCaption() argument
2220 nface = pRuntime->ToInt32(params[0]); in buttonGetCaption()
2236 pRuntime->NewString(pFormControl->GetNormalCaption().c_str())); in buttonGetCaption()
2239 pRuntime->NewString(pFormControl->GetDownCaption().c_str())); in buttonGetCaption()
2242 pRuntime->NewString(pFormControl->GetRolloverCaption().c_str())); in buttonGetCaption()
2248 CJS_Runtime* pRuntime, in buttonGetIcon() argument
2251 int nFace = pRuntime->ToInt32(params[0]); in buttonGetIcon()
2269 pRuntime->NewFxDynamicObj(CJS_Icon::GetObjDefnID()); in buttonGetIcon()
2273 CJS_Icon* pJS_Icon = static_cast<CJS_Icon*>(pRuntime->GetObjectPrivate(pObj)); in buttonGetIcon()
2280 CJS_Runtime* pRuntime, in buttonImportIcon() argument
2286 CJS_Runtime* pRuntime, in buttonSetCaption() argument
2292 CJS_Runtime* pRuntime, in buttonSetIcon() argument
2298 CJS_Runtime* pRuntime, in checkThisBox() argument
2307 int nWidget = pRuntime->ToInt32(params[0]); in checkThisBox()
2310 bCheckit = pRuntime->ToBoolean(params[1]); in checkThisBox()
2334 CJS_Return Field::clearItems(CJS_Runtime* pRuntime, in clearItems() argument
2340 CJS_Runtime* pRuntime, in defaultIsChecked() argument
2349 int nWidget = pRuntime->ToInt32(params[0]); in defaultIsChecked()
2358 return CJS_Return(pRuntime->NewBoolean( in defaultIsChecked()
2364 CJS_Runtime* pRuntime, in deleteItemAt() argument
2369 CJS_Return Field::getArray(CJS_Runtime* pRuntime, in getArray() argument
2385 v8::Local<v8::Array> FormFieldArray = pRuntime->NewArray(); in getArray()
2389 pRuntime->NewFxDynamicObj(CJS_Field::GetObjDefnID()); in getArray()
2394 static_cast<CJS_Field*>(pRuntime->GetObjectPrivate(pObj)); in getArray()
2397 pRuntime->PutArrayElement(FormFieldArray, j++, in getArray()
2405 CJS_Return Field::getItemAt(CJS_Runtime* pRuntime, in getItemAt() argument
2410 nIdx = pRuntime->ToInt32(params[0]); in getItemAt()
2414 bExport = pRuntime->ToBoolean(params[1]); in getItemAt()
2429 pRuntime->NewString(pFormField->GetOptionLabel(nIdx).c_str())); in getItemAt()
2431 return CJS_Return(pRuntime->NewString(strval.c_str())); in getItemAt()
2434 pRuntime->NewString(pFormField->GetOptionLabel(nIdx).c_str())); in getItemAt()
2439 CJS_Return Field::getLock(CJS_Runtime* pRuntime, in getLock() argument
2445 CJS_Runtime* pRuntime, in insertItemAt() argument
2451 CJS_Runtime* pRuntime, in isBoxChecked() argument
2455 nIndex = pRuntime->ToInt32(params[0]); in isBoxChecked()
2465 return CJS_Return(pRuntime->NewBoolean( in isBoxChecked()
2472 CJS_Runtime* pRuntime, in isDefaultChecked() argument
2476 nIndex = pRuntime->ToInt32(params[0]); in isDefaultChecked()
2486 return CJS_Return(pRuntime->NewBoolean( in isDefaultChecked()
2492 CJS_Return Field::setAction(CJS_Runtime* pRuntime, in setAction() argument
2497 CJS_Return Field::setFocus(CJS_Runtime* pRuntime, in setFocus() argument
2540 CJS_Return Field::setItems(CJS_Runtime* pRuntime, in setItems() argument
2545 CJS_Return Field::setLock(CJS_Runtime* pRuntime, in setLock() argument
2551 CJS_Runtime* pRuntime, in signatureGetModifications() argument
2557 CJS_Runtime* pRuntime, in signatureGetSeedValue() argument
2563 CJS_Runtime* pRuntime, in signatureInfo() argument
2569 CJS_Runtime* pRuntime, in signatureSetSeedValue() argument
2575 CJS_Runtime* pRuntime, in signatureSign() argument
2581 CJS_Runtime* pRuntime, in signatureValidate() argument
2586 CJS_Return Field::get_source(CJS_Runtime* pRuntime) { in get_source() argument
2590 CJS_Return Field::set_source(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_source() argument