Problem in Creating PDF with jars
Hi, Iam sending the error log while creating pdf using fop . How to restrict the jars if classes related to more than one jar java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.fop.fo.ElementMappingRegistry.addElementMapping(ElementMappingRegistry.java:95) at org.apache.fop.fo.ElementMappingRegistry.setupDefaultMappings(ElementMappingRegistry.java:77) at org.apache.fop.fo.ElementMappingRegistry.init(ElementMappingRegistry.java:64) at org.apache.fop.apps.FopFactory.init(FopFactory.java:134) at org.apache.fop.apps.FopFactory.newInstance(FopFactory.java:144) -- View this message in context: http://www.nabble.com/Problem-in-Creating-PDF-with-jars-tp20719042p20719042.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to add watermark
I have added water mark as image in pdf. but when i click on the watermark image in pdf file, the image being selected and providing the copy option. I want to disable copy option of the water mark image. Code snippet: fo:simple-page-master master-name=default page-height=29.7cm page-width=23cm margin-top=11mm margin-bottom=5mm margin-left=23mm margin-right=3cm fo:region-body background-image=E:\pdfimages\watermark.jpg background-repeat=no-repeat /fo:region-body fo:region-before region-name=header extent=8in/ fo:region-after region-name=footer extent=0.5in/ /fo:simple-page-master -- View this message in context: http://www.nabble.com/How-to-add-watermark-tp19644473p19644473.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to add water mark in all pages in PDF using xsl-fo
How to add water mark in all pages in PDF using xsl-fo -- View this message in context: http://www.nabble.com/How-to-add-water-mark-in-all-pages-in-PDF-using-xsl-fo-tp19623783p19623783.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to add watermark image in center for each page in pdf
I tried to put image as watermark in pdf. its coming in top of the page. I used the below code to get watermark in each page: fo:simple-page-master master-name=default page-height=29.7cm page-width=23cm margin-top=11mm margin-bottom=5mm margin-left=23mm margin-right=3cm fo:region-body display-align=right background-image=E:\pdfimages\my1.jpeg background-repeat=no-repeat /fo:region-body fo:region-after region-name=footer extent=0.5in/ /fo:simple-page-master the image is not coming in center of the page. how to get the image in center of the page in all the pages. -- View this message in context: http://www.nabble.com/How-to-add-watermark-image-in-center-for-each-page-in-pdf-tp19546479p19546479.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to add watermark image in center for each page in pdf
HI Pascal I got the solution from ur suggested link, Thank u sushil Pascal Sancho wrote: Hi, What you need is background-position-horizontal and background-position-vertical properties. There is some limitation when using repeat-*, see [1], but work fine in other cases. [1] http://xmlgraphics.apache.org/fop/compliance.html#fo-property-background-position-horizontal Pascal -Message d'origine- De : sushilmuppidi [mailto:[EMAIL PROTECTED] Envoyé : jeudi 18 septembre 2008 08:00 À : fop-users@xmlgraphics.apache.org Objet : How to add watermark image in center for each page in pdf I tried to put image as watermark in pdf. its coming in top of the page. I used the below code to get watermark in each page: fo:simple-page-master master-name=default page-height=29.7cm page-width=23cm margin-top=11mm margin-bottom=5mm margin-left=23mm margin-right=3cm fo:region-body display-align=right background-image=E:\pdfimages\my1.jpeg background-repeat=no-repeat /fo:region-body fo:region-after region-name=footer extent=0.5in/ /fo:simple-page-master the image is not coming in center of the page. how to get the image in center of the page in all the pages. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-to-add-watermark-image-in-center-for-each-page-in-pdf-tp19546479p19548875.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]