Re: [iText-questions] itext and jdk 1.4

2003-02-13 Thread Bruno
Quoting Steve Buonincontri [EMAIL PROTECTED]:

 Would iText work with JDK 1.4 compiled code?

Yes.
iText is compiled with JDK1.3.
Code compiled with 1.4 can use iText.

You can also compile iText yourself with 1.4,
but in that case you may have trouble if your
own code is compiled with 1.3.

Bruno


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Problems with TIFF Image

2003-02-13 Thread Huy Ho
Dear,
iText support TIFF Imagecompressed of 4. How can I use with with TIFF Image compressed of 5.
If you have any sample, please send it to me. I really need it.
Thanks,
Huy.Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day

[iText-questions] Rounded corners

2003-02-13 Thread RAUL283
hi everybody,

I have a PdfPTable and I don´t know how to round the top corners of 
this table. I have been looking for a method that makes it in the 
iText Api but I haven´t found anything.

Could you help me, please.




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Problems with TIFF Image

2003-02-13 Thread Paulo Soares
What's a TIFF Image compressed of 4/5?
By the way, iText does not support TIFF, what it does is to use JAI to
create a java.awt.Image or other trick.

Best Regards,
Paulo Soares

 -Original Message-
 From: Huy Ho [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 13, 2003 9:15
 To:   [EMAIL PROTECTED]
 Subject:  [iText-questions] Problems with TIFF Image
 
 Dear,
 
 iText support TIFF Image compressed of 4. How can I use with with TIFF
 Image compressed of 5.
 
 If you have any sample, please send it to me. I really need it.
 
 Thanks,
 
 Huy.
 
 
 
   _  
 
 Do you Yahoo!?
 Yahoo! Shopping
 http://rd.yahoo.com/O=1/I=brandr/vday03/text/flow/*http://shopping.yahoo.
 com /shop?d=browseid=20146735 - Send Flowers for Valentine's Day


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Rounded corners

2003-02-13 Thread Paulo Soares
You have to use a PdfPTableEvent or PdfPCellEvent if you have
itext-paulo-108.

Best Regards,
Paulo Soares

 -Original Message-
 From: RAUL283 [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 13, 2003 10:06
 To:   [EMAIL PROTECTED]
 Subject:  [iText-questions] Rounded corners
 
 hi everybody,
 
 I have a PdfPTable and I don´t know how to round the top corners of 
 this table. I have been looking for a method that makes it in the 
 iText Api but I haven´t found anything.
 
 Could you help me, please.
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] writeSelectedRows

2003-02-13 Thread Jpenuela



I get the error 
"java.lang.RuntimeException: The table width must be greater than 
zero." when I call PdfPTable method writeSelectedRows(0, -1, 
0,740, cb) but it works fine when I call Document .add(element) with the same 
PdfPTable.

Any idea?

Here is the code (cb is PdfContentByte initialized 
in the onOpenDocument method):

