Re: fop with oc4j
i see, i'll try that out immediately thanks a lot On 10/16/06, Glen Mazza [EMAIL PROTECTED] wrote: On 16.10.2006 14:26:51 Onur Senturk wrote:hi, i'm trying to use fop with oc4j but i think the xml parsers are conflicting. when i try to use xerces, the application doesn't start. When iuse the xml parser of the oc4j, i cannot make fop work.what should i do? does anyone have an idea? thanks. Hi Onur, I converted a FOP-based web app from Tomcat to Oracle AppServer a few months back.Yes, you will need to switch to the ApacheXML libraries, but you will also probably need to temporarily activate OAS classloader logging to try to figure out what the loading problem is(the application doesn't start problem you mentioned above.)Everyapplication is different, and all have their initial installation headaches.(It turned out for me, for example, that I was missingcommons-logging.jar, but the *only* way I could figure that out was byrunning OAS classloader logging and viewing the log files.)If thisdoesn't work, and you're desperate, another piece of advice I can offer is to *greatly* simplify your webapp--deploy a skeleton of it--andincrementally put more into it, using process of elimination todetermine at what point the webapp fails.I gave links to informationabout OAS classloader logging and switching parsing libraries in a blog entry below:http://jroller.com/page/gmazza?entry=migrating_spring_based_webapp_fromGlen- To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]-- Onur Şentürk
RE: fo:inline with line-height, height, border or other block-like properties
-Original Message- From: Abel Braaksma [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 4:27 PM Jeremias Maerki wrote: BTW, which version of FOP are you using? version 0.92a (latest, I believe). Abel, 0.92a does not exists... Either 0.90alpha, 0.91beta, or 0.92beta Can you confirm what version do you use? (FYI, I've tried your XSL-FO both with FOP v0.92beta and FOP latest TRUNK, and I get same result as Manual) Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: fo:inline with line-height, height, border or other block-like properties
Abel, 0.92a does not exists... Either 0.90alpha, 0.91beta, or 0.92beta Can you confirm what version do you use? Pascal, Manuel, I use 0.92beta, just checked. But you are right! It was a version problem! It was the age-old 0.20.5 version I used, without knowing: The Eclipse plugin of Oxygen was blinding my eyes. It uses a non-standard way of installing (not in Eclipse plugin dir). So, I thought I had upgraded fop.jar everywhere, but forgot about Oxygen. Just tested with the correct 0.92beta. And you are both right. My apologies for not checking deeper in the first place (these darn java lib paths!). This brings me to a little q.: in XSLT, I can get the vendor version by using system-property(xsl:vendor). Is there a similar way for XSLFO? It would prevent me for making the same mistake next time ;-) Cheers! -- Abel Braaksma http://www.nuntia.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: fo:inline with line-height, height, border or other block-like properties
-Original Message- From: Abel Braaksma [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 10:17 AM Abel, 0.92a does not exists... Either 0.90alpha, 0.91beta, or 0.92beta Can you confirm what version do you use? Pascal, Manuel, I use 0.92beta, just checked. But you are right! It was a version problem! It was the age-old 0.20.5 version I used, without knowing: The Eclipse plugin of Oxygen was blinding my eyes. It uses a non-standard way of installing (not in Eclipse plugin dir). So, I thought I had upgraded fop.jar everywhere, but forgot about Oxygen. Just tested with the correct 0.92beta. And you are both right. My apologies for not checking deeper in the first place (these darn java lib paths!). This brings me to a little q.: in XSLT, I can get the vendor version by using system-property(xsl:vendor). Is there a similar way for XSLFO? It would prevent me for making the same mistake next time ;-) commandLine: -v option Java: org.apache.fop package, Class Version, getVersion() method. Pascal Cheers! -- Abel Braaksma http://www.nuntia.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: fo:inline with line-height, height, border or other block-like properties
Pascal Sancho wrote: commandLine: -v option Java: org.apache.fop package, Class Version, getVersion() method. Pascal I am aware of those options, they are all at places hidden for me, as a user. All I can do is provide an XSLT which creates (from some source) XSLFO (which in turn is automatically processed by the internal fop proc, which can be different on different installations). As a user of our system, I cannot access the fop.jar directly. Hmm, perhaps I can create an extension function for XSLT. But then, that will call the fop version available on the moment that the XSLT is processing. Which is (in our case) not necessarily the same (esp. in the aforementioned case, where fop.jar was from a diff. location than I expected. -- Abel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: fo:inline with line-height, height, border or other block-like properties
-Original Message- From: Abel Braaksma [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 10:39 AM Pascal Sancho wrote: commandLine: -v option Java: org.apache.fop package, Class Version, getVersion() method. Pascal I am aware of those options, they are all at places hidden for me, as a user. All I can do is provide an XSLT which creates (from some source) XSLFO (which in turn is automatically processed by the internal fop proc, which can be different on different installations). As a user of our system, I cannot access the fop.jar directly. Hmm, perhaps I can create an extension function for XSLT. But then, that will call the fop version available on the moment that the XSLT is processing. Which is (in our case) not necessarily the same (esp. in the aforementioned case, where fop.jar was from a diff. location than I expected. -- Abel You cannot have the FOP version in the XSL-FO file since at this stage, FOP is not yet invoked. But you can check the PDF producer property of your PDF file, witch gives engine+version used to make the PDF. Awt viewer can help you too. Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: fo:inline with line-height, height, border or other block-like properties
Pascal Sancho wrote: You cannot have the FOP version in the XSL-FO file since at this stage, FOP is not yet invoked. Sorry for being unclear. I did not mean in the XSLFO file, but with the XSLFO file. Like, that there exists an instruction such as: fo:vendor-version / or something like that. Perhaps it just does not exist. But you can check the PDF producer property of your PDF file, witch gives engine+version used to make the PDF. That will help. Thanks! Indeed, the document that I put online shows FOP 0.20.5. That takes away my last uncertainty of what version was used here. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NullPointerException while printing
High, I had the same problem. It seems I have solved the problem. Replace foUserAgent.setRendererOverride(p_renderer) with renderer.setUserAgent(foUserAgent). I hope your printjob is directed to the right printer. Andrea - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Spam probable]: problem with copy text from pdf
-Original Message- From: Pavel Kuznetsov [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 9:51 AM To: fop-users@xmlgraphics.apache.org Subject: [Spam probable]: problem with copy text from pdf Please, help me! I use FOP version 0.20.5 for generate PDF reports. But is problem with copy text from PDF to clipboard. If I use font in FOP configuration, then view in PDF-file is ok (see file ex1_view.jpg), but when copy text from PDF... I see this: (see file copy_text_from_ex1_pdf.txt) If I don't use font, then I can't view russian characters in PDF (see ex2_view.jpg), but if I copy text, then ok for latin characters only. (see file copy_text_from_ex2_pdf.txt) : () Hi Pavel, This is a known issue until FOP v0.92beta (see [1]) This has just been fixed in latest TRUNK. If you don't want to upgrade, as a workaround you can use a non TTF font. [1] http://xmlgraphics.apache.org/fop/relnotes.html#FOP+0.92+beta Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
can't vertically align table cell content to middle
Hi there, I'm using FOP 0.92 beta and would like to use the vertical-align="middle" attribute (or equivalent) to centre all my table content to the middle of each cell. I can do it horizontally (fo:table-row text-align="center"),but not vertically. I've looked on the FOP compliance page and it says that "percentages are not supported, yet"but I don't need anything like that, I just want to vertically align to the "middle". Does anyone know how to do this? Also which of the fo:block, fo:table-cell, fo:table-row fo:table-column elements should it be placed in? I've tried them all and have had no luck. I've trawled through the mailing lists and I can't seem to find any answers, I have found something about using a baseline-shift but I don't understand how to use that. If vertical-align isn't supported in 0.92beta, can someone suggest a workaround? Thanks for any advice or suggestions Rory Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail.
RE: can't vertically align table cell content to middle
-Original Message- From: Rory Wales [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 2:29 PM Hi there, I'm using FOP 0.92 beta and would like to use the vertical-align=middle attribute (or equivalent) to centre all my table content to the middle of each cell. I can do it horizontally (fo:table-row text-align=center), but not vertically. I've looked on the FOP compliance page and it says that percentages are not supported, yet but I don't need anything like that, I just want to vertically align to the middle. Does anyone know how to do this? Also which of the fo:block, fo:table-cell, fo:table-row fo:table-column elements should it be placed in? I've tried them all and have had no luck. I've trawled through the mailing lists and I can't seem to find any answers, I have found something about using a baseline-shift but I don't understand how to use that. If vertical-align isn't supported in 0.92beta, can someone suggest a workaround? Thanks for any advice or suggestions Rory Rory, You should use display-align for that. Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: can't vertically align table cell content to middle
that works perfectly, Pascal, thank you very much! Rory - Original Message From: Pascal Sancho [EMAIL PROTECTED]To: fop-users@xmlgraphics.apache.orgSent: Tuesday, 17 October, 2006 1:55:38 PMSubject: RE: can't vertically align table cell content to "middle" -Original Message- From: Rory Wales [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 2:29 PM Hi there, I'm using FOP 0.92 beta and would like to use the vertical-align="middle" attribute (or equivalent) to centre all my table content to the middle of each cell. I can do it horizontally (fo:table-row text-align="center"), but not vertically. I've looked on the FOP compliance page and it says that "percentages are not supported, yet" but I don't need anything like that, I just want to vertically align to the "middle". Does anyone know how to do this? Also which of the fo:block, fo:table-cell, fo:table-row fo:table-column elements should it be placed in? I've tried them all and have had no luck. I've trawled through the mailing lists and I can't seem to find any answers, I have found something about using a baseline-shift but I don't understand how to use that. If vertical-align isn't supported in 0.92beta, can someone suggest a workaround? Thanks for any advice or suggestions RoryRory,You should use display-align for that.Pascal-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Send instant messages to your online friends http://uk.messenger.yahoo.com
RE: large file size for PDF
Perhaps this will help: http://marc.theaimsgroup.com/?l=fop-userm=114700968631356w=2 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Markiewicz Sent: Tuesday, October 17, 2006 2:46 PM To: fop-users@xmlgraphics.apache.org Subject: large file size for PDF Hello. I am generating PDFs using FOP for a client - and he is starting to complain about file size. It's a fairly simple PDF - two pages, mostly text, a handful of small images, and a few fonts. Doc size is around 600k. (Handmade is about 1/10th that size.) Anything I can do about this? I searched the archives but didn't find anything too useful. I'm looking into iText, but it seems that this might just be an issue with dynamically generated PDFs in general? I've also researched commercial products to shrink the PDFs - any experience with those? Thanks Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: One Page DOcument
I have a similar problem as to the one posted before. I've setup two page masters, one to be used for page-position=any and another to be used for page-position=last. When my document is rendered, and it is two or more pages, it works great. When my document is rendered and it is only one page, it uses the any page-master. Since there is no first defined, I was hoping that the last would apply to page 1. I am using FOP 0.92beta. Is there a way to have a single page document take on the attributes of the last page? Thanks. -- View this message in context: http://www.nabble.com/One-Page-DOcument-tf2191362.html#a6864617 Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]