Re: [iText-questions] How to rotate cells in Rtf

2006-10-09 Thread Sudheendra N Singh
Hi Mark, Thanks for you reply. Regards, Sudheendra N Singh Cell - 9880015753 - Original Message - From: "Mark Hall" <[EMAIL PROTECTED]> To: Cc: "Sudheendra N Singh" <[EMAIL PROTECTED]> Sent: Monday, October 09, 2006 8:22 PM Subject: Re: [iText-questions] How to rotate cells in Rtf

Re: [iText-questions] iText Book

2006-10-09 Thread Bruno Lowagie
Henry Lu wrote: > Do you have code in C# for examples in your book? If not I'd like to > contribute to it for free. No, I haven't, but I think a Shanghai developer is working on this. I'll send you his mail address privately. br, Bruno

Re: [iText-questions] Can I use iText effectively to fix my problem?

2006-10-09 Thread Bruno Lowagie
Nilabhra Banerjee wrote: > This is what Paolo has replied. I dont mind creating the report directly > in pdf. OK, then iText is definitely the product you need. > the program > must automatically open the pdf in the user screen after the report is > completed. Easy. Use the Content-Disposit

Re: [iText-questions] Can I use iText effectively to fix my problem?

2006-10-09 Thread Nilabhra Banerjee
Hi,   Thanks to Paolo Soares for replying to my query.   "If you're looking for a html->pdf converter iText may or may not be thebest options depending on what kind of html you have. iText can reallyhelp you if the report is directly created in pdf."   This is what Paolo has replied. I dont m

Re: [iText-questions] Java heap error, out of memory

2006-10-09 Thread Paulo Soares
If you added both tables to the document you'll see both. I can't see where's the problem. Paulo - Original Message - From: "srinivasa" <[EMAIL PROTECTED]> To: Sent: Monday, October 09, 2006 11:41 PM Subject: Re: [iText-questions] Java heap error, out of memory > > Thanks paulo > I i

Re: [iText-questions] Java heap error, out of memory

2006-10-09 Thread srinivasa
Thanks paulo I implemented with the link which you gave . It is working great. I really enjoyed by seeing the example as I got structed for nearly 2 days with that problem. now, I have a small issue. The scenario for my application is to load 2 different data in 2 tables. when , I implemented t

Re: [iText-questions] Using BufferedImage within iText

2006-10-09 Thread Paulo Soares
Use com.lowagie.text.Image.getInstance(java.awt.Image, java.awt.Color). Paulo - Original Message - From: "Bill Sanders" <[EMAIL PROTECTED]> To: "'Post all your questions about iText here'" Sent: Monday, October 09, 2006 9:17 PM Subject: Re: [iText-questions] Using BufferedImage within

Re: [iText-questions] Using BufferedImage within iText

2006-10-09 Thread Bill Sanders
I'm working with a library that utilizes BufferedImage to create images. I'm having difficulty figuring out how to incorporate this into the PDF document using iText. If you have sample code or point me in the right direction, I would greatly appreciate it. Thanks for the help, Bill _

Re: [iText-questions] How To Extract Embedded Files, Attachments...

2006-10-09 Thread Paulo Soares
- Original Message - From: "Ismail Ibric" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Monday, October 09, 2006 9:14 PM Subject: Re: [iText-questions] How To Extract Embedded Files, Attachments... > Hey Paulo, > > I'm using C# .Net DLL implementation... have

[iText-questions] footer

2006-10-09 Thread Henry Lu
How do I set document of RTF so that the footer only starts at second page and the page counter starts at second page. We use the first page as cover page with no header and footer. -Henry - Take Surveys. Earn Cash. Influen

Re: [iText-questions] How To Extract Embedded Files, Attachments...

2006-10-09 Thread Ismail Ibric
Hey Paulo, I'm using C# .Net DLL implementation... have any of those pugins ported over? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Monday, October 09, 2006 4:00 PM To: Post all your questions about iText here Subject: Re:

Re: [iText-questions] How To Extract Embedded Files, Attachments...

2006-10-09 Thread Paulo Soares
There's a plug-in to do that. Paulo - Original Message - From: "Ismail Ibric" <[EMAIL PROTECTED]> To: Sent: Monday, October 09, 2006 8:46 PM Subject: [iText-questions] How To Extract Embedded Files, Attachments... Hi, Is it possible to get the Names Attachments in a PDF, as well as

[iText-questions] How To Extract Embedded Files, Attachments...

2006-10-09 Thread Ismail Ibric
Hi,   Is it possible to get the Names Attachments in a PDF, as well as any embedded file Annotations from pages?   Thanks, Izzy. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Te

