This is an automated email from the ASF dual-hosted git repository. asf-gitbox-commits pushed a commit to branch openformula in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 4a03f0ac3f4e77a6e8f3ef44e960faa6d3cf8f9a Author: Pedro Giffuni <[email protected]> AuthorDate: Tue Nov 17 18:08:59 2026 -0500 H.6: Defer ODDFPRICE/ODDFYIELD native implementation - Revert H.6.1 opcode registration (c4aad856fa) - Update roadmap: Group 3 DEFERRED pending financial registration policy - AddIn implementations preserved (financial.cxx, analysishelper.cxx) - Priority P2 but DEFERRED until policy defined --- .../function-implementation-roadmap.md | 41 ++++++++++++---------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/audit/openformula-function-gaps/function-implementation-roadmap.md b/audit/openformula-function-gaps/function-implementation-roadmap.md index 4b13126f7b..48a6b00c41 100644 --- a/audit/openformula-function-gaps/function-implementation-roadmap.md +++ b/audit/openformula-function-gaps/function-implementation-roadmap.md @@ -100,19 +100,22 @@ Rationale: ISOWEEKNUM needed separate opcode and evaluator for ISO 8601 Group 3 — Financial Odd-Period Functions (ODDFPRICE, ODDFYIELD) --------------------------------------------------------------- -Recommended sequence: - 1. Verify Analysis AddIn implementations (getOddfprice, getOddfyield - in financial.cxx:404–426) are complete and correct. - 2. If native implementation desired: add SC_OPCODE_ODDFPRICE, - SC_OPCODE_ODDFYIELD to compiler.hrc, implement ScOddfprice(), - ScOddfyield() in interpr*.cxx. - 3. Add English help entries (currently German-only or AddIn-only). - 4. Add Excel import/export mappings. - 5. Add test cases. - 6. Consider ODDLPRICE/ODDLYIELD together (same code path). +Status: DEFERRED — pending financial function registration policy. + +Rationale: H.6.1 opcode registration was reverted (commit c4aad856fa). + A broader financial function registration policy must be established + before allocating native opcodes to ODDFPRICE/ODDFYIELD. This includes: + 1. Inventory of native vs AddIn-only financial functions. + 2. Consistent criteria for opcode allocation, import/export, + Function Wizard, and help registration. + 3. Decision on whether ODDFPRICE/ODDFYIELD should receive native + implementations or remain AddIn-only. + +Current state: Implemented as Analysis AddIn only + (financial.cxx:404–426, analysishelper.cxx:1011–1188). + No native opcode, no Function Wizard, no English help. -Rationale: Currently Analysis AddIn functions only. Not native opcodes. - Share code with ODDLPRICE/ODDLYIELD (already implemented as AddIn). +PRIORITY: P2 (Excel compatibility gap). DEFERRED until policy defined. Group 4 — RRI (Rate of Return) @@ -246,22 +249,22 @@ Prioritization Summary ---------------------- P1 (Critical — ODF-required behavior missing): - - ERROR.TYPE: Error-code mapping to ODF return values unverified - - NUMBERVALUE: RESOLVED — evaluator implemented in H.1.1 - - FINDB/REPLACEB/SEARCHB: RESOLVED — evaluators implemented in H.2 - - DATEDIF: RESOLVED — evaluator implemented in H.3 + - ERROR.TYPE: RESOLVED in H.4 + - NUMBERVALUE: RESOLVED in H.1 + - FINDB/REPLACEB/SEARCHB: RESOLVED in H.2 + - DATEDIF: RESOLVED in H.3/H.3.1 P1 (High — semantic gaps): - - ISOWEEKNUM: ISO 8601 week numbering not implemented + - ISOWEEKNUM: RESOLVED in H.5 P2 (Excel compatibility): - - ODDFPRICE/ODDFYIELD: Analysis AddIn only, not native + - ODDFPRICE/ODDFYIELD: DEFERRED — pending financial registration policy - RRI: Validation gaps, German help only - GETPIVOTDATA: XLSX mapping missing - FDIST/FINV: Export naming (_xlfnodf), param count (FDIST) P3 (Minor): - - HARMEAN: German help only + - HARMEAN: German help only; BIFF mapping unverified DEFER (Platform/application-level): - DDE: Requires DDE subsystem; security questions
