Re: [iText-questions] PDf Table of Content

2009-12-03 Thread Alexis Pigeon
Hi Gopinath, 2009/12/4 mister bean > > Have you tried the example shown on pp 443-4 of the book? If so, what > problem > did you encounter? > Or the examples shown here : < http://1t3xt.info/tutorials/keywords/index.php?page=keyword&id=565 > And remember to bookmark this one: < http://1t3xt.in

Re: [iText-questions] word file in the place of the txt

2009-12-03 Thread 1T3XT info
ennidhi wrote: > In this code, Its possible to add the txt file. But I want to add a word > file in the place of the txt. Is it possible to do so? No, it isn't. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ---

Re: [iText-questions] PDf Table of Content

2009-12-03 Thread mister bean
Have you tried the example shown on pp 443-4 of the book? If so, what problem did you encounter? --mr. bean Gopinath_A wrote: > > Hi > Can any help me to create a Table of Content with Page number on the > right side of each chapter tat we have in our pdf document... > > Example : > Exp

[iText-questions] PDf Table of Content

2009-12-03 Thread Gopinath_A
Hi Can any help me to create a Table of Content with Page number on the right side of each chapter tat we have in our pdf document... Example : Expected output: IndexP.no. 1) Chapter 1 1.1 Lesson10 1.2 Lesson15 1.3 Lesson2

[iText-questions] PDf Table of Content

2009-12-03 Thread Gopinath_A
Hi Can any help me to create a Table of Content with Page number on the right side of each chapter tat we have in our pdf document... Example : Expected output: IndexP.no. 1) Chapter 1 1.1 Lesson10 1.2 Lesson15 1.3 Lesson2

[iText-questions] word file in the place of the txt

