On 07/19/10 20:28, rashi dhing wrote:
How it works is that the formula contains the range that will be populated
with the result and
only those cells of the range are filled with the result. So the issue of
overwriting previous
content does not apply here as only empty ranges are selected !!

It still seems unusual. Are these formulas supposed to be static, or should they be updated when other cells change?

Anyway, if you modify cell content from UI code, you have to take care of repaint, undo, formula updates, and possibly row heights. There's a method ScDocFunc::SetCellText for a single cell, which handles this, or you might do something similar to lcl_PutDataArray in cellsuno.cxx.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@sc.openoffice.org
For additional commands, e-mail: dev-h...@sc.openoffice.org

Reply via email to