Re: [iText-questions] Fwd: C# Tutorials for digitalsignature

2014-07-22 Thread iText Info
NAVEEN schreef op 22/07/2014 18:58: > > Dear Team, > > My Company is looking for different scenarios for digitally signing a > pdf document. Start by reading http://itextpdf.com/book/digitalsignatures It list a wide array of scenarios. The "lingua franca" for these examples is Java because eve

Re: [iText-questions] ColumnText and regular doc.add()

2014-07-04 Thread iText Info
Saurabh Mayekar schreef op 4/07/2014 15:26: > Can i achieve this kind of structure ? If yes how ? Yes, make sure you define the margins in such a way that they leave sufficient space for the header. > As the top section is header section how can i repeat only the header > section in all pages i

Re: [iText-questions] coordinate of /FITH seems wrong

2014-06-26 Thread iText Info
minsu schreef op 26/06/2014 19:25: > is it > possible that the target is outside the page? Yes. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Boni

Re: [iText-questions] itext create pdf issue with corrupted image

2014-06-24 Thread iText Info
Jayachandrareddy V schreef op 24/06/2014 12:54: > > *Caused by: com.lowagie.text.DocumentException* You are using an obsolete version of iText. It is our policy not to answer questions about iText versions that are 5 years old. See also http://itextpdf.com/salesfaq --

Re: [iText-questions] R: I'm subscribed! please do not thrash this message.

2014-06-12 Thread iText Info
Fulvia Grignaschi schreef op 12/06/2014 10:50: > why is it working fine on Windows and not on Unix? Because you probably used something like "FontFactory.registerDirectories()". This registers all the fonts in the font directories that can be found on the OS. Windows usually ships with Arial; Li

Re: [iText-questions] I'm subscribed! please do not thrash this message.

2014-06-12 Thread iText Info
1. Which version of iText are you using? Only the latest versions have good PDF/A support. You need the itext-xtra jar and you need the PdfAWriter class. 2. You're using HTMLWorker This class has been abandoned in favor of XML Worker: http://itextpdf.com/sandbox/xmlworker 3. I don't see you creat

Re: [iText-questions] encrypt tagged pdf

2014-06-10 Thread iText Info
Pichtchikov, Alexandre schreef op 5/06/2014 16:25: > > Hello, > > I have tagged pdf. All tags removed from document when I encrypt it > using code below. > > Is it a way to encrypt document and keep all tags in it? > This works for me: PdfReader reader = new PdfReader(src); PdfS

Re: [iText-questions] Reg: Set Inherit Zoom for pdf file

2014-06-05 Thread iText Info
Gunasekaran Velu schreef op 5/06/2014 10:53: > > Hi > > I have PDF file with 3 types of bookmark. > > 1st book mark - 100% zoom > 2nd book mark - 200% zoom > 3rd book mark - 300% zoom > > How can i set the inherit zoom property for this pdf file using > ItextSharp. Your question didn't make sen

Re: [iText-questions] put /ProcSet to /AP Dictionary

2014-05-27 Thread iText Info
Gruber, Florian (ext) schreef op 27/05/2014 16:16: > I would need this entry for a verifier which produces otherwise an exception! So you're telling me that the verifier demands the presence of a dictionary that is deprecated... That is very strange. We can fix this, but I suggest that we contin

Re: [iText-questions] put /ProcSet to /AP Dictionary

2014-05-27 Thread iText Info
Gruber, Florian (ext) schreef op 27/05/2014 16:16: > Why exactly would digital signatures in PDFs based on specs prior to v1.7 no > longer considered to be safe? Some types of signatures have been deprecated in ISO-32000-1. Some more will be deprecated in ISO-32000-2. Some countries refuse to ac

Re: [iText-questions] colorspace exception during images extraction on a existing pdf

2014-05-27 Thread iText Info
giansluca schreef op 27/05/2014 11:31: > strange because the image is a JPG with CMYK profile ... i can open pdf in > photoshop and see or save image correctly .. Well, there's nothing wrong with the PDF, nor with the image, it's just that iText relies on the Java ImageIO class and this class doe

Re: [iText-questions] put /ProcSet to /AP Dictionary

2014-05-27 Thread iText Info
Gruber, Florian (ext) schreef op 27/05/2014 12:12: > is it possible to put the /ProcSet Entry to the /AP dictionary at the > signature process with itextsharp? Digital signatures in PDFs based on specs prior to PDF 1.7 are no longer considered to be safe. Beginning with PDF 1.4, ProcSet is cons

Re: [iText-questions] Converting Images to Text by C#

