Introduce calculated field infrastructure across the pivot table stack: cache (ScDPCache::CalculatedField), filtered cache, data sources (ScSheetDPData, ScDatabaseDPData, ScDPGroupTableData), result calculation (ScDPTabRes), dimension supplier (ScDPSource), and save/restore (ScDPDimCalcSaveData). Add new ocDPFieldName opcode and formula compiler support for pivot field references. Handle OOXML import/export of pivot calculated fields. Change-Id: I42d094122d547b8ee9a2b63f809bdb13127f8f01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197913 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga@collabora.com>
Formula Helper Code
Contains parts of the formula parser used outside LibreOffice Calc code that has been pulled out from Calc's formula parser code.
Also contains some functions that are needed by code in both sc and
scaddins. Located here just for convenience. So sue me.