Re: [iText-questions] Text Alignment Within Cell - iTextSharp

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 2:03, john schreef: > I read all of the iText documentation available, So you are aware of the difference between "text mode" and "composite mode". This assumes you're working in text mode: > ' text is blank when anything but ALIGN_LEFT > cell.HorizontalAlignment =

[iText-questions] Using iTextSharp.Tutorial for VB.Net, showing compiler errors

2011-03-28 Thread Steve Callahan
I've download the above tutorial which comes in the form of a VB.Net project. I have checked that the itextsharp reference names is using the itextsharp.dll but when I try to compile it throws over 100 errors for instance 'Color' in Chap0102.vb is undefined, as is 'Watermark' and 'HeaderFooter' in

Re: [iText-questions] Encryption certificate from encrypted PDF?

2011-03-28 Thread Jan Mynarik
Hello! Please ... does anyone know if it is possible? Regards! Jan On Fri, 2011-03-25 at 15:45 +0100, Jan Mynarik wrote: > Hey! > > Is there a way how to get a certificate from encrypted PDF that was used > to encrypt it? > > Regards and thanks for answers in advance! > > Jan > > > --

Re: [iText-questions] Using iTextSharp.Tutorial for VB.Net, showing compiler errors

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 11:50, Steve Callahan schreef: I've download the above tutorial which comes in the form of a VB.Net project. I have checked that the itextsharp reference names is using the itextsharp.dll but when I try to compile it throws over 100 errors for instance 'Color' in Chap0102.vb is

Re: [iText-questions] Using iTextSharp.Tutorial for VB.Net, showing compiler errors

2011-03-28 Thread Steve Callahan
Do you have a more recent one I can use? From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: 28 March 2011 12:03 To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Using iTextSharp.Tutorial for VB.Net, showing compiler errors Op 28/03/2011 11:50, Steve Callahan schreef:

Re: [iText-questions] Using iTextSharp.Tutorial for VB.Net, showing compiler errors

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 13:09, Steve Callahan schreef: Do you have a more recent one I can use? No, we only have: http://kuujinbo.info/iTextInAction2Ed/index.aspx -- Enable your software for Intel(R) Active Management Technolog

Re: [iText-questions] Encryption certificate from encrypted PDF?

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 12:48, Jan Mynarik schreef: > Hello! > > Please ... does anyone know if it is possible? PdfReader doesn't want to open an encrypted PDF if you don't have the credentials. So if you want to get the public certificate, and you don't have the private key, you can't get the public cert

[iText-questions] Itext memory usage

2011-03-28 Thread Sérgio Silva
Hello, I am developing a web-service which changes the content of a PDF file syncronously. For each page of the PDF file I will add an image to an X,Y coord and a string to the footer returning it back to the client. The problem with this approach is that PDFReader will use too much memory for ea

Re: [iText-questions] Encryption certificate from encrypted PDF?

2011-03-28 Thread Jan Mynarik
Thanks for your answer. Is that feature of PDF format or limitation of iText? I have PDFs where metadata is not encrypted. Jan On Mon, 2011-03-28 at 13:21 +0200, 1T3XT BVBA wrote: > Op 28/03/2011 12:48, Jan Mynarik schreef: > > Hello! > > > > Please ... does anyone know if it is possible? > >

Re: [iText-questions] Encryption certificate from encrypted PDF?

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 15:08, Jan Mynarik schreef: > Thanks for your answer. > > Is that feature of PDF format or limitation of iText? I have PDFs where > metadata is not encrypted. The certificates aren't in the metadata! They are in the Catalog (or root object). iText throws the exception when you open

Re: [iText-questions] Itext memory usage

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 14:53, Sérgio Silva schreef: > Hello, > > I am developing a web-service which changes the content of a PDF file > syncronously. For each page of the PDF file I will add an image to an > X,Y coord and a string to the footer returning it back to the client. > > The problem with this a

Re: [iText-questions] Itext memory usage

2011-03-28 Thread Iliadis Yannis
Use RandomAccessFileOrArray in your reader constructor. 2011/3/28 Sérgio Silva > Hello, > > I am developing a web-service which changes the content of a PDF file > syncronously. For each page of the PDF file I will add an image to an X,Y > coord and a string to the footer returning it back to th

Re: [iText-questions] PDFPCell.rowSpan and PDFPTable.WriteSelectedRows on itextsharp

2011-03-28 Thread Johann Pérez
I'm sorry I'm new in iText Sharp and don't seem to follow... Could explain a bit more, please? I guess you mean make a new ColumnText object and put the PdfPTable inside of it, but after that how could I add the table rows wherever I want (like i do with writeselectedrows) El 27/03/2011 06:29

Re: [iText-questions] PDFPCell.rowSpan and PDFPTable.WriteSelectedRows on itextsharp

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 15:50, Johann Pérez schreef: > I'm sorry I'm new in iText Sharp and don't seem to follow... Could > explain a bit more, please? > > I guess you mean make a new ColumnText object and put the PdfPTable > inside of it, but after that how could I add the table rows wherever I > want (like

