| Index: fpdfsdk/javascript/PublicMethods.h
|
| diff --git a/fpdfsdk/javascript/PublicMethods.h b/fpdfsdk/javascript/PublicMethods.h
|
| index 67ca082f3149c76e9414582c11b0df68ed4421da..0820c40c3ed2bca0bccf2979bb669d9c947b031d 100644
|
| --- a/fpdfsdk/javascript/PublicMethods.h
|
| +++ b/fpdfsdk/javascript/PublicMethods.h
|
| @@ -18,94 +18,94 @@ class CJS_PublicMethods : public CJS_Object {
|
| : CJS_Object(pObject) {}
|
| ~CJS_PublicMethods() override {}
|
|
|
| - static FX_BOOL AFNumber_Format(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFNumber_Keystroke(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFPercent_Format(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFPercent_Keystroke(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFDate_FormatEx(IJS_Context* cc,
|
| + static bool AFNumber_Format(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFNumber_Keystroke(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| CFX_WideString& sError);
|
| - static FX_BOOL AFDate_KeystrokeEx(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFDate_Format(IJS_Context* cc,
|
| + static bool AFPercent_Format(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| CFX_WideString& sError);
|
| - static FX_BOOL AFDate_Keystroke(IJS_Context* cc,
|
| + static bool AFPercent_Keystroke(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| CFX_WideString& sError);
|
| - static FX_BOOL AFTime_FormatEx(IJS_Context* cc,
|
| + static bool AFDate_FormatEx(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFDate_KeystrokeEx(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| - CFX_WideString& sError); //
|
| - static FX_BOOL AFTime_KeystrokeEx(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFTime_Format(IJS_Context* cc,
|
| + CFX_WideString& sError);
|
| + static bool AFDate_Format(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFDate_Keystroke(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| CFX_WideString& sError);
|
| - static FX_BOOL AFTime_Keystroke(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFSpecial_Format(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFSpecial_Keystroke(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFSpecial_KeystrokeEx(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError); //
|
| - static FX_BOOL AFSimple(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFMakeNumber(IJS_Context* cc,
|
| + static bool AFTime_FormatEx(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFSimple_Calculate(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFRange_Validate(IJS_Context* cc,
|
| - const std::vector<CJS_Value>& params,
|
| - CJS_Value& vRet,
|
| - CFX_WideString& sError);
|
| - static FX_BOOL AFMergeChange(IJS_Context* cc,
|
| + CFX_WideString& sError); //
|
| + static bool AFTime_KeystrokeEx(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFTime_Format(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFTime_Keystroke(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| CFX_WideString& sError);
|
| - static FX_BOOL AFParseDateEx(IJS_Context* cc,
|
| + static bool AFSpecial_Format(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| CFX_WideString& sError);
|
| - static FX_BOOL AFExtractNums(IJS_Context* cc,
|
| + static bool AFSpecial_Keystroke(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFSpecial_KeystrokeEx(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError); //
|
| + static bool AFSimple(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFMakeNumber(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFSimple_Calculate(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFRange_Validate(IJS_Context* cc,
|
| const std::vector<CJS_Value>& params,
|
| CJS_Value& vRet,
|
| CFX_WideString& sError);
|
| + static bool AFMergeChange(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFParseDateEx(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
| + static bool AFExtractNums(IJS_Context* cc,
|
| + const std::vector<CJS_Value>& params,
|
| + CJS_Value& vRet,
|
| + CFX_WideString& sError);
|
|
|
| JS_STATIC_GLOBAL_FUN(AFNumber_Format);
|
| JS_STATIC_GLOBAL_FUN(AFNumber_Keystroke);
|
|
|