diff options
Diffstat (limited to 'xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp')
-rw-r--r-- | xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp | 174 |
1 files changed, 87 insertions, 87 deletions
diff --git a/xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp b/xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp index c309f129ee..dc4f24449b 100644 --- a/xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp +++ b/xfa/src/fxfa/src/fm2js/xfa_simpleexpression.cpp @@ -37,95 +37,95 @@ CFX_WideStringC XFA_FM_EXPTypeToString(XFA_FM_SimpleExpressionType simpleExpType return gs_lpStrExpFuncName[simpleExpType];
}
static XFA_FMBuildInFunc buildInFuncs[] = {
- {0x0001f1f5, (FX_LPCWSTR)L"At"},
- {0x00020b9c, (FX_LPCWSTR)L"FV"},
- {0x00021aef, (FX_LPCWSTR)L"If"},
- {0x00023ee6, (FX_LPCWSTR)L"PV"},
- {0x04b5c9ee, (FX_LPCWSTR)L"Encode"},
- {0x08e96685, (FX_LPCWSTR)L"DateFmt"},
- {0x09f99db6, (FX_LPCWSTR)L"Abs"},
- {0x09f9e583, (FX_LPCWSTR)L"Apr"},
- {0x09fa043e, (FX_LPCWSTR)L"Avg"},
- {0x0a9782a0, (FX_LPCWSTR)L"Get"},
- {0x0b1b09df, (FX_LPCWSTR)L"Len"},
- {0x0b3543a6, (FX_LPCWSTR)L"Max"},
- {0x0b356ca4, (FX_LPCWSTR)L"Min"},
- {0x0b358b60, (FX_LPCWSTR)L"Mod"},
- {0x0b4fded4, (FX_LPCWSTR)L"NPV"},
- {0x0b846bf1, (FX_LPCWSTR)L"Pmt"},
- {0x0b8494f9, (FX_LPCWSTR)L"Put"},
- {0x0bb8df5d, (FX_LPCWSTR)L"Ref"},
- {0x0bd37a99, (FX_LPCWSTR)L"Str"},
- {0x0bd37fb5, (FX_LPCWSTR)L"Sum"},
- {0x1048469b, (FX_LPCWSTR)L"Cterm"},
- {0x11e03660, (FX_LPCWSTR)L"Exists"},
- {0x126236e6, (FX_LPCWSTR)L"Post"},
- {0x127c6661, (FX_LPCWSTR)L"PPmt"},
- {0x193ade3e, (FX_LPCWSTR)L"Right"},
- {0x1ec8ab2c, (FX_LPCWSTR)L"Rate"},
- {0x20e476dc, (FX_LPCWSTR)L"IsoTime2Num"},
- {0x23eb6816, (FX_LPCWSTR)L"TimeFmt"},
- {0x24fb17b0, (FX_LPCWSTR)L"LocalDateFmt"},
- {0x28dee6e9, (FX_LPCWSTR)L"Format"},
- {0x2d0890b8, (FX_LPCWSTR)L"Term"},
- {0x2d71b00f, (FX_LPCWSTR)L"Time"},
- {0x2f890fb1, (FX_LPCWSTR)L"Num2Time"},
- {0x3767511d, (FX_LPCWSTR)L"Ceil"},
- {0x3ffd1941, (FX_LPCWSTR)L"LocalTimeFmt"},
- {0x442f68c8, (FX_LPCWSTR)L"Round"},
- {0x46fd1128, (FX_LPCWSTR)L"Eval"},
- {0x4d629440, (FX_LPCWSTR)L"Date2Num"},
- {0x4dcf25f8, (FX_LPCWSTR)L"Concat"},
- {0x4e00255d, (FX_LPCWSTR)L"UnitValue"},
- {0x55a5cc29, (FX_LPCWSTR)L"Lower"},
- {0x5e43e04c, (FX_LPCWSTR)L"WordNum"},
- {0x620ce6ba, (FX_LPCWSTR)L"Ipmt"},
- {0x6f544d49, (FX_LPCWSTR)L"Count"},
- {0x7e241013, (FX_LPCWSTR)L"Within"},
- {0x9b9a6e2b, (FX_LPCWSTR)L"IsoDate2Num"},
- {0xb2c941c2, (FX_LPCWSTR)L"UnitType"},
- {0xb598a1f7, (FX_LPCWSTR)L"Uuid"},
- {0xbde9abde, (FX_LPCWSTR)L"Date"},
- {0xc0010b80, (FX_LPCWSTR)L"Num2Date"},
- {0xc1f6144c, (FX_LPCWSTR)L"Upper"},
- {0xc44028f7, (FX_LPCWSTR)L"Oneof"},
- {0xc62c1b2c, (FX_LPCWSTR)L"Space"},
- {0xd0ff50f9, (FX_LPCWSTR)L"HasValue"},
- {0xd1537042, (FX_LPCWSTR)L"Floor"},
- {0xd2ac9cf1, (FX_LPCWSTR)L"Time2Num"},
- {0xd907aee5, (FX_LPCWSTR)L"Num2GMTime"},
- {0xdf24f7c4, (FX_LPCWSTR)L"Decode"},
- {0xe2664803, (FX_LPCWSTR)L"Substr"},
- {0xe3e7b528, (FX_LPCWSTR)L"Stuff"},
- {0xe6792d4e, (FX_LPCWSTR)L"Rtrim"},
- {0xe8c23f5b, (FX_LPCWSTR)L"Parse"},
- {0xea18d121, (FX_LPCWSTR)L"Choose"},
- {0xebfef69c, (FX_LPCWSTR)L"Replace"},
- {0xf5ad782b, (FX_LPCWSTR)L"Left"},
- {0xf7bb2248, (FX_LPCWSTR)L"Ltrim"},
+ {0x0001f1f5, L"At"},
+ {0x00020b9c, L"FV"},
+ {0x00021aef, L"If"},
+ {0x00023ee6, L"PV"},
+ {0x04b5c9ee, L"Encode"},
+ {0x08e96685, L"DateFmt"},
+ {0x09f99db6, L"Abs"},
+ {0x09f9e583, L"Apr"},
+ {0x09fa043e, L"Avg"},
+ {0x0a9782a0, L"Get"},
+ {0x0b1b09df, L"Len"},
+ {0x0b3543a6, L"Max"},
+ {0x0b356ca4, L"Min"},
+ {0x0b358b60, L"Mod"},
+ {0x0b4fded4, L"NPV"},
+ {0x0b846bf1, L"Pmt"},
+ {0x0b8494f9, L"Put"},
+ {0x0bb8df5d, L"Ref"},
+ {0x0bd37a99, L"Str"},
+ {0x0bd37fb5, L"Sum"},
+ {0x1048469b, L"Cterm"},
+ {0x11e03660, L"Exists"},
+ {0x126236e6, L"Post"},
+ {0x127c6661, L"PPmt"},
+ {0x193ade3e, L"Right"},
+ {0x1ec8ab2c, L"Rate"},
+ {0x20e476dc, L"IsoTime2Num"},
+ {0x23eb6816, L"TimeFmt"},
+ {0x24fb17b0, L"LocalDateFmt"},
+ {0x28dee6e9, L"Format"},
+ {0x2d0890b8, L"Term"},
+ {0x2d71b00f, L"Time"},
+ {0x2f890fb1, L"Num2Time"},
+ {0x3767511d, L"Ceil"},
+ {0x3ffd1941, L"LocalTimeFmt"},
+ {0x442f68c8, L"Round"},
+ {0x46fd1128, L"Eval"},
+ {0x4d629440, L"Date2Num"},
+ {0x4dcf25f8, L"Concat"},
+ {0x4e00255d, L"UnitValue"},
+ {0x55a5cc29, L"Lower"},
+ {0x5e43e04c, L"WordNum"},
+ {0x620ce6ba, L"Ipmt"},
+ {0x6f544d49, L"Count"},
+ {0x7e241013, L"Within"},
+ {0x9b9a6e2b, L"IsoDate2Num"},
+ {0xb2c941c2, L"UnitType"},
+ {0xb598a1f7, L"Uuid"},
+ {0xbde9abde, L"Date"},
+ {0xc0010b80, L"Num2Date"},
+ {0xc1f6144c, L"Upper"},
+ {0xc44028f7, L"Oneof"},
+ {0xc62c1b2c, L"Space"},
+ {0xd0ff50f9, L"HasValue"},
+ {0xd1537042, L"Floor"},
+ {0xd2ac9cf1, L"Time2Num"},
+ {0xd907aee5, L"Num2GMTime"},
+ {0xdf24f7c4, L"Decode"},
+ {0xe2664803, L"Substr"},
+ {0xe3e7b528, L"Stuff"},
+ {0xe6792d4e, L"Rtrim"},
+ {0xe8c23f5b, L"Parse"},
+ {0xea18d121, L"Choose"},
+ {0xebfef69c, L"Replace"},
+ {0xf5ad782b, L"Left"},
+ {0xf7bb2248, L"Ltrim"},
};
static const XFA_FMSOMMethod gs_FMSomMethods[] = {
- {0x00000068, (FX_LPCWSTR)L"h", 0x01},
- {0x00000077, (FX_LPCWSTR)L"w", 0x01},
- {0x00000078, (FX_LPCWSTR)L"x", 0x01},
- {0x00000079, (FX_LPCWSTR)L"y", 0x01},
- {0x05eb5b0f, (FX_LPCWSTR)L"pageSpan", 0x01},
- {0x10f1b1bd, (FX_LPCWSTR)L"page", 0x01},
- {0x3bf1c2a5, (FX_LPCWSTR)L"absPageSpan", 0x01},
- {0x3c752495, (FX_LPCWSTR)L"verify", 0x0d},
- {0x44c352ad, (FX_LPCWSTR)L"formNodes", 0x01},
- {0x5775c2cc, (FX_LPCWSTR)L"absPageInBatch", 0x01},
- {0x5ee00996, (FX_LPCWSTR)L"setElement", 0x01},
- {0x7033bfd5, (FX_LPCWSTR)L"insert", 0x03},
- {0x8c5feb32, (FX_LPCWSTR)L"sheetInBatch", 0x01},
- {0x8f3a8379, (FX_LPCWSTR)L"sheet", 0x01},
- {0x92dada4f, (FX_LPCWSTR)L"saveFilteredXML", 0x01},
- {0x9cab7cae, (FX_LPCWSTR)L"remove", 0x01},
- {0xa68635f1, (FX_LPCWSTR)L"sign", 0x61},
- {0xaac241c8, (FX_LPCWSTR)L"isRecordGroup", 0x01},
- {0xd8ed1467, (FX_LPCWSTR)L"clear", 0x01},
- {0xda12e518, (FX_LPCWSTR)L"append", 0x01},
- {0xe74f0653, (FX_LPCWSTR)L"absPage", 0x01},
+ {0x00000068, L"h", 0x01},
+ {0x00000077, L"w", 0x01},
+ {0x00000078, L"x", 0x01},
+ {0x00000079, L"y", 0x01},
+ {0x05eb5b0f, L"pageSpan", 0x01},
+ {0x10f1b1bd, L"page", 0x01},
+ {0x3bf1c2a5, L"absPageSpan", 0x01},
+ {0x3c752495, L"verify", 0x0d},
+ {0x44c352ad, L"formNodes", 0x01},
+ {0x5775c2cc, L"absPageInBatch", 0x01},
+ {0x5ee00996, L"setElement", 0x01},
+ {0x7033bfd5, L"insert", 0x03},
+ {0x8c5feb32, L"sheetInBatch", 0x01},
+ {0x8f3a8379, L"sheet", 0x01},
+ {0x92dada4f, L"saveFilteredXML", 0x01},
+ {0x9cab7cae, L"remove", 0x01},
+ {0xa68635f1, L"sign", 0x61},
+ {0xaac241c8, L"isRecordGroup", 0x01},
+ {0xd8ed1467, L"clear", 0x01},
+ {0xda12e518, L"append", 0x01},
+ {0xe74f0653, L"absPage", 0x01},
};
CXFA_FMSimpleExpression::CXFA_FMSimpleExpression(FX_DWORD line, XFA_FM_TOKEN op)
: m_line(line),
|