Skip to content
Advertisement

Tag: pdf

Pdf Renderer API Android From URL

I am looking into the PDF renderer API native to Google Android development. I see the following code example in the documentation: I think this example uses from File Object. How I can get this API to work with a URL from a webserver, such as a document from a website? How can I load a PDF natively in an

Add multiple attachments in a pdf using itext pdf stamper

I want to add multiple attachments to a pdf file. When I go into the loop it only attaches the last attachment. sample code Answer You have adapted the existing example AddEmbeddedFile to add more than one attachment, and you claim that only one attachment is added. I can not reproduce this. I have also adapted the existing example by

How to offer download of local PDF file in Java?

I have JBoss running as application server and somewhere on my HD there is a PDF file, that gets created when the user clicks on a specific action. Let’s say the file is here: C:/PDF/doonot/10.07.2012/doonot.pdf. How can I offer this file as download? I already did it for a CSV file, but I don’t know how to do it with

Watermarking with PDFBox

I am trying to add a watermark to a PDF specifically with PDFBox. I’ve been able to get the image to appear on each page, but it loses the background transparency because it appears as though PDJpeg converts it to a JPG. Perhaps there’s a way to do it using PDXObjectImage. Here is what I have written thus far: Answer

How to read PDF files using Java? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.

Editing PDF text using Java

Is there a way I can edit a PDF from Java? I have a PDF document which contains placeholders for text that I need to be replaced using Java, but all the libraries that I saw created PDF from scratch and small editing functionality. Is there anyway I can edit a PDF or is this impossible? Answer You can do

Download and open PDF file using Ajax

I have an action class that generates a PDF. The contentType is set appropriately. I call this action through an Ajax call. I don’t know the way to deliver this stream to browser. I tried a few things but nothing worked. The above gives the error: Your browser sent a request that this server could not understand. Answer You don’t

Advertisement