[iText-questions] (no subject)

2003-07-23 Thread John Cerwin
All, We've noticed that images rendered in a PDF using the tag typically double in size. As a result we're forced to manually size the image. For example: Is there an easy way to avoid "manual" sizing? --- This SF.Net email sponsored by:

Re: [iText-questions] How to set values for Combo Boxes/ Check Boxes/ Radio buttons

2003-07-23 Thread Paulo Soares
You must know; it may be On, Off, Yes, No or something else. I've considered having the information available about the options from the appearances but it would only make sense in an interactive environment. Best Regards, Paulo Soares - Original Message - From: <[EMAIL PROTECTED]> To: <[

Re: [iText-questions] Preserving bookmarks in PdfCopy

2003-07-23 Thread Paulo Soares
I intend to support bookmarks in the new PdfCopy, probably in September. Best Regards, Paulo Soares - Original Message - From: "G. Ken Holman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 21:37 Subject: Re: [iText-questions] Preserving bookmarks in PdfCopy

Re: [iText-questions] Question.

2003-07-23 Thread Leonard Rosenthol
At 02:29 PM 7/23/2003 -0500, Harold Jimenez wrote: Let us suppose that I do have a word document (already created) and I want to translate it into PDF document. How should I use the IText library to be able to translate the whole word document into PDF without having to use the add, paragraph, a

Re: [iText-questions] Preserving bookmarks in PdfCopy

2003-07-23 Thread Leonard Rosenthol
At 04:37 PM 7/23/2003 -0400, G. Ken Holman wrote: Is there a magic incantation for preservation? Not unless you want to write the lower level code to iText to add it. Could such code be added outside of the PdfCopy call, or is it obliged to be deep inside PdfCopy? Deep inside...

Re: [iText-questions] Re: difficulties printing generated pdf files due to size

2003-07-23 Thread Leonard Rosenthol
At 04:42 PM 7/23/2003 +0100, Martin Koel wrote: Hi Leonard, I turned 'print as image on' and it actually makes the spool file smaller!! It is then 7 mb in stead of over 30 mb (i cancelled the job after growing bigger than 30mb). Still ridiculous ofcourse for an 11kb file.. Somebody else has an id

[iText-questions] Question.

2003-07-23 Thread Harold Jimenez
Dear sirs.   I have been using iText library to build a web-based aplication. This library is very useful. Congratulations.   I have got a question:   Let us suppose that I do have a word document (already created) and I want to translate it into PDF document.   How should I use the

Re: [iText-questions] tables within a header

2003-07-23 Thread Paulo Soares
You don't need (and shouldn't use) fitsPage to set the tabe width. Use table.setTotalWidth(document.right() - document.left()) and place the table at position document.left(). Best Regards, Paulo Soares - Original Message - From: "Rolando Cuevas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

[iText-questions] Re: rectangle and line positions

