RE: [iText-questions] Another Newbie

2003-06-25 Thread Bruno
Quoting "Jaladurgam, Ramana" <[EMAIL PROTECTED]>: > Is it legal to mix Document.add()'s and PdfContentByte operations to a > document ? Yes, for instance: it is done in PageEvents. > I mean, add some content using Document.add(), use PdfContentByte to add > some text and then using Document.add(

RE: [iText-questions] PDF overlapping text in IE

2003-06-25 Thread Bruno
Quoting [EMAIL PROTECTED]: > Hi Bruno, > >This works but what I exactly want to know is that put a anchor on a > descriptive field in PDF document and when we click that it should open a > new HTML page with an Image in it. For getting an Image it should post > request to the servlet? I don'

[iText-questions] RE: How do I replaced some chars font which was't in font file with other chars ?

2003-06-25 Thread Vengoal Chang
Hi Bruno, After renamed to eudc.ttf, PDF can display user font. But I have another question as following: If I have three chinese chars string "AABBCC" (AA,BB,CC presented as individual chinese DBCS char). "AA" and "CC" belong to same chinesefont1.TTF file. And "BB" belong to educ.ttf usr

RE: [iText-questions] PDF overlapping text in IE

2003-06-25 Thread Madhu . Vempati
Hi Bruno, This works but what I exactly want to know is that put a anchor on a descriptive field in PDF document and when we click that it should open a new HTML page with an Image in it. For getting an Image it should post request to the servlet?? Can you please help me out here? Thanks, Mad

Re: [iText-questions] Another Newbie

2003-06-25 Thread Lloyd Bergman
I'm not using Document.add(). I'm using ColumnText which has a PdfContentByte but what PdfContentByte method do I use and how?

RE: [iText-questions] Another Newbie

2003-06-25 Thread Jaladurgam, Ramana
Is it legal to mix Document.add()'s and PdfContentByte operations to a document ? I mean, add some content using Document.add(), use PdfContentByte to add some text and then using Document.add() operations. Now, will the third additions follow the second or the first. Regards, Ramana.JV. -O

Re: [iText-questions] Another Newbie

2003-06-25 Thread Paulo Soares
noWrap means that the text keeps going and going and going... There's no truncation. What you want to do is easy to do in PdfContentByte but quite impossible with something that uses Document.add(). Best Regards, Paulo Soares - Original Message - From: "Lloyd Bergman" <[EMAIL PROTECTED]>

RE: [iText-questions] Another Newbie

2003-06-25 Thread Lloyd Bergman
Yes, it was a typo, sorry. I meant: abc123 wxyz...456

[iText-questions] Split: Loss Information

2003-06-25 Thread yun wang
Is there some solution for the problem of losing information during Splitting? I lost annotations and also the form can not be fiiled like the original. Thanks, yun com.lowagie.tools.split_pdf This class can be used from the commandline to split an existing PDF file into two new files. Remark:

Re: [iText-questions] 'same font subset name' problem

2003-06-25 Thread Paulo Soares
It's an iText bug that should have generated the subset prefix in a random way. Of course that it wouldn't hurt if Acrobat was not that brain dead when merging fonts. I'll have a new version fixing this tomorrow. Best Regards, Paulo Soares - Original Message - From: "Jianhua Jin" <[EMAIL P

RE: [iText-questions] Another Newbie

2003-06-25 Thread Jaladurgam, Ramana
Do you have tab position for each row. abc123 wxyz..456 The tab position of second word in second line is less than the first. You want to implement by setting tab stops for every row. Or can I assume that it is a typo and you need something like. abc123

