Re: [iText-questions] Reading existing pdf files from database and doing opreations on it

2005-06-10 Thread Alawi Albaity
please provide me the link . and the problem that I want the files to be secure nd fast to get and to make backup , and to remove the file system is not same in the diffrent opreating system On 6/10/05, Kimberly Kettner <[EMAIL PROTECTED]> wrote: HiI think that depends on the database.  I think O

[iText-questions] Data Merging to create a single file

2005-06-10 Thread zaki huda
I was looking at the data merging example. Is there any way to create a single document instead of multiple documents ( five nos. in the example)? Is there anyway to append to the FileOutputStream?   I have tried fs =new FileOutputStream(file + ".pdf",true);, but XmlParser.parse(document, "

Re: [iText-questions] Problem with Loading Image using Image.getInstance()

2005-06-10 Thread Paulo Soares
Are you using the latest release? If you are, post the corrupted image. --- Vd K <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to get an instance of Image object using > the following code > > Image img = Image.getInstance(buffer); > > I am reading the contents of an Image file into a

Re: [iText-questions] Reading existing pdf files from database and doing opreations on it

2005-06-10 Thread Kimberly Kettner
Hi I think that depends on the database. I think Oracle and newer versions of mySQL allow you to store binary data. So you could put PDFs in the database as binary data and then use a web application to connect to it and get the PDF. But I don't think you should bog down the database with

[iText-questions] Reading existing pdf files from database and doing opreations on it

2005-06-10 Thread Alawi Albaity
how can I do that ?and is that possible ? -- Alawi AlbaityJeddah - KSAMobile : +966506660442 

[iText-questions] Removing javascript

2005-06-10 Thread Kimberly Kettner
Hi I am flattening forms, but they still contain javascript after I flatten them. Is there a way to remove the 'onload' or general javascript? Thanks! Kim --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a

Re: [iText-questions] Convert Text File to PDF

2005-06-10 Thread jglucky
I guess that is where I am having difficulties. I am not sure how to build it. The example only shows how to add text to the document, not how to convert an actual .txt file to .pdf. Sorry if this is simple to do, but I have went through every tutorial and went through the mailing lists with no l

[iText-questions] Convert Text File to PDF

2005-06-10 Thread jglucky
How would I go about converting a straight text file to PDF? Thank you, Jyran Glucky Advisory Programmer BlueWare, Inc. Strategic HealthWare Solutions 3060 W. 13th Street Cadillac, MI 49601 Phone: (231) 779-0224 ext. 111 Fax: 231-779-1002 mailto:[EMAIL PROTECTED] http://www.blueware.net DID YO

Re: [iText-questions] Use "exotic fonts" in templates

2005-06-10 Thread Paulo Soares
BaseFont.createFont("c:\\windows\\fonts\\msgothic.ttc,0", ... Or you can use FontFactory to call the fonts by name. - Original Message - From: "Yann" <[EMAIL PROTECTED]> To: Sent: Friday, June 10, 2005 4:47 PM Subject: [iText-questions] Use "exotic fonts" in templates > Hi, > > How ca

Re: [iText-questions] How to add file attachments to an existing PDF?

2005-06-10 Thread Paulo Soares
The sequence is: 1) a few existing PDF forms as templates 2) fill in the data. If form fields flatten them 3) concat them 4) read the resulting pdf and... 5) add the attachments and other content with PdfStamper - Original Message - From: "Siegfried Goeschl" <[EMAIL PROTECTED]> To: Sent

[iText-questions] unable to add the image form a URL

2005-06-10 Thread Bandaru Srikanth
Hi, I am unable to add an image to the PDF from a URL. I was abel to do all the things like creating a tabel , changing fonts etc.. But I get a wierd error while adding a image from a particular URL. I ahev copied the same example form the site and pasted and executed amd also tried to give the "U

[iText-questions] Use "exotic fonts" in templates

2005-06-10 Thread Yann
Hi, How can I use "exotic fonts" (japanese, chinese...) in templates ? I'd like to use the FontFactory but it doesn't seem to be possible : template.beginText(); Font font = FontFactory.getFont("MS UI Gothic", BaseFont.IDENTITY_H, BaseFont.EMBEDDED, 12); // Unfortunatly impossible ! template.se

[iText-questions] PDF generation in portlet JSR 168

2005-06-10 Thread Ganesh Puri
Hi, Has anyone made PDF generation work under portlet environment ? I get IllegalArgumentException: application/pdf when I try to do renderResponse.setContentType("application/pdf") Ganesh --- This SF.Net email is sponsored by: NEC IT Guy

Re: [iText-questions] How to add file attachments to an existing PDF?

2005-06-10 Thread Siegfried Goeschl
Hi Paolo, I appreciate you "down-to-the-point-to-be-made" style of replies ... :-) Well, the original idea was to generate a report using 1) a few existing PDF forms as templates 2) fill in the data 3) concat them 4) add the attachments Everything works apart from 4) ... so the question re

[iText-questions] Re: new iTextSharp library

2005-06-10 Thread Paulo Soares
Sorry, this wasn't intended to the list. - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Maros Kantera" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 10, 2005 5:34 PM Subject: Re: new iTextSharp library > Not really incompatible, the main difference is that the method n

[iText-questions] Re: new iTextSharp library

2005-06-10 Thread Paulo Soares
Not really incompatible, the main difference is that the method names are capitalized. It will be available next week. - Original Message - From: "Maros Kantera" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 09, 2005 10:10 PM Subject: new iTextSharp library Hi. I'd li

Re: [iText-questions] Sign a pre-existing signature field on a pdf in a perticular page

2005-06-10 Thread Paulo Soares
Did you look at the javadocs? - Original Message - From: "Aditya mahara" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Sent: Friday, June 10, 2005 4:35 PM Subject: Re: [iText-questions] Sign a pre-existing signature field on a pdf in a perticular page hi thanks for thre li

Re: [iText-questions] Sign a pre-existing signature field on a pdf in a perticular page

2005-06-10 Thread Paulo Soares
http://itextpdf.sourceforge.net/howtosign.html#howtosign - Original Message - From: "Aditya mahara" <[EMAIL PROTECTED]> To: Sent: Friday, June 10, 2005 1:13 PM Subject: [iText-questions] Sign a pre-existing signature field on a pdf in a perticular page Hi Can any one help me on how to

[iText-questions] Re: OnEndPage

2005-06-10 Thread Bruno Lowagie
Samatha Boda wrote: Yeah that is true Bruno..Thanks, I got one other problem I am working with Page X of Y, I have written tpl.showText("" + (writer.getPageNumber() - 1)); on onCloseDocument to get the total number of pages to display X of Y(total number of pages) but I am not getting Y value

Re: [iText-questions] setting the lower bound of the template

2005-06-10 Thread Paulo Soares
template.setBoundingBox(new Rectangle(0, -10, 20, 20)); - Original Message - From: "Ilja Livenson" <[EMAIL PROTECTED]> To: Sent: Friday, June 10, 2005 10:08 AM Subject: [iText-questions] setting the lower bound of the template > Hello, > > a problem I encountered when using templates t

Re: [iText-questions] Dotted PdfPCell border

2005-06-10 Thread Paulo Soares
Only with a PdfPCellEvent. - Original Message - From: "Yann Massard" <[EMAIL PROTECTED]> To: Sent: Thursday, June 09, 2005 4:22 PM Subject: [iText-questions] Dotted PdfPCell border > Hello, > > is there any possibility to create a PdfPCell with dotted borders? > > Tanks > Yann Massard

Re: [iText-questions] How to add file attachments to an existing PDF?

2005-06-10 Thread Paulo Soares
You can't add content with PdfCopy. - Original Message - From: "Siegfried Goeschl" <[EMAIL PROTECTED]> To: Sent: Friday, June 10, 2005 12:56 PM Subject: [iText-questions] How to add file attachments to an existing PDF? > Hi folks, > > for modelling a workflow I need to attach files to

[iText-questions] Re: Image not visible in pdf file (except random 5-10%)

2005-06-10 Thread Marco
> It is missing the Image of pigreco, except for one time. If I still > create the file, pigreco is present in another Image, non in the same. > In the Frame pigreco is always visualized. It is a bug? No, it is a MY bug. I insert a MediaTracker in paint of Component, and resolved the problem. T

[iText-questions] Re: NullPointerException PdfDocument.close JasperReport

2005-06-10 Thread stephane
Problem solved. It comes from an old library version of itext (0.9) which was in the application server classapth. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk ch

Re: [iText-questions] How to add file attachments to an existing PDF?

2005-06-10 Thread Leonard Rosenthol
At 04:56 AM 6/10/2005, Siegfried Goeschl wrote: \for modelling a workflow I need to attach files to an existing PDF document. I went through the samples and wrote a testcase based on the sample of concatening PDFs (to get a PdfWriter) and using PDFAnnotation. The copying works but the file atta

[iText-questions] Determining column length

2005-06-10 Thread Dave Bender
How can I determine the length of a block of text before putting it into a column?  Actually, I'd like to put it into a MultiColumn but would like to get the columns to balance, which requires me to pass in the height of the columns.   How can I determine that before I put the text into the

[iText-questions] Sign a pre-existing signature field on a pdf in a perticular page

2005-06-10 Thread Aditya mahara
Hi Can any one help me on how to apply signature and embed image on a perticular pre-existing signature field while leaving other signature fields untouched, on a pdf document Regards Aditya --- This SF.Net email is sponsored by: NEC IT Guy G

[iText-questions] How to add file attachments to an existing PDF?

2005-06-10 Thread Siegfried Goeschl
Hi folks, for modelling a workflow I need to attach files to an existing PDF document. I went through the samples and wrote a testcase based on the sample of concatening PDFs (to get a PdfWriter) and using PDFAnnotation. The copying works but the file attachments are not visible. The file att

[iText-questions] Need help in showing dynamic text on pdf

2005-06-10 Thread Krishna Kishore .J
Hi All,   I am facing a prob in displaying text on pdf using IText API.   To display the address I have an address field (form field) on the pdf form.   Once i set the address using acroForm.setField() method, the address is displayed in a single line on the pdf and not in the required manner

[iText-questions] setting the lower bound of the template

2005-06-10 Thread Ilja Livenson
Hello, a problem I encountered when using templates to add text to an absolute location - when I use the function defined below, it somewhy cuts everything below the base line. That is "g", "j", commas etc. are only shown partly. Is that a bug or a feature? Thanks, Ilja --- function body --

Re: [iText-questions] Preformatted text possible in RTF?

2005-06-10 Thread Mark Hall
On Friday 10 June 2005 09:40, [EMAIL PROTECTED] wrote: > Is it possible to create an RTF document with preformatted text > (preserving linefeeds and spaces, not having iText > > cutting lines, collapsing whitespace)? How? I don't quite understand what you want to do. What kind of preformatted tex

[iText-questions] Preformatted text possible in RTF?

2005-06-10 Thread Fernando.Matomira
Hello,   Is it possible to create an RTF document with preformatted text (preserving linefeeds and spaces, not having iText cutting lines, collapsing whitespace)? How?   Thanks   Fernando Mato Mira

[iText-questions] Dotted PdfPCell border

2005-06-10 Thread Yann Massard
Hello, is there any possibility to create a PdfPCell with dotted borders? Tanks Yann Massard --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office

Re: [iText-questions] Help in the creation of the PDF

2005-06-10 Thread Bruno Lowagie
Nicodemo Fumo wrote: Hello, I'm sorry for my not perfect english but i have a problem in the creation of the PDF. I need to highlight parts of text and the document have an image of background. In the visualization appears this error *"operazione 'm' non valida in un testo''*. What means? T

[iText-questions] Re: OnEndPage

2005-06-10 Thread Bruno Lowagie
Samatha Boda wrote: Hi Bruno, I got a problem with onEndPage. I defined onEndPage in first PDF class and when I tried to access PDF of different class file I am getting on EndPage of first class. Both classes are not linked any way. Can you please help me in this An onEndPage method in a c