itext « PDF file « Java I/O Q&A





1. Create destinations for all bookmarks in a PDF file with iText API    stackoverflow.com

I'd like to write some Java code that takes a PDF document, and creates named destinations from all of the bookmarks. I'm thinking that the iText API is the easiest way ...

2. iText - add content to existing PDF file    stackoverflow.com

I want to do the following with iText: (1) parse an existing PDF file (2) add some data to it, on the existing single page of the document (such as a timestamp) (3) write ...

3. How to downgrade arbitrary PDF file to version PDF-1.2?    stackoverflow.com

I have some user generated PDF files. Typically the files are be generated with Word, but they could be just a about any kind of valid PDF file. I'd like ...

4. Find position of a string in a PDF file and then manipulate it    stackoverflow.com

I need to write a little utility that search for a string in a PDF file and then place an image on the string. I just realized iText cannot achieve the task ...

5. pdf files in java cant add header or margin?    stackoverflow.com

any body know why my header or margin wont work/generate on page? it only generates the pdf with the paragraph saying "hello neck"

import java.awt.Desktop;
import java.io.FileOutputStream;
import java.io.OutputStream;
import com.itextpdf.text.Document;
import com.itextpdf.text.Paragraph;
import com.itextpdf.text.pdf.PdfWriter;
import java.io.*;

public class ...

6. Java iText Combine Stamped Files    stackoverflow.com

I am working with the iText library to do some PDF manipulation in Java, but I am trying to do something in which the iText API is starting to overwhelm me. ...

7. How to convert a pdf file into CSV file?    stackoverflow.com

I want to convert a PDF file into a CSV file. I am using iText library for this. The program is working fine but the output is not in desired format. All the data ...

8. Modifying an Existing PDF without creating an new pdf file    stackoverflow.com

Using iText, I am wanting to open a PDF file, add some more pages with text to it, and then close it. I have found some questions like this on here, ...