2009-12-03 Thread ennidhi
In this code, Its possible to add the txt file. But I want to add a word file in the place of the txt. Is it possible to do so? Document document = new Document(PageSize.A4); try { // step 2: // we create a writer

Re: [iText-questions] setPdfAConformance()

2009-12-03 Thread Mark Storer
> iText does not support conversion of PDF to PDF/A - that's a > MAJOR piece of work. You can, however, use iText to CREATE a > PDF that complies with PDF/A-1b. Fact. LiquidOffice can generate PDF/A-1b flattened forms. The font embedding requirements drive the form size up a bit, so we made

Re: [iText-questions] Type 3 Font problems with Adobe Reader Version 9

2009-12-03 Thread TallPine
I am attaching a sample PDF file. It displays on version 7 and 8 but fails on 9. This is a pathological use of fonts however it is a production AFP application. Go figure! The following code is used to define each glyph: Type3Font t3f = new Type3Font(pdfWriter,chars,false); t3f.setPostscrip

Re: [iText-questions] Debug compiled libraries

2009-12-03 Thread Mark Storer
> fwiw, iirc, you can build java itext with something equivalent to > javac *.java and just pick your compiler options as desired. Just use the ANT script. Nuttin' to it. Having said that, the trunk is in a State Of Flux right now, so you'll want a tagged version... say this one: http://itext.s

Re: [iText-questions] PdfTemplate relative position

2009-12-03 Thread 1T3XT info
Alejandro Camarena Pozos wrote: > In the Servlet class I have the declaration: > > PdfTemplate attPages; In the Servlet class??? I hope you mean: in the page event class. > In the construction of the document: > > Image imAttCount = Image.getInstance(attPages); > document.add (imAttCount

Re: [iText-questions] PdfTemplate relative position

2009-12-03 Thread Alejandro Camarena Pozos
Alejandro Camarena wrote: >> 1T3XT BVBA wrote: >> >> Wrap the PdfTemplate inside an image. >> Add the image with document.add(); >> or wrap the Image inside a Chunk. >> > >I'm trying something like this: > >In the Servlet class I have the declaration: > > PdfTemplate attPages; > >In the

Re: [iText-questions] PdfTemplate relative position

2009-12-03 Thread Alejandro Camarena Pozos
1T3XT BVBA wrote: > > Alejandro Camarena Pozos wrote: > > Hi, I'm trying to create a template in the current writing position, I > > need it to use it later for a calculated value in the document. The use > > is for a text in wich I'll be showing the pages of a certain section of > > the doc

Re: [iText-questions] PdfTemplate relative position

2009-12-03 Thread 1T3XT info
Alejandro Camarena Pozos wrote: > Hi, I'm trying to create a template in the current writing position, I > need it to use it later for a calculated value in the document. The use > is for a text in wich I'll be showing the pages of a certain section of > the document in a way of attachment, like

[iText-questions] PdfTemplate relative position

2009-12-03 Thread Alejandro Camarena Pozos
Hi, I'm trying to create a template in the current writing position, I need it to use it later for a calculated value in the document. The use is for a text in wich I'll be showing the pages of a certain section of the document in a way of attachment, like: "Attachment 1: 3 pages.", but the att

Re: [iText-questions] Cannot Read PDF417 using CAPTIVA

2009-12-03 Thread Ewan . Auguste
I will keep experiment see what we come up with. Ewan Auguste From: "Paulo Soares"

Re: [iText-questions] setPdfAConformance()

2009-12-03 Thread Niklas Johannes Saers
Hi Leonard, Thanks for your quick feedback. I won't spend more time trying to get iText to make PDF/As for me, then :-) Cheers Nik On Dec 3, 2009, at 12:34 PM, Leonard Rosenthol wrote: > iText does not support conversion of PDF to PDF/A - that's a MAJOR piece of > work. You can, howe

Re: [iText-questions] Debug compiled libraries

2009-12-03 Thread Mike Marchywka
> Date: Thu, 3 Dec 2009 13:15:10 +0100 > From: i...@1t3xt.info > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Debug compiled libraries > > Mike Quilleash wrote: >> Is there a set of iText jars available compiled with de

Re: [iText-questions] Debug compiled libraries

2009-12-03 Thread 1T3XT info
Mike Quilleash wrote: > Is there a set of iText jars available compiled with debug symbols? I > noticed debugging that stepping into the iText code I can see the > source, but the line numbers are all -1. There used to be, and if you look at the ANT files shipped with iText 2.1.7, you'll see th

Re: [iText-questions] Problem Renaming Fields with iText and ColdFusion 9

2009-12-03 Thread Leonard Rosenthol
Is the form you are working with an AcroForm or an XFA form? Leonard -Original Message- From: transact [mailto:merr...@transact.com] Sent: Wednesday, December 02, 2009 7:21 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Problem Renaming Fields with iText and Cold

[iText-questions] Debug compiled libraries

2009-12-03 Thread Mike Quilleash
Hi all, Is there a set of iText jars available compiled with debug symbols? I noticed debugging that stepping into the iText code I can see the source, but the line numbers are all -1. I am using iText 2.1.7. Thanks. Mike.

Re: [iText-questions] setPdfAConformance()

2009-12-03 Thread Leonard Rosenthol
iText does not support conversion of PDF to PDF/A - that's a MAJOR piece of work. You can, however, use iText to CREATE a PDF that complies with PDF/A-1b. PDF/A-1a is not supported since that requires explicit tagging - though it is possible. Leonard -Original Message- From: Niklas

Re: [iText-questions] setPdfAConformance()

2009-12-03 Thread Wain, Matthew
Would love to know this as well, as I only have the older version of the book with snippets in it about accessibility. (Recently discovered (last night) that we might need to conform to accessibility guidelines on the latest project, so keen to learn anything now, before I find I have to restru

[iText-questions] setPdfAConformance()

2009-12-03 Thread Niklas Johannes Saers
Hi guys, In the book from 2007, page #635 says "If setPdfAConformance() were to be added to iText, you'd be able to produce a Level B-conforming PDF/A file". Is such a function available? I've been using the PdfStamper to add XMP to the PDF file, and I'd love to be able to turn the PDF to a PDF/

Re: [iText-questions] Extract PDF embedded images using iText

2009-12-03 Thread Leonard Rosenthol
You're making progress! What you are still missing the processing of /Filter. When /Filter == /DCTDecode then you can leave the data "unfiltered" and treat it as a JPEG, due to a special case in PDF. However, for all other values of /Filter, you need to DECODE the data and then treat that as

Re: [iText-questions] Can iText extract all types of image information are exist in pdf?

2009-12-03 Thread 1T3XT info
ChristinaD wrote: > Hi, >Can iText extract all types of images(jpeg,tiff,png) information like > image count, height, width, dpi resolution etc... are exist in pdf document? (1) All the information needed to render the images is in the PDF. (2) iText can extract all the information from a PDF

[iText-questions] Can iText extract all types of image information are exist in pdf?

2009-12-03 Thread ChristinaD
Hi, Can iText extract all types of images(jpeg,tiff,png) information like image count, height, width, dpi resolution etc... are exist in pdf document? Any help in this regard will be very useful :) -- View this message in context: http://old.nabble.com/Can-iText-extract-all-types-of-image-in

Re: [iText-questions] Extract PDF embedded images using iText

2009-12-03 Thread ChristinaD
Hi Leo, below is my pdfstream{/Filter=/DCTDecode, /Type=/XObject, /Length=52803, /BitsPerComponent=8, /Height=375, /ColorSpace=/DeviceRGB, /Subtype=/Image, /Width=500} byte[] imagedata= PdfReader.getStreamBytesRaw((PRStream) stream); int width = Integer.parseInt((stream.get(PdfName.WIDTH)).toSt

Re: [iText-questions] PDF and timeStamping

2009-12-03 Thread abeliko
fixes! The problem was that i didnt add the bctsp library to my proyect. i have added it and its done. thx for your support andreas. -- View this message in context: http://old.nabble.com/PDF-and-timeStamping-tp26621719p26623308.html Sent from the iText - General mailing list archive at Nabbl

Re: [iText-questions] PDF and timeStamping

2009-12-03 Thread abeliko
Yes i know, but the problem is that i get that error with all the services that i test. i have tested several urls tha provide free TSA services or free service for testing with no acoount and pass needed and i allways get the same error. I have made some changes to my code and now y get this tr

Re: [iText-questions] PDF and timeStamping

2009-12-03 Thread Andreas Kuehne
Hi abeliko, isn't the the exception clear enough ? >> Failed to get TSA response from 'http://tsa.safelayer.com:8093' << Seems that you can't get any response from your TSA. Maybe you can't access that domain ( proxy settings ... ) or ther is no service available. But dtmo it doesn't seem to

Re: [iText-questions] Problem Renaming Fields with iText and ColdFusion 9

2009-12-03 Thread Leigh
> I got this to work... I just had to wrap my arguments in > lcase methods to keep the text lowercase.  After that, it all started > working fine. Good to hear. Yes, case sensitivity gets you every now and then. >> By the way, your blog rocks. Thank you :) -