Re: [iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Matt Benson
You're setting objects as "session attributes", like a Map of key-value pairs tied to the HTTP session. -Matt --- "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> wrote: > Bruno: > > In the sample code you gave me, I don't understand > what a couple of lines > are doing. The first one is: >

Re: [iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Bruno: In the sample code you gave me, I don't understand what a couple of lines are doing. The first one is: MyPdfGenerator generator = (MyPdfGenerator) session.getAttribute("PDF"); I understand that it's creating a new generator object but I don't know what the getAttibute is for (the oth

Re: RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Cinzia
Excellent, this has really worked just fine. Thank you very much for pointing this out Paulo, and for a clear explanation Mark, about the implementation differences. Cinzia > > From: Paulo Soares <[EMAIL PROTECTED]> > Date: 2003/06/25 Wed PM 02:09:03 GMT > To: 'Mark Hall' <[EMAIL PROTECTED]>,

RE: [iText-questions] Another Newbie

2003-06-25 Thread Lloyd Bergman
Thanks for your help. I was able to use the PdfContentByte to center my headers. I haven't tried NO_BORDER yet but I do have a question about the dots. In my example: abc123 wxyz..456 I thought of making it a PdfPTable, adding a cell for which I set noWrap to true. I'm as

[iText-questions] 'same font subset name' problem

2003-06-25 Thread Jianhua Jin
I was combining two iText-pdf files into one in Adobe Acrobat Writer (through menubar Document-Insert Pages), I got the error message 'These documents contain subset fonts that have the same name and connot be merged'. If I do need to embed the font with the file, what options I have to prevent th

Re: [iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Sorry for the freaking SPAM again. My stupid MS Outlook keeps going psycho on me. Kenny - Original Message - From: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 11:11 AM Subject: [iText-questions] Example of HTML "please wait" screen

Re: [iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Sorry for the freaking SPAM again. My stupid MS Outlook keeps going psycho on me. Kenny - Original Message - From: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 11:11 AM Subject: [iText-questions] Example of HTML "please wait" screen

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] Example of HTML "please wait" screen before PDF generation

2003-06-25 Thread Kenny G. Dubuisson, Jr.
Hello all. I've been working on the capability of a "please wait" screen that will display while my PDF is being generated. I got some code from Bruno and I've been trying to make it work to no avail. What the code is supposed to do is write to the output stream in HTML format the "please wait"

[iText-questions] New release itext-paulo-121

2003-06-25 Thread Paulo Soares
Changes in itext-paulo-121 (2003-06-25) - fixed a bug with indexed transparent PNG. - restored support for PNG and JPEG in RTF. Added support in RTF for WMF. - created several new list types (see the examples). Contribution by Michael Niedermair. - fixed a seek overflow fo

RE: [iText-questions] Implementing dot-dash strokes

2003-06-25 Thread Paulo Soares
You are implementing it the correct way. What I would like to ask is what would you consider a normal stroke as opposed to the bizzare. Do you know what you want? Best Regards, Paulo Soares > -Original Message- > From: Jaladurgam, Ramana [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25,

RE: [iText-questions] Implementing dot-dash strokes

2003-06-25 Thread Jaladurgam, Ramana
Any good ideas to implement Dash-Dot strokes for polylines? Regards, Ramana.JV. -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 10:15 AM To: 'Jaladurgam, Ramana' Cc: [EMAIL PROTECTED] Subject: RE: [iText-questions] Implementing dot-dash str

RE: [iText-questions] Implementing dot-dash strokes

2003-06-25 Thread Paulo Soares
If the lines are connected you can have a single moveTo followed by a sequence of lineTo but the result will always be bizzare with a line width that is six times bigger than the dot. Best Regards, Paulo Soares > -Original Message- > From: Jaladurgam, Ramana [SMTP:[EMAIL PROTECTED] > Sent

Re: [iText-questions] Image Auto Division?

2003-06-25 Thread Girish Tahiliani
Hi , I check the width , height with corresponding DPI and and also If I pass the images through Adobe Distiller it auto divides image into 4 page PDF . I am trying to achive the same functionality . I will try PDFContentByte to see if I can achive that and will inform you of the result. Is the

RE: [iText-questions] Implementing dot-dash strokes

2003-06-25 Thread Jaladurgam, Ramana
Hello, I am implementing Dot strokes for a polyline(since polyline is not directly supported, I am drawing using moveTo and lineTo combinations) and at the intersection of lines, I am getting a bizzare look. I am using the following code: mPdfContentByte.setLineWidth(6); mPdfContentB

RE: [iText-questions] Image Auto Division?

2003-06-25 Thread Paulo Soares
How do you know that the image is bigger than A4? Are you making all the DPI calculations? If it's really bigger it's possible to place the same image in all the pages but in different positions and clipped but you'll have to use PdfContentByte. Best Regards, Paulo Soares > -Original Message-

[iText-questions] Image Auto Division?

2003-06-25 Thread Girish Tahiliani
Hi All,       I am stuck at some weird problem, maybe someone can help me out.       I have to create a PDF from Image(Jpeg or Gif) .     But the catch is if the Image is Bigger that A4 Size , than the a portion of Image (which fits in A4 size) should come on say 1st page of PDF and rest pa

Re: [iText-questions] Creating a Header and a Footer in a tagmap

2003-06-25 Thread Bruno
Quoting Kristian Du <[EMAIL PROTECTED]>: > I have read in one of the previous postings that I should now create a > tagmap file to define what the and the tags are, but I > have no idea on how to do this. Where have you read this? I don't use headers and footers that are in the XML. I add them

RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Paulo Soares
It also works for getInstance(byte[]). Best Regads, Paulo Soares > -Original Message- > From: Mark Hall [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 14:06 > To: Cinzia S; [EMAIL PROTECTED] > Subject: Re: [iText-questions] testing for jpeg encoding > > -BEGIN PGP SI

Re: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 25 June 2003 13:04, Cinzia S wrote: > I'm sorry Paulo, but I don't get it, in JAI I'm encoding an image so that I > get a jpeg encoded format, RTF accepts jpgs so it should be happy with it. > The only way to add this to an RTF document is

[iText-questions] Creating a Header and a Footer in a tagmap

2003-06-25 Thread Kristian Du
Hi, I know that this question has been answered quiet a few times by now, but I am still not very sure on how to achieve this. This is what I have for now: --- Start of XML file Sample Header Sample Footer Some sample text som

RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Paulo Soares
The question here is simple. You create the Image with getInstance. If an exception was not thrown and calling image.type() returns Element.JPEG then you have a jpeg. Best Regards, Paulo Soares > -Original Message- > From: Cinzia S [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003

Re: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Cinzia S
I'm sorry Paulo, but I don't get it, in JAI I'm encoding an image so that I get a jpeg encoded format, RTF accepts jpgs so it should be happy with it. The only way to add this to an RTF document is by creating a com.lowagie.text.Image, which I do by using static Image's getInstance() method. Why a

RE: [iText-questions] Pdf Fill

2003-06-25 Thread Bruno
Quoting SARGHI Mircea Ionut <[EMAIL PROTECTED]>: > Do you have any samples in C# for fdf/pdf mergeing? > > What I am trying to do here is to save pdf's resulting by parsing pdf with > fdf. > Also, I saw that some objects from the java component are missing in the > ItextSharp component(PdfStamper

RE: [iText-questions] Pdf Fill

2003-06-25 Thread Paulo Soares
See http://www.ujihara.jp/iTextdotNET/. It's in J# but it also has examples in C#. Best Regards, Paulo Soares > -Original Message- > From: SARGHI Mircea Ionut [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 11:30 > To: Paulo Soares; [EMAIL PROTECTED] > Subject: RE: [iText-

RE: [iText-questions] Pdf Fill

2003-06-25 Thread SARGHI Mircea Ionut
Do you have any samples in C# for fdf/pdf mergeing? What I am trying to do here is to save pdf's resulting by parsing pdf with fdf. Also, I saw that some objects from the java component are missing in the ItextSharp component(PdfStamper, FdfReader, AcroFields, etc.). Am i rigth, or I am doing some

RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Paulo Soares
> -Original Message- > From: Cinzia S [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 11:01 > To: Paulo Soares; [EMAIL PROTECTED] > Subject: Re: [iText-questions] testing for jpeg encoding > > Does this mean that > 1) plain RGB is not a jpeg thing > jpeg is a com

Re: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Cinzia S
Does this mean that 1) plain RGB is not a jpeg thing 2) there is no way I can skip creating a new jpeg file? Thank you Cinzia - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'Cinzia S'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 10:46 AM Sub

RE: [iText-questions] testing for jpeg encoding

2003-06-25 Thread Paulo Soares
When the jpeg is loaded by JAI it's converted to plain RGB. You'll have to save it again to jpeg with JAI. Best Regards, Paulo Soares > -Original Message- > From: Cinzia S [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 10:25 > To: [EMAIL PROTECTED] > Subject: [iText-quest

RE: [iText-questions] reduce size of PDFs with huge fonts

2003-06-25 Thread Paulo Soares
So you are saying that the marketing department wants the Optima font but is willing to have a pdf with a lousy raster quality? There are another options: - use a true type Optima. iText will subset it. - create two versions of the document: one with Optima and another with the built-in fonts wit

RE: [iText-questions] Pdf Fill

2003-06-25 Thread Paulo Soares
That's supported. You have examples in www.geocities.com/itextpdf. Best Regards, Paulo Soares > -Original Message- > From: SARGHI Mircea Ionut [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 7:52 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Pdf Fill > > Hi guys! >

RE: [iText-questions] Barcode Question

2003-06-25 Thread Paulo Soares
What mod 10 check digit? UCC is a plain barcode 128 that starts with a FNC1 code. If that mod 10 depends on the particular AI you are using, you must calculate it yourself. That doesn't depend on the symbology rather on the application. Best Regards, Paulo Soares > -Original Message- > Fr

[iText-questions] testing for jpeg encoding

2003-06-25 Thread Cinzia S
Hi, I'm trying to add a jpeg image to an rtf document. First I read in a jpg, scale it and output it to a ByteArrayOutputStream (using JAI). However, when I convert this image data to an instance of com.lowagie.text.Image and test for its type, it doesn't seem to be recongized as a jpeg, but as ra

RE: [iText-questions] reduce size of PDFs with huge fonts

2003-06-25 Thread fabrice . duermael
We are using an Optima type 1 font (normal,bold,italic). This is a REQUIREMENT of our marketing department. So, we can't use a built-in font. The tests we have made show that we get from a 3K Text with Optima font (150K), a PDF TIFF Image 35 K large. But we would like to make this with iText API

RE: [iText-questions] reduce size of PDFs with huge fonts

2003-06-25 Thread fabrice . duermael
We have no really choice Best regards, Fabrice DUERMAEL |-+> | | [EMAIL PROTECTED] | | | Internet | | || | | 24/06/0