Re: [iText-questions] Save PDF as plain text

2011-11-17 Thread WMJ
Hello, Thanks for pointing out this. Before that, I have once met with a PDF which has 1 mega bytes each compressed page stream. It did not take too long to parse them and convert it to the primitive command model. If ET does not come after a BT, the DOM model might assume the rest commands

Re: [iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread Leonard Rosenthol
2.x. Maybe it's setPDFAConformance. However, as you know, 2.x is no longer supported. Leonard From: David Thielen mailto:da...@windward.net>> Reply-To: Post here mailto:itext-questions@lists.sourceforge.net>> Date: Thu, 17 Nov 2011 09:33:17 -0800 To: Post here mailto:itext-questions@lists.sou

Re: [iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread David Thielen
Hi; Is setConformance() in iText 5 only? We're on iText 2 and I can't find it anywhere. We do use iText to create the PDF so we should be ok on that part. Thanks - dave From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Thursday, November 17, 2011 9:20 AM To: Post here Subject: Re: [iTe

Re: [iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread Leonard Rosenthol
If you are creating the PDF ENTIRELY with iText – then you can just use the setConformance() API and it will take care of the details for you. If you are starting with an existing PDF – then there aren't any options for iText at this time. But that will ONLY get you PDF/A-1b. PDF/A-1a require

Re: [iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread David Thielen
I didn't know about pre-flight, that's cool. Ok, ran my iText generated document through it and got the following: * Convert to PDF/A-1a (sRGB) * Convert to PDF/A-1b (sRGB) I then double clicked on "Verify compliance with PDF/A-1a" and got a lot: * Author mismatch betwe

Re: [iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread TvT
>What you really mean to say is “no externally referenced resources/assets”. Yes, excactly :-) ** ** > > Leonard > > ** ** > > *From:* TvT [mailto:tvtre...@nepatec.de] > *Sent:* Thursday, November 17, 2011 7:12 AM > *To:* Post all your questions about iText here > *Subject:* Re: [iText-questio

Re: [iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread Leonard Rosenthol
> no external referencing > Careful with that phrase as it's led to misunderstanding by non-technical people. What you really mean to say is "no externally referenced resources/assets". Leonard From: TvT [mailto:tvtre...@nepatec.de] Sent: Thursday, November 17, 2011 7:12 AM To: Post all your qu

Re: [iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread Leonard Rosenthol
If only it were that simple... Embedded Fonts that meet the requirements (CIDSet, CharSet, Width matching, etc.) Calibrated Colors including an OutputIntent Limited Actions Limited Annots And the list goes on From: David Thielen [mailto:da...@windward.net] Sent: Thursday, November 17, 2011 6

Re: [iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread TvT
1. That depends which PDF/A you mean: PDF/A-1a or PDF/A-1b or PDF/A-2? 2. Even if you take the simplest PDF/A-1b there is lots of stuff to consider. Best you read the PDF/A spec. (ISO 19005-1:2005 or ISO 19005-2:2011) No javascript, no external referencing, colors etc etc. 3. What probably acroba

[iText-questions] What is required to make a file PDF/A?

2011-11-17 Thread David Thielen
I thought it was just embedding fonts but when we do that Acrobat says it is not PDF/A. thanks - dave -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, applicatio

Re: [iText-questions] Saving the PDF created on SUSE Linux Server (updated)

2011-11-17 Thread Siddhartha Rathi
Oppps Michael, That's silly copy paste mistake.. That was by mistake copied twice. It is once only. In fact that will not let me compile forget running it. Thanks, Siddhartha -- View this message in context: http://itext-general.2136553.n4.nabble.com/Saving-the-PDF-created-on-SUSE-Linux-Server-

[iText-questions] appearance problem with Acrofields and Chinese

2011-11-17 Thread mercoSygest
Hi. I'm using itextsharp 5.1.2 to fill with chinese text some acrofields. These fields are set with "Arial unicode MS" font. I set the BaseFont.AddToResourceSearch(Parametri.AppPath & "iTextAsian.dll") BaseFont.AddToResourceSearch(Parametri.AppPath & "iTextAsianCmaps.dll") FontArial = Base

Re: [iText-questions] Save PDF as plain text

2011-11-17 Thread WMJ
Hello, Firstly I agree that it is easy to convert the current event model to DOM model. And I've done already implemented a very basic model with one or two days' work. Currently I've processed quite some PDF files and I think huge page command trees are rare. Few PDF documents contain page

Re: [iText-questions] Saving the PDF created on SUSE Linux Server (updated)

2011-11-17 Thread mkl
Siddhartha, Siddhartha Rathi wrote: > As for writing the code twice I found it using the net and that's why I > have wrote it twice. Just to be sure we are talking about the same thing. You initially posted this as your code: > String path = "/local/notesdata/appln/Reports/" + strDa