Re: [iText-questions] Need Help about Fonts

2007-09-20 Thread bright_shine
Thanks for your answer. The question has been resolved ! The reason is we should put the *.TTF files put JAVA_HOME/jre/lib/Fonts catalog. -- View this message in context: http://www.nabble.com/Need-Help-about-Fonts-tf4485582.html#a12811470 Sent from the iText - General mailing list archive at N

Re: [iText-questions] BUG: PDFTemplate.createTemplate

2007-09-20 Thread DeMay, David A.
Paulo and all, That makes sense that you need to move the template. Assuming I have added an Image and some ColumnText to this template, here is the code I use based on whether or not rotation is required...and my current document with the problem is not rotated. if (currPageRotation == 90 ||

Re: [iText-questions] BUG: PDFTemplate.createTemplate

2007-09-20 Thread Paulo Soares
When you create a template the origin of said template will be 0,0. In pseudo code it should be: getOverContent().addTemplate(PDFTemplate.createTemplate().addImage(img,0 ,0),250f,6860f); Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of DeM

Re: [iText-questions] converting word doc to PDF

2007-09-20 Thread mister bean
There are many utilities on the Web that do this very well by emulating a printer. If you search, you will find them. ---mr. bean tushar Patel wrote: > > Hi there! > i was looking into the .net version iTextSharp. i found it very > interesting > and useful. > i was wondering whether this libra

Re: [iText-questions] copying a PDFTemplate to a BufferedImage

2007-09-20 Thread Idees Absurdes
Hi! I wrote you some days ago (I'm sorry for my bad english in advance :p). I've been working with your api so much since and I've (I hope) the last combo of 3 questions about your system. I'm sure you could help me :S I've been reading about PDF resolutions. I read in the FAQ that images never lo

Re: [iText-questions] BUG: PDFTemplate.createTemplate

2007-09-20 Thread DeMay, David A.
Paulo and everyone, I figured the position offset out before I bothered you with this posting. The bug issue has to do with template and not the offset. In my example code in the original message, it shows I create a template based on height and width of the current page. Inside that template I

Re: [iText-questions] Align_Middle and FixedHeight PDFPCell

2007-09-20 Thread Paulo Soares
This works for me: Document doc = new Document(PageSize.A4); PdfWriter writer = PdfWriter.getInstance(doc, new FileOutputStream("c:\\test.pdf")); doc.open(); PdfPTable t1 = new PdfPTable(2); t1.addCell("1\n2\n3\n4\n5\n6\n7\n8\n9"); PdfPTable t2 = new PdfPTable(1); t2.setExtendLastRow(false); PdfPC

Re: [iText-questions] Align_Middle and FixedHeight PDFPCell

2007-09-20 Thread [EMAIL PROTECTED]
I tried your suggestion, but it didn't work... I added this line at the end (almost) of the previous code: PdfPCell temp = new PdfPCell(nestedTable);temp.VerticalAlignment= PdfPCell.ALIGN_MIDDLE;masterTable.AddCell(temp); I've made something wrong? > -- Forwarded

Re: [iText-questions] BUG: PDFTemplate.createTemplate

2007-09-20 Thread Paulo Soares
Object placement has nothing to do with page dimensions but the page dimensions will decide if the object is visible or if it's outside the page boundaries. You must have (0 < x <6856) and (6856 < y < 7864) to have anything displayed. Paulo > -Original Message- > From: [EMAIL PROTECTED]

Re: [iText-questions] converting word doc to PDF

2007-09-20 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of tushar Patel > Sent: Thursday, September 20, 2007 4:09 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] converting word doc to PDF > > Hi there! > i was looking into th

Re: [iText-questions] Align_Middle and FixedHeight PDFPCell

2007-09-20 Thread Paulo Soares
You must also set the alignment of the outer cell. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, September 20, 2007 4:25 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Alig

[iText-questions] converting word doc to PDF

2007-09-20 Thread tushar Patel
Hi there! i was looking into the .net version iTextSharp. i found it very interesting and useful. i was wondering whether this library is capable enough to convert Word document into pdf? if so, i would applicate if u can provide me some sample code. Thanks -- Tushar Patel Software Engineer (Mic

[iText-questions] Setting the Image Field in ITextSharp

2007-09-20 Thread Brad Daniels
Is it possible to use iText to set an image from a URI to an ImageField object? Brad Daniels IT Department Sutton Inspection Bureau, Inc. of Florida Tel: 727-384-5454 x110 Fax: 727-384-6565 - This SF.net email is sponsored b

Re: [iText-questions] Problem Filling Form (ClassCastException)

2007-09-20 Thread florinG
In my case ,on line 2576 of PdfReader, the "getPdfObjectRelease((PdfObject)arr.get(j))" yeilded a PdfNull object and when it was cast to a (PdfDictionary) object it threw a class cast exception. So I now test ther result of "getPdfObjectRelease((PdfObject)arr.get(j))" to see if it's an instanceof

Re: [iText-questions] Loading iText into oracle 10g with loadjava

2007-09-20 Thread Alleni
>I need to load the iText jar into an oracle 10g database using loadjava. >When I attempt I receive may resolution errors and the classes are invalid. >Does anyone have suggestions how to accomplish this? Rod, To load iText (2.0.5) into Oracle you also need the following supporting jar files. bc

Re: [iText-questions] Need Help about Fonts

2007-09-20 Thread Bruno Lowagie (iText)
Paulo Soares wrote: > What's the problem in Linux? Saying it doesn't work > it's not that helpful. Using a hardcoded path to a path that doesn't exist on Linux neither: >> "c:/windows/fonts/SIMLI.ttf" Maybe it's as simple as that. But as you say, there's no way for us to know for sure. br, Bruno

Re: [iText-questions] Need Help about Fonts

2007-09-20 Thread Paulo Soares
What's the problem in Linux? Saying it doesn't work it's not that helpful. Paulo --- bright_shine <[EMAIL PROTECTED]> wrote: > > Hello everyone! > > I use BaseFont to create a SIMLI.TTF font in > windows. It run OK. > But in Linux its not, and there is no Exception. > Why? > Who can told me

Re: [iText-questions] Need Help ASAP

2007-09-20 Thread Bruno Lowagie (iText)
Sameet Lal wrote: > Hi, > > I am using iText. I am creating a PDF file using PdfWriter. It works fine. > Now I need to read the contents of above created file, for this I am > using PdfReader, but it gives me lot of extra characters. > I also bought your iText in Action online book and am not ab

[iText-questions] Andrew S Moy/CHI/NTRS is out of the office.

2007-09-20 Thread Andrew S Moy
I will be out of the office starting September 20, 2007 and will not return until September 21, 2007. Hello, Please contact Carl Groebe (312) 557-5454 if you need any assistance during this time, thanks. - This SF.net emai