Apache OpenOffice (AOO) Bugzilla – Issue 52787
There is currently no api to force a recalculation of a texttable
Last modified: 2013-02-24 21:08:35 UTC
If a texttable with formulas is created via API and then stored or printed, it is possible that the table hasn't been calculated at this point and so "Expression Faulty" appears where calculated formulas are expected. Therefore I'd suggest to add a functionality that gives the api-developer the opportunity to recalculate all formulas in a texttable, e.g. something like the XCalculatable interface.
Created attachment 28423 [details] java sample that demonstrates the behaviour
added a java-sample that creates two texttables with formulas and saves the resulting document as pdf and odt. In the pdf-file you can then see the mentioned "Expression Faulty" where calculated formulas should be.