Re: [iText-questions] Initial code for text extraction from PDF using iText

2008-11-03 Thread jmrrva
Hi Kevin, Should it be suitable for PDF to XML conversion? I have hundreds of tagged pdfs (PDF/A 1.A) and I would like to convert them into XML, using the PDF tags as XML elements and keeping the read order of the PDF/A.1A. Now the only tool I know to do this is the Professional version of Adobe'

[iText-questions] Tagged PdfPTable

2008-11-18 Thread jmrrva
Hello, Is it possible to add tags to the rows and cells of a PdfPTable? I think that structured marks can only be added to the low level directcontent and PdfPtable is a high level class. Cell events cannot be used for this purposes because they are triggered when the cell has already being paint

[iText-questions] Accesible tables in a tagged PDF

2008-11-25 Thread jmrrva
Hello, Some days ago I posted a question about how to add tags (Table, TR, TH, TD) to tables created using PdfPTables.I need to add these tags in order to get accesible PDF/A1a. After some research in the lists, it seems that the way to go should be use the MarkObject element but the code is not y

Re: [iText-questions] PDF/X, PDF/A, tagged PDF, etc.

2008-12-22 Thread jmrrva
On Mon, Dec 22, 2008 at 6:17 PM, 1T3XT info wrote: > David Thielen wrote: > > Hi, > > Please correct me if I'm wrong, PDF/X and PDF/A are basically > > restrictions on what can be written to the PDF file. So we do the same > > thing as before, except there are some calls that are not allowed and

Re: [iText-questions] Tagged PDF

2009-05-19 Thread jmrrva
writer.getExtraCatalog().put(PdfName.LANG, new PdfString("es")); Image img; PdfContentByte cb = writer.getDirectContent(); PdfStructureElement eTop = new PdfStructureElement(root, new PdfName("MyDocumentTag"));

[iText-questions] Adding marked text to an already existing tagged PDF

2008-09-10 Thread jmrrva
Hello, I am trying to add some text to an already existing tagged PDF. Adding text is easy with pdfstamper and getovercontent but I have not been able to add text in an already existing tag. This is from an iText sample: over = stamper.getOverContent(pageNumber); ... over.beginText(); over.setTe

Re: [iText-questions] Extracting a page as an Image

2010-02-24 Thread jmrrva
Hello, I did this some years ago: Use pdftk (based on itext) to extract the page(s) and then convert it to image using ghostscript. pdftk is at http://www.accesspdf.com/pdftk/ ghostscript is at http://www.gnu.org/software/ghostscript/ Best regards Jose 2010/2/24 wasegraves > - Original M

[iText-questions] PDF/A conformance and StructElem Type

