summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_desc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_desc.cpp')
-rw-r--r--fxjs/xfa/cjx_desc.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/fxjs/xfa/cjx_desc.cpp b/fxjs/xfa/cjx_desc.cpp
index 03ab8f8d21..a49ae63323 100644
--- a/fxjs/xfa/cjx_desc.cpp
+++ b/fxjs/xfa/cjx_desc.cpp
@@ -26,3 +26,15 @@ CJS_Return CJX_Desc::metadata(CJS_V8* runtime,
return CJS_Return(JSGetStringFromID(JSMessage::kParamError));
return CJS_Return(runtime->NewString(""));
}
+
+void CJX_Desc::use(CFXJSE_Value* pValue,
+ bool bSetting,
+ XFA_Attribute eAttribute) {
+ Script_Attribute_String(pValue, bSetting, eAttribute);
+}
+
+void CJX_Desc::usehref(CFXJSE_Value* pValue,
+ bool bSetting,
+ XFA_Attribute eAttribute) {
+ Script_Attribute_String(pValue, bSetting, eAttribute);
+}