[iText-questions] RTF: text format

2006-10-06 Thread Henry Lu
Could someone help me to generate a text paragraph like following in RTF? a asadf asdgfadsfa adsfgadsfa asdfasdf asdfsadf asdfsadfsadf asdfsafsa sadfsadf asdfsadf bb sbbsfdbsfdb sfdb sfdbsdf bdsfb sfdb sdfb dfsb dfsb dfsb dsfb sfdb sfdb dfs ccc cc asdfasd adsf

Re: [iText-questions] embedding PowerPoint presentation.

2006-10-06 Thread Antoine
On 06/10/06, Henry Lu <[EMAIL PROTECTED]> wrote: > Mr. Lowagie, is it possible to sent me your draft book in e-format? I > realy need to read the book right now. You can buy an e-version of the book. Search the list archives for the last week or so and you will find the link. Or wait for Bruno to

Re: [iText-questions] embedding PowerPoint presentation.

2006-10-06 Thread Henry Lu
Mr. Lowagie, is it possible to sent me your draft book in e-format? I realy need to read the book right now. -Henry Bruno Lowagie wrote: >jerry wrote: > > >>Hi, >> >>First i should thank you for the sample PDF file. >>can u please give me a sample code to create such pdf files (like the sampl

[iText-questions] RTF: table size

2006-10-06 Thread Henry Lu
I have difficulties to set the table size correctly. Here is mycode: Table t = new Table(2, table_contents.length); t.setAlignment("LEFT"); t.setBorderWidth(0); t.setWidths(new int[] {800,80}); No matter what that the numbers are, I always got size

[iText-questions] Cover page with Detail Page

2006-10-06 Thread Steve Murphy
Hi, I need to generate a Pdf document with a dynamic cover page (with customer data) and at least one detail page with order detail lines. The detail pages need to have a consistent header, which I am able to do, but the cover page can't have this header. I'm not sure how to do this. Any hints? T

[iText-questions] RE : RE : Re: RE : Re: height of row [resolved]

2006-10-06 Thread Eric Rosaz
ok I found my probleme.   This was the width which was too small to put the entire cell (Apparently in a PdfPTable which has a width of 100, you can put 14 car in size 12 and no more, and if you have more car in the cell, itext creates a second element, see as a second row).   So itext create 2

[iText-questions] RTF: table-of-contents format

2006-10-06 Thread Henry Lu
two questions: 1. how do i print a table with no border? 2. how do I print a table with first column lef-alignment and second column right-alignment? I am using: Table t = new Table(2, 4); // 2 columns, 4 rows -Henry Bruno Lowagie wrote: >Henry Lu wrote: > > >>How do I print table-of-conten

Re: [iText-questions] Creating a title for my Html-page

2006-10-06 Thread Bruno Lowagie
ing erl wrote: > Hello! > > I can see how to add a header to my HTML-Document. > But how do I add a Title !? > > Using this to add the Header with metadata: > document.add(new Header("Content-Type","text/html; charset=iso-8859-1")); > > how can I add a title to my page that I have created !? lo

Re: [iText-questions] iText XmlParser - Barcode

2006-10-06 Thread Bruno Lowagie
thor thorsen wrote: > Is possible to generate barcodes (or embed a Truetype barcode font) when > using XmlParser to create PDF from XML? Only if you extend the XML handler. I believe I have done this once in a previous assignment, but unfortunately I don't have the source code. br, Bruno ---

Re: [iText-questions] table-of-contents format

2006-10-06 Thread Henry Lu
Sorry about that. RTF. -Henry Bruno Lowagie wrote: >Henry Lu wrote: > > >>How do I print table-of-contents like format? >> >>Introduction Page 1 >>Chapter 1Page 2 >>Chapter 2

Re: [iText-questions] table-of-contents format

2006-10-06 Thread Bruno Lowagie
Henry Lu wrote: > How do I print table-of-contents like format? > > Introduction Page 1 > Chapter 1Page 2 > Chapter 2Page 15 > ... Using a table.

Re: [iText-questions] embedding PowerPoint presentation.

2006-10-06 Thread Bruno Lowagie
Henry Lu wrote: > Is this book for PDF only or for both PDF and RTF? PDF only. br, Bruno - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opini

[iText-questions] table-of-contents format

2006-10-06 Thread Henry Lu
How do I print table-of-contents like format? Introduction Page 1 Chapter 1Page 2 Chapter 2Page 15 ... -Henry --

[iText-questions] Creating a title for my Html-page

2006-10-06 Thread ing erl
Hello!I can see how to add a header to my HTML-Document.But how do I add a Title !?Using this to add the Header with metadata:document.add(new Header("Content-Type","text/html; charset=iso-8859-1")); how can I add a title to my page that I have created !?Regards, i -

Re: [iText-questions] embedding PowerPoint presentation.

2006-10-06 Thread Henry Lu
Is this book for PDF only or for both PDF and RTF? -Henry Bruno Lowagie wrote: >Henry Lu wrote: > > >>Whick book are you having? How can I get it? >> >> > >It's not printed yet, but it's available in >the Manning Early Access Program: >http://www.manning.com/affiliate/idevaffiliate.php?id=

Re: [iText-questions] iText license

2006-10-06 Thread Matt Benson
What problems do you have with MPL and LGPL? --- Marcel Janál <[EMAIL PROTECTED]> wrote: > Dear authors, > we would like to use iText as a library for working > with PDF documents > (creating, signing etc.). We have a problem with > both licenses of your > library (MPL and LGPL). Is it possible

[iText-questions] Unable to open file.

2006-10-06 Thread Goud, Srikanth
  Hi , I developed the reports using ITEXT, its really fast and easy to develop the .PDF files, my question is I developed and deployed in Weblogic Server in my local its working fine , than I deployed on the server so its writing the file on the shared directory, but its unable to open the

[iText-questions] iText XmlParser - Barcode

2006-10-06 Thread thor thorsen
Is possible to generate barcodes (or embed a Truetype barcode font) when using XmlParser to create PDF from XML?   I am trying to create PDF’s with patient letters/forms including barcode so that when the patient returns the letter to the hospital it is possible to use a barcode reader to enter t

Re: [iText-questions] embedding PowerPoint presentation.

2006-10-06 Thread Bruno Lowagie
Henry Lu wrote: > Whick book are you having? How can I get it? It's not printed yet, but it's available in the Manning Early Access Program: http://www.manning.com/affiliate/idevaffiliate.php?id=223 (See 'GET EARLY CHAPTERS NOW'.) A draft version of all 18 chapters is already available. I am now

Re: [iText-questions] embedding PowerPoint presentation.

2006-10-06 Thread Henry Lu
Whick book are you having? How can I get it? -Henry Bruno Lowagie wrote: >jerry wrote: > > >>Hi, >> >>First i should thank you for the sample PDF file. >>can u please give me a sample code to create such pdf files (like the sample >>u >>sent me) >> >> > >I thought I had sent you the lin

Re: [iText-questions] embedding PowerPoint presentation.

2006-10-06 Thread Bruno Lowagie
jerry wrote: > Hi, > > First i should thank you for the sample PDF file. > can u please give me a sample code to create such pdf files (like the sample > u > sent me) I thought I had sent you the link, but I must have forgotten. Anyway, it's a sample from the book (chapter 13): http://itext.ug

Re: [iText-questions] Itext-format (RTF question)

2006-10-06 Thread Bruno Lowagie
Henry Lu wrote: > Sorry I didn't make the question clearly. I am creating RTF not PDF > file. The format is I can't answer this one, but I added RTF to the subject. This is Mark's area ;-) br, Bruno - Take Surveys. Earn Cash

Re: [iText-questions] Retain markup notes, comments, stamps and inserted voice audios during PDFwriter processing

2006-10-06 Thread Webber, David (NIH/OD) [C]
Bruno, OK - I have the book on order! Will investigate the PdfCopy approach... Cheers, DW -Original Message- From: Bruno Lowagie [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 2:46 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Retain markup no

[iText-questions] RE : Re: RE : Re: height of row

2006-10-06 Thread Eric Rosaz
Here is the output: Line 0: line h=16.0, total h=16.0, nbCar=14Line 1: line h=16.0, total h=32.0, nbCar=14Line 2: line h=16.0, total h=48.0, nbCar=14Line 3: line h=16.0, total h=64.0, nbCar=15Line 4: line h=28.0, total h=92.0, nbCar=15   Here is the pdf file: titre 01234567890123 012345678901

Re: [iText-questions] Itext-format

2006-10-06 Thread Henry Lu
Sorry I didn't make the question clearly. I am creating RTF not PDF file. The format is aaa a aaa aa a bb b b bb b b b bb cc ccc c cc

Re: [iText-questions] embedding PowerPoint presentation.

2006-10-06 Thread jerry
Hi, First i should thank you for the sample PDF file. can u please give me a sample code to create such pdf files (like the sample u sent me) Thanks and Regards, jerry - Take Surveys. Earn Cash. Influence the Future of

[iText-questions] RE : Re: RE : Re: height of row

2006-10-06 Thread Eric Rosaz
Sorry here it is:   // Init data table dataTableN = new PdfPTable(edition.getColonnes().size()); dataTableN.setWidthPercentage(100f); dataTableN.setTotalWidth(100f);  // add title cell = getTitreColonnes(edition); dataTableN.addCell(cell);  // add lines for (int indexLine = 0; ind

Re: [iText-questions] How to write multi line text in a column

2006-10-06 Thread Paulo Soares
I'm not sure what the question is but PdfPCell.setRotation(90) will probably work. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sudheendra N Singh > Sent: Friday, October 06, 2006 11:22 AM > To: itext-questions@lists.sourceforge.net >

[iText-questions] iText license

2006-10-06 Thread Marcel Janál
Dear authors, we would like to use iText as a library for working with PDF documents (creating, signing etc.). We have a problem with both licenses of your library (MPL and LGPL). Is it possible to get commerce license of your library? We don't need any type of support, we need to use your libra

[iText-questions] How to write multi line text in a column

2006-10-06 Thread Sudheendra N Singh
Hi All,     I am using PdfTemplate to build my cells as I need to have vertical text. But when I have a horizontal line that should span more than 1 line, I am unable to achieve this and only one line is being printed. Please could anyone let me know how to write multi line.   Regards,Sudhee

Re: [iText-questions] RE : Re: height of row

2006-10-06 Thread Paulo Soares
If you post some code I won't have to guess. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Eric Rosaz > Sent: Friday, October 06, 2006 12:15 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] RE : Re: height of

[iText-questions] RE : Re: height of row

2006-10-06 Thread Eric Rosaz
Ok but when i open the pdf file, it contains only one line. I did another test: when I put 14 caracters in the row, its height is 16, and when I put 15 caracters , its height is 28.    I don't understand why itext calculate 2 rows for 15 caracters instead of 1 ? I try to change de totalWidth, thi

Re: [iText-questions] Why does embedding tiff-graphics take so long?

2006-10-06 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Michael J. Mueller > Sent: Thursday, October 05, 2006 12:36 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Why does embedding tiff-graphics > take so long? > > Hello

Re: [iText-questions] Tag ICC Profile Image

2006-10-06 Thread Paulo Soares
That's generally a sign that the profile doesn't match the image colorspace. You can't have a CMYK profile and an RGB image. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Develop > Sent: Thursday, October 05, 2006 6:30 PM > To: itext-qu

Re: [iText-questions] height of row

2006-10-06 Thread Paulo Soares
That looks like two lines: padding = 2+2 = 4, font size = 12. One line = 2+2 + 12 = 16 two lines = 2+2 + 2*12 = 28 Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Eric Rosaz > Sent: Friday, October 06, 2006 11:13 AM > To: itext-questions@

[iText-questions] height of row

2006-10-06 Thread Eric Rosaz
Hi,   I read a lot of mail about the height of the row in PdfPTable and I fixed some problems but I still have one.   I had a table with 1 column and always the same thing in the rows. I set a total width "tableLigne.setTotalWidth(100f);" and when I write 12 caracters in the rows ""

Re: [iText-questions] Fwd: itext to BIFF (Excel) file format

2006-10-06 Thread Peter B. West
On Fri, 2006-10-06 at 08:49 +0200, Bruno Lowagie wrote: > Peter B. West wrote: > > > Ooops! And I thought I was making a joke. > > And I forgot to add a smiley ;-) > > > Lots of Kubrick and a fair > > bit of Varda. That's my vintage. > > Yeah, the festival in Ghent is great. > My wife and I ar