2014-05-14 Thread iText Info
Natan Katz schreef op 14/05/2014 10:36: > > Good Morning > > For one of the tasks in my organization, I need to take screenshots > from one of the app stores and both, search and extract potential > texts in these pictures. Clearly I have an a prior knowledge neither > regarding the images' fo

Re: [iText-questions] Generate Unicode encoding PDF in a multiplatform/portable way

2014-05-13 Thread iText Info
Centre Jacques-Petit schreef op 13/05/2014 11:19: > For example, is there any way to > create a BaseFont from a font name/family or from a java.awt.Font > instance rather than a file path? When using UNICODE in PDF (e.g. Identity-H), ISO-32000-1 expects you to embed the font. If you want to embed

Re: [iText-questions] PdfStamper.close error "canno't accesso to a closed file"

2014-05-07 Thread iText Info
mercoSygest schreef op 7/05/2014 14:25: > After upgrading to itextsharp 5.5.0 i get this error in every procedures. > This error doesn't fire with olders versions. > Is there something to be changed? The management of reader objects has changed. You're probably closing the reader (Imgreader) too

Re: [iText-questions] iText-questions Digest, Vol 96, Issue 2

2014-05-05 Thread iText Info
pedram khoshdani schreef op 5/05/2014 17:24: > How to stop receiving these emails? By unsubscribing. 1. Go to https://lists.sourceforge.net/lists/listinfo/itext-questions 2. Scroll down, 3. Fill out your mail address, 4. Hit the "Unsubscribe or edit options" button. -

Re: [iText-questions] PDF with elements side by side

2014-04-25 Thread iText Info
Saurabh Mayekar schreef op 25/04/2014 8:46: > Hello , > > I want to create a PDF which has elements placed side by side.(Please > refer the image attached.) Please take a look at the following example from chapter 4 of the official documentation: http://itextpdf.com/examples/iia.php?id=91 This

Re: [iText-questions] [SPAM] Re: [SPAM] Re: pdf extractpages function

2014-04-24 Thread iText Info
mkl schreef op 24/04/2014 8:50: > Unfortunately Stephen was not 100% clear about his task in his post here. > The stackoverflow post you found (and which very well might be by him, too) > more clearly indicates that he wants "to produce a new PDF based on range of > page numbers", and in that case

Re: [iText-questions] strange time behavior

2014-04-18 Thread iText Info
Christian Fritschka schreef op 17/04/2014 16:02: > Hi at all, > > we have a customer who created a pdf with itext at 08:46:09 (in adobe > reader). Let's assume that this is the time on the clock of the computer on which the PDF was generated. The time on the computer was set at the moment the O

Re: [iText-questions] Some fault in itextsharp

2014-04-04 Thread iText Info
Amit Gaur schreef op 4/04/2014 6:14: > So final page i am getting both small images first and then large > images are showing which are wrong. Images order is dis-balancin That's not a bug, that the default setting. You can change this setting by using: writer.StrictImageSequence = true; where

Re: [iText-questions] Chinese and japanese along with UTF 8

2014-04-04 Thread iText Info
André Fróes schreef op 3/04/2014 21:58: > version 2.1.7 that works like a charm See http://itextpdf.com/salesfaq -- ___ iText-questions mailing list iText-questions@lists.sourcef

Re: [iText-questions] Encrypt without owner password and random password generation

2014-03-11 Thread iText Info
Andrea schreef op 10/03/2014 18:33: > I actually disagree. It's really simple: either you want the owner password to be the same as the user password, or you want the owner password to be different. In the former case, pass the same bytes for the owner and user password; in the latter case, pass

Re: [iText-questions] Edit multi page pdf

2014-03-06 Thread iText Info
Anchal schreef op 6/03/2014 9:58: > > Hi, > > I am using iText G & I have a pdf with 2 pages and I need to set it’s > editable field on the air. The pdf contains 2 field with same key on > different page. When I try to set value of first field, it set on > second field. > How can I set value for

Re: [iText-questions] PDF virtual prints

2014-03-03 Thread iText Info
Abedellatif Hussein schreef op 3/03/2014 9:34: > does iText > library supports virtual prints of pdf pages? No, it doesn't. -- Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, y

Re: [iText-questions] Create a Tagged PDF

2014-02-26 Thread iText Info
Rajani Muraleedharan schreef op 26/02/2014 7:08: > > It is possible in IText(Java) by using writer.setTagged() function. > > But it is not working in ITextSharp. > Which version of iTextSharp are you using? Creating tagged PDF was introduced only recently. The best way to test if you're doing it r

Re: [iText-questions] Handling PDF/A Checkboxes with a single appearance

