RichTextNodeScript.java
889 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xfa;
import com.adobe.xfa.*;
public class RichTextNodeScript
extends ProtoableNodeScript {
protected static final ScriptTable moScriptTable = new ScriptTable(ProtoableNodeScript.moScriptTable, "#xHTML", new ScriptPropObj[]{new ScriptPropObj(RichTextNodeScript.class, "value", "getValue", "setValue", 6, 10, 9, 0)}, null);
public static ScriptTable getScriptTable() {
return moScriptTable;
}
public static void getValue(Obj pObj, Arg oRetVal) {
boolean bLegacyWhitespaceProcessing = ((RichTextNode)pObj).getAppModel().getLegacySetting(AppModel.XFA_LEGACY_V28_SCRIPTING);
oRetVal.setString(((RichTextNode)pObj).getValue(false, false, bLegacyWhitespaceProcessing));
}
public static void setValue(Obj pObj, Arg oArg) {
((RichTextNode)pObj).setValue(oArg.getString());
}
}