Questions tagged [pdfstamper]

106 questions
1
vote
0 answers

Upload multiple pdf files to server using excel template?

I have list of pdf file url in excel template Now i want to upload all files from my local pc to server just by browsing the excel file and click to upload. I have achieved this task by using iTextSharp Library pdfreader and pdfstamper class, but…
Mahesh
  • 27
  • 1
  • 6
1
vote
1 answer

PdfStamper being disposed

The PdfStamper I'm passing in to this method is being disposed of at the end of the method - why, and how do I stop it? I'm trying to create a page object from the template, which I can then add to the PdfStamper X number of times. //real…
Mark
  • 155
  • 3
  • 16
1
vote
1 answer

How to manage a PDF digital signature's display?

I'm using iText Library to sign my PDF documents. I want to know if there is any method in PdfStamper that could manage the display of the appearance : signature information in one layer, and the image in one other layer, which are now in the same…
Angelika
  • 23
  • 1
  • 11
1
vote
1 answer

How to get TimeStamping Token and apply it to PDF file?

I'm trying to get a Time Stamping token from a server, and apply this token to a PDF file that will be signed later. I'm asking if someone has already works with a similar concept using java I have some information about the TimeStamping Authority…
Angelika
  • 23
  • 1
  • 11
1
vote
3 answers

Wrapping of Arabic text using Acrofields in Itext 5.5

I have made a pdf template with a multi-line textbox and have to set some Arabic data in the Acrofields using PDFStamper. The run direction of text is correct for the first line but it changes when text wrapping occurs. Please guide. package…
aanchal
  • 33
  • 1
  • 12
1
vote
0 answers

Updating multiple PDF Form fields with the same name

I have a PDF Form generated using Apache OpenOffice Draw. The form has multiple text boxes with the same name. Is there a way to update all the fields with different data? Best Regards, Chandra.
MouliPC
  • 79
  • 1
  • 15
1
vote
2 answers

Unicode characters in document info dictionary keys

How do I create document info dictionary keys containing unicode characters (typically swedish characters, for instance C3A4 U+00E4 ä). I would like to use the PdfStamper to enter my own metadata in the document info dictionary, but I can't get it…
1
vote
1 answer

iText - read check box value

I'm trying to read pdf form. I managed to get normal textbox value by doing this. Code PdfReader reader = new PdfReader(RESULT1); PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(RESULT2)); AcroFields form =…
chinna_82
  • 6,353
  • 17
  • 79
  • 134
1
vote
1 answer

PdfStamper.CreateSignature and empty MemoryStream

Using iTextSharp 5.3.4.0, I'm having difficulty working with PdfStamper and MemoryStream. The MemoryStream is always empty. PdfReader pdfReader = new PdfReader(Server.MapPath(@"Document.pdf")); MemoryStream memoryStream = new…
brunopacola
  • 55
  • 2
  • 4
0
votes
0 answers

Bluebeam w/ 4 Radio Groups

I'm working with a user who uses Bluebeam Extreme and they want a stamp modified with 4 radio groups. I opened the JavaScript file he sent me and added the 4 radio groups but now the stamp dialog box is no longer appearing like it use to. Now on…
lwl5
  • 1
  • 1
0
votes
0 answers

How to save the Edited PDF without opening the Save As Dialog box in WinForms c#

I am developing windows application that allows user to edit the PDF using HtmlDocument option. After editing while clicking save button I don't want to save the file via Save as Dailog window. I want to save to some specific folder Below the code I…
Vinoth
  • 13
  • 4
0
votes
0 answers

How to set writer in PDFStamper?

I want to update the writer in PDFStamper in itext. I am using getWriter method to get the writer of my stamper object. Updated the run direction for that writer but I'm not able to understand how can I set this writer to stamper. Adding the code I…
0
votes
0 answers

acrofields validation on mobile no taking isd code also in calculating the length of mobile no

I am using the following lines of code: bos = new ByteArrayOutputStream(); blankStatutoryFormsFolder = CommonUtil.getLocalPath() + environment.getProperty("Blank_Statutory_Forms"); reader = new PdfReader(blankStatutoryFormsFolder +…
Bindu Kumari
  • 21
  • 1
  • 1
  • 6
0
votes
0 answers

how to fill in data to pdf by itext 5?

<%@page import="java.io.*, com.itextpdf.text.*, com.itextpdf.text.pdf.*"%> <% String src= "//usr//local//tomcat8//webapps//test//src.pdf"; String dest= "//usr//local//tomcat8//webapps//test//result.pdf"; PdfReader reader = new…
stockton
  • 19
  • 6
0
votes
0 answers

PDF form fields: Separate/Extract widget dictionary from field dictionary

According to the PDF spec it is possible to merge the widget dictionary and the field dictionary when there is only one associated widget annotation. Is there some support by iText / openPDF to separate the two again? (Low level API would…
Lonzak
  • 9,334
  • 5
  • 57
  • 88