Re: [iText-questions] PDFPCell.rowSpan and PDFPTable.WriteSelectedRows on itextsharp

2011-03-28 Thread Johann Pérez
I did search but obviouslly didn't choose the correct keywords... Thanks a lot for the quick response. El 28/03/2011 10:54 a.m., 1T3XT BVBA escribió: > Op 28/03/2011 15:50, Johann Pérez schreef: >> I'm sorry I'm new in iText Sharp and don't seem to follow... Could >> explain a bit more, please? >

Re: [iText-questions] IText Sharp

2011-03-28 Thread Mark Storer
> 1. Possibilities to convert the text content to image in itextsharp. If by "image" you mean "org.itextpdf.text.Image", then yes. You draw your text into a PdfTemplate, and wrap an Image around it. If by "image" you mean "a bunch of colored pixels" on the other hand, then no. GhostScript is

[iText-questions] importing an html document into a pdf document

2011-03-28 Thread Steve Callahan
Is it possible to take the contents of an html document and import the results into an iText Pdf document, so that I can replicate a web page? I've tried adding a simple html script using the Phrase and Paragraph methods but both display the html with tags included. I'm sure it is possible to do bu

Re: [iText-questions] importing an html document into a pdf document

2011-03-28 Thread Mark Storer
Yes. The fidelity is somewhat lacking these days (style support is spotty), but improvements are in the works. There are quite a few examples of this floating around on the internet. You can search the list archives. You can browse the book examples on iTextpdf.com/book. You can google for c

[iText-questions] mix high level and absolute positioning

2011-03-28 Thread Ed Bras
What's the correct way to mix high level objects and absolute positioning? I have problems mixing them. Suppose that I add Paragraphs to the Document and need to add an absolute element through ColumnText because I have additional requirements that I can't realize with high level objects: documen

Re: [iText-questions] mix high level and absolute positioning

2011-03-28 Thread Mark Storer
One thing you can try is to add a placeholder behind the absolutely positioned elements. An empty paragraph with customized spacing settings. OR Tweak the leading spacing on the next item to be drawn. One final thing you might do Within The Bounds of Highlevel Layout: Draw your Custom Stuff in

Re: [iText-questions] mix high level and absolute positioning

2011-03-28 Thread Ed Bras
Thanks for the tips Mark. I will play around with them. I am not so experienced yet with iText, but like explained in the book, there are several ways to realize your goal which makes a bit difficult to make the correct choices. I get the idea that most experienced iText developers hardly use high

Re: [iText-questions] SetListSelection (setting multivalued list fieldvalues)

2011-03-28 Thread Mark Storer
Ah. You have an XFA based form, and are using AcroForm tech to address it. Don't do that. I'm not so sure our XFA code supports multiple list values. Lets see. Not directly, no. You /can/ get the XFA bytes and monkey with them to your heart's content however. Far from ideal, but effective. -

[iText-questions] IText Sharp - Pdf manipulations

2011-03-28 Thread kannan thangamani
Hi, We have been analysing to use the ITextShart for manipulating the pdf which is generated from Indesign tool. After the pdf is generated we would like to add some text and images in the specified locatioon. We have the below questions. 1. Possibilities to convert the text content to image in

Re: [iText-questions] IText Sharp - Pdf manipulations

2011-03-28 Thread Balder
Hi Kannan, You asked the same question on Sunday. You should continue your interrogation after reading the answer provided by Mark Storer. Kind regards Balder - Reply message - From: "kannan thangamani" Date: Mon, Mar 28, 2011 23:03 Subject: [iText-questions] IText Sharp - Pdf manipu

[iText-questions] Corrupt PDF after merging many pages

2011-03-28 Thread Michael Chernecki
I am using iTextSharp to merge several 1-page/2-page pdf files into one large document. When merging a few files, everything is fine. For larger documents (128 pages in one example) I get the error on opening "An error exists on this page. Acrobat may not display correctly. Please contact the pe

Re: [iText-questions] Corrupt PDF after merging many pages

2011-03-28 Thread Mark Storer
What version of iTextSharp are you using? Can we see one of these PDFs? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: Michael Chernecki > [mailto:michael.cherne...@criticalcontrol.com] >

Re: [iText-questions] mix high level and absolute positioning

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 20:19, Ed Bras schreef: > I get the idea that most experienced iText developers hardly use high level > objects, is that so? I use Chunk, Phrase, Paragraph, PdfPTable and Image, but most of the times, I use them in combination with the ColumnText object.

Re: [iText-questions] mix high level and absolute positioning

2011-03-28 Thread 1T3XT BVBA
Op 28/03/2011 19:24, Ed Bras schreef: > What's the correct way to mix high level objects and absolute positioning? > > I have problems mixing them. > Suppose that I add Paragraphs to the Document and need to add an absolute > element through ColumnText because I have additional requirements that I