2014-02-24 Thread iText Info
Thomas Büngener schreef op 21/02/2014 13:26: > > Hello, > > I have checkboxes that have only one appearance state. I.e. AP->N not > being a dictionary but > > a stream containing only BBox. As I understand this construktion seems > Ok, as in PDF/A AP->N must not > > be a dictionary and the „Off“

Re: [iText-questions] Uncompressed Image Data Problems

2014-02-21 Thread iText Info
iText Info schreef op 21/02/2014 15:53: > FDnC Red schreef op 21/02/2014 15:19: >> The errors start, when splitting, on page 23. > > Object 344 is a stream dictionary with a negative length. > Have you ever seen a byte array of size -1? ;-) O wait, the size isn't -1, it

Re: [iText-questions] Uncompressed Image Data Problems

2014-02-21 Thread iText Info
FDnC Red schreef op 21/02/2014 15:19: > The errors start, when splitting, on page 23. Object 344 is a stream dictionary with a negative length. Have you ever seen a byte array of size -1? ;-) -- Managing the Performance o

Re: [iText-questions] Handling PDF/A Checkboxes with a single appearance

2014-02-21 Thread iText Info
Thomas Büngener schreef op 21/02/2014 13:26: > I can provide a reduced version of the problematic file (35kb) if that > might be helpful. Yes, that would help, otherwise we're working in the void. Looking at the PDF using iText RUPS can help us analyze the problem. --

Re: [iText-questions] iText - create PDF/A Problem

2014-02-20 Thread iText Info
Gabriella schreef op 20/02/2014 10:17: > I have the same problem 1. People who aren't on Nabble don't know what you mean by "same". 2. The OP was asked for a sample PDF, but as he didn't provide one, we can't help him. 3. You didn't describe your problem, nor post a PDF. My guess: you want to add

Re: [iText-questions] PDF tagging document tag

2014-02-11 Thread iText Info
nbedf schreef op 11/02/2014 13:35: > Could you please tell me how did you obtain your 1.pdf ? I'll ask sales to answer that question personally. -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Ru

Re: [iText-questions] PDF file attached as requested / XML Parse bug

2014-02-11 Thread iText Info
Hakan Usakli schreef op 10/02/2014 16:33: > > Hello, > > As requested the PDF files that break Itextsharp 5.4.5 and 5.4.4 are > attached for your testing. > Thanks! I can confirm that in the current trunk version of iTextSharp does not fail on these pdfs. We'll release the new iText version by t

Re: [iText-questions] XML Data Signature

2014-02-06 Thread iText Info
We are not sure 100% what you want to do. 1. Probably you want to emulate Acrobat's behavior when user clicks on signature area and signs document. In this case we should apply standard Acrobat signature approach. PdfReader reader =new PdfReader(src); FileOutputStream os =new FileOutputStream

Re: [iText-questions] XML Bug in itextsharp 5.4.4 and above

2014-02-06 Thread iText Info
Hakan Usakli schreef op 5/02/2014 21:33: > I have a lineup of PDF files that break itextsharp 5.4.4 and above when > modified with the contentbyte & stamper object > stack trace is below > > the error does NOT happen on itextsharp 5.4.3 (last working version) > > If you want the PDF file for testin

Re: [iText-questions] Problem compiling examples from 2nd edition of iText in Action

2014-02-06 Thread iText Info
Mark Elston schreef op 6/02/2014 2:21: > I am not sure how to set up my project to get the examples to run > properly. I keep getting permissions problem (could also be file not > found) when trying to connect to the database. How are you setting up your project? I usually fetch all the files n

Re: [iText-questions] XML Bug in itextsharp 5.4.4 and above

