Hi,

after inserting some text in a XTextTable with Java, sometimes the cell with the sum formula isn't refreshed.

What does work:
* UI: press F9 or clicking into a cell
* Basic: ThisComponent.TextFields.refresh()

What does not work:
* Java (document is the XTextDocument here):

XTextFieldsSupplier xfs = (XTextFieldsSupplier) UnoRuntime.queryInterface(XTextFieldsSupplier.class, document);

XRefreshable xtfr = (XRefreshable) UnoRuntime.queryInterface(XRefreshable.class, xfs);
xtfr.refresh();

or

XRefreshable xtfr2 = (XRefreshable) UnoRuntime.queryInterface(XRefreshable.class, document);
xtfr2.refresh();


Any hints how to force that?


Regards

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to