[iText-questions] Wrapped Text In A Template

2003-03-12 Thread Greg Alexander
I am building a business form and need the ability to place wrapped text at any position on the screen. Templates do not appear to support Paragraphs. How do I place wrapped text at any position on the screen? Thanks, Greg --- This SF.net

[iText-questions] Problem with TIF File

2003-03-12 Thread Huy Ho
Dear, When I used the sample to insert TIF File into PDF File. But there is no image in PDF File. Why? Tell me. Best regards, Huy. I attach my TIF File that's not shown in PDF FileDo you Yahoo!? Yahoo! Web Hosting - establish your business online<>

Re: [iText-questions] 0.97

2003-03-12 Thread David Thielen
I've found that -target generally doesn't work. - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Matt Benson" <[EMAIL PROTECTED]>; "itext-questions" <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 3:21 PM Subject: Re: [iText-questions] 0.97 > I compiled it

Re: [iText-questions] modifying metadata

2003-03-12 Thread Paulo Soares
And now you have a stream as a direct object, which is illegal. Best Regards, Paulo Soares - Original Message - From: "Matt Benson" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; "itext-questions" <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 23:11 Subject: RE: [iText-q

Re: [iText-questions] modifying metadata

2003-03-12 Thread Paulo Soares
The correct code is: import java.io.FileOutputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import com.lowagie.text.pdf.*; public class MinimalModifyPdfMetadata { public byte[] modifyMetadata(String pdf) throws Exception { ByteArrayOutputSt

Re: [iText-questions] 0.97

2003-03-12 Thread Paulo Soares
I compiled it with 1.3.1. Even compiling in 1.4 with -target 1.1 won't do. Best Regards, Paulo Soares - Original Message - From: "Matt Benson" <[EMAIL PROTECTED]> To: "Matt Benson" <[EMAIL PROTECTED]>; "itext-questions" <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 19:10 Subject: Re

Re: [iText-questions] RE: Font Exception

2003-03-12 Thread Paulo Soares
I don't know what configuration you have but the problem is on your side. Are you sure you aren't using an IDE where the resources are supposed to be elsewhere, such as websphere? Best Regards, Paulo Soares - Original Message - From: "Tony Costanzo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

RE: [iText-questions] modifying metadata

2003-03-12 Thread Matt Benson
Okay, I think I found it. Of course using PRStream wouldn't be any better than PdfStream because PRStream extends PdfStream and doesn't override toPdf(). PdfStream.toPdf() is implemented as always returning null. I didn't know why that should be, so I changed it. It was: public byte[] toPd

RE: [iText-questions] modifying metadata

2003-03-12 Thread Matt Benson
One obvious problem is that this example was using PdfStream, which always returns null from toPdf. However, I had already been using PRStream before that with the same results. I am going back to PRStream in the debugging to which I have been forced to turn, due to the terrible problem of time z

[iText-questions] 0.97

2003-03-12 Thread Matt Benson
I got 0.97 working. I forgot that with Ant you have to actually change the value of $JAVA_HOME in order to use a different compiler. I was only modifying $PATH which was not working, of course... __ Do you Yahoo!? Yahoo! Web Hosting - establish you

RE: [iText-questions] modifying metadata

2003-03-12 Thread Matt Benson
Okay, I am STUCK. I can play with XMP/RDF, that's fine, and I've been doing it. But I am finding myself unable to actually change the metadata of a given PDF. I have culled together a fairly short example; can anyone see any obvious problems? import java.io.FileOutputStream; import java.io.Buf

[iText-questions] RE: Font Exception

2003-03-12 Thread Tony Costanzo
I will ask one more time :) Any reason why this exception might be occuring: 2860: Helvetica not found as resource. (The *.afm files must exist as resources in the package com.lowagie.text.pdf.fonts) 2860: Exception = ExceptionConverter: com.lowagie.text.DocumentException: Helvetica not fo

Re: [iText-questions] 0.97

2003-03-12 Thread Matt Benson
Paulo 112 seems to work, by the way... --- Matt Benson <[EMAIL PROTECTED]> wrote: > Did anyone ever get 0.97 working? I am trying to > run > against Java 1.2.2 on Solaris, and I continue to get > NoSuchMethodErrors no matter what I do. I have > compiled with 1.3 and 1.4 to no avail. I have tri

[iText-questions] 0.97

2003-03-12 Thread Matt Benson
Did anyone ever get 0.97 working? I am trying to run against Java 1.2.2 on Solaris, and I continue to get NoSuchMethodErrors no matter what I do. I have compiled with 1.3 and 1.4 to no avail. I have tried to compile on 1.2 but get lots of "Explicit cast needed to convert char to byte" compilatio

Re: [iText-questions] Can you have a second, HTML, stream going to one browser

2003-03-12 Thread Kenny G. Dubuisson, Jr.
Sure np. I'm in no hurry for that as long as I get it in the next 5 mins (just kidding of course). Kenny - Original Message - From: "Bruno Lowagie" <[EMAIL PROTECTED]> To: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 12:47 PM Subject:

Re: [iText-questions] Can you have a second, HTML, stream going toone browser

2003-03-12 Thread Bruno Lowagie
Kenny G. Dubuisson, Jr. wrote: Sounds great but way over my head :P...would you mind sharing your code for me to look at. Thanks so much Bruno. If you can wait till tomorrow (It's now almost 8PM overhere). I'm at home now and my computer is kind of to slow (Pentium II) and to dumb (about 128Kb

Re: [iText-questions] Can you have a second, HTML, stream going to one browser

2003-03-12 Thread Kenny G. Dubuisson, Jr.
Sounds great but way over my head :P...would you mind sharing your code for me to look at. Thanks so much Bruno. Kenny - Original Message - From: "Bruno" <[EMAIL PROTECTED]> To: "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 12:28 PM

Re: [iText-questions] Can you have a second, HTML, stream going to one browser

2003-03-12 Thread Bruno
Quoting "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]>: > I hope this isn't off topic. I want to display a "Please Wait" HTML window > while my fairly long PDF generation takes place in the browser window. Is > there a way to show the wait window, generate the PDF into Acrobat Reader > in > the b

Re: [iText-questions] Can you have a second, HTML, stream going to one browser

2003-03-12 Thread Matt Benson
This sounds like a matter for HTML and Javascript. -Matt --- "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> wrote: > I hope this isn't off topic. I want to display a > "Please Wait" HTML window > while my fairly long PDF generation takes place in > the browser window. Is > there a way to show th

[iText-questions] Can you have a second, HTML, stream going to one browser

2003-03-12 Thread Kenny G. Dubuisson, Jr.
I hope this isn't off topic. I want to display a "Please Wait" HTML window while my fairly long PDF generation takes place in the browser window. Is there a way to show the wait window, generate the PDF into Acrobat Reader in the browser, and then close the wait window? I've not figured a way to

Re: [iText-questions] Problem when storing Document in an array

2003-03-12 Thread Matt Benson
I don't know why you would want to do this, but it looks like your main problem is that you need to create your writer at least before you call open(), maybe sooner. -Matt --- Chieh Tong <[EMAIL PROTECTED]> wrote: > I'm creating an array of Document and PdfWriter > objects which I intend to use l

[iText-questions] Problem when storing Document in an array

2003-03-12 Thread Chieh Tong
I'm creating an array of Document and PdfWriter objects which I intend to use later. However, I can't seem to write to them, even though I have opened them before inserting to the array. It works, however, if I open them after getting them from the array. Watermarks also do not show up (when I a

RE: [iText-questions] Drawing a Diagonal Line

2003-03-12 Thread Paulo Soares
That's not possible with Table. By the way, there's a new PdfPCellEvent that is very handy for this kind of things. Best Regards, Paulo Soares > -Original Message- > From: Ricky M. Codizar [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 13:20 > To: '[EMAIL PROTECTED]' > Subjec

RE: [iText-questions] Can I Attach files

2003-03-12 Thread Paulo Soares
Well, yes. Given enough code, everything is supported. Best Regards, Paulo Soares > -Original Message- > From: Matt Benson [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 14:33 > To: Paulo Soares; 'r'; [EMAIL PROTECTED] > Subject: RE: [iText-questions] Can I Attach files

RE: [iText-questions] Nested Table

2003-03-12 Thread Paulo Soares
Only tables of the same kind. Best Regards, Paulo Soares > -Original Message- > From: Ricky M. Codizar [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 12:55 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] Nested Table > > Hi! > > Is it possible to nest a Table

RE: [iText-questions] PdfPTable row span

2003-03-12 Thread Paulo Soares
A nested table. Best Regards, Paulo Soares > -Original Message- > From: Ricky M. Codizar [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 13:39 > To: '[EMAIL PROTECTED]' > Subject: Re: [iText-questions] PdfPTable row span > > Hi! > > I know that rowspan is not supported

RE: [iText-questions] Can I Attach files

2003-03-12 Thread Matt Benson
Just curious... does "not directly supported" mean that it can be done with the current APIs if the client knows enough about PDF structure? -Matt --- Paulo Soares <[EMAIL PROTECTED]> wrote: > Currently it's not directly supported. I'll have it > in the next version. > > Best Regards, > Paulo So

RE: [iText-questions] why are the text fields not editable any more after using PdfStam per to merge the fields ?

2003-03-12 Thread Paulo Soares
You are flattening the file with stamp.setFormFlattening(true). This eliminates all the fields and only keeps the appearances. Eliminate that line to keep the fields. Best Regards, Paulo Soares > -Original Message- > From: Lei, The-Viet [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 12,

Re: [iText-questions] PdfPTable row span

2003-03-12 Thread Kenny G. Dubuisson, Jr.
I just use 2 rows and turn off the border between them. HTH, Kenny - Original Message - From: "Ricky M. Codizar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 7:39 AM Subject: Re: [iText-questions] PdfPTable row span > Hi! > > I know that rowspan is not supp

[iText-questions] why are the text fields not editable any more after using PdfStamper to merge the fields ?

2003-03-12 Thread Lei, The-Viet
Hello power users of iText, I use the following method to merge text fields. The side effect is that the text fields are not editable any more in the acrobat reader 5.1. Does any body know why and how to avoid that? Thank you for your reading and help, Best regards The-Viet Lai p

Re: [iText-questions] PdfPTable row span

2003-03-12 Thread Ricky M. Codizar
Hi! I know that rowspan is not supported at PdfPTable, is there any workaround to simulate a rowspan in PdfPTable? Kindly advise. Thanks a lot. Ricky M. Codizar [EMAIL PROTECTED] --- This SF.net email is sponsored by:Crypto Challenge

Re: [iText-questions] Drawing a Diagonal Line

2003-03-12 Thread Ricky M. Codizar
Hi! Is there any other ways to draw a diagonal line on a Table with a certain colSpan and rowSpan. I know it is better to use PdfPTable and PdfPTableEvent in case like this but I badly needed the rowSpan on some parts of the table. Kindly advise or if you could provide sample code is highly ap

RE: [iText-questions] printing problems

2003-03-12 Thread Jubeau Gaëlle (Axen)
I have seen that it comes from an image I have added to the pdf. I have tried to print the examples and I am not able to print chap0613.pdf, but I am able to print chap0610.pdf and chap0609.pdf. I d'ont know if there is a link between my case and the example or if it comes from my printer configura

Re: [iText-questions] Nested Table

2003-03-12 Thread Ricky M. Codizar
Hi! Is it possible to nest a Table and PdfPTable? or it just Table->Table and PdfTable->PdfTable? Thanks. Ricky M. Codizar [EMAIL PROTECTED] --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register

RE: [iText-questions] printing problems

2003-03-12 Thread Paulo Soares
Explain you problem in more detail. Best Regards, Paulo Soares > -Original Message- > From: Jubeau Gaëlle (Axen) [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 12:19 > To: '[EMAIL PROTECTED]' > Subject: [iText-questions] printing problems > > Hi All, > > I have a probl

Re: [iText-questions] PdfPTableEvent

2003-03-12 Thread Ricky M. Codizar
Yes Paulo got it! My mistake i overlooked :( (B (BThank you always. (B (BPaulo Soares $B$5$s$O=q$-$^$7$?(B: (B>It looks like you compiled the modules but forgot to put MyTableEvent.class (B>in the classpath. (B> (B>Best Regards, (B>Paulo Soares (B (B (BRicky M. Codizar [EMAIL PRO

[iText-questions] printing problems

2003-03-12 Thread Jubeau Gaëlle (Axen)
Hi All, I have a problem when I want to print my PDF file : nothing append. Before I was able to print an other version of this PDF (created with lines, text and forms), but for this version (only text and lines) I have a problem. Does someone have an idea? Thanks Gaëlle > Gaëlle JUBEAU > AXEN -

RE: [iText-questions] PdfPTableEvent

2003-03-12 Thread Paulo Soares
It looks like you compiled the modules but forgot to put MyTableEvent.class (Bin the classpath. (B (BBest Regards, (BPaulo Soares (B (B> -Original Message- (B> From: Ricky M. Codizar [SMTP:[EMAIL PROTECTED] (B> Sent: Wednesday, March 12, 2003 12:19 (B> To: Paulo Soares (B> Cc:

Re: [iText-questions] PdfPTableEvent

2003-03-12 Thread Ricky M. Codizar
Hi Paulo! (B (BThis is the stack trace: (B (Bjava.lang.NoClassDefFoundError: MyTableEvent (Bat BasicProjectFrameWeb.doGet(BasicProjectFrameWeb.java:546) (Bat javax.servlet.http.HttpServlet.service(HttpServlet.java:740) (Bat javax.servlet.http.HttpServlet.service(HttpS

Re: [iText-questions] HeaderFooter

2003-03-12 Thread Ricky M. Codizar
Hi Bruno thanks again and always. got it right! (B (BBruno $B$5$s$O=q$-$^$7$?(B: (B>Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: (B> (B>> The code above displays the header as I wanted to but there is amount of (B>> space after each paragraph. How can I suppress (B>> it? (B> (B>Have

RE: [iText-questions] Can I Attach files

2003-03-12 Thread Paulo Soares
Currently it's not directly supported. I'll have it in the next version. Best Regards, Paulo Soares > -Original Message- > From: r [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, March 11, 2003 16:19 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Can I Attach files > > Hi. > > Can

Re: [iText-questions] HeaderFooter

2003-03-12 Thread Bruno
Quoting "Ricky M. Codizar" <[EMAIL PROTECTED]>: > The code above displays the header as I wanted to but there is amount of > space after each paragraph. How can I suppress > it? Have you tried using another Paragraph constructor? Specifically one that doesn't only take a String and a font, but a

Re: [iText-questions] HeaderFooter

2003-03-12 Thread Ricky M. Codizar
Hi Bruno thanks a lot! I got it! (B (BI have additional problem, here is a chunk of code: (B (B// create the header (BParagraph pheader = new Paragraph(); (Bpheader.add(new Paragraph("$B!V4pK\(BPJ$B%U%l!<%`!W(B", font)); (Bpheader.add(new Paragraph("PMS$B>&IJ3+H/%_!<%F%#%s%0;qNA(B", fo

RE: [iText-questions] PdfPTableEvent

2003-03-12 Thread Paulo Soares
What's the complete stack trace? Best Regards, Paulo Soares > -Original Message- > From: Ricky M. Codizar [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 7:49 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] PdfPTableEvent > > Hi! > > I'm launching my iText docu

RE: [iText-questions] rectangle with round corner

2003-03-12 Thread Paulo Soares
PdfContentByte.roundRectangle() > -Original Message- > From: Thomas Kübler [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 8:44 > To: [EMAIL PROTECTED] > Subject: [iText-questions] rectangle with round corner > > hallo, > > how can i set a rectangle with round corners?

[iText-questions] rectangle with round corner

2003-03-12 Thread Thomas Kübler
hallo,   how can i set a rectangle with round corners?     thanks to all     thomas kübler

Re: [iText-questions] How to return only the contype, not the body from the server side

2003-03-12 Thread Bruno
Quoting Lynn Young <[EMAIL PROTECTED]>: > > Hello, > > when IE deals with plug-ins, it sends the request twice or three times, > depends on the version of IE. > > I have a code, need to call acrobat reader plug-in. I don't want to implement > it as a helper application, because I need to prin