Re: Problems upgrading to FOP 0.20.3
OK, great comments. I had forgotten to update the included syle sheet. Unfortunately, still problems. Now I get the following error: [ERROR]: Logger not set [INFO]: building formatting object tree [INFO]: [1] [WARN]: table-layout=auto is not supported, using fixed! [WARN]: table-layout=auto is not supported, using fixed! [INFO]: [2] java.lang.RuntimeException: java.lang.NullPointerException So now the NullPointerException is back. Worse yet, when I run the transformed XSL:FO through the command line, it works OK. Why isn't it working within the servlet environment?? Am there more JARs I need to add to the classpath?? For what it's worth, the xsl:fo appears below. http://www.w3.org/1999/XSL/Format";> Cover Page Preferred Insured, Inc. Eveluation Date: 00/00/ Report Description: Monthly Loss Report Look and Feel: High Level Coverage Report Type: One Time Report Format: Detail Reporting Level: Occurence Claim Status: Inception Date Filter by Date: Inception Date Open Claim Begin and End Dates: 00/00/-00/00/ Closed Claim Begin and End Dates: 00/00/-00/00/ Show Claiment Name: Yes Incured Filter: None Policies Included: CC12345678, EE12345677 Coverages Included: Liability, Auto, Workers Comp Locations Included: 1004, 1297, 1020 Coverage Detail Filter On: Policy Inception Date Prefered Insured, Inc Open Claim Range: 00/00/-00/00/
Re: Problems upgrading to FOP 0.20.3
[EMAIL PROTECTED] wrote: [ERROR]: Logger not set This can be sefaly ignored. [INFO]: building formatting object tree java.lang.RuntimeException: org.apache.fop.apps.FOPException: 'master-reference' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' There is a fo:page-sequence which probably uses still master-name instead of master-reference. In case it helps, the xsl:fo style sheet appears below. The result of the transformation is almost always of more help than the style sheet, especially after unnecessary stuff has been deleted. Because of: No such file. No template matching this element. Probably in the included file. This is most likely the problem, because in order to make sense, the template has to produce a fo:page-sequence, which you most likely forgot to update. J.Pietschmann
Re: Problem with servlet
And does it work? [EMAIL PROTECTED] wrote: Yes, I have xerces-1.2.3.jar. Thanks -Neeru Oleg TkachenkoTo: [EMAIL PROTECTED] <[EMAIL PROTECTED]cc: onn.com> Subject: Re: Problem with servlet 06/20/2002 04:36 PM Please respond to fop-user [EMAIL PROTECTED] wrote: I am having problem running the example servletFop. I have websphere3.5 and have the fop.jar, batik.jar, avalon-framework-4.0.jar, logkit-1.0.jar and xalan-2.0.0.jar in the lib directory. I am attaching the error. Hey, what about xerces? -- Oleg Tkachenko Multiconn International Ltd -- Oleg Tkachenko Multiconn International Ltd
Re: Problem with servlet
Yes, I have xerces-1.2.3.jar. Thanks -Neeru Oleg TkachenkoTo: [EMAIL PROTECTED] <[EMAIL PROTECTED]cc: onn.com> Subject: Re: Problem with servlet 06/20/2002 04:36 PM Please respond to fop-user [EMAIL PROTECTED] wrote: > I am having problem running the example servletFop. I have websphere3.5 and > have the fop.jar, batik.jar, avalon-framework-4.0.jar, logkit-1.0.jar and > xalan-2.0.0.jar in the lib directory. I am attaching the error. Hey, what about xerces? -- Oleg Tkachenko Multiconn International Ltd
Re: Problems upgrading to FOP 0.20.3
--> This --> should be changed to --> http://www.w3.org/1999/XSL/Transform"; version=" 1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format";> http://www.w3.org/1999/XSL/Format"; font-size="8pt" font-family="sans-serif"> Coverage Detail Filter On: Policy Inception Date Prefered Insured, Inc Open Claim Range: 00/00/-00/00/ Eveluation Date: 00/00/ Closed Claim Range: 00/00/-00/00/ Location: 0125609 Description goes here and could get really long but not yet. now we're testing a really long description of something and we're putting a bunch of crap in the text field so we can test this description field. but we need to keep adding and adding and adding and adding and adding text. where Reserve dollars are blocked due to sensitivity Loss Expense Incurred Insured Retention St. Paul Retention Paid * * Reserve * * * Number of Occurences: Recovery * * * * *
Re: Problem with servlet
[EMAIL PROTECTED] wrote: I am having problem running the example servletFop. I have websphere3.5 and have the fop.jar, batik.jar, avalon-framework-4.0.jar, logkit-1.0.jar and xalan-2.0.0.jar in the lib directory. I am attaching the error. Hey, what about xerces? -- Oleg Tkachenko Multiconn International Ltd
Re: new fopper's question
Yu, Vanessa schrieb: Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: fop -fo readme.fo -pdf But I got this error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown Source) Which OS are you using ? The fop command is like this: java -classpath build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 Why don't you use the supplied fop.bat ? Thanks! Vanessa Christian
Re: FOP build fails
Ralf Steppacher wrote: I get prepare-xalan1: [echo] Xalan1 is present. Installing Xalan1 support [copy] Copying 2 files to Z:\steppacher\Downloads\FOP\fop-0.20.3\build\src I put xalan 2 into the classpath before compiling. Is this something to worry about? This happens if the Xalan1 compatibility library is found in the classpath. Just ignore it (you FOP jar will be a bit larger). J.Pietschmann
Re: FOP build fails
Ralf Steppacher schrieb: Hi, I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. This *should* be fixed with Fop 0.20.4rc (I would be happy if you could test it) Ralf Christian
Re: Problems upgrading to FOP 0.20.3
[EMAIL PROTECTED] schrieb: Hello, I am trying to upgrade from FOP 0.20.1 0.20.3. As per the release notes, changing "master-name" properties to "master-reference" eliminated some errors. You did change to much .. read again ;-) (or see below) I running FOP in a servlet environment on WebSphere 3.5.3, which I believe runs JDK 1.2.2. The same stylesheet and everything worked on 0.20.1. Does anybody know what the problem is? The stylesheet appears below. This Christian
Problem with servlet
I am having problem running the example servletFop. I have websphere3.5 and have the fop.jar, batik.jar, avalon-framework-4.0.jar, logkit-1.0.jar and xalan-2.0.0.jar in the lib directory. I am attaching the error. Thanks for help -Neeru (See attached file: err.rtf) err.rtf Description: RTF file
One truth about FOP and SVG
Hi, let me give you a summary from my experiance with the today FOP (0.20.3) which I collected in the last month. My goal was to produce a label for direct printing on a printer. The format which should do the work was PCL to use any printer. Since I had to concern on labels I choosed SVG to create labels and my intention was to imbed those SVG documents in one FO document. As soon as I started with FOP I recognized, PCL and SVG doesn't like each other. The PCLRenderer can't do anything with SVG. So, I forgot the any printer approach and said to myself let's use a Postscript printer and try the PSRenderer. The result was at least a Postscript document, but not worth to show it to a customer. The only acceptable format came from the PDFRenderer. But have you heared from a PDF printer? If yes, please let me know and give me some prices. For performance reasons I prefer of course PCL directly printing to any printer using the Java Communications API. I hope that people read this, who are also involved in the writing of FOP documents and pay attention in their first lines of the documents of the following: 1. It should be clear for anyone from the very first beginning when working with FOP that FOP works fine when PDF should be the result. 2. That it also work fine when you stay in the FO namespace and create your stylesheets with FO. 3. That it does a worthless job when you create SVG stylesheets and embed them in FO in hope that you get out PCL or PS. The reason why to embed SVG in FO is clear. There is no visual FO editor out there. So you can not give your customer the freedom to create their own stylesheets. But there are a few visual SVG editors which allow the customer to do right this. I used WebDraw from Jasc Software, Inc. and it does a great job. Hopefully, I didn't hurt anyone with my comments. regards, Darya __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Yahoo! präsentiert als offizieller Sponsor das Fußball-Highlight des Jahres: - http://www.FIFAworldcup.com
Re: new fopper's question
Sorry, but I cannot reproduce that, I have just downloaded fop0.20.4 bin, unpacked it and run fop.bat docs\examples\fo\table.fo -pdf table.pdf and it works ok on my NT4 box. Probably you have some classpath problem, but I'm not sure. Yu, Vanessa wrote: I am running the bin version. when I run "fop -d" I got the same exception. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Thursday, June 20, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Re: new fopper's question Which version of fop (bin or src) are you talking about? Try -d option and show us the debug messages. Yu, Vanessa wrote: Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: fop -fo readme.fo -pdf But I got this error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown Source) The fop command is like this: java -classpath build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 All jars are in place. I wonder why it did not find org.apache.avalon.framework.logger.Logger, because it is in the jar. Thanks! Vanessa -- Oleg Tkachenko Multiconn International Ltd, Israel
RE: new fopper's question
It is not obvious what is wrong in your invocation of fop. Everything looks fine. So my guess is there is some silly mistake somwhere, like the name of jar file etc.. you could try doing wierd things like putting the avalon jar in front of classpath, or reducing the size of filename of jars etc. if you're running this from a batch file, try setting the classpath first, then running java fop... from the command line. -Original Message- From: Yu, Vanessa [mailto:[EMAIL PROTECTED] Sent: June 20, 2002 1:29 PM To: '[EMAIL PROTECTED]' Subject: RE: new fopper's question I am running the bin version. when I run "fop -d" I got the same exception. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Thursday, June 20, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Re: new fopper's question Which version of fop (bin or src) are you talking about? Try -d option and show us the debug messages. Yu, Vanessa wrote: > Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: > fop -fo readme.fo -pdf > > But I got this error: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/avalon/framework/logger/Logger > at org.apache.fop.apps.Fop.main(Unknown Source) > > The fop command is like this: > java -classpath > build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib > \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop > %1 %2 %3 %4 %5 %6 %7 %8 > > All jars are in place. I wonder why it did not find > org.apache.avalon.framework.logger.Logger, because it is in the jar. > > Thanks! > > Vanessa > -- Oleg Tkachenko Multiconn International Ltd, Israel
RE: new fopper's question
I am running the bin version. when I run "fop -d" I got the same exception. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Thursday, June 20, 2002 2:26 PM To: [EMAIL PROTECTED] Subject: Re: new fopper's question Which version of fop (bin or src) are you talking about? Try -d option and show us the debug messages. Yu, Vanessa wrote: > Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: > fop -fo readme.fo -pdf > > But I got this error: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/avalon/framework/logger/Logger > at org.apache.fop.apps.Fop.main(Unknown Source) > > The fop command is like this: > java -classpath > build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib > \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop > %1 %2 %3 %4 %5 %6 %7 %8 > > All jars are in place. I wonder why it did not find > org.apache.avalon.framework.logger.Logger, because it is in the jar. > > Thanks! > > Vanessa > -- Oleg Tkachenko Multiconn International Ltd, Israel
Re: new fopper's question
Which version of fop (bin or src) are you talking about? Try -d option and show us the debug messages. Yu, Vanessa wrote: Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: fop -fo readme.fo -pdf But I got this error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown Source) The fop command is like this: java -classpath build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 All jars are in place. I wonder why it did not find org.apache.avalon.framework.logger.Logger, because it is in the jar. Thanks! Vanessa -- Oleg Tkachenko Multiconn International Ltd, Israel
Re: FOP build fails
Ralf Steppacher wrote: I get prepare-xalan1: [echo] Xalan1 is present. Installing Xalan1 support [copy] Copying 2 files to Z:\steppacher\Downloads\FOP\fop-0.20.3\build\src I put xalan 2 into the classpath before compiling. Is this something to worry about? I believe not, that's usual fop 0.20.3 build messages. -- Oleg Tkachenko Multiconn International Ltd, Israel
Re: FOP build fails
That did it, thanks. I get prepare-xalan1: [echo] Xalan1 is present. Installing Xalan1 support [copy] Copying 2 files to Z:\steppacher\Downloads\FOP\fop-0.20.3\build\src I put xalan 2 into the classpath before compiling. Is this something to worry about? Everything seems to work all right. Thanks again. Ralf Oleg Tkachenko wrote: Ralf Steppacher wrote: I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. Try to build using jdk 1.3.X.
new fopper's question
Hi! I just downloaded fop-0.20.4rc, and try to run the simple command: fop -fo readme.fo -pdf But I got this error: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown Source) The fop command is like this: java -classpath build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib \xml-apis.jar;lib\avalon-framework-cvs-20020315.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 All jars are in place. I wonder why it did not find org.apache.avalon.framework.logger.Logger, because it is in the jar. Thanks! Vanessa
Problems upgrading to FOP 0.20.3
Hello, I am trying to upgrade from FOP 0.20.1 0.20.3. As per the release notes, changing "master-name" properties to "master-reference" eliminated some errors. However, after those simple errors were resolved, I get a NullPointerException, but little else. Here's what FOP dumps to the console: [ERROR]: Logger not set [INFO]: building formatting object tree [INFO]: [1] [WARN]: table-layout=auto is not supported, using fixed! [WARN]: table-layout=auto is not supported, using fixed! [INFO]: [2] java.lang.RuntimeException: java.lang.NullPointerException That's all it says -- it doesn't give any more help. I running FOP in a servlet environment on WebSphere 3.5.3, which I believe runs JDK 1.2.2. The same stylesheet and everything worked on 0.20.1. Does anybody know what the problem is? The stylesheet appears below. Thanks!!! http://www.w3.org/1999/XSL/Transform"; version=" 1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format";> http://www.w3.org/1999/XSL/Format"; font-size="8pt" font-family="sans-serif"> Coverage Detail Filter On: Policy Inception Date Prefered Insured, Inc Open Claim Range: 00/00/-00/00/ Eveluation Date: 00/00/ Closed Claim Range: 00/00/-00/00/ Location: 0125609 Description goes here and could get really long but not yet. now we're testing a really long description of something and we're putting a bunch of crap in the text field so we can test this description field. but we need to keep adding and adding and adding and adding and adding text. where Reserve dollars are blocked due to sensitivity Loss Expense Incurred Insured Retention St. Paul Retention Paid * *
Re: FOP build fails
Ralf Steppacher wrote: I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. Try to build using jdk 1.3.X. -- Oleg Tkachenko Multiconn International Ltd, Israel
FOP build fails
Hi, I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. Z:\steppacher\Downloads\FOP\fop-0.20.3\build.xml:512: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: File "file:///Z:/steppacher/Downloads/FOP/fop-0.20.3/Z:/steppacher/Downloads/FOP/fop-0.20.3/build/src/codegen/Hel vetica-Oblique.xml" not found. The file uri is incorrect but I can not find where this broken path is generated in build.xml. Everytime I build again the error moves on to the next font and linenumbers where the error occurs in build.xml change. Ralf
Problem with session
Hi Others themes, Why are the variable the session into servlet and the varieble the session into jsp different? Somebody can tell me. Thanks very much
Re: Can FOP tell Acrobat Reader about wanted orientation?
Did you follow a similar discussion yesterday? http://marc.theaimsgroup.com/?t=10243211241&r=1&w=2 PDF does not provide what you ask. The only values you can enter in the PDF are the one you can set in File/Document Properties/Open Options... And none of them are implemented in FOP. I think that if you enable "auto-rotate" then the PDF should always come out correctly without having to set anything on the printer driver. For the moment you will have to stick with what you have. A possibility is to add a rotation similar the stuff I did for the PS renderer. But this would also need to be made configurable. There may be other solutions if there's no requirement that your users want to preview the PDF in Acrobat Reader before printing. But none of them is really simple. > I'm using reports in the PDF format using an XSL-stylesheet on an XML-souce, > using FOP-0.20.3. > > I will need to control the orientation of the output - for some reports I > need portrait orientation, for others I need landscape. My current problem > is with landscape. > > In my style sheet, I try to control this by setting page-width="297mm" > page-height="210mm". FOP runs fine from a command line and my Adobe Acrobat > Reader 5.0 displays the result in landscape. The > tag is include below. > > However, to get the thing printed right, I currently have to MANUALLY set > "Copies and Adjustment" radio buttons in the Adobe Acrobat Reader 5.0 print > pop-up as follows > > "Shrink oversized pages to paper size" CHECKED > "Expand small pages to paper size" NOT CHECKED > "Auto-rotate and center pages" NOT CHECKED > > Thsi is higly inconvenient for our end useres. > > (Also I must set paper orientation to landscape in the printer properties, > but I recognize that this has nothing to do with FOP). > > My question: assuming, that "Copies and Adjustment" settings are part of the > Acrobat Reader's settings for that document, is there any way to set these > settings in the style sheet and getting FOP to tell Acrobat Reader about it? > > Or, more general, what are the possibilities with FOP to control page > orientation in the resulting PDF? > > Any suggestions are warmly welcomed Cheers, Jeremias Märki
RE: Can FOP tell Acrobat Reader about wanted orientation?
Hi, Jeremais and I have been talking a while on the mailing list about this (I almost asked the same question). PDF *does not* hold any informatio about neither page orientation nor paper size. This is actually part of its (portability). You must pass the correct parameters to Acrobat so as to adjust orientation and paper size, and set them correctly in the ps file that is actually printed. Your Acrobat call would look similar to this: acroread -toPostScript -landscape -size A4 pdffile.pdf psfile.ps -Original Message- From: Henriksen Niels Kristoffer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 20, 2002 12:45 PM To: '[EMAIL PROTECTED]' Subject: Can FOP tell Acrobat Reader about wanted orientation? Hi foppers! I'm using reports in the PDF format using an XSL-stylesheet on an XML-souce, using FOP-0.20.3. I will need to control the orientation of the output - for some reports I need portrait orientation, for others I need landscape. My current problem is with landscape. In my style sheet, I try to control this by setting page-width="297mm" page-height="210mm". FOP runs fine from a command line and my Adobe Acrobat Reader 5.0 displays the result in landscape. The tag is include below. However, to get the thing printed right, I currently have to MANUALLY set "Copies and Adjustment" radio buttons in the Adobe Acrobat Reader 5.0 print pop-up as follows "Shrink oversized pages to paper size" CHECKED "Expand small pages to paper size" NOT CHECKED "Auto-rotate and center pages" NOT CHECKED Thsi is higly inconvenient for our end useres. (Also I must set paper orientation to landscape in the printer properties, but I recognize that this has nothing to do with FOP). My question: assuming, that "Copies and Adjustment" settings are part of the Acrobat Reader's settings for that document, is there any way to set these settings in the style sheet and getting FOP to tell Acrobat Reader about it? Or, more general, what are the possibilities with FOP to control page orientation in the resulting PDF? Any suggestions are warmly welcomed Kind regards Niels K. Henriksen.
FOP - SV: Embedded images - high resolution...
> > Johan Holst Nielsen wrote: > > Hi people... > > > > Is it possible to embedd a high resolution image into the PDF > file, with > > FOP? (Thinking about > 300 dpi...).. > > > > How do I do that? I can find any examples? Please help... > > > > Regards, > > Johan > > > Hi, > > It does not differ from embedding low resolution pictures in any way. > Just make a hi-res image and link it using : > > > > You just supply image width in real-world length, like cm or in. You > will get the resolution accoring to embedded image size in px by > supplied size in inches (or cm). You can also supply height instead of > width (the height/width proportions are kept ok). > > I have been embedding 300dpi and 1200dpi image with success. I sounds very good... thanks! Regards, Johan smime.p7s Description: S/MIME cryptographic signature
Can FOP tell Acrobat Reader about wanted orientation?
Hi foppers! I'm using reports in the PDF format using an XSL-stylesheet on an XML-souce, using FOP-0.20.3. I will need to control the orientation of the output - for some reports I need portrait orientation, for others I need landscape. My current problem is with landscape. In my style sheet, I try to control this by setting page-width="297mm" page-height="210mm". FOP runs fine from a command line and my Adobe Acrobat Reader 5.0 displays the result in landscape. The tag is include below. However, to get the thing printed right, I currently have to MANUALLY set "Copies and Adjustment" radio buttons in the Adobe Acrobat Reader 5.0 print pop-up as follows "Shrink oversized pages to paper size" CHECKED "Expand small pages to paper size" NOT CHECKED "Auto-rotate and center pages" NOT CHECKED Thsi is higly inconvenient for our end useres. (Also I must set paper orientation to landscape in the printer properties, but I recognize that this has nothing to do with FOP). My question: assuming, that "Copies and Adjustment" settings are part of the Acrobat Reader's settings for that document, is there any way to set these settings in the style sheet and getting FOP to tell Acrobat Reader about it? Or, more general, what are the possibilities with FOP to control page orientation in the resulting PDF? Any suggestions are warmly welcomed Kind regards Niels K. Henriksen.
Re: Embedded images - high resolution...
Johan Holst Nielsen wrote: Hi people... Is it possible to embedd a high resolution image into the PDF file, with FOP? (Thinking about > 300 dpi...).. How do I do that? I can find any examples? Please help... Regards, Johan Hi, It does not differ from embedding low resolution pictures in any way. Just make a hi-res image and link it using : You just supply image width in real-world length, like cm or in. You will get the resolution accoring to embedded image size in px by supplied size in inches (or cm). You can also supply height instead of width (the height/width proportions are kept ok). I have been embedding 300dpi and 1200dpi image with success. HTH, Andrius Sabanas
AW: Embedded images - high resolution...
yep. sorry for my english. -Ursprüngliche Nachricht-Von: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 20. Juni 2002 11:15An: [EMAIL PROTECTED]Betreff: SV: Embedded images - high resolution... Okay... well im will be sure that I understand you right.. If I want a 144 dpi image - 10mm x 10 mm then I have to create a 20mm x 20mm 72 dpi image and scale it to 10x10 mm? Did I understand you right? mvh Johan -Oprindelig meddelelse-Fra: Sam Prokop [mailto:[EMAIL PROTECTED]Sendt: 20. juni 2002 11:03Til: [EMAIL PROTECTED]Emne: AW: Embedded images - high resolution... I found out, that if i use bitmaps, which are bigger, and scale them down with the attributes width and height of the fo:external-image-tag, the resolution in the output increases. i use fop 0.20.3. -Ursprüngliche Nachricht-Von: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 20. Juni 2002 10:49An: [EMAIL PROTECTED]Betreff: Embedded images - high resolution... Hi people... Is it possible to embedd a high resolution image into the PDF file, with FOP? (Thinking about > 300 dpi...).. How do I do that? I can find any examples? Please help... Regards, Johan
Re: Problem with javax.xml.transform.Transformer
i had that same error once, and the only thing i did is delete the jars and put them back and then restart the tomcat... seems strange but that worked for me... greetings Jochen Maes ICT Development KBC Securities (kbcsecurities.com) Havenlaan 12 Avenue du Port SIF 8683 B-1080 Brussels Belgium Tel: +32 2 429 96 81 GSM: +32 496 57 90 99 E-mail : [EMAIL PROTECTED] This message and any attachments hereto are for the named person's use only. It may contain confidential, proprietary or legally privileged information. You may not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. If you have received this e-mail message without being the intended recipient, please notify KBC Securities promptly and delete this e-mail. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of KBC Securities. KBC Securities reserves the right to monitor all e-mail communications through its networks and any messages addressed to, received or sent by KBC Securities or its employees are deemed to be professional in nature. The sender or recipient of any messages to or of KBC Securities agrees that those may be read by other employees of KBC Securities than the stated recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof. KBC Securities does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of, or reliance on, the information.
SV: Embedded images - high resolution...
Okay... well im will be sure that I understand you right.. If I want a 144 dpi image - 10mm x 10 mm then I have to create a 20mm x 20mm 72 dpi image and scale it to 10x10 mm? Did I understand you right? mvh Johan -Oprindelig meddelelse-Fra: Sam Prokop [mailto:[EMAIL PROTECTED]Sendt: 20. juni 2002 11:03Til: [EMAIL PROTECTED]Emne: AW: Embedded images - high resolution... I found out, that if i use bitmaps, which are bigger, and scale them down with the attributes width and height of the fo:external-image-tag, the resolution in the output increases. i use fop 0.20.3. -Ursprüngliche Nachricht-Von: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 20. Juni 2002 10:49An: [EMAIL PROTECTED]Betreff: Embedded images - high resolution... Hi people... Is it possible to embedd a high resolution image into the PDF file, with FOP? (Thinking about > 300 dpi...).. How do I do that? I can find any examples? Please help... Regards, Johan smime.p7s Description: S/MIME cryptographic signature
AW: Embedded images - high resolution...
I found out, that if i use bitmaps, which are bigger, and scale them down with the attributes width and height of the fo:external-image-tag, the resolution in the output increases. i use fop 0.20.3. -Ursprüngliche Nachricht-Von: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 20. Juni 2002 10:49An: [EMAIL PROTECTED]Betreff: Embedded images - high resolution... Hi people... Is it possible to embedd a high resolution image into the PDF file, with FOP? (Thinking about > 300 dpi...).. How do I do that? I can find any examples? Please help... Regards, Johan
Problem with javax.xml.transform.Transformer
I have two instances of Tomcat. One that has my development webapps and it is Tomcat 4.0.3. Another is empty and it is 4.0.4-b3. I put the FopServlet in the 4.0.4-b3 version and tested it out and it worked fine after some problems were resolved. Now, I've simply moved it into the webapps for my development server (4.0.3) and I start getting an error with a ClassNotFound exception on javax.xml.transform.Transformer. Anybody have any ideas? In both cases the xalan.jar is in my WEB-INF/lib directory. Thanks, Mike For futher information, here is the stack trace: javax.servlet.ServletException: javax.xml.transform.Transformer at FopServlet.renderXML(FopServlet.java:127) at FopServlet.doGet(FopServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Thread.java:484) root cause org.apache.fop.apps.FOPException: javax.xml.transform.Transformer at org.apache.fop.apps.XSLTInputHandler.getParser(XSLTInputHandler.java:107) at FopServlet.renderXML(FopServlet.java:119) at FopServlet.doGet(FopServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.ca
Embedded images - high resolution...
Hi people... Is it possible to embedd a high resolution image into the PDF file, with FOP? (Thinking about > 300 dpi...).. How do I do that? I can find any examples? Please help... Regards, Johan smime.p7s Description: S/MIME cryptographic signature