2010-10-21 Thread jmrrva
Hi, We have found a minor issue with iText 2.1.7 but it may be also applied to version 5. After trying to validate PDF/A documents with Callas software the following messages are displayed. The command and the output are: ./pdfaPilot --noprogress -a -l=1a /tmp/test.pdf Input /tmp/test.pdf Hi

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-02 Thread jmrrva
Hi, I posted this long time ago:: http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg41651.html Hope this helps. Jose 2010/11/2 wowarjuna > > Thanks a lot..u just saved my life..just another simple one.. > > PdfPTable table = new PdfPTable(1); > for (int _i

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-03 Thread jmrrva
:45, jmrrva wrote: > > Hi, > > > > I posted this long time ago:: > > > > > http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg41651.html > > > > Hope this helps. > > Nice example, I must have overlooked it. > I'm happy to see that

Re: [iText-questions] PdfStructureElement with ColumnText

2010-11-03 Thread jmrrva
" Once again, thanks for your help. 2010/11/3 1T3XT info > On 3/11/2010 8:56, jmrrva wrote: > > Hello, > > > > By the way, I sent a fix some days ago related to the PDF/A conformance: > > > > > http://www.mail-archive.com/itext-questions@lists.source

Re: [iText-questions] Read PDF conformance (PDF/A)

2011-01-19 Thread jmrrva
Callas software also does it: www.callassoftware.com 2011/1/19 Leonard Rosenthol > It does, and it will happily report on PDF/A conformance. > > -Original Message- > From: 1T3XT BVBA [mailto:i...@1t3xt.info] > Sent: Wednesday, January 19, 2011 3:06 AM > To: itext-questions@lists.source

Re: [iText-questions] Is iText able to create document according to the PDF/A standard

2011-01-19 Thread jmrrva
IText works great to produce PDFA/1.A IMHO iText is one of the best tools to produce PDF/A but you have to spend some time reading the book and the ISO specs. 2011/1/19 Siegfried Raab > > > > > *Von:* 1T3XT BVBA [mailto:i...@1t3xt.info] > *Gesendet:* Mittwoch, 19. Januar 2011 14:58 > > *An:* it

Re: [iText-questions] Read PDF conformance (PDF/A)

2011-01-19 Thread jmrrva
We searched for it but we could not find it. That was 2 years ago though 2011/1/19 lvl > > Thanks for the help. I can try the trial version of it. > But do you know if there is freeware with a Java API to automatically > validate on PDF/A? > -- > View this message in context: > http://itext-gene

Re: [iText-questions] Is iText able to create document according to the PDF/A standard

2011-01-19 Thread jmrrva
t in Action’? Please apologize these probably stupid questions. >> But I really don’t know and I really have to know it. >> > > There's a bit of minsunderstanding here. What jmrrva meant with "IMHO" is > "In My Humble Opinion", he wasn't referring t

Re: [iText-questions] iText Creation PDF/A-1A

2011-04-20 Thread jmrrva
Hi Michele Try adding: writer.getExtraCatalog().put(PdfName.LANG, new PdfString("es")); Just change "es" for your language. Hope this helps Jose 2011/4/20 BigBrus > Hi everybody, > > I have to create a pdf with the standard PDF/A-1A, and i used iText. The > creation is quit

Re: [iText-questions] PDF -> PNG

2011-06-08 Thread jmrrva
Hello, 1- Convert the PDF file to a multipage tiff file. Ghostscript can achieve this thing. This tool works well if PDF is fine (fonts, etc.) 2- Split tiff into single page tiffs (tiffsplit from libtiff can do it) If you prefer PNG or GIF, use your favorite tool for convert the bitmap (I like "c

Re: [iText-questions] PDF/A-1a missing structure issue..

2011-08-11 Thread jmrrva
Hello Amol, It seems that you are just marking the PDF as PDF/A1A but you are not adding the required structure/tags. Take a look at the book and search this list. You will find a lot of info and some samples on how to create PDF/A 1A. Google is your friend. Jose 2011/8/11 myworld.amol > Hello

Re: [iText-questions] PDF/A-1a missing structure issue..

2011-08-11 Thread jmrrva
Search the book for: PdfStructureElement mapRole beginMarkedContentSequence endMarkedContentSequence etc. Also looking at the standard. Jose 2011/8/11 myworld.amol > Hello, > Thanks for your reply Jose. > > I am reading 'iText in action second edition book' and it is not mentioned > there

Re: [iText-questions] PDF/A-1a missing structure issue..

2011-08-16 Thread jmrrva
Hello, This is an easy one. You are probably using an old iText version. Take a look at: http://itext-general.2136553.n4.nabble.com/PDF-A-conformance-and-StructElem-Type-td3005862.html Jose 2011/8/16 myworld.amol > Hello Jose, > Thanks for your reply. > I tried following example to generate

Re: [iText-questions] Can iText export PDF page region as image?

2014-10-18 Thread jmrrva
Hi Feng, As far as I know iText is not suitable for these things. Try convert from imageMagick. It's free and runs in batch mode in almost all SO. Exmple of ImageMagick's convert: convert filename.pdf filename.tif I have put the tif format because it supports multipage image files. In case you