2003-07-23 Thread David Thielen
And the answer is ... do a setLineWidth(0) - Original Message - From: David Thielen To: itext Sent: Wednesday, July 23, 2003 2:53 PM Subject: rectangle and line positions Please reply to me too as e-mail to iText is not getting to me (spam filter proble

[iText-questions] rectangle and line positions

2003-07-23 Thread David Thielen
Please reply to me too as e-mail to iText is not getting to me (spam filter problem).   I am drawing a rectangle     rectangle (x1, y1, wid, ht )   And then a line     moveTo( x1, y1 )     lineTo( x1 + wid, y1 )   And the line, which is 1/2 pt wide, is drawn with some of the rectangle belo

Re: [iText-questions] Preserving bookmarks in PdfCopy

2003-07-23 Thread G. Ken Holman
At 2003-07-23 09:51 -0400, Leonard Rosenthol wrote: At 9:32 AM -0400 7/23/03, G. Ken Holman wrote: Hi everyone! I hope someone can help me with my use of PdfCopy. My bookmarks in my source are not being preserved in my target. That is correct. At this time, PdfCopy doesn't suppor

[iText-questions] How to set values for Combo Boxes/ Check Boxes/ Radio buttons

2003-07-23 Thread Gopal . Bairwa
Hi, I have a pdf template which contains checkbox,radio button , combo box etc. How to set values for these kinds of controls. I am getting Field s using getAcroFields() and then setting the values using setField(key,value). But I do not what value I should pass so that a checkbox gets check

Re: [iText-questions] tables within a header

2003-07-23 Thread Rolando Cuevas
From: Yuan Chang <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [iText-questions] tables within a header Date: Wed, 23 Jul 2003 11:41:32 +0100 Could anyone give me an example of how i could have a table within the header on my pdf page? Included in this mail is sam

[iText-questions] Re: difficulties printing generated pdf files due to size

2003-07-23 Thread Martin Koel
Hi Leonard, I turned 'print as image on' and it actually makes the spool file smaller!! It is then 7 mb in stead of over 30 mb (i cancelled the job after growing bigger than 30mb). Still ridiculous ofcourse for an 11kb file.. Somebody else has an idea?? Thanks, Martin --- Leonard Rosenthol <

[iText-questions] Javascript in PDF during application initialization

2003-07-23 Thread Martin Koel
Hi all, Anybody knows how to execute JavaScript code that may only be executed during initialization of the document. I want to use the app.hideMenuItem() function, but cannot get it to run. While other methods will run as they are not limited due to 'pdf security' rules. Code that wont work:

RE: [iText-questions] Re: Watermark problem

2003-07-23 Thread Mark Goking
By the way, the word "test" appears on the 2ndpage because of the line document.newPage(); But if I take that out, the "test" word appears in the first page but the so called watermark images don’t appear anymore. -Original Message- From: Bruno [mailto:[EMAIL PROTECTED] Sent: Wedne

RE: [iText-questions] Re: Watermark problem

2003-07-23 Thread Mark Goking
Hi bruno I remember you telling me before that implementing a watermark image onto the document and combining it with xml tagmap wont work. Will it be possible in a future version of iText? I copied some code from D:\iText\examples\Chap1003.java and combined it with this line of code XmlParser

Re: [iText-questions] continuous line that changes

2003-07-23 Thread David Thielen
Please reply to me as well as the list - my spam filter is dropping a lot of the mail to the list (trying to figure it out). That works if the line doesn't change. But I also have: cb.setLineWidth(72 / 4 ); cb.moveTo(72 * xInd, (9 - yInd) * 72); cb.lineTo(72 * xInd + 72, (9 - yInd) * 72)

Re: [iText-questions] difficulties printing generated pdf filesdue to size

2003-07-23 Thread Leonard Rosenthol
At 3:15 PM +0100 7/23/03, Martin Koel wrote: The generated files are very small (11 kilobytes), but when i print it to a printer it turns out that the traffic generated over the network line is about 30 Megabytes per page! Make sure that the folks don't have "Print as Image" enabled in the Acroba

Re: [iText-questions] continuous line that changes

2003-07-23 Thread Leonard Rosenthol
At 8:35 AM -0600 7/23/03, David Thielen wrote: I tried this with: moveTo ( 72, 72 ) lineTo (144, 72 ) lineTo (144, 144 ) lineTo (72, 144 ) lineTo ( 72, 72 ) stroke() The first 3 corners were nicely joined. But the corner at 72, 72 was not - it was a clear start and end there

[iText-questions] difficulties printing generated pdf files due to size

2003-07-23 Thread Martin Koel
Hello all, Today I changed the pdf_concat.java file from the Lowagie util package a bit, so that it prints a disclaimer text (light grey, font size 45, 45 degrees, around 20 textlines parallell) all over the concatenated pages. The generated files are very small (11 kilobytes), but when i print i

Re: [iText-questions] continuous line that changes

2003-07-23 Thread David Thielen
Please reply to me as well as the list - my spam filter is dropping a lot of the mail to the list (trying to figure it out). I tried this with: moveTo ( 72, 72 ) lineTo (144, 72 ) lineTo (144, 144 ) lineTo (72, 144 ) lineTo ( 72, 72 ) stroke() The first 3 corners were nice

Re: [iText-questions] RTF package support for nested tables

2003-07-23 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 23 July 2003 08:28, ashish shrivastava wrote: > As per documentation, RTF package does not support nested tables. I just > wonder, is there any workaround to create RTFs with nested table. Well you could create the document without the nes

Re: [iText-questions] Preserving bookmarks in PdfCopy

2003-07-23 Thread Leonard Rosenthol
At 9:32 AM -0400 7/23/03, G. Ken Holman wrote: Hi everyone! I hope someone can help me with my use of PdfCopy. My bookmarks in my source are not being preserved in my target. That is correct. At this time, PdfCopy doesn't support copying bookmarks. Is there a magic incantation for preservati

[iText-questions] Preserving bookmarks in PdfCopy

2003-07-23 Thread G. Ken Holman
Hi everyone! I hope someone can help me with my use of PdfCopy. My bookmarks in my source are not being preserved in my target. Looking at http://www.lowagie.com/iText/tutorial/ch13.html I don't see any reference to bookmarks. I note in http://www.lowagie.com/iText/history6x.html that bookmar

[iText-questions] tables within a header

2003-07-23 Thread Yuan Chang
Could anyone give me an example of how i could have a table within the header on my pdf page? I'm currently trying to use the HeaderFooter object to display a title, but i'm having difficulty in setting the vertical alignment of the text with in the rectangular border (how do you do this? There do

[iText-questions] Re: iText

2003-07-23 Thread Bruno
Quoting Annu Ittyachen <[EMAIL PROTECTED]>: > Thank you for taking the time to reply. I could not read the tiff image(it > didnt have any compression) using the sample that was in the iText site and > hence my doubt. Let me try again. be sure to use the examples on Paulo's site: http://www.geocit

[iText-questions] PdfContentByte

2003-07-23 Thread Margarita Lïpez del Campo
I'm reading the on-line document of iText and in chapter 10 I've read that exist one API of class PdfContentByte and one PDF Reference manual. The link doesn't work. Could somebody tell me where I can find these??? Thanks a lot. ¡¡¡OFERTA VERANO: TISCALI ADSL TOP 24 h. a 9,95 €/mes más música y

Re: [iText-questions] Re: Watermark problem

2003-07-23 Thread Paulo Soares
Anything with Document.add() in a page event stands a good chance of not working. Best Regards, Paulo Soares - Original Message - From: "MK Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 2:09 Subject: [iText-questions] Re: Watermark problem > It works! T

Re: [iText-questions] Adding SVG images to table cells

2003-07-23 Thread Paulo Soares
Render your svg to a template and convert it to an Image. This image is vectorial, nothing is lost. Use the image as any other image. Best Regards, Paulo Soares - Original Message - From: "Chris Farmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 1:43 Subjec

Re: [iText-questions] Can't add images to PDF

2003-07-23 Thread Paulo Soares
This is not java, is it? Direct your questions to the port developer. Best Regards, Paulo Soares - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 0:51 Subject: [iText-questions] Can't add images to PDF > > > > > Hi > Can so

Re: [iText-questions] Re: Watermark problem

2003-07-23 Thread Bruno
Quoting MK Lee <[EMAIL PROTECTED]>: > > > I tried to insert a watermark with : > > > public void onEndPage(PdfWriter writer, Document document) { > > >System.out.println("end added" + doc.add(page.waterMark) + ":" + > > > page.waterMark.offsetX() + " x " + page.waterMark.offsetY()); > >

[iText-questions] RTF package support for nested tables

2003-07-23 Thread ashish shrivastava
Hi All As per documentation, RTF package does not support nested tables. I just wonder, is there any workaround to create RTFs with nested table. Thanks in advance for your valuable inputs Regards Ashish _ Travel plans? Click here.

[iText-questions] Re: Watermark problem

2003-07-23 Thread MK Lee
It works! Thx. But why the original codes didnt work? "Paulo Soares" <[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED] ???... > public void onEndPage(PdfWriter writer, Document document) { > writer.getDirectContentUnder().addImage(...); > } > > - Original Message - > From: "MK Lee" <[EMA

Re: [iText-questions] setting page to show in pdf-stream

2003-07-23 Thread Bruno
Quoting [EMAIL PROTECTED]: > hello everybody! > > i have a servlet opening pdf-documents and streaming them. > is there a way to set the page to show up in the acrobat reader? > (something like pdfdoc.setPageToShow(x)) http://www.lowagie.com/iText/tutorial/ch11.html#openaction

[iText-questions] send printing event

2003-07-23 Thread SIMON Pascal
Hello, I need to prevent user's action when the pdf is loading in an iframe from the server response. I'd like to know if the acrobat plugin sent an event to ie or something like this when it has send the pdf to the printer I tried the onreadystatechange event of the iframe but this event is