RE: Opacity in SVG graphics on PDF documents.
Hello Not sure why this is a problem. I use batik to create JPGs with transparency from SVG input. I then embed these with FOP. Have you tried rasterising your SVG separately ? Chrus -Original Message-From: Koes, Derrick [mailto:[EMAIL PROTECTED]Sent: 31 October 2003 13:26To: '[EMAIL PROTECTED]'Subject: Opacity in SVG graphics on PDF documents. I know that opacity is a problem as evidenced known problem 6. http://xml.apache.org/fop/graphics.html#svg-problems However, does anyone know why? I attempted to work around this issue by converting the image first to png (tried tiff and jpeg too). The opacity is there with png, but any text is choppy, pixilated, especially when printing. Text is much better if I leave the svg graphic as it is, but of course, everything is opaque. Thanks for any help, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message.
RE: basic-link
Yes - I am using encryption :-( I have some experience of iText but I moved away from it in favour of XSL:FO and FOP. I don't fancy doing post-processing - I'll wait for the fix. Thanks Chris Are you using encryption? Afraid this is causing the garbage chars... ? ARe there any alternatives for embedding a link in my PDF ? PDF Encryption is working in 1.0 dev, but the latest I heard was basic-links aren't so... Have a look at http://xml.apache.org/fop/output.html#pdf-postprocess With iText, you can easily add a hyperlink at some absolute position on a page generated by FOP. Hope this helps! Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
basic-link
Hello I am having problems with fo:basic-link I use it as shown below. When you hover over the link in the resulting PDF, the link includes a load of garbage characters after the .com. Am I doing something wrong ? ARe there any alternatives for embedding a link in my PDF ? fo:table-cell display-align=center fo:block line-height=14pt font-size=9pt fo:basic-link external-destination=url('www.website.com') color=#99Visit us here www.website.com /fo:basic-link /fo:block /fo:table-cell Thanks Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PDF encryption
Hello all I am using FOP to create encrypted documents out of a servlet - this works quite nicely. I have a few questions 1. Why does the documentation direct us to use security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider rather than any of the other security providers ? Perhaps I am misunderstanding things but I think that Sun's own provider is shipped with 1.4. (security.provider.4=com.sun.crypto.provider.SunJCE) 2. The encryption is 40 bit. Are there any plans to take this to 128 ? I read elsewhere that there is software to decrypt PDF's - does anyone have links to this ? Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
invoking encryption in a servlet / with API
Hello I accidentally put this in another thread so maybe it got missed. I am already using FOP to create PDF documents in a servlet environment. I would like to encrypt these documents. I can see on the website that there are instructions to create encrypted documents using the command line tool - how can I use the utilities in a servlet ? Thanks Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: invoking encryption in a servlet / with API
This is just what I needed. Thanks. Chris -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 23 June 2003 09:47 To: [EMAIL PROTECTED] Subject: Re: invoking encryption in a servlet / with API On 23.06.2003 07:35:08 Chris Faulkner wrote: I accidentally put this in another thread so maybe it got missed. It didn't. We just can't be online all the time. :-) I am already using FOP to create PDF documents in a servlet environment. I would like to encrypt these documents. I can see on the website that there are instructions to create encrypted documents using the command line tool - how can I use the utilities in a servlet ? I've just updated the documentation in CVS. It'll take a while until it will be shown on the website. Until then see the attached PDF. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Embedding FOP, PDF Encryption Custom fonts
Hello all I am already using FOP to create PDF documents in a servlet environment. I would like to encrypt these documents. I can see on the website that there are instructions to create encrypted documents using the command line tool - how can I use the utilities in a servlet ? Thanks Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
javadoc
Hello Is there any Java doc anywhere for the classes in org.apache.fop ? Chris
JSP returning PDF
Hi I'm using FOP in a JSP to return dynamically created PDF documents to browsers. I'm using the usual method of embedding FOP as described on the web site. It works great. The main problem is that the PDFs take about 20 seconds to generate and then, since they are 500K or so, a while to download depending on connection speed. I'd like to be able to put a message on an intermediate page which could refresh and only return the PDF when it is ready. At the moment, they are just seeing a blank page until the PDF is complete. Does anyone have any ideas for this ? Can I flush some output to the page to advise them to be patient, then reset the response and send the PDF when it is ready? Alternatively. I was thinking of doing something a bit more ambitious which would be to output the PDF to a database blob, then send back a page which refreshes to a JSP which keeps checking whether the PDF has been finished. When it is, I could fetch the data outofthe BLOB and send it back. I have seen other sites where the PDF was output to a static file on the website. Then the JSP would refresh and keep checking until the file was present. When the file was created, the page would appear with a link to the file. The main problem with this is security. There is the potential that everyone would have access to all PDFs on the web site, although on a site without listings, they'd need to be making pretty inspired guesses to find and download it. How do others get around this ? I imagine its quite a common problem. Thanks Chris
document properties
Hello Is there anyway to set document author, creation date and so on with FOP in the production of the documents ? I can't see it anything in the spec and FO is all about formatting objects so I suppose not. But f anyone knows of a way to do it or other software (hopefully open source) which will do it after the event, that would be very useful. In Acrobat 4 reader (File-Document Info-Security), there are other document-wide properties that it would be nice to be able to set, for setting passwords and so on. Can these be set ? Thanks Chris
watermarking
hello all Is there any way of adding some kind of watermark to a PDF document generated with FOP ? I am using FOP in a JSP environment. Thanks Chris
dynamic image in PDF
Hi I have a servlet which creates imagery. I want to embed this in a PDF document and I've been playing around with FOP in JSP. I can get PDF generated but only on static image references, using external- graphic. What I need to know is - is there anyway of generating the image dynamically, with the reference to the servlet embedded in the .fo ? I can see there is a fo:instream- foreign-object but the examples just show examples of SVG. Is there anyway to extend this and if so, doesanyone have examples ? Thanks Chris
production
HI Having got my first PDF out of a JSP page yesterday, I am very excited about this software. However, my boss has raised concerns about how production-ready/stable it is. There was a posting to comp.text.xml about a year ago when one of the FOP people (I think) admitted it wasn't at that stage yet. Is this still deemed to be the case ? It's at version 0.2 so I guess that means it's still early days. Is anyone out there using it in anger on production systems ? Thanks Chris