[iText-questions] PdfContentByte -another question

2005-01-09 Thread kgnurps
Hi, first of all I'd like to thank Paulo for explaining to me how to move a JTable graphic which is in a PdfContentByte. Everything works well. But my JTable has lost two borders and I want to repaint them. But cb.rectangle() does nothing. I also tried graphics.drawLine, but either the border is

[iText-questions] Can anyone please help

2005-01-09 Thread Sanyukta
Hi, I have already posted some problems but didn't get any satisfactory answers. Here is my problem: I have a rich text body from an email and i want to convert it to pdf format and save it for later use. Is this possible ??? Please help me with some codes to start with... Any help highly appreci

Re: [iText-questions] anchor in a template

2005-01-09 Thread Paul Krasucki
Great, it works! Thank you very much, Paulo! -Paul --- Paulo Soares <[EMAIL PROTECTED]> wrote: > Font anchorFont = new Font(5, 9); > Chunk ck = new > Chunk("http://www.yahoo.com",anchorFont); > ck.setAnchor("http://www.yahoo.com";); > ref = new Paragraph("link: "); > ref.add(ck); > > > -

RE: [iText-questions] Highlight, Hyperlink, Initial Zoom

2005-01-09 Thread Leonard Rosenthol
At 08:53 AM 1/9/2005, Youssef Eldakar wrote: You've been really helpful, thanks. If it is possible to set the initial zoom, is it also possible to set the initial scrollbar position? For the most part... Read the section in the PDF Reference on Destinations. Leonard --

Re: [iText-questions] anchor in a template

2005-01-09 Thread Paulo Soares
Font anchorFont = new Font(5, 9); Chunk ck = new Chunk("http://www.yahoo.com",anchorFont); ck.setAnchor("http://www.yahoo.com";); ref = new Paragraph("link: "); ref.add(ck); - Original Message - From: "Paul Krasucki" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; Sent: Sund

Re: [iText-questions] anchor in a template

2005-01-09 Thread Paul Krasucki
Thanks for your response. If the example were working with anchors, it would solve the problem, but it doesn't: the same anchor object when added directly to the document creates a correct link, if used in the table, it is just a plain text. Here is code example (simplified headers_watermarks.java,

RE: [iText-questions] Highlight, Hyperlink, Initial Zoom

2005-01-09 Thread Youssef Eldakar
You've been really helpful, thanks. If it is possible to set the initial zoom, is it also possible to set the initial scrollbar position? Youssef Eldakar Bibliotheca Alexandrina -Original Message- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Sun 1/9/

RE: [iText-questions] Highlight, Hyperlink, Initial Zoom

2005-01-09 Thread Leonard Rosenthol
At 07:54 AM 1/9/2005, Youssef Eldakar wrote: Sorry. One more question. Is it possible to hyperlink an area defined by an oval or a polygon like in HTML maps? With PDF 1.6/Acrobat 7 - yes. Prior versions require the use of a LOT of smaller rectangles to simulate the region. Leona

Re: [iText-questions] Highlight, Hyperlink, Initial Zoom

2005-01-09 Thread Leonard Rosenthol
At 07:43 AM 1/9/2005, Youssef Eldakar wrote: Is there a way in PDF to change the text highlight color? It is a user preference, but I believe may be changed from JavaScript. Is there a way to have a hyperlink open in a separate window? Sure. Add a "/NewWindow true" to the

RE: [iText-questions] Highlight, Hyperlink, Initial Zoom

2005-01-09 Thread Bruno
Quoting Youssef Eldakar <[EMAIL PROTECTED]>: > Sorry. One more question. Is it possible to hyperlink an area defined by an > oval or a polygon like in HTML maps? > > Youssef Eldakar > Bibliotheca Alexandrina > > -Original Message- > From: Youssef Eldakar > Sent: Sun

RE: [iText-questions] Highlight, Hyperlink, Initial Zoom

2005-01-09 Thread Youssef Eldakar
Sorry. One more question. Is it possible to hyperlink an area defined by an oval or a polygon like in HTML maps? Youssef Eldakar Bibliotheca Alexandrina -Original Message- From: Youssef Eldakar Sent: Sun 1/9/2005 2:43 PM To: [EMAIL PROTECTED]

[iText-questions] Highlight, Hyperlink, Initial Zoom

2005-01-09 Thread Youssef Eldakar
Is there a way in PDF to change the text highlight color? Is there a way to have a hyperlink open in a separate window? Is there a way to set an initial zoom for the viewer to display a certain document as? Youssef Eldakar Bibliotheca Alexandrina

Re: [iText-questions] anchor in a template

2005-01-09 Thread Paulo Soares
Have a look at the example headers_and_watermarks.java at http://itextpdf.sf.net. Use ColumnText.showTextAligned() to put the chunks. Note that if what you are doing is to just stamp something on an existing pdf you'll get better results with PdfStamper. - Original Message - From: "Paul

Re: [iText-questions] How to do this.... please help

2005-01-09 Thread Paulo Soares
Let me see, your question was: I know nothing about Java, iText and Lotus; how can I make a converter from Lotus to PDF? What kind of answer were you expecting? - Original Message - From: "Sanyukta" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Sent: Sunday, January 09, 2005

RE: [iText-questions] anchor in a template

2005-01-09 Thread Paul Krasucki
Thanks, information helps, but problem still unsolved... Is there any other way around it? Bottom line is I need to create a box with some text, page numbers, and link and put it in a predefined place on the page (under the page I copied from another pdf). Regards, -Paul --- Paulo Soares <[EMAIL P