2014-02-05 Thread iText Info
Does the error still exist in iText 5.4.5? Does the error still exist in the version that is currently in the SVN repository. We're releasing a new iText version next week. We've made a ticket internally to check this as soon as possible (before next week's release), but we'd appreciate all extra

Re: [iText-questions] When merging several pdf read from a database, highlighting is lost on subsequent documents

2014-01-24 Thread iText Info
Carter, Scott schreef op 24/01/2014 15:02: > Any ideas as to what may cause this? How are you merging the documents? Are you using PdfCopy, as documented in the official documentation? Or are you using PdfWriter, as is done by many people who don't read the (correct) documentation? Please start b

Re: [iText-questions] PdfPageLabels

2014-01-21 Thread iText Info
sarankup schreef op 21/01/2014 8:36: > I a sure the PDF has page labels. Please explain why you are sure. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cl

Re: [iText-questions] PdfContentByte.createGraphicsShapes(...) in iTextSharp???

2014-01-03 Thread iText Info
Eric Chow schreef op 3/01/2014 5:59: > How can I get the C# winform graphics system from iTextSharp? I think you'll have a better chance at getting an answer, if you post it here: http://stackoverflow.com/questions/tagged/itextsharp There are people such as Chris Haas who are very experienced at

Re: [iText-questions] Merge Fields in PDF using XML and itextsharp

2013-12-26 Thread iText Info
VLestat schreef op 26/12/2013 10:54: > Hope someone can help me. > Somebody already did: http://stackoverflow.com/questions/2084/fill-xml-in-pdf-form-using-itextsharp-in-c-sharp -- Rapidly troubleshoot problems be

Re: [iText-questions] Merge Fields in PDF using XML and itextsharp

2013-12-26 Thread iText Info
Gonçalo M. schreef op 25/12/2013 22:20: > I need to implement a method to merge fields in a PDF with forms > created in *Adobe Life Cycle*. That's not possible. -- Rapidly troubleshoot problems before they affect your bu

Re: [iText-questions] Licensing iTextSharp on a web server

2013-12-05 Thread iText Info
Eldredge, Steven C. schreef op 4/12/2013 21:23: > > How do I license my newly acquired version of iTextSharp on my web > server? This is a brand new install/configuration. I know that I am > supposed to copy the itextsharp.dll file to the server and there is no > installation application, but

Re: [iText-questions] itext and itexG?

2013-11-22 Thread iText Info
Hamid Shahsavari schreef op 21/11/2013 15:27: > Hello > I have the book ( itext in action). this book is somehow a user manual > for itext. but i want to program for itextG(itext for android). i want > to know is this book useful for itextG too? or not? i mean for example > are the methods in it

Re: [iText-questions] selectpages for non existing page

2013-11-20 Thread iText Info
beppecosta schreef op 20/11/2013 10:22: > If I call reader.selectpages ('1, 5, 26') for a pdf that has only 20 pages, I > get page 1, 5 and 20. > Is this correct ? It may be how iText interprets "wrong data." I assumes that when you ask for a page that is higher than the page count, you actually

Re: [iText-questions] PDF decompostion & composition (page, resources)

2013-11-15 Thread iText Info
Tomáš Bucki schreef op 15/11/2013 15:24: > Bookmarks probably will be in our PDF files, but annotations not. > > The idea to store the whole file in one place and streams in another is a > valid solution also. If there are some methods how to separate and again > recreate them to valid PDF file i

Re: [iText-questions] PDF decompostion & composition (page, resources)

2013-11-15 Thread iText Info
Tomáš Bucki schreef op 15/11/2013 14:54: > Hope now it is little bit clear Yes, it's important to know that your PDFs "are not such special, only font's and graphics is used." This means that we don't have to worry about annotations, bookmarks, structure trees,... This is important information.

Re: [iText-questions] PDF decompostion & composition (page, resources)

2013-11-15 Thread iText Info
Tomáš Bucki schreef op 15/11/2013 12:58: > > Hi all, > > We are in the stage of evaluating/buying iText for use in our company. > Most of the tasks we want to do with PDF files is iText capable to do. > However there is one special thing we want to do with PDF and we have > not found a simple an

Re: [iText-questions] Filling AcroFields broken in 5.4.x?

2013-11-06 Thread iText Info
Matthias Pretzer schreef op 5/11/2013 15:28: > Any Ideas? Was the API changed? If so, where can I get updated > documentation? I consulted with the core developers. The problem is caused by the form. The datasheets.pdf has the NeedAppearances flag set, and since the most recent release, this fla

Re: [iText-questions] Filling AcroFields broken in 5.4.x?

2013-11-06 Thread iText Info
Matthias Pretzer schreef op 5/11/2013 15:28: > Hi, > > when I run the examples for chapter 6 of iText in Action using iText > 5.4.4, the form values in results/part2/chapter06/datasheets1.pdf > are not visible. This problem was already reported. It will be fixed in the next release. -

Re: [iText-questions] TextField appears upside-down and at the wrong place in FF

2013-11-04 Thread iText Info
Kostas schreef op 4/11/2013 13:53: > > OK in all PDF viewers except the viewer in Firefox(it uses somePDF > vieweradd-in as far as I can tell). > It uses pdf.js which is an unfinished PDF viewer. > There it is displayedupside-down and at the wrong place. > If the field appears to be correct in

Re: [iText-questions] Security aspect of iText

2013-10-21 Thread iText Info
Op 21/10/2013 13:50, Bapuji Nakka schreef: > How the user decrypt with his private key? without having any utility > to do this job? His private key will have to be known by his PDF Viewer. For instance: on Windows, one can register his private key on the OS level and Adobe Reader can use that

Re: [iText-questions] Security aspect of iText

2013-10-21 Thread iText Info
Op 21/10/2013 13:09, Bapuji Nakka schreef: > Hi, > > How world can see the document. what was the problem in the code? > Please correct me if I am understanding it wrongly. Please show me in which line you ENCRYPT the document. Maybe I'm overlooking it. I see that you SIGN the document, this

Re: [iText-questions] Security aspect of iText

2013-10-21 Thread iText Info
Is it possible you're confusing encryption with signing? Your initial question was about encryption, which means you want to secure a document so that it's protected against people who may not know the content of the document. Your code shows that you're signing a document, which means that you

Re: [iText-questions] Regression bug on 5.4.4? Closing a tagged document crashes

2013-10-03 Thread iText Info
Op 3/10/2013 12:19, shira schreef: > Could it be that it's better to change the example in the link above > to close the readers after closing the document in order to help > future users or add some other documentation about this? > (sorry if it's already documented and I missed something) It's

Re: [iText-questions] PDF tagging document tag

2013-10-02 Thread iText Info
Op 19/09/2013 16:46, Jones Tim schreef: > Please could we have functionality to set the tagging of the document > at the very basic level of setting user properties and creating the > default root structure of the document and NOT to create the > "" tag and it's other tags. Adding the tag to

Re: [iText-questions] Regression bug on 5.4.4? Closing a tagged document crashes

2013-10-02 Thread iText Info
Op 2/10/2013 15:37, shira schreef: > I had a code merging two PDFs, which was using setTagged in case both > of the concatenated PDFs are tagged (worked well with 5.4.3). When concatenating documents in tagged mode, you must keep all readers opened until the resultant document is closed. This is

Re: [iText-questions] java.io.IOException: trailer not found

2013-10-02 Thread iText Info
Op 2/10/2013 8:45, TvT schreef: > If it is a customer PDF and you are not able to share then Paying iText customers have access to a private ticketing system where they can post PDFs that can't be shared with the world for inspection by a dedicated iText engineer. -

Re: [iText-questions] java.io.IOException: trailer not found

2013-10-02 Thread iText Info
Op 1/10/2013 23:06, Daniel Borlean schreef: > We're using the iText-2.1.2u.jar version to generate flattened pdf forms That version dates from May 2008. If I were your customer, I wouldn't accept your software because of the fact that you use software that has been considered End-of-Life by its

Re: [iText-questions] Add Bookmark to exisitng PDF

2013-09-25 Thread iText Info
Op 25/09/2013 20:34, Jon Jay schreef: > Does anyone have a code sample of how to add bookmarks to the existing PDFs? That's explained in chapter 7 of the book. You'll find the example that accompanies the documentation here: http://itextpdf.com/examples/iia.php?id=141 -

Re: [iText-questions] iTextSharp SVG tag support

2013-09-25 Thread iText Info
Op 26/09/2013 5:21, vidya jatheesh schreef: > Do you support SVG tag in html or any drawing in iTextSharp? No -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. E

Re: [iText-questions] Get embedded file using collection squema

2013-09-25 Thread iText Info
Op 25/09/2013 13:59, Max Pimm schreef: > > What am i missing? The documentation? http://itextpdf.com/examples/iia.php?id=290 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate applicatio

Re: [iText-questions] apparently garbage characters extracted from i1040.pdf page 41.

2013-09-25 Thread iText Info
Op 24/09/2013 20:54, Larry Evans schreef: > I still had to use /C: > to get there, which wouldn't work. Is there any reason why you want the fonts to be in a C: directory? You're the first non-Windows developer who tries to copy an example literally. The only reason why we created a C: directory

Re: [iText-questions] Improper display of Static TeluguFont (Indian Language)

2013-09-23 Thread iText Info
Op 23/09/2013 13:32, Himanshu Gupta schreef: > Do let me know, if we can set up a email thread/concall to move ahead and > decide on goal towards "paying customer". One address: http://itextpdf.com/sales/ But note that development of new functionality is fully booked until 2014. We'll start implem

Re: [iText-questions] Improper display of Static TeluguFont (Indian Language)

2013-09-23 Thread iText Info
Op 23/09/2013 8:52, Himanshu Gupta schreef: > Improper display of Static Telugu font (Unicode) . Repeating the same question over and over again, doesn't make sense. You only risk being banned from the list. Nobody will answer you because: (1.) you're using an iText version that dates from 2009 a

Re: [iText-questions] XMLWorker - difference between creating blank pdf and filling out an existing (with a field). (Daniel Lehtihet)

2013-09-23 Thread iText Info
Op 23/09/2013 9:42, Daniel Lehtihet schreef: > Why would the exact same code behave different when writing to a blank > page (with its x,y,x1,y1 coordinates) versus writing to a placeholder > on the blank page (with its x,y,x1 and y1 coordinates)? Because using Document.add() uses completely di

Re: [iText-questions] iText for Android

2013-09-23 Thread iText Info
Op 23/09/2013 8:18, Vaikunth Parmar schreef: > Can iText supports this features for Android? If you are looking for a tool to VIEW PDFs on a device: NO iText isn't a PDF viewer. If you are building a viewer and you want to use iText as a component to access and change the contents of a PDF file:

Re: [iText-questions] Uploading PDF file to server

2013-09-23 Thread iText Info
Op 23/09/2013 6:35, Preety Sharma schreef: > uploading the blank PDF > on server Define "blank": IF the PDF has 0 bytes: this is not a PDF-related question, try uploading any other file. Once you get that right, you'll also be able to upload PDFs. IF the PDF structure seems to be OK, but you ge

Re: [iText-questions] xmlworker example

2013-09-18 Thread iText Info
Op 17/09/2013 17:53, Ty Davis schreef: > Hello, > > Can someone please steer me towards an xmlworker example. > > I dont even know where to start with this. A zip file with an example was posted to the list on September 5. Please consult the mailing list archives to find it: http://thread.gmane.or

Re: [iText-questions] xmlWorker: TABLE inside DIV are truncated

2013-09-17 Thread iText Info
Op 13/09/2013 17:07, roboboot schreef: > A very simple patch to this problem is to rename the DIV tag into another > fake name. In that manner xmlWorker ignore the tag and therefore it does not > truncate the table. FYI, we've posted an answer here: http://stackoverflow.com/questions/18770610/xmlw

Re: [iText-questions] Unable to parse unicode characters in Xmlworker

2013-09-16 Thread iText Info
Op 15/09/2013 5:08, raghuveerk schreef: The outputstream that was returned from above method is then used to display the PDF document in browser. I am able to generate the PDF successfully.But then I will have to show few checkboxes, realizing that XMLWorker doesn't support input fields I switche

Re: [iText-questions] Pdfreader / getMetadata returns NULL for some pdfs

2013-09-11 Thread iText Info
Op 11/09/2013 12:19, Zurfluh, Alen schreef: > > here is a non-working sample file (attached) > Open a working example in a text editor. Scroll until you see XML. That's XMP metadata.Open a non-working example in a text editor.Scroll until you see XML. You won't find any. In your initial questio

Re: [iText-questions] Pdfreader / getMetadata returns NULL for some pdfs

2013-09-11 Thread iText Info
Op 11/09/2013 8:56, Zurfluh, Alen schreef: > But how do I get then the metadata for this “non-working” pdfs? You won't get an answer to that question if you don't show us one of those PDFs. -- How ServiceNow helps IT peop

Re: [iText-questions] XMLWorker convert HTML to PDF problem?

2013-09-09 Thread iText Info
Op 9/09/2013 4:35, Eric Chow schreef: > Hello, > > From the example, I can convert HTML to PDF using XMLWorker-5.4.3. > My question is that, I have a existed PDF template a.pdf. > How can I convert a html file to a.pdf? > > Would you please to teach me? It depends on what you mean by "existing PDF

Re: [iText-questions] CACERT .p12 certificate is not working

2013-09-04 Thread iText Info
Op 4/09/2013 7:42, Bapuji Nakka schreef: > I can't use the test certificate generated from CACERT.ORG > . invalid key size error is coming. > > Iam using itext -5.3.3 and Bouncycastle -jdk15on-149. > > Pls guide me Please read http://itextpdf.com/book/digitalsignatures page 18

Re: [iText-questions] Pdf - Incremental Updates

2013-09-04 Thread iText Info
Op 3/09/2013 19:17, linuxunil schreef: > 3 - I*REOPEN* the file (2) and execute the code: > pdfStamper.extractRevision("signatureFieldNameHere") If "signatureFieldNameHere" is the name of the signature field used in 2, then what's the point of extracting the revision? The revision is the whole f

Re: [iText-questions] Signing PDF externally with smartcard: trouble embedding TimeStamp response

2013-08-23 Thread iText Info
Op 23/08/2013 21:22, Benedikt Kristinsson schreef: > This is more or less what I am doing. The problem is that the timestamp > doesn't get embedded in the signature, but the OCSP response does. Still not much time, but: please enable the Logger (LoggerFactory) and copy/paste the output. All attemp

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-23 Thread iText Info
Op 23/08/2013 19:49, Yusuf Poonawala schreef: > However, if I can get the generated documents to work with the > existing version and old versions of this internal viewer, that would > be an ideal solution. The PDF opens fine in Adobe Reader and even in Chrome's PDF viewer. pdf.js however admits:

Re: [iText-questions] Problem with Firefox internal PDF viewer and custom embedded fonts

2013-08-23 Thread iText Info
Op 23/08/2013 19:49, Yusuf Poonawala schreef: > Considering that Acrobat Professional is able to generate a document > that does work with the buggy Firefox viewer, I assume there must be > something in the PDF file that we could do to make it work in Firefox. I can make a ton of PDFs with Acrob

Re: [iText-questions] Signing PDF externally with smartcard: trouble embedding TimeStamp response

2013-08-23 Thread iText Info
Op 23/08/2013 20:00, Benedikt Kristinsson schreef: > > Dear List, > > I am using iTextSharp to create a PDF file on a webserver and have a > client sign it. After reading the Digital Signatures whitepaper[0] from > iText, I managed to do this. However, I am having trouble embedding the > Timestamp

Re: [iText-questions] Missing `/ProcSet` and XObject entries in the latest iTextSharp

2013-08-21 Thread iText Info
Op 21/08/2013 10:34, Vahid Nasiri schreef: > Hello, > In the recent versions of iTextSharp, some definitions of image > dictionaries are missing in the produced PDF files: > With error (corrupted image, can't be displayed using Adobe reader, > produced with latest iTextSharp) > 1 0 obj > <>>>/BBo

Re: [iText-questions] Precision Fix

2013-08-08 Thread iText Info
Op 8/08/2013 11:42, Mark Duffill schreef: > > Hi, > > We are using iTextSharp to write out pdfs, however there was an issue > with precision. > > We enabled ByteBuffer.HIGH_PRECISION, but also needed to make the > following code change to PdfContentBytes.cs > > (Basically so we can pass in double

Re: [iText-questions] Itext checkbox is always checked

2013-08-04 Thread iText Info
Op 3/08/2013 16:49, Jason Hamm schreef: I am using Itext to create a pdf and I cannot get the checkbox to uncheck. Here is my code: RadioCheckField bt = new RadioCheckField(writer, new Rectangle(100, 100, 200, 200), "radio", "v1"); bt = new RadioCheckField(writer, new Rectangle(

Re: [iText-questions] Fields disappearing from editable PDF when in browser

2013-08-02 Thread iText Info
Op 2/08/2013 11:43, Josh Smith schreef: > Unfortunately I don't have control of the end users computers to > enforce that on everyone. > I know its nit an iText issue but is there so change I can make via > iText to the output to work around this? The only workaround is to change the form. Instead

Re: [iText-questions] Fields disappearing from editable PDF when in browser

2013-08-02 Thread iText Info
Op 1/08/2013 21:50, jesmith schreef: > they are also > displayed if I view the PDF in true client app (Mac Preview, or Adbobe > Reader). If Adobe Reader displays them and even Mac Preview displays them, but not Chrome PDF Viewer (and probably not pdf.js in Firefox either), then you're facing a pr

Re: [iText-questions] [SPAM] Re: [SPAM] Re: [SPAM] Is this a bug about itext verify signature?

2013-08-01 Thread iText Info
Op 1/08/2013 11:29, huang_jihua schreef: > However, I found that some files are attached some useless data, using adobe > reader can verify, but through itext not be verified. Yes, we're more strict. That's a design choice. -

Re: [iText-questions] [SPAM] Re: [SPAM] Is this a bug about itext verify signature?

2013-08-01 Thread iText Info
Op 1/08/2013 8:51, huang_jihua schreef: > I use 'reader.AcroFields.SignatureCoversWholeDocument("sjensign")' to check > if "sjensign" covers the whole document for your attachment. > it's return false Hey, I changed your PDF manually using a text editor, throwing away all bytes after %%EOF, ma

Re: [iText-questions] [Some questions about text in PDF]

2013-07-31 Thread iText Info
Op 31/07/2013 17:45, Ke Xu schreef: > how to write CJK text in .net with the two extra dlls? can you give me > some refers? Try these examples: http://tinyurl.com/itextsharpIIA2C11 CJKExample requires iTextAsian.dll I don't see any reason why you'd need iTextAsianCmaps.dll That's a dll to be use

Re: [iText-questions] [Some questions about text in PDF]

2013-07-31 Thread iText Info
Op 31/07/2013 15:57, Ke Xu schreef: > How to use iTextAsian.dll and iTextAsianCmaps.dll when i try to > extract CJK text and write CJK text into PDF file? iTextAsian and iTextAsianCmaps contain metrics files necessary to *create* documents containing CJK fonts. You don't need them to extract CJ

Re: [iText-questions] [SPAM] pdfa3 example doesnt work with 5.4.4-SNAPSHOT

2013-07-28 Thread iText Info
Op 26/07/2013 10:52, Vad1mo schreef: > I tried the pdf/A-3 example and it didn't work with the current > 5.4.4-SNAPSHOT. According to the spec it should be allowed. > > Exception in thread "main" com.itextpdf.text.pdf.PdfAConformanceException: > Embedded files are not permitted. That was fixed toda

Re: [iText-questions] Image with itextsharp

2013-07-27 Thread iText Info
Op 27/07/2013 7:50, Ish Bandhu schreef: Image will be with different extension. I am using image1.ScaleToFit(138f, 113); method for right side four images but it give different size of every image. What do you mean by that? Surely you understand that ScaleToFit should result in differen

Re: [iText-questions] SetCharacterSpacing broken when using Right Align

2013-07-05 Thread iText Info
Op 5/07/2013 15:11, Craig van Nieuwkerk schreef: > I have a table with two cells. The first cell is left aligned and the > second cell is right aligned. I also want to change the character > spacing of the text. I have found that changing the character spacing > breaks the alignment so the right

Re: [iText-questions] Hello sir....

2013-07-05 Thread iText Info
Op 5/07/2013 11:31, Gajanand Shendge schreef: > I am facing a problem while generating pdf of my JFrame.The problem > is > > com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced > save/restore state operators. > > > Please solve the problem > I use itext-2.1.7.jar library for

Re: [iText-questions] QUESTION

2013-06-28 Thread iText Info
Op 27/06/2013 19:55, Johan Alexander Velandia Rojas schreef: Hi itext support, At this moment, I'm looking for a library that allows me adding annotations to specific images in an existing PDF, annotations should be some external URL for example (www.google.com), the question is: how I can

Re: [iText-questions] iTextSharp 5.4.2 and semi corrupted PDF files

2013-06-28 Thread iText Info
Op 28/06/2013 7:02, Vahid Nasiri schreef: Hello, I've attached a PDF file produced with iTextSharp 5.4.2. When I open it in the Adobe reader, it alarms "An error exists on this page" and it can't display images. If I use iTextSharp 5.4.1 this file is OK. Could you tell us which classes you're u

Re: [iText-questions] Histogram of images in the Itext Pdf

2013-06-28 Thread iText Info
Op 27/06/2013 20:15, mashiana schreef: > Does, iText alter the images when it puts > them on the PDF One simple example: the PNG format is unknown in the PDF specification. Hence, you can't add a PNG to a PDF without converting it to a format that is supported in PDF. In other words: anyone who w

Re: [iText-questions] [SPAM] Re: Error on PDF decryption

2013-06-27 Thread iText Info
Op 27/06/2013 11:27, Valentin Ivanov schreef: > blowagie, I register to the mailing list again. So I guess now everything is > fine, isn't it? I think so, now send the stack trace to the mailing-list address. We didn't see the stack trace in the mailing-list admin tool. Maybe it got lost.

Re: [iText-questions] Extract CMap from pdf file!

2013-06-27 Thread iText Info
Op 27/06/2013 10:35, Mohammed Mostafa schreef: > are TextRenderInfo give me text size , text coordinates and text color? http://api.itextpdf.com/itext/com/itextpdf/text/pdf/parser/TextRenderInfo.html You get baseline, ascent line and descent line as a LineSegment. Then there's: http://api.itextpd

Re: [iText-questions] [SPAM] Re: Extract CMap from pdf file!

2013-06-27 Thread iText Info
Op 27/06/2013 8:48, mkl schreef: > BTW, I assume what your "direct way for extracting text" means is simply > taking the page content and using the contained string as they are. That is > not a "direct way" but instead a "naïve way" Relax mkl, you're starting to sound like me ;-) -

Re: [iText-questions] Extract CMap from pdf file!

2013-06-27 Thread iText Info
Op 27/06/2013 9:48, Mohammed Mostafa schreef: Hint Mr Paulo: I deal with page stream not with extract text directly because i need some informations associated with text such as font size, font name, x,y coordinates that exist in page stream. Hint Mr Mohammed: TextRenderInfo gives you all that i

Re: [iText-questions] Incompatible features in Adobe Acrobat 9.5?

2013-06-21 Thread iText Info
Op 21/06/2013 11:51, ansc358 schreef: > Hi, > > in our project we use iText 1.4.6 for merging PDF´s created by Acrobat 9.5. > I know it´s an old Version, but it could concern the newer Versions too. This question has already been answered! You're using a version that only supports PDF 1.4. In PDF

  1   2   3   4   5   >