Re: [api-dev] ODT to PDF export incorrect, unless Thread.sleep() used

2006-08-16 Thread Kent Gibson
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 u

Re: [api-dev] ODT to PDF export incorrect, unless Thread.sleep() used

2006-08-16 Thread Kent Gibson
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

Re: [api-dev] Protocol handlers

2006-08-16 Thread Madhan Ponnusamy
Hi Carsten, Can you tell me how to pack the files addon,protocolhandler,protocolhandler implememtation and create the package which can be installed through UNOPKG. And another doubt can we have a main function inside protocolhandler.javafile

[api-dev] ODT to PDF export incorrect, unless Thread.sleep() used

2006-08-16 Thread Tim Anderson
(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().

[api-dev] Treating with Inputstream in OpenOffice API

2006-08-16 Thread aloizio
Hi I have a java class that receive one HTML file as a InputStream. I need to convert this InputStream to Word Document. Is there any method in OpenOffice API that allows me to do this? In this class I have also one method that receive three InputStrem and should return another inputstream that

Re: [api-dev] Converting HTML to PDF

2006-08-16 Thread Christoph Neumann
Hi aloizio, just change your font settings in your browser until it looks like the pdf. Hope that helps, Christoph aloizio schrieb: > Hi Jurgen, > > > If you look carefully you will note that the Font is different. > > > Jürgen Schmidt wrote: > >>aloizio wrote: >> >>>Hi everyboy, >>> >>>I

Re: [api-dev] Converting HTML to PDF

2006-08-16 Thread aloizio
Hi Jurgen, If you look carefully you will note that the Font is different. Jürgen Schmidt wrote: > > aloizio wrote: >> Hi everyboy, >> >> I have a complicated problem to solve. I am converting one HTML file into >> one PDF file. The problem is that the generated PDF document doesn't keep >>

Re: [api-dev] Converting HTML to PDF

2006-08-16 Thread Jürgen Schmidt
aloizio wrote: Hi everyboy, I have a complicated problem to solve. I am converting one HTML file into one PDF file. The problem is that the generated PDF document doesn't keep the text format. You can see this by the attached files, where teste.html is the origin files and teste.pdf is the desti

Re: [api-dev] Integrating OpenOffice API to Java Application

2006-08-16 Thread Jürgen Schmidt
aloizio wrote: I am using Windows XP Professional. I put all files in eclispe classpath C:\Program Files\OpenOffice.org 2.0\program\classes then it works. But when I end the system the client machine could not have OpenOffice installed. What I should do in this case? the simple bootstrap mecha