Re: [iText-questions] reading text at a particular place on a page?

2012-07-06 Thread Jason Berk
Again Do you control the creation of the PDFs you are looking to process? From: Tom Malia [mailto:tomma...@tandtdatasolutions.com] Sent: Friday, July 06, 2012 4:38 PM To: 'Post all your questions about iText here' Subject: Re: [iText-questions] reading text at a particular place on a p

Re: [iText-questions] reading text at a particular place on a page?

2012-07-06 Thread Tom Malia
Thanks for hangin with me on this Jason. I appreciate the help. I think the "wrinkle" is that I need to be able to programmatically figure out where to split the PDF's based on the content. Also, the solution needs to be fairly flexible. The example I gave earlier, though quite close to o

Re: [iText-questions] reading text at a particular place on a page?

2012-07-06 Thread Jason Berk
Well, you can always call system command from .NET or Javaugly, but doable Do you have any control over the invoices coming in? If so, there are a number of options. Given that you are just looking to split the PDF into smaller PDFs, you really don't need iText. Simple .bat file using

Re: [iText-questions] reading text at a particular place on a page?

2012-07-06 Thread Tom Malia
Thanks, I'm a little confused though. First, the looks like a command line utility. I was looking for a programming library I could use in, ideally .NET but Java could be OK too. Second, I don't actually need or want to extract the text from a PDF file. I want to read the text in the PDF file

Re: [iText-questions] reading text at a particular place on a page?

2012-07-06 Thread Jason Berk
I've used this one: http://linux.die.net/man/1/pdftotext Pulled account numbers off of IRS forms so I could load them into a database by clipping the bottom left cornerworked really well There's also: http://www.colorpilot.com/pdf2text-command-line.html From: Tom Malia [mailto:tomm

[iText-questions] reading text at a particular place on a page?

2012-07-06 Thread Tom Malia
I need to programmatically split large PDF files into separate files based on the presence or absence of particular text patterns in particular position on pages. For example, I might have PDF files that result from running an "invoices" report from an accounting system. In this report, lots

[iText-questions] iTextSharp Automated Form Filling

2012-07-06 Thread Michael Schueth
Hey, I am trying to automate the filling in of PDF forms using C#. I created the PDF Forms using Adobe LiveCycle Developer. I am just starting out with both C# and iText, so I am probably missing something simple... but I can't figure it out. Any help would be greatly appreciated. I have used th

Re: [iText-questions] newline handling inside chunk/phrase

2012-07-06 Thread Raf Hens
On 6/07/2012 8:58, pier luigi zanotti wrote: > So the question is: why the presence of a newline character on a chunk > text affect the horizontal position of the text itself? > > The version of iText I'm using is 5.2.1 . This is indeed an issue in iText, also present in 5.3.0. When handling th

Re: [iText-questions] Optimize large PDFPTable generation

2012-07-06 Thread Michael Demey
Hi, Is it possible to post your code or the generated PDF? Without those it's a bit hard to answer your question. Regards, Michael. Op 6/07/2012 10:44, François Miermont schreef: > Hello, > > I’m using iTextSharp 4.1.2 for a few years and I’m really satisfied with > it. Though I have to gener

Re: [iText-questions] put additional information to a graph (annotation?)

2012-07-06 Thread Leonard Rosenthol
On 7/6/12 6:47 AM, "Andreas Meyer" wrote: >This solution unfortunately causes adobe reader to display senseless >warnings >about forms and informations which can't be saved. Is there a way to >avoid this? >D Buttons are used on forms, thus you are have a form. Sorry. Leonard

[iText-questions] [SPAM] Re: iText and signing pdf fils

2012-07-06 Thread mkl
zouzou, zouzou wrote > Now the question is I have to add the provider BC obligatroirement me > because I use one of IAIK; I think iText explicitly uses BC classes directly in a number of places. Most likely, therefore, use of BC is mandatory if you use the iText cryptographic functions extensivel

Re: [iText-questions] iText and signing pdf fils

2012-07-06 Thread zouzou
Hi Michael, I added this statement Security.addProvider (new BouncyCastleProvider ()); just before the start of the audit and it works well. Now the question is I have to add the provider BC obligatroirement me because I use one of IAIK; Regards, zouzou. -- View this message in context: ht

Re: [iText-questions] iText and signing pdf fils

2012-07-06 Thread zouzou
Hi, There is the error i get when i try to verify the pdf sgnature : ks provider = SUN version 1.6 SUN version 1.6 SunRsaSign version 1.5 SunJSSE version 1.6 SunJCE version 1.6 SunJGSS version 1.0 SunSASL version 1.5 XMLDSig version 1.0 SunPCSC version 1.6 Sign Fin... signature Début v

Re: [iText-questions] put additional information to a graph (annotation?)

2012-07-06 Thread Andreas Meyer
Thank you very much, Leonard! Here is a code which nearly suits my needs: PushbuttonField button = new PushbuttonField(writer, area, fieldName); button.setVisibility(PushbuttonField.VISIBLE_BUT_DOES_NOT_PRINT); PdfFormField pff = button.getField(); pff.setUserName(Tooltip_Text); pff.setWidget(are

[iText-questions] [SPAM] Re: iText and signing pdf fils

2012-07-06 Thread mkl
zouzou, zouzou wrote > Here is the signed pdf file that i have an error wehen i try to verify > signature : > > > http://itext-general.2136553.n4.nabble.com/file/n4655545/circuitinfo.signed.pdf > circuitinfo.signed.pdf After sorting the "source code" you provided (which obviously never had a c

[iText-questions] FW: Rubber stamp example

2012-07-06 Thread John Renfrew
Further to previous post Opened the file in RUPS Then opened it in Acrobat Pro, move the annotation slightly and re-opened in RUPS Doing the move wraps the original /Annot in a /Subtype /Popup, which is what is allowing it to show in Reader Am I mistaken in this thought? How do I get iText to sho