public void onStartPage(PdfWriter writer, 
Document document) {int amplada[] = {100};  
try { 
cb.beginText(); 
cb.setTextMatrix(196,805); BaseFont bf = 
BaseFont.createFont(BaseFont.TIMES_ROMAN,BaseFont.CP1252,BaseFont.NOT_EMBEDDED); 
 
cb.setFontAndSize(bf,8); 
cb.showText("ESTUDIANTS D'ESTADA TEMPORAL UB - MODALITAT 
INTERCANVI"); cb.endText();

 PdfPTable t = 
new PdfPTable(1); 
t.setWidths(amplada); 
t.setWidthPercentage(100); 
 t.addCell(new Phrase("CURS 
ACADEMIC")); 
document.add(t); // IT WORKS 
FINE t.writeSelectedRows(0, -1, 0,740, 
cb); // IT give the 
exception 
} catch (Exception e) 
{e.printStackTrace();}  }



Re: [iText-questions] Fill a form with Acrobat Reader

2003-02-13 Thread Leonard Rosenthol
At 2:40 PM +0100 2/13/03, Richard Damien (AXEN) wrote:

I create a PDF containing a form, and I want to allow users to fill 
in this form with Acrobat Reader.
It doesn't work. The Reader don't allow me to change the content of 
each field.

	Are they real form fields - AcroForm?  Are you 
securing/encrypting the PDF?
	Reader will allow you to fill in the fields, but you can't save them.


Leonard
--
---
Leonard Rosentholmailto:[EMAIL PROTECTED]
Chief Technical Officer  http://www.pdfsages.com
PDF Sages, Inc.  215-629-3700 (voice)
 215-629-0789 (fax)


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


RE: [iText-questions] javascript

2003-02-13 Thread Paulo Soares
That's javascript for the pdf, it has nothing to do with the browser.

Best Regards,
Paulo Soares

 -Original Message-
 From: Pablo Jimenez [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 13, 2003 12:43
 To:   itext 
 Subject:  [iText-questions] javascript
 
 Hello,
 
 I have made a document in a servlet. How to print and close the window in
 the client browser?
 
 writer.addJavaScript(this.print(false);,false); //this work very good
 writer.addJavaScript(document.close(),false); //this don't work
 
 Thank you.
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] jump to new page

2003-02-13 Thread [EMAIL PROTECTED]
Hi all, here's my question:
while writing a pdf and i need to start writing on a new page (on the same pdf file).
How can i do that??
thanx. 


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] jump to new page

2003-02-13 Thread Paulo Soares
Document.newPage()

 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 13, 2003 17:15
 To:   [EMAIL PROTECTED]
 Subject:  [iText-questions] jump to new page
 
 Hi all, here's my question:
 while writing a pdf and i need to start writing on a new page (on the same
 pdf file).
 How can i do that??
 thanx. 
 
 
 ---
 This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
 are you planning your Web Server Security? Click here to get a FREE
 Thawte SSL guide and find the answers to all your  SSL security issues.
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] headers and footers

2003-02-13 Thread Joel Matos
Hi!
Can i format the line that page's header and footer put on the page (width, length, 
color)?
Can i add an extra line without pdfPageEvent?
If not, should i do it with onStartPage event or onEndPage event? In this case i have 
to draw a line, right?
Thanks!!



---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] headers and footers

2003-02-13 Thread Paulo Soares


 -Original Message-
 From: Joel Matos [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 13, 2003 17:15
 To:   [EMAIL PROTECTED]
 Subject:  [iText-questions] headers and footers
 
 Hi!
 Can i format the line that page's header and footer put on the page
 (width, length, color)?
 
Width and color.

 Can i add an extra line without pdfPageEvent?
 
No.


 If not, should i do it with onStartPage event or onEndPage event? In this
 case i have to draw a line, right?
 
In onEndPage (preferably) and you have to draw the line.

Best Regards,
Paulo Soares

 Thanks!!
 
 
 
 ---
 This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
 are you planning your Web Server Security? Click here to get a FREE
 Thawte SSL guide and find the answers to all your  SSL security issues.
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] text background color

2003-02-13 Thread David Thielen



Hi;

PdfContentByte.setColorStroke() sets the color of 
text being drawn with PdfContentByte.showTextAligned(). How do you set the 
background? (It's not PdfContentByte.setColorFill().)

thanks - dave


Re: [iText-questions] text background color

2003-02-13 Thread Kenny G. Dubuisson, Jr.



Did you try PdfContentByte.setRGBColorFill? 
That would be my guess to set that before your showTextAligned. Hope this 
helps,
Kenny

  - Original Message - 
  From: 
  David Thielen 
  
  To: itext 
  Sent: Thursday, February 13, 2003 3:48 
  PM
  Subject: [iText-questions] text 
  background color
  
  Hi;
  
  PdfContentByte.setColorStroke() sets the color of 
  text being drawn with PdfContentByte.showTextAligned(). How do you set the 
  background? (It's not PdfContentByte.setColorFill().)
  
  thanks - 
dave


Re: [iText-questions] text background color

2003-02-13 Thread phillip
There is no text background color if you are not talking about glyph
path. You basically have to define an area and then fill the area with the
color you want, then stroke the text.

PDF is not Word for M$.

-- 
With regards

Phillip Pan
---



---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions