Ok, so the PDF is really not fully written (It stops in the middle). There must be an exception somewhere (probably silently caught) or something else is going wrong outside of FOP for writing down the PDF. You didn't include the FO file as I requested so I cannot check if it's FOP choking because of the FO file.
On 21.06.2006 09:22:37 sim085 wrote: > > Hello, > > Thanks for the reply and sorry I did not reply before. No I am not having > any exceptions when generating my PDF file. I do know what exceptions you > are talking about, since I did have them, however I sucessfully fixed my > XSLT file and no exception is present so much (The same code is working fine > when comming to generate RTF or TXT file). > > The only message I get which find suspecting is the following: > > "WARN [RequestUtils] No FormBeanConfig found under 'pdfWriter'" > > However when I searched on the internet it seems that this is only required > when need to set a Passwords, Copy, etc properties on the PDF file (But I > could be wrong). Also I did not find any of these settings in the examples > that come with FOP library (I am mostly using the ExampleXML2PDF.java). > > Here I also pasted the text generated in my console related with the > converstion to PDF. > > 16:21:24,443 WARN [RequestUtils] No FormBeanConfig found under 'pdfWriter' > 16:21:24,459 INFO [PDFWriterAction] Loading xslt from > "file:/C:/Program%20Files > /JBoss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp49244app-exp.war/WEB-INF/li > b/app.jar!/com/comp/app/actions/togenerate.xslt" > 16:21:25,814 INFO [LayoutManager] table-layout="fixed" and width="auto", > but au > to-layout not supported => assuming width="100%" > 16:21:26,172 INFO [STDOUT] PageSequence <no id> generated 1 pages. > 16:21:26,172 INFO [STDOUT] Generated 1 pages in total. > > Nabble does not seem to allow upload of files, there for I have uploaded a > zip file (containing two files; file.rtf, and file.pdf) on my geocities > account: > > here is the url: > > www.geocities.com/sja085/problem/file.zip > > Now the RTF file will open fine (Using Microsoft Word). However the PDF > file gives me the error I described in the previous post. > > ps: Yes I have used those Green and Red colour on purpose :) > > Regards, > sim085 Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