Re: [iText-questions] Java heap error, out of memory

2006-10-09 Thread Paulo Soares
http://itextdocs.lowagie.com/tutorial/objects/tables/pdfptable/index.html#memory Paulo - Original Message - From: "Srinivasa Arava" <[EMAIL PROTECTED]> To: Sent: Monday, October 09, 2006 5:57 PM Subject: [iText-questions] Java heap error, out of memory Hi, I am trying to generate a

Re: [iText-questions] table and paragraph

2006-10-09 Thread Mark Hall
On Monday 09 October 2006 19:13, Henry Lu wrote: > I am using RTF. How do I change the source. Get the source via CVS: http://sourceforge.net/cvs/?group_id=15255 In the com.lowagie.text.rtf.table.RtfTable change line 168 if(!inHeader) { to if(false) { Greetings, Mark -- Let me put it this wa

Re: [iText-questions] table and paragraph

2006-10-09 Thread Henry Lu
I am using RTF. How do I change the source. -Henry Mark Hall wrote: >On Monday 09 October 2006 18:21, Henry Lu wrote: > > >>The output shows that there are some space between "Name" and the table >>like the following: >> >> >If you are talking about RTF, then only by changing the source. T

Re: [iText-questions] table and paragraph

2006-10-09 Thread Mark Hall
On Monday 09 October 2006 18:21, Henry Lu wrote: > The output shows that there are some space between "Name" and the table > like the following: If you are talking about RTF, then only by changing the source. The space is hard-coded to mimic the default PDF behaviour. Greetings, Mark -- You are

[iText-questions] Java heap error, out of memory

2006-10-09 Thread Srinivasa Arava
Hi, I am trying to generate a pdf from java by  using iText API.If no of records are less than 1000, I could load the data into the pdf and it is working fine.But if the no of records are huge (I tried with around 15,000 records) , I was getting an error saying that "Java heap error, out of memory"

[iText-questions] table and paragraph

2006-10-09 Thread Henry Lu
I have following code: p = new Paragraph("Name", new RtfFont("Times New Roman", 14, RtfFont.BOLD)); p.setAlignment("LEFT"); document.add(p); t = new Table(4, n); . document.add(t); The output shows t

[iText-questions] iText Book

2006-10-09 Thread Henry Lu
Do you have code in C# for examples in your book? If not I'd like to contribute to it for free. -Henry Bruno Lowagie wrote: >Henry Lu wrote: > > >>How do I print table-of-contents like format? >> >>Introduction Page 1 >>Chapter 1

Re: [iText-questions] RE : Re: ALIGN_RIGHT with "|"

2006-10-09 Thread Bruno Lowagie
Eric Rosaz wrote: > Great! > > I can wait until December for the next release. I > noticed that each release are published about 1 per > month so it will be perfect for me. I try to release once a month, but this time I will need a few extra weeks. The next release will probably be in the last we

Re: [iText-questions] Itext-format

2006-10-09 Thread Mark Hall
On Friday 06 October 2006 14:07, Henry Lu wrote: > Sorry I didn't make the question clearly. I am creating RTF not PDF > file. The format is This is currently not supported. Support will be added when I've got time. Greetings, Mark -- Don't you wish you had more energy... or less ambition? My GP

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

2006-10-09 Thread Mark Hall
On Friday 06 October 2006 17:13, Henry Lu wrote: > 1. how do i print a table with no border? Bruno answered this one. > 2. how do I print a table with first column lef-alignment and second > column right-alignment? Construct each Cell with a Paragraph and set the alignment on the Paragraph Paragra

Re: [iText-questions] Leading bug

