Hello Stephan,

sorry for the misunderstanding with the fields. I mean the cells of the text 
table which contains the message.

Best regards

Andreas

> -----Original Message-----
> From: Stephan Wunderlich [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 01, 2005 10:00 AM
> To: [email protected]
> Subject: Re: [api-dev] Updating formulas (JAVA)
> 
> 
> 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]
> 

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

Reply via email to