/external/pdfium/fxjs/ |
D | cjs_event.cpp | 51 CJS_Return event::get_change(CJS_Runtime* pRuntime) { in get_change() 54 return CJS_Return(pRuntime->NewString(pEvent->Change().c_str())); in get_change() 57 CJS_Return event::set_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_change() 65 return CJS_Return(true); in set_change() 68 CJS_Return event::get_change_ex(CJS_Runtime* pRuntime) { in get_change_ex() 72 return CJS_Return(pRuntime->NewString(pEvent->ChangeEx().c_str())); in get_change_ex() 75 CJS_Return event::set_change_ex(CJS_Runtime* pRuntime, in set_change_ex() 77 return CJS_Return(false); in set_change_ex() 80 CJS_Return event::get_commit_key(CJS_Runtime* pRuntime) { in get_commit_key() 84 return CJS_Return(pRuntime->NewNumber(pEvent->CommitKey())); in get_commit_key() [all …]
|
D | cjs_field.cpp | 381 CJS_Return Field::get_alignment(CJS_Runtime* pRuntime) { in get_alignment() 386 return CJS_Return(false); in get_alignment() 390 return CJS_Return(false); in get_alignment() 394 return CJS_Return(false); in get_alignment() 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() 410 return CJS_Return(m_bCanSet); in set_alignment() [all …]
|
D | cjs_document.cpp | 141 CJS_Return Document::get_num_fields(CJS_Runtime* pRuntime) { in get_num_fields() 143 return CJS_Return(JSGetStringFromID(JSMessage::kBadObjectError)); in get_num_fields() 147 return CJS_Return(pRuntime->NewNumber( in get_num_fields() 151 CJS_Return Document::set_num_fields(CJS_Runtime* pRuntime, in set_num_fields() 153 return CJS_Return(JSGetStringFromID(JSMessage::kReadOnlyError)); in set_num_fields() 156 CJS_Return Document::get_dirty(CJS_Runtime* pRuntime) { in get_dirty() 158 return CJS_Return(JSGetStringFromID(JSMessage::kBadObjectError)); in get_dirty() 159 return CJS_Return(pRuntime->NewBoolean(!!m_pFormFillEnv->GetChangeMark())); in get_dirty() 162 CJS_Return Document::set_dirty(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_dirty() 164 return CJS_Return(JSGetStringFromID(JSMessage::kBadObjectError)); in set_dirty() [all …]
|
D | cjs_field.h | 38 CJS_Return get_alignment(CJS_Runtime* pRuntime); 39 CJS_Return set_alignment(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 41 CJS_Return get_border_style(CJS_Runtime* pRuntime); 42 CJS_Return set_border_style(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 44 CJS_Return get_button_align_x(CJS_Runtime* pRuntime); 45 CJS_Return set_button_align_x(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 47 CJS_Return get_button_align_y(CJS_Runtime* pRuntime); 48 CJS_Return set_button_align_y(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 50 CJS_Return get_button_fit_bounds(CJS_Runtime* pRuntime); 51 CJS_Return set_button_fit_bounds(CJS_Runtime* pRuntime, [all …]
|
D | cjs_document.h | 26 CJS_Return get_ADBE(CJS_Runtime* pRuntime); 27 CJS_Return set_ADBE(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 29 CJS_Return get_author(CJS_Runtime* pRuntime); 30 CJS_Return set_author(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 32 CJS_Return get_base_URL(CJS_Runtime* pRuntime); 33 CJS_Return set_base_URL(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 35 CJS_Return get_bookmark_root(CJS_Runtime* pRuntime); 36 CJS_Return set_bookmark_root(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 38 CJS_Return get_calculate(CJS_Runtime* pRuntime); 39 CJS_Return set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); [all …]
|
D | cjs_app.cpp | 92 CJS_Return app::get_active_docs(CJS_Runtime* pRuntime) { in get_active_docs() 104 return CJS_Return(aDocs); in get_active_docs() 105 return CJS_Return(pRuntime->NewUndefined()); in get_active_docs() 108 CJS_Return app::set_active_docs(CJS_Runtime* pRuntime, in set_active_docs() 110 return CJS_Return(false); in set_active_docs() 113 CJS_Return app::get_calculate(CJS_Runtime* pRuntime) { in get_calculate() 114 return CJS_Return(pRuntime->NewBoolean(m_bCalculate)); in get_calculate() 117 CJS_Return app::set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_calculate() 120 return CJS_Return(true); in set_calculate() 123 CJS_Return app::get_forms_version(CJS_Runtime* pRuntime) { in get_forms_version() [all …]
|
D | cjs_event.h | 17 CJS_Return get_change(CJS_Runtime* pRuntime); 18 CJS_Return set_change(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 20 CJS_Return get_change_ex(CJS_Runtime* pRuntime); 21 CJS_Return set_change_ex(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 23 CJS_Return get_commit_key(CJS_Runtime* pRuntime); 24 CJS_Return set_commit_key(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 26 CJS_Return get_field_full(CJS_Runtime* pRuntime); 27 CJS_Return set_field_full(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 29 CJS_Return get_key_down(CJS_Runtime* pRuntime); 30 CJS_Return set_key_down(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); [all …]
|
D | cjs_app.h | 24 CJS_Return get_active_docs(CJS_Runtime* pRuntime); 25 CJS_Return set_active_docs(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 27 CJS_Return get_calculate(CJS_Runtime* pRuntime); 28 CJS_Return set_calculate(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 30 CJS_Return get_forms_version(CJS_Runtime* pRuntime); 31 CJS_Return set_forms_version(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 33 CJS_Return get_fs(CJS_Runtime* pRuntime); 34 CJS_Return set_fs(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 36 CJS_Return get_fullscreen(CJS_Runtime* pRuntime); 37 CJS_Return set_fullscreen(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); [all …]
|
D | cjs_color.h | 25 CJS_Return get_black(CJS_Runtime* pRuntime); 26 CJS_Return set_black(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 28 CJS_Return get_blue(CJS_Runtime* pRuntime); 29 CJS_Return set_blue(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 31 CJS_Return get_cyan(CJS_Runtime* pRuntime); 32 CJS_Return set_cyan(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 34 CJS_Return get_dark_gray(CJS_Runtime* pRuntime); 35 CJS_Return set_dark_gray(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); 37 CJS_Return get_gray(CJS_Runtime* pRuntime); 38 CJS_Return set_gray(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp); [all …]
|
D | cjs_color.cpp | 141 CJS_Return color::get_transparent(CJS_Runtime* pRuntime) { in get_transparent() 145 CJS_Return color::set_transparent(CJS_Runtime* pRuntime, in set_transparent() 150 CJS_Return color::get_black(CJS_Runtime* pRuntime) { in get_black() 154 CJS_Return color::set_black(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_black() 158 CJS_Return color::get_white(CJS_Runtime* pRuntime) { in get_white() 162 CJS_Return color::set_white(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_white() 166 CJS_Return color::get_red(CJS_Runtime* pRuntime) { in get_red() 170 CJS_Return color::set_red(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_red() 174 CJS_Return color::get_green(CJS_Runtime* pRuntime) { in get_green() 178 CJS_Return color::set_green(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_green() [all …]
|
D | cjs_return.cpp | 9 CJS_Return::CJS_Return(bool result) : is_error_(!result) {} in CJS_Return() function in CJS_Return 11 CJS_Return::CJS_Return(const WideString& err) : is_error_(true), error_(err) {} in CJS_Return() function in CJS_Return 13 CJS_Return::CJS_Return(v8::Local<v8::Value> ret) in CJS_Return() function in CJS_Return 16 CJS_Return::CJS_Return(const CJS_Return&) = default; 18 CJS_Return::~CJS_Return() = default;
|
D | cjs_annot.cpp | 46 CJS_Return Annot::get_hidden(CJS_Runtime* pRuntime) { in get_hidden() 48 return CJS_Return(JSGetStringFromID(JSMessage::kBadObjectError)); in get_hidden() 51 return CJS_Return(pRuntime->NewBoolean( in get_hidden() 55 CJS_Return Annot::set_hidden(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_hidden() 59 return CJS_Return(JSGetStringFromID(JSMessage::kBadObjectError)); in set_hidden() 75 return CJS_Return(true); in set_hidden() 78 CJS_Return Annot::get_name(CJS_Runtime* pRuntime) { in get_name() 80 return CJS_Return(JSGetStringFromID(JSMessage::kBadObjectError)); in get_name() 81 return CJS_Return( in get_name() 85 CJS_Return Annot::set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) { in set_name() [all …]
|
D | cjs_publicmethods.h | 29 static CJS_Return AFNumber_Format( 32 static CJS_Return AFNumber_Keystroke( 35 static CJS_Return AFPercent_Format( 38 static CJS_Return AFPercent_Keystroke( 41 static CJS_Return AFDate_FormatEx( 44 static CJS_Return AFDate_KeystrokeEx( 47 static CJS_Return AFDate_Format( 50 static CJS_Return AFDate_Keystroke( 53 static CJS_Return AFTime_FormatEx( 56 static CJS_Return AFTime_KeystrokeEx( [all …]
|
D | cjs_publicmethods.cpp | 118 template <CJS_Return (*F)(CJS_Runtime*, 131 CJS_Return result = (*F)(pRuntime, parameters); in JSGlobalFunc() 865 CJS_Return CJS_PublicMethods::AFNumber_Format( in AFNumber_Format() 870 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in AFNumber_Format() 875 return CJS_Return(false); in AFNumber_Format() 880 return CJS_Return(true); in AFNumber_Format() 957 CJS_Return result = fTarget->get_text_color(pRuntime); in AFNumber_Format() 967 return CJS_Return(true); in AFNumber_Format() 972 CJS_Return CJS_PublicMethods::AFNumber_Keystroke( in AFNumber_Keystroke() 976 return CJS_Return(false); in AFNumber_Keystroke() [all …]
|
/external/pdfium/fxjs/xfa/ |
D | cjx_source.cpp | 40 CJS_Return CJX_Source::next(CJS_V8* runtime, in next() 43 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in next() 44 return CJS_Return(true); in next() 47 CJS_Return CJX_Source::cancelBatch( in cancelBatch() 51 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in cancelBatch() 52 return CJS_Return(true); in cancelBatch() 55 CJS_Return CJX_Source::first(CJS_V8* runtime, in first() 58 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in first() 59 return CJS_Return(true); in first() 62 CJS_Return CJX_Source::updateBatch( in updateBatch() [all …]
|
D | cjx_hostpseudomodel.cpp | 248 CJS_Return CJX_HostPseudoModel::gotoURL( in gotoURL() 252 return CJS_Return(true); in gotoURL() 255 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in gotoURL() 259 return CJS_Return(true); in gotoURL() 264 return CJS_Return(true); in gotoURL() 267 CJS_Return CJX_HostPseudoModel::openList( in openList() 271 return CJS_Return(true); in openList() 274 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in openList() 278 return CJS_Return(true); in openList() 286 return CJS_Return(true); in openList() [all …]
|
D | cjx_form.cpp | 34 CJS_Return CJX_Form::formNodes( in formNodes() 38 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in formNodes() 42 return CJS_Return(JSGetStringFromID(JSMessage::kValueError)); in formNodes() 51 return CJS_Return(runtime->NewNull()); in formNodes() 52 return CJS_Return(value->DirectGetValue().Get(runtime->GetIsolate())); in formNodes() 55 CJS_Return CJX_Form::remerge(CJS_V8* runtime, in remerge() 58 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in remerge() 61 return CJS_Return(true); in remerge() 64 CJS_Return CJX_Form::execInitialize( in execInitialize() 68 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in execInitialize() [all …]
|
D | cjx_template.cpp | 30 CJS_Return CJX_Template::formNodes( in formNodes() 34 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in formNodes() 35 return CJS_Return(runtime->NewBoolean(true)); in formNodes() 38 CJS_Return CJX_Template::remerge( in remerge() 42 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in remerge() 45 return CJS_Return(true); in remerge() 48 CJS_Return CJX_Template::execInitialize( in execInitialize() 52 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in execInitialize() 53 return CJS_Return( in execInitialize() 57 CJS_Return CJX_Template::recalculate( in recalculate() [all …]
|
D | cjx_layoutpseudomodel.cpp | 71 CJS_Return CJX_LayoutPseudoModel::HWXY( in HWXY() 76 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in HWXY() 80 return CJS_Return(true); in HWXY() 92 return CJS_Return(true); in HWXY() 96 return CJS_Return(true); 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() 128 CJS_Return CJX_LayoutPseudoModel::h( in h() 134 CJS_Return CJX_LayoutPseudoModel::w( in w() 140 CJS_Return CJX_LayoutPseudoModel::x( in x() [all …]
|
D | cjx_field.cpp | 41 CJS_Return CJX_Field::clearItems( in clearItems() 47 return CJS_Return(true); in clearItems() 50 CJS_Return CJX_Field::execEvent( in execEvent() 54 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in execEvent() 60 return CJS_Return(true); in execEvent() 62 return CJS_Return(runtime->NewBoolean(iRet != XFA_EVENTERROR_Error)); in execEvent() 65 CJS_Return CJX_Field::execInitialize( in execInitialize() 69 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in execInitialize() 76 return CJS_Return(true); in execInitialize() 79 CJS_Return CJX_Field::deleteItem( in deleteItem() [all …]
|
D | cjx_list.cpp | 34 CJS_Return CJX_List::append(CJS_V8* runtime, in append() 37 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in append() 41 return CJS_Return(JSGetStringFromID(JSMessage::kValueError)); in append() 44 return CJS_Return(true); in append() 47 CJS_Return CJX_List::insert(CJS_V8* runtime, in insert() 50 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in insert() 54 return CJS_Return(JSGetStringFromID(JSMessage::kValueError)); in insert() 58 return CJS_Return(true); in insert() 61 CJS_Return CJX_List::remove(CJS_V8* runtime, in remove() 64 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in remove() [all …]
|
D | cjx_node.cpp | 114 CJS_Return CJX_Node::applyXSL(CJS_V8* runtime, in applyXSL() 117 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in applyXSL() 120 return CJS_Return(true); in applyXSL() 123 CJS_Return CJX_Node::assignNode( in assignNode() 127 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in assignNode() 130 return CJS_Return(true); in assignNode() 133 CJS_Return CJX_Node::clone(CJS_V8* runtime, in clone() 136 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in clone() 142 return CJS_Return(runtime->NewNull()); in clone() 143 return CJS_Return(value->DirectGetValue().Get(runtime->GetIsolate())); in clone() [all …]
|
D | cjx_signaturepseudomodel.cpp | 29 CJS_Return CJX_SignaturePseudoModel::verifySignature( in verifySignature() 33 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in verifySignature() 34 return CJS_Return(runtime->NewNumber(0)); in verifySignature() 37 CJS_Return CJX_SignaturePseudoModel::sign( in sign() 41 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in sign() 42 return CJS_Return(runtime->NewBoolean(false)); in sign() 45 CJS_Return CJX_SignaturePseudoModel::enumerate( in enumerate() 49 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in enumerate() 50 return CJS_Return(true); in enumerate() 53 CJS_Return CJX_SignaturePseudoModel::clear( in clear() [all …]
|
D | cjx_instancemanager.cpp | 135 CJS_Return CJX_InstanceManager::moveInstance( in moveInstance() 139 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in moveInstance() 147 return CJS_Return(true); in moveInstance() 159 return CJS_Return(true); in moveInstance() 162 CJS_Return CJX_InstanceManager::removeInstance( in removeInstance() 166 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in removeInstance() 171 return CJS_Return(JSGetStringFromID(JSMessage::kInvalidInputError)); in removeInstance() 176 return CJS_Return(JSGetStringFromID(JSMessage::kTooManyOccurances)); in removeInstance() 180 return CJS_Return(JSGetStringFromID(JSMessage::kParamError)); in removeInstance() 199 return CJS_Return(true); in removeInstance() [all …]
|
D | cjx_logpseudomodel.cpp | 28 CJS_Return CJX_LogPseudoModel::message( in message() 31 return CJS_Return(true); in message() 34 CJS_Return CJX_LogPseudoModel::traceEnabled( in traceEnabled() 37 return CJS_Return(true); in traceEnabled() 40 CJS_Return CJX_LogPseudoModel::traceActivate( in traceActivate() 43 return CJS_Return(true); in traceActivate() 46 CJS_Return CJX_LogPseudoModel::traceDeactivate( in traceDeactivate() 49 return CJS_Return(true); in traceDeactivate() 52 CJS_Return CJX_LogPseudoModel::trace( in trace() 55 return CJS_Return(true); in trace()
|