Re: [iText-questions] PdfPTable header is overwriting all other text (fixed)

2010-02-25 Thread Fox, David
Thank you, Paulo and 1T3XT. Version 5 of itextsharp has this property. My version 4 does not. -Original Message- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Thursday, February 25, 2010 12:17 PM To: Post all your questions about iText here Subject: Re: [iText-questions] PdfPTable

Re: [iText-questions] PdfPTable header is overwriting all other text (almost fixed)

2010-02-25 Thread Paulo Soares
Look for the property PdfWriter.InitialLeading. Paulo > -Original Message- > From: Fox, David [mailto:d...@bmic.com] > Sent: Thursday, February 25, 2010 4:45 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] PdfPTable header is > overwriting all other te

Re: [iText-questions] PAdES-LTV

2010-02-25 Thread Leonard Rosenthol
Here is what one of our signature engineers had to say: I see several problems. 1. /VRI dict for the signature DOES NOT CONTAIN /TS entry which specifies the timestamp. So, no wonder that Acrobat does not find the timestamp. 2. /VRI dict does not contain /TU entry either. One of the two (/TS or /

Re: [iText-questions] Using Images extracted from a pdf

2010-02-25 Thread Leonard Rosenthol
There are eleven(!!) different ways to represent color in a PDF - your image extraction will need to support all of them in order to handle any possible image that you might present to it. -Original Message- From: Fernando Gomes [mailto:fernandogomes...@hotmail.com] Sent: Thursday, Febru

Re: [iText-questions] PdfPTable header is overwriting all other text (almost fixed)

2010-02-25 Thread 1T3XT info
Fox, David wrote: > Is there a .NET equivalent to PdfWriter.setInitialLeading()? More > importantly, is there a separate mailing list and/or API for iTextSharp? > I didn't see one at http://sourceforge.net/projects/itextsharp/ The iTextSharp mailing list has been closed down because there are more

Re: [iText-questions] PdfPTable header is overwriting all other text (almost fixed)

2010-02-25 Thread Fox, David
Is there a .NET equivalent to PdfWriter.setInitialLeading()? More importantly, is there a separate mailing list and/or API for iTextSharp? I didn't see one at http://sourceforge.net/projects/itextsharp/ Thanks -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Thursday, F

Re: [iText-questions] Mixing Japanese Character with English

2010-02-25 Thread 1T3XT info
Paul Cole wrote: > Any help as to what I’m doing wrong would be appreciated You need to implement your own font mapper. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Download I

[iText-questions] Mixing Japanese Character with English

2010-02-25 Thread Paul Cole
Hi I have a requirement to print a JComponent, which is a HtmlPanel generated by a third party text editor to PDF. All is well until we combine Japanese Characters with English. The Japanese characters appear fine on the screen but do not turn up in the pdf. If I use AsianFontMapper then the r

[iText-questions] Need help on Unicode characters

2010-02-25 Thread bitm . neeraj
Hi, I am using 'Aerial Unicode MS' fonts to print my PDF files. Some japanese and other characters which are getting printed in excel and HTML are not getting printed in PDF. I am testing it like this: BaseFont bf = BaseFont.createFont(

Re: [iText-questions] HeaderFooter

2010-02-25 Thread 1T3XT info
Sushma Katragunta wrote: > I also noticed that the new version of iText doesn't hava HeaderFooter > and Footer in it. Have they been replaced by something new? Use page events. Everything you need is explained in http://itextpdf.com/book/ -- This answer is provided by 1T3XT BVBA http://www.1t3xt

Re: [iText-questions] Testing signatures with ItextSharp

2010-02-25 Thread Daniel Oliveras
Hi Michael, Thanks for the comment, I updated de version of ItextSharp and all works fine now. Thanks. 2010/2/25 > Daniel, > > > Are the samples wrong, am I missing something? > > In general the samples are working all right. > > If you tell us which iTextSharp version exactly you use and give

Re: [iText-questions] itextsharp - pdf options

2010-02-25 Thread 1T3XT info
jAy dEE wrote: > > > Hi all, > > is it possible to modify an existing PDF-file so that when it gets > opened, the bookmark-list/panel is shown automaticly? > I'm using the .NET version of the library, any ideas or C# examples > available... Look for setViewerPreferences() or something like t

Re: [iText-questions] PdfPTable header is overwriting all other text (almost fixed)

2010-02-25 Thread 1T3XT info
Fox, David wrote: > Why do the margins appear different? Because the initial leading is 0. You can change this with setInitialLeading(); see http://itextpdf.com/examples/index.php?page=example&id=14 -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info --

Re: [iText-questions] Replacing CID fonts with WinAnsi True Type Fonts...

2010-02-25 Thread Leonard Rosenthol
What version of what program are you using that isn't allowing searching or copy? Adobe Acrobat or Reader? Something else? Can you post a sample PDF that demonstrates the problem? "Base Version" means the version of the PDF specification (or ISO standard) which is used as the technical refe

Re: [iText-questions] PdfPTable header is overwriting all other text (almost fixed)

2010-02-25 Thread Fox, David
I RTFM, and set my margins. However, on page 1, header and body text overlap (by 1 line of body text) while they don't on all other pages. I gauge this overlap to be 16pt because if I add 16 to the document.TopMargin, it fixes the overlap on page 1, but also increases the spacing on subsequent page

Re: [iText-questions] Testing signatures with ItextSharp

2010-02-25 Thread mkl
Daniel, > Are the samples wrong, am I missing something? In general the samples are working all right. If you tell us which iTextSharp version exactly you use and give us an example PDF file that resists being signed, we might help you. Regards, Michael. Vo

Re: [iText-questions] Using Images extracted from a pdf

2010-02-25 Thread Fernando Gomes
I'm trying to do something and it seems I am getting, JPEG and PNG for the colorSpace returns me a string .. or DeviceGray or / DeviceRGB or / DeviceCMYK but now I'm testing this with BMP me returning an array "/ColorSpace=[/Indexed, /DeviceRGB, 1, ] " because this occurs, and how can I trea

Re: [iText-questions] PdfPCell.setFixedHeight() behaves different as I expect

2010-02-25 Thread martin . weiss
Hi Paulo here is the sample. Result of System.out.println: height for row 0: 19.4 [I expect 16 => setFixedHeight()] package ch.mwi.itext; import java.io.FileOutputStream; import java.io.IOException; import java.util.List; import com.lowagie.text.Document; import com.lowagie.text.DocumentExcep

[iText-questions] PdfPCell.setFixedHeight() behaves different as I expect

2010-02-25 Thread martin . weiss
Hi Paulo, I am setting the fixed height to all the columns of the row. One cell has a colspan of 2. The font size is 8. I am really amazed about this behavior. Any other hints ? Thanks a lot for your help Martin - Ursprüngliche Mail - Von: martin weiss An: itext-questions@lists.sourcefor

Re: [iText-questions] PdfPCell.setFixedHeight() behaves different as I expect

2010-02-25 Thread Paulo Soares
Are you setting the fixed height to all the columns of the row? Paulo > -Original Message- > From: martin.we...@mw-informatik.ch > [mailto:martin.we...@mw-informatik.ch] > Sent: Thursday, February 25, 2010 11:14 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions

[iText-questions] PdfPCell.setFixedHeight() behaves different as I expect

2010-02-25 Thread martin . weiss
Hi Bruno, Paulo and all the other iText cracks Phrase phrase = new Phrase("44630259", getFont()); PdfPCell itextCell = new PdfPCell(phrase); itextCell.setFixedHeight(16.0); itextCell.setHorizontalAlignment(Element.ALIGN_LEFT); itextCell.setVerticalAlignment(Element.ALIGN_MIDDLE); itextCell.setPadd

[iText-questions] itextsharp - pdf options

2010-02-25 Thread jAy dEE
Hi all, is it possible to modify an existing PDF-file so that when it gets opened, the bookmark-list/panel is shown automaticly? I'm using the .NET version of the library, any ideas or C# examples available... thanx for help, jaydee _

[iText-questions] Testing signatures with ItextSharp

2010-02-25 Thread Daniel Oliveras
Hi, I am testing the samples in http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp2 to see how it works the signature process in ItextSharp, but I found that those samples does not work, in my case every time I try to sign a PDF hapens the following: Stream s = sap.RangeStream;

[iText-questions] HeaderFooter

2010-02-25 Thread Sushma Katragunta
Hello, This is Surabhi. I am a newbie to iText. I am trying to generate a pdf doc on the fly in the form of a company letter-head on a button-click. The letter-head should consist of : > a Header with an image aligned left and some info from the database aligned right. > a Body with some data from