Re: [iText-questions] Ouputting Byte Stream to PDF

2005-07-29 Thread Bruno Lowagie
Kyle wrote: The problem is that it loads through the files, but it only displays a blank white screen...obviously I'm missing something with the outputstream part. You pass a Response object to this method. In the method, you create a ByteArrayOutputStream, but the method doesn't return anyt

[iText-questions] Re : reading a pdf from the db and change it.

2005-07-29 Thread Dilan
Hello, I’m trying to edit a pdf which is saved in the database, first read it into a inputstream, then to the pdf reader, I cant get it to read the inputstream into the pdfreader InputStream input = new ByteArrayInputStream(af.getImg()); Document document = new Document(); try { //im g

[iText-questions] iText with .NET, C#, and AcroForms

2005-07-29 Thread Tim Wirtz
I am attempting to do something which seems like it should be simple and straight-forward, yet I've had great difficulty with. I am trying to read an existing PDF document and use the AcroFields component of iText to change some of the data in the fields, then send the result back to the browse

Re: [iText-questions] colspan

2005-07-29 Thread Paulo Soares
- Original Message - From: "Rebecca" <[EMAIL PROTECTED]> To: Sent: Friday, July 29, 2005 7:41 PM Subject: [iText-questions] colspan > I have a feeling this is going to be trouble, but it's worth a shot. > > I am using HtmlWorker to parse an htm page and create a pdf (a different htm >

Re: [iText-questions] Eliminating white space in a table

2005-07-29 Thread Paulo Soares
setLeading() - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, July 29, 2005 6:27 PM Subject: [iText-questions] Eliminating white space in a table > I'm having trouble with eliminating so much white space in between rows of > cells in my PDF document. My table has 5 cel

[iText-questions] colspan

2005-07-29 Thread Rebecca
I have a feeling this is going to be trouble, but it's worth a shot. I am using HtmlWorker to parse an htm page and create a pdf (a different htm file from my earlier posts, but the same itext code). My htm page includes a table with 16 columns, and when I print preview this page, all the colum

[iText-questions] Help with outputting bytestream to PDF

2005-07-29 Thread Kyle
Hi, I have a page that calls a servlet, that calls another class that gets a resultset. I want that class to take the resultset, iterate through it, and call another class's method to display the output stream in a new pdf in IE (without creating a pdf file). The problem is that it loads thro

[iText-questions] Ouputting Byte Stream to PDF

2005-07-29 Thread Kyle
Hi, I have a page that calls a servlet, that calls another class that gets a resultset. I want that class to take the resultset, iterate through it, and call another class's method to display the output stream in a new pdf in IE (without creating a pdf file). The problem is that it loads thro

RE: [iText-questions] release 1.3.2

2005-07-29 Thread David Thielen
And we can all say we knew Bruno before he became a rich & famous author. - dave David Thielen 303-499-2544 www.windwardreports.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Friday, July 29, 2005 7:35 AM To: 'itext-questions@li

Re: [iText-questions] non licensed fonts

2005-07-29 Thread Leonard Rosenthol
At 02:07 PM 7/29/2005, sreeram ramesh kumar wrote: I was given a pdf with non licensed fonts in it. How do you know it is an "unlicensed font"? Unlicensed legally or technically? Can you send it to me? How do I get the bytes from the FontDescriptor, so that I could const

Re: [iText-questions] non licensed fonts

2005-07-29 Thread sreeram ramesh kumar
Hi,   I was given a pdf with non licensed fonts in it. I have to check it programatically to determine that it is a non licensed font.   How do I get the bytes from the FontDescriptor, so that I could construct Font and look for WindowsMetrics to check for fsType.   Thanks.Leonard Rosenthol <[EMAIL

[iText-questions] Eliminating white space in a table

2005-07-29 Thread THuhman
I'm having trouble with eliminating so much white space in between rows of cells in my PDF document.  My table has 5 cells per row.  When I have filled multiple rows, the white space in between rows is too much, causing things to run over into a second page. Does anyone know how to cut down on th

[iText-questions] Help with outputting bytestream to PDF

2005-07-29 Thread Kyle
Hi, I have a page that calls a servlet, that calls another class that gets a resultset. I want that class to take the resultset, iterate through it, and call another class's method to display the output stream in a new pdf in IE (without creating a pdf file). The problem is that it loads through

[iText-questions] Opening Adobe upon document close

2005-07-29 Thread Angela Berk
Is there anyway I can trigger Adobe to open as soon as I am done writing to the file??? I am using Java5.0. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: [iText-questions] relative path for images

2005-07-29 Thread Paulo Soares
It's up to you to find the way to translate a relative path to an absolute one. If you can't do that, how will iText do it? - Original Message - From: "Ekta Ojha" <[EMAIL PROTECTED]> To: Sent: Friday, July 29, 2005 4:32 PM Subject: [iText-questions] relative path for images Hello group

[iText-questions] relative path for images

2005-07-29 Thread Ekta Ojha
Hello group, Is there a way to specify relative path to include a image in the pdf document. Specifying absolute path to Image jpg = Image.getInstance(imagePath); works but this is not a good approach especially when the application goes to production. Thanks Ekta __

[iText-questions] release 1.3.2

2005-07-29 Thread Bruno Lowagie
I have just released iText1.3.2. I'm not very active on the mailing list lately, because I'm writing a book for Manning Publications: 'iText in Action'. Mark Hall has done some updates in the RTF package. Paulo has applied these changes to the C# port. Likewise suggestions made regarding C# were

Re: [iText-questions] Hi All

2005-07-29 Thread Leonard Rosenthol
At 07:43 AM 7/29/2005, Pitta Narayana Murthy wrote: i want java code for the conversion of Doc file to PDF file... You won't find it here In fact, I don't know of anything that will do .doc to PDF. The folks at Windward Reports have done an excellent job with RTF->PDF,

[iText-questions] Hi All

2005-07-29 Thread Pitta Narayana Murthy
Hi i want java code for the conversion of Doc file to PDF file... can we do that ?...i some how managed to get the content of Doc file into a PDF but i am not getting the content as it is(missing allignments,format) pls let me know if u hav solution..   Narayana Murthy

Re: [iText-questions] help editing pdf via java

2005-07-29 Thread Paulo Soares
If you want to add text to an existing PDF you can use PdfStamper. - Original Message - From: "Dilan" <[EMAIL PROTECTED]> To: "'Paulo Soares'" <[EMAIL PROTECTED]> Sent: Friday, July 29, 2005 11:59 AM Subject: RE: [iText-questions] help editing pdf via java > Hello Paulo, > > I got the p

Re: [iText-questions] ImgPostscript defaults to 800x800

2005-07-29 Thread Paulo Soares
The postscript part was contributed by Carsten Hammer. - Original Message - From: "Daniel Frey" <[EMAIL PROTECTED]> To: Sent: Friday, July 29, 2005 10:37 AM Subject: [iText-questions] ImgPostscript defaults to 800x800 > Hello Paolo > > I am just looking why my postscript files are not

Re: [iText-questions] help editing pdf via java

2005-07-29 Thread Paulo Soares
What do you want to do? - Original Message - From: "Dilan" <[EMAIL PROTECTED]> To: Sent: Friday, July 29, 2005 9:54 AM Subject: [iText-questions] help editing pdf via java > > > Hello, > > > > Im try to edit a pdf stored in database via java/itext, can some1 help me or > guide me throu

[iText-questions] ImgPostscript defaults to 800x800

2005-07-29 Thread Daniel Frey
Hello Paolo   I am just looking why my postscript files are not placed correctly and met some lines which might be the reason for it. In ImgPostscript, method processParameters seems to set the height and width to 800, regardless of what was derived from the bounding box:   125  processPara

[iText-questions] help editing pdf via java

2005-07-29 Thread Dilan
  Hello,   Im try to edit a pdf stored in database via java/itext, can some1 help me or guide me through?   // getting the file from the database InputStream input = new ByteArrayInputStream(af.getImg());       // writing to the pdf