Home
last modified time | relevance | path

Searched refs:JSMessage (Results 1 – 25 of 37) sorted by relevance

12

/external/pdfium/fxjs/
Djs_resources.cpp9 WideString JSGetStringFromID(JSMessage msg) { in JSGetStringFromID()
12 case JSMessage::kAlert: in JSGetStringFromID()
15 case JSMessage::kParamError: in JSGetStringFromID()
18 case JSMessage::kInvalidInputError: in JSGetStringFromID()
21 case JSMessage::kParamTooLongError: in JSGetStringFromID()
24 case JSMessage::kParseDateError: in JSGetStringFromID()
28 case JSMessage::kRangeBetweenError: in JSGetStringFromID()
33 case JSMessage::kRangeGreaterError: in JSGetStringFromID()
36 case JSMessage::kRangeLessError: in JSGetStringFromID()
39 case JSMessage::kNotSupportedError: in JSGetStringFromID()
[all …]
Dcjs_field.cpp663 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_alignment()
666 return CJS_Result::Failure(JSMessage::kObjectTypeError); in get_alignment()
670 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_alignment()
687 return CJS_Result::Failure(JSMessage::kReadOnlyError); in set_alignment()
697 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_border_style()
702 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_border_style()
723 return CJS_Result::Failure(JSMessage::kReadOnlyError); in set_border_style()
740 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_button_align_x()
743 return CJS_Result::Failure(JSMessage::kObjectTypeError); in get_button_align_x()
747 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_button_align_x()
[all …]
Dcjs_document.cpp137 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_num_fields()
146 return CJS_Result::Failure(JSMessage::kReadOnlyError); in set_num_fields()
151 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_dirty()
160 return CJS_Result::Failure(JSMessage::kBadObjectError); in set_dirty()
178 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_page_num()
190 return CJS_Result::Failure(JSMessage::kBadObjectError); in set_page_num()
243 return CJS_Result::Failure(JSMessage::kParamError); in getField()
246 return CJS_Result::Failure(JSMessage::kBadObjectError); in getField()
256 return CJS_Result::Failure(JSMessage::kBadObjectError); in getField()
261 return CJS_Result::Failure(JSMessage::kBadObjectError); in getField()
[all …]
Dcjs_app.cpp93 return CJS_Result::Failure(JSMessage::kObjectTypeError); in get_active_docs()
104 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_active_docs()
125 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_forms_version()
134 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_viewer_type()
143 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_viewer_variation()
157 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_viewer_version()
172 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_platform()
187 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_language()
217 return CJS_Result::Failure(JSMessage::kParamError); in alert()
250 swTitle = JSGetStringFromID(JSMessage::kAlert); in alert()
[all …]
Dcjs_event.cpp85 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_change_ex()
96 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_commit_key()
110 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_field_full()
121 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_key_down()
132 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_modifier()
142 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_name()
231 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_shift()
237 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_source()
243 return CJS_Result::Failure(JSMessage::kNotSupportedError); in set_source()
249 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_target()
[all …]
Dcjs_publicmethods.cpp587 return CJS_Result::Failure(JSMessage::kParamError); in AFNumber_Format()
694 return CJS_Result::Failure(JSMessage::kParamError); in AFNumber_Keystroke()
699 return CJS_Result::Failure(JSMessage::kBadObjectError); in AFNumber_Keystroke()
713 WideString sError = JSGetStringFromID(JSMessage::kInvalidInputError); in AFNumber_Keystroke()
783 return CJS_Result::Failure(JSMessage::kParamError); in AFPercent_Format()
788 return CJS_Result::Failure(JSMessage::kBadObjectError); in AFPercent_Format()
798 return CJS_Result::Failure(JSMessage::kValueError); in AFPercent_Format()
879 return CJS_Result::Failure(JSMessage::kParamError); in AFDate_FormatEx()
884 return CJS_Result::Failure(JSMessage::kBadObjectError); in AFDate_FormatEx()
902 JSGetStringFromID(JSMessage::kParseDateError).c_str(), sFormat.c_str()); in AFDate_FormatEx()
[all …]
Dcjs_annot.cpp48 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_hidden()
61 return CJS_Result::Failure(JSMessage::kBadObjectError); in set_hidden()
82 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_name()
94 return CJS_Result::Failure(JSMessage::kBadObjectError); in set_name()
103 return CJS_Result::Failure(JSMessage::kBadObjectError); in get_type()
113 return CJS_Result::Failure(JSMessage::kReadOnlyError); in set_type()
Dcjs_util.cpp102 return CJS_Result::Failure(JSMessage::kParamError); in printf()
164 return CJS_Result::Failure(JSMessage::kParamError); in printd()
167 return CJS_Result::Failure(JSMessage::kSecondParamNotDateError); in printd()
171 return CJS_Result::Failure(JSMessage::kSecondParamInvalidDateError); in printd()
197 return CJS_Result::Failure(JSMessage::kValueError); in printd()
204 return CJS_Result::Failure(JSMessage::kTypeError); in printd()
208 return CJS_Result::Failure(JSMessage::kNotSupportedError); in printd()
228 return CJS_Result::Failure(JSMessage::kValueError); in printd()
269 return CJS_Result::Failure(JSMessage::kParamError); in printx()
370 return CJS_Result::Failure(JSMessage::kParamError); in scand()
[all …]
Djs_resources.h12 enum class JSMessage { enum
40 WideString JSGetStringFromID(JSMessage msg);
Dcjs_result.h34 static CJS_Result Failure(JSMessage id) WARN_UNUSED_RESULT { in Failure()
51 explicit CJS_Result(JSMessage id); // Error with stock message.
Dcjs_color.cpp262 return CJS_Result::Failure(JSMessage::kParamError); in SetPropertyHelper()
265 return CJS_Result::Failure(JSMessage::kTypeError); in SetPropertyHelper()
274 return CJS_Result::Failure(JSMessage::kParamError); in convert()
277 return CJS_Result::Failure(JSMessage::kTypeError); in convert()
303 return CJS_Result::Failure(JSMessage::kParamError); in equal()
307 return CJS_Result::Failure(JSMessage::kTypeError); in equal()
Dcjs_global.cpp228 return CJS_Result::Failure(JSMessage::kUnknownProperty); in QueryProperty()
235 return CJS_Result::Failure(JSMessage::kUnknownProperty); in DelProperty()
267 return CJS_Result::Failure(JSMessage::kObjectTypeError); in GetProperty()
301 return CJS_Result::Failure(JSMessage::kObjectTypeError); in SetProperty()
308 return CJS_Result::Failure(JSMessage::kParamError); in setPersistent()
312 return CJS_Result::Failure(JSMessage::kGlobalNotFoundError); in setPersistent()
514 return CJS_Result::Failure(JSMessage::kUnknownProperty); in SetGlobalVariables()
542 return CJS_Result::Failure(JSMessage::kObjectTypeError); in SetGlobalVariables()
574 return CJS_Result::Failure(JSMessage::kObjectTypeError); in SetGlobalVariables()
/external/pdfium/fxjs/xfa/
Dcjx_source.cpp47 return CJS_Result::Failure(JSMessage::kParamError); in next()
56 return CJS_Result::Failure(JSMessage::kParamError); in cancelBatch()
64 return CJS_Result::Failure(JSMessage::kParamError); in first()
73 return CJS_Result::Failure(JSMessage::kParamError); in updateBatch()
82 return CJS_Result::Failure(JSMessage::kParamError); in previous()
90 return CJS_Result::Failure(JSMessage::kParamError); in isBOF()
98 return CJS_Result::Failure(JSMessage::kParamError); in isEOF()
106 return CJS_Result::Failure(JSMessage::kParamError); in cancel()
114 return CJS_Result::Failure(JSMessage::kParamError); in update()
122 return CJS_Result::Failure(JSMessage::kParamError); in open()
[all …]
Dcjx_list.cpp42 return CJS_Result::Failure(JSMessage::kParamError); in append()
47 return CJS_Result::Failure(JSMessage::kValueError); in append()
56 return CJS_Result::Failure(JSMessage::kParamError); in insert()
61 return CJS_Result::Failure(JSMessage::kValueError); in insert()
66 return CJS_Result::Failure(JSMessage::kValueError); in insert()
74 return CJS_Result::Failure(JSMessage::kParamError); in remove()
79 return CJS_Result::Failure(JSMessage::kValueError); in remove()
88 return CJS_Result::Failure(JSMessage::kParamError); in item()
93 return CJS_Result::Failure(JSMessage::kInvalidInputError); in item()
Dcjx_instancemanager.cpp137 return CJS_Result::Failure(JSMessage::kNotSupportedError); in moveInstance()
140 return CJS_Result::Failure(JSMessage::kParamError); in moveInstance()
168 return CJS_Result::Failure(JSMessage::kNotSupportedError); in removeInstance()
171 return CJS_Result::Failure(JSMessage::kParamError); in removeInstance()
176 return CJS_Result::Failure(JSMessage::kInvalidInputError); in removeInstance()
181 return CJS_Result::Failure(JSMessage::kTooManyOccurances); in removeInstance()
185 return CJS_Result::Failure(JSMessage::kParamError); in removeInstance()
209 return CJS_Result::Failure(JSMessage::kNotSupportedError); in setInstances()
212 return CJS_Result::Failure(JSMessage::kParamError); in setInstances()
223 return CJS_Result::Failure(JSMessage::kNotSupportedError); in addInstance()
[all …]
Dcjx_template.cpp39 return CJS_Result::Failure(JSMessage::kParamError); in formNodes()
48 return CJS_Result::Failure(JSMessage::kParamError); in remerge()
58 return CJS_Result::Failure(JSMessage::kParamError); in execInitialize()
68 return CJS_Result::Failure(JSMessage::kParamError); in recalculate()
77 return CJS_Result::Failure(JSMessage::kParamError); in execCalculate()
87 return CJS_Result::Failure(JSMessage::kParamError); in execValidate()
Dcjx_form.cpp42 return CJS_Result::Failure(JSMessage::kParamError); in formNodes()
47 return CJS_Result::Failure(JSMessage::kValueError); in formNodes()
61 return CJS_Result::Failure(JSMessage::kParamError); in remerge()
71 return CJS_Result::Failure(JSMessage::kParamError); in execInitialize()
90 return CJS_Result::Failure(JSMessage::kParamError); in recalculate()
106 return CJS_Result::Failure(JSMessage::kParamError); in execCalculate()
119 return CJS_Result::Failure(JSMessage::kParamError); in execValidate()
Dcjx_signaturepseudomodel.cpp38 return CJS_Result::Failure(JSMessage::kParamError); in verifySignature()
47 return CJS_Result::Failure(JSMessage::kParamError); in sign()
56 return CJS_Result::Failure(JSMessage::kParamError); in enumerate()
65 return CJS_Result::Failure(JSMessage::kParamError); in clear()
Dcjx_field.cpp59 return CJS_Result::Failure(JSMessage::kParamError); in execEvent()
75 return CJS_Result::Failure(JSMessage::kParamError); in execInitialize()
89 return CJS_Result::Failure(JSMessage::kParamError); in deleteItem()
103 return CJS_Result::Failure(JSMessage::kParamError); in getSaveItem()
125 return CJS_Result::Failure(JSMessage::kParamError); in boundItem()
141 return CJS_Result::Failure(JSMessage::kParamError); in getItemState()
155 return CJS_Result::Failure(JSMessage::kParamError); in execCalculate()
169 return CJS_Result::Failure(JSMessage::kParamError); in getDisplayItem()
191 return CJS_Result::Failure(JSMessage::kParamError); in setItemState()
211 return CJS_Result::Failure(JSMessage::kParamError); in addItem()
[all …]
Dcjx_exclgroup.cpp41 return CJS_Result::Failure(JSMessage::kParamError); in execEvent()
52 return CJS_Result::Failure(JSMessage::kParamError); in execInitialize()
65 return CJS_Result::Failure(JSMessage::kParamError); in execCalculate()
78 return CJS_Result::Failure(JSMessage::kParamError); in execValidate()
94 return CJS_Result::Failure(JSMessage::kParamError); in selectedMember()
Dcjx_subform.cpp41 return CJS_Result::Failure(JSMessage::kParamError); in execEvent()
52 return CJS_Result::Failure(JSMessage::kParamError); in execInitialize()
65 return CJS_Result::Failure(JSMessage::kParamError); in execCalculate()
78 return CJS_Result::Failure(JSMessage::kParamError); in execValidate()
Dcjx_node.cpp163 return CJS_Result::Failure(JSMessage::kParamError); in applyXSL()
173 return CJS_Result::Failure(JSMessage::kParamError); in assignNode()
182 return CJS_Result::Failure(JSMessage::kParamError); in clone()
197 return CJS_Result::Failure(JSMessage::kParamError); in getAttribute()
208 return CJS_Result::Failure(JSMessage::kParamError); in getElement()
231 return CJS_Result::Failure(JSMessage::kParamError); in isPropertySpecified()
258 return CJS_Result::Failure(JSMessage::kParamError); in loadXML()
384 return CJS_Result::Failure(JSMessage::kParamError); in saveXML()
388 return CJS_Result::Failure(JSMessage::kValueError); in saveXML()
427 return CJS_Result::Failure(JSMessage::kParamError); in setAttribute()
[all …]
Dcjx_packet.cpp40 return CJS_Result::Failure(JSMessage::kParamError); in getAttribute()
55 return CJS_Result::Failure(JSMessage::kParamError); in setAttribute()
69 return CJS_Result::Failure(JSMessage::kParamError); in removeAttribute()
Dcjx_model.cpp43 return CJS_Result::Failure(JSMessage::kParamError); in createNode()
61 return CJS_Result::Failure(JSMessage::kParamError); in createNode()
80 return CJS_Result::Failure(JSMessage::kParamError); in isCompatibleNS()
Dcjx_hostpseudomodel.cpp252 return CJS_Result::Failure(JSMessage::kParamError); in gotoURL()
271 return CJS_Result::Failure(JSMessage::kParamError); in openList()
309 return CJS_Result::Failure(JSMessage::kParamError); in response()
347 return CJS_Result::Failure(JSMessage::kParamError); in resetData()
397 return CJS_Result::Failure(JSMessage::kParamError); in beep()
418 return CJS_Result::Failure(JSMessage::kParamError); in setFocus()
476 return CJS_Result::Failure(JSMessage::kParamError); in messageBox()
522 return CJS_Result::Failure(JSMessage::kParamError); in print()
554 return CJS_Result::Failure(JSMessage::kParamError); in importData()
563 return CJS_Result::Failure(JSMessage::kParamError); in exportData()

12