Hi Andreas,

we have a text document with a text table which contains several formulas. This 
text table will be filled with data in hidden mode. After the filling process 
we export the document to pdf. In most cases the fields with the formulas 
contains the message **expression faulty**. But the formula does not contain 
any error. If we store the document to odt and open it, the formula fields 
contains also the message **expression faulty**. But if we click into the text 
table the formula will be calculated and the correct result appears. What can 
we do do avoid this behaviour ?

the SwXTextDocument supports an interface call XTextFieldsSupplier, where you can call the method getTextFields(). The methods returns the implementation object SwXTextFieldTypes, which implments the interface XRefreshable where you can call the method refresh(). This should update all TextFields in your document.

Hope that helps.

Regards

Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to