Tim Anderson wrote:
Thanks for the tip. I've inserted the following between the load and
save - it appears to work:
XTextFieldsSupplier supplier = (XTextFieldsSupplier)
UnoRuntime.queryInterface(XTextFieldsSupplier.class, document);
XEnumerationAccess fields =
I have had similiar problems with pdfs, but with
chained frames coming out wrong.
By using the refresh, and/or the
xTextDocument.reformat, at strategic locations (for
exampel after an insertcontent) I often have better
results.
--- Tim Anderson [EMAIL PROTECTED] wrote:
(Originally posted at
also, I believe that user fields themselves support
the XRefreshable interface, so you might just try
refreshing the user fields, instead of the whole
document.
--- Tim Anderson [EMAIL PROTECTED] wrote:
(Originally posted at
http://www.oooforum.org/forum/viewtopic.phtml?t=41056)
I'm using
(Originally posted at http://www.oooforum.org/forum/viewtopic.phtml?t=41056)
I'm using OpenOffice 2.0.3 to convert ODT byte streams to PDF from a
servlet.
However, the PDF generation doesn't work correctly unless I introduce a
sleep() between the call to loadComponentFromURL() and storeToURL().