2006-10-09 Thread dabesenwesen
Hello Paulo, it follows an example from within a cell. May that be the problem? public ByteArrayOutputStream getPDF() { PdfWriter writer = null; ByteArrayOutputStream baos = new ByteArrayOutputStream(); Document bstgt = new Document(PageSize.A4,68,68,159,68);

Re: [iText-questions] How to rotate cells in Rtf

2006-10-09 Thread Mark Hall
On Saturday 07 October 2006 12:02, Sudheendra N Singh wrote: > Please could some let me know how to rotate cells in a Rtf document. I > can do it in Pdf using PdfPCell. Regards, Rotating a cell is not supported in the RTF output. Greetings, Mark -- No live organism can continue for long to ex

Re: [iText-questions] Insert 'italic' image in rtf document

2006-10-09 Thread Mark Hall
On Monday 09 October 2006 10:30, Martin Schuhmann wrote: > Is it possible to insert images tagged as 'italics' with iText to a > rtf-document? It is possible with the latest release. Use the RtfDirectContent class like this: document.add(new RtfDirectContent("\\i")); document.add(image); document.

Re: [iText-questions] Can I use iText effectively to fix my problem?

2006-10-09 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Nilabhra Banerjee > Sent: Monday, October 09, 2006 11:45 AM > To: iText-questions@lists.sourceforge.net > Subject: [iText-questions] Can I use iText effectively to fix > my problem? > > Hi Every

Re: [iText-questions] Cover page with Detail Page

2006-10-09 Thread Steve Murphy
Possibility 2 is closer. I'm creating the document from scratch and I have onStartPage() to put the header on each page. But, the first page is a cover page that doesn't need the header, only the detail pages need it. The workaround that I've come up with is to add 'if(writer.getPageNumber()>1){' i

[iText-questions] Image and Text in Footer

2006-10-09 Thread Senthilkumar Thirugannasambandam
Hi        How to  have the Image and Text in Footer & Header  in iText...     Please provide me with the example..   I Request provide as soon as possible..   Thanks Senthilkumar.T - Take Surveys. Earn Cash. Influence the Fut

Re: [iText-questions] Leading bug

2006-10-09 Thread Paulo Soares
Create a self contained example inside a main() that I can run. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Monday, October 09, 2006 3:07 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-q

Re: [iText-questions] Leading bug

2006-10-09 Thread Paulo Soares
That can happen with Phrase but not with Paragraph assuming that we're dealing with document.add(). Please post a small complete example so that the problem can be reproduced. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTEC

[iText-questions] RE : Re: ALIGN_RIGHT with "|"

2006-10-09 Thread Eric Rosaz
Great! I can wait until December for the next release. I noticed that each release are published about 1 per month so it will be perfect for me. With regards ER --- Paulo Soares <[EMAIL PROTECTED]> a écrit : > Thare's a quick fix for this in the CVS. It's a > problem with multiple names with t

[iText-questions] Leading bug

2006-10-09 Thread dabesenwesen
Hello, both 'new Phrase(14, someString, getFont())' and 'new Paragraph(14, someString, getFont())' show the following behavior: Leading is only applied after manually inserted '\n' (newline) characters. Automatically wrapped text (longer than one line) is placed with very tight spacing. I'm

Re: [iText-questions] ALIGN_RIGHT with "|"

2006-10-09 Thread Paulo Soares
Thare's a quick fix for this in the CVS. It's a problem with multiple names with the same Unicode value. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Eric Rosaz > Sent: Monday, October 09, 2006 8:58 AM > To: iText-questions@lists.sourc

[iText-questions] Can I use iText effectively to fix my problem?

2006-10-09 Thread Nilabhra Banerjee
Hi Everybody,   I am encouraged by various discussion groups on  the web to look into iText. I have following problem, for which I need a solution. Do you think I can use iText to solve it?   Problem   My client needs to print a report their "registered users" details from the web. Currently

Re: [iText-questions] iText XmlParser - Barcode

2006-10-09 Thread [EMAIL PROTECTED]
I found the following solution:   Embedd a TrueType font with barcodes using FontFactory.register("c:\\windows\\fonts\\FONTNAME.ttf");   Then use the font name as listed in the \WINDOWS\FONT dir in the XML file:   br Lud

[iText-questions] Insert 'italic' image in rtf document

2006-10-09 Thread Martin Schuhmann
Hello, we have an application which process word files. I want to generate such documents with iText now and have the problem, that the application expects some images formatted as 'italics' (in word you would select the image and press the 'italics'-button). this sounds funny, but i can't change

[iText-questions] ALIGN_RIGHT with "|"

2006-10-09 Thread Eric Rosaz
Hello, I'd like to align to the right in a PdfPCell the folowing String: " | ER | 10/09/06 | Yellow | ". Here is how i proceed: PdfPCell pdfPCell = new PdfPCell(new Phrase(" | ER | 10/09/06 | Yellow | ")); pdfPCell.setHorizontalAlignment(Element.ALIGN_RIGHT); PdfPTable table = new PdfPTable(1);

Re: [iText-questions] Unable to open file.

2006-10-09 Thread Fabrizio Accatino
Hello,   Do you call document.close() before calling  Runtime.getRuntime().exec  ? Does iText fineshed its work?   Can you post a bigger piece of code?         Fabrizio     On 10/6/06, Goud, Srikanth <[EMAIL PROTECTED]> wrote:   Hi , I developed the reports using ITEXT, its really fast and easy