Re: [iText-questions] Modify PDF received from DB as a ByteStream

2005-06-28 Thread bruno
Bhupendra Mehta wrote: I have retrieved a PDF document from a Domino database and read it into a ByteArrayOutputStream (BAOS). You need the byte array from this OutputStream to construct a PdfReader object.

Re: [iText-questions] Stamping.

2005-06-28 Thread bruno
Gareth Edwards wrote: Do you know if it is possible to have two versions of itext running on the same J2EE instance? Having two different versions of iText in the same JVM, can lead to different errors that are hard for us to debug. br, Bruno

Re: [iText-questions] RTF file

2005-06-28 Thread bruno
Bob Bob wrote: If I use PDF Files, can I do this?? Yes, you can postprocess PDF files. Depending on your specific needs, you can use (a combination of) PdfReader, PdfImportedPage, PdfWriter, PdfStamper, PdfCopy,... More info can be found here:

[iText-questions] iText to PDF and HTML

2005-06-28 Thread Doug James
Is it possible to write a generic iText document and be able to deliver both HTML and PDF based on the users choice? I would like to write it once and be able to provide 2 different links one to the HTML output and one to the PDF output. Thanks! Doug James Software Engineer Benefitfocus.com,

[iText-questions] This is probably simple....

2005-06-28 Thread Brian
This is probably very simple, however I must be over looking it. All I want to do is : Do a search , pull back a list of files that match my search. (I've got this), next have the documents in my result be links that when clicked, generate a pdf of that returned document. What I'm missing,

RE: [iText-questions] Help with PdfContentByte

2005-06-28 Thread Hanes Jedidiah A1C AU/SCIE
Hey, New to posting stuff wasn't sure how to reply and need to attached this image for you to use. Just place it in the C drive or you can change the path to wherever you put it. Not sure if this works I'm not familiar with creating the pdf files outside of my system. It compiled and executed

Re: [iText-questions] This is probably simple....

2005-06-28 Thread Bruno Lowagie
Brian wrote: All I want to do is : Do a search , pull back a list of files that match my search. (I've got this), next have the documents in my result be links that when clicked, generate a pdf of that returned document. So you have the code to achieve the above in a standalone example.

Re: [iText-questions] Insert data in existing pdf.

2005-06-28 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi again.The problem is that i add data in text.Example:My name is. in template file,in files it will be My name is Olga,so i can't use AcroForm or FormFields. Then PDF is the wrong format for your template file. You should consider another format. (XML?)

[iText-questions] Mailing labels

2005-06-28 Thread Jay Parashar
I wanted some helping in generating mailing labels (Avery 5260). Any idea, code examples, how to achieve that? Thanks Jay --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps,

Re: [iText-questions] PDF file

2005-06-28 Thread Bruno Lowagie
Yan Bob wrote: I see in the tutorial that the PdfStamper object can change the contents of one existing PDF. I want to add text at the end of each line of an existing PDF file. I think that it's not possible with PdfStamper..?? What are the objects or methods that can do this?? If you know

Re: [iText-questions] Mailing labels

2005-06-28 Thread Franco Biaggi
Jay Parashar wrote: I wanted some helping in generating mailing labels (Avery 5260). Any idea, code examples, how to achieve that? Thanks Jay --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to

Re: [iText-questions] Insert data in existing pdf.

2005-06-28 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: May be,i want to generate pdf very fast,and it will be very good to use template file,not to draw 10 times the same pdf with differnt data,but to use once pictured file and only put new information in fixed place.It will be grait. As I understood your previous

RE: [iText-questions] Mailing labels

2005-06-28 Thread Jay Parashar
Thanks. Yes...a pdfptable will be used...and possibly with absolute positioning. Because its very tedious (to use exact positioning using the co-ordinate system) I was wondering if someone already has some boiler plate code examples. I am sure someone must have generated labels with iText. It

Re: [iText-questions] Mailing labels

2005-06-28 Thread Bruno Lowagie
Jay Parashar wrote: I wanted some helping in generating mailing labels (Avery 5260). Any idea, code examples, how to achieve that? Where can one find the specs of Avery Labels? I found sites selling the labels, describing the size of a label, but I didn't find the margins needed, etc... br,

RE: [iText-questions] Mailing labels

2005-06-28 Thread Bill Ensley
Avery themselves have the measurements available, but the best thing to do ( I think anyway, we use it everyday ) is to use PdfGraphics2D and loop through the rows and cols and translate the graphics object therefore not requiring the knowledge of each x,y coordinate: int top = labelSheet.top;

Re: [iText-questions] Help with PdfContentByte

2005-06-28 Thread Bruno Lowagie
Hanes Jedidiah A1C AU/SCIE wrote: Hey, New to posting stuff wasn't sure how to reply and need to attached this image for you to use. Just place it in the C drive or you can change the path to wherever you put it. Not sure if this works I'm not familiar with creating the pdf files outside of

RE: [iText-questions] Mailing labels

2005-06-28 Thread Jay Parashar
Thanks Bruno. Avery Label 5260 that I am looking build is basically 3 cols and 10 rows (30 cells ) in each page (H=1 and W=2.63 and Paper size=8.5X11). The different formats can be found from various resources but the most common is from a word doc --Open a MS WORD doc (I am using version 10.)

[iText-questions] Verticall Text

2005-06-28 Thread Telmo Cardoso
Hi, is it possible to put some verticall text in versions 1.X. How? (because in newer versions some old Java generate pdfs wrong, and I dont want to re-code :( old files) Normal text: template = cb.createTemplate(templateWidth, templateHeight); bf = BaseFont.createFont(BaseFont.HELVETICA,

RE: [iText-questions] Mailing labels

2005-06-28 Thread Bill Ensley
Sorry, my math was backwards (from memory), this is the real code we use: int left = labelSheet.left; int top = labelSheet.top; for(int c=0;ccols;c++){ for(int r=0;rrows;r++){ g2.translate(left, top); paint(g2);

[iText-questions] Read text from pdf file

2005-06-28 Thread Asya Lisak
Is there is a way to strip text from a pdf document. Preferable with the page numbers. The reason I am asking is because I need to hightlight pdf document in the browser. I am creating an xml file according to http://partners.adobe.com/public/developer/en/pdf/HighlightFileFormat.pdf

[iText-questions] adding image to page/table header

2005-06-28 Thread Ekta Ojha
Hello All, I create a pdf file which has many pages. Each page has a table( the table header is repeated in every page) Now I would like to also have an image in every page, may be sitting on the top of every page or sitting in table header. I could not find a way to do so..Please guide me to the

[iText-questions] How do I add an Item to a List Box in an AcroForm

2005-06-28 Thread George Bougiakas
Hello, I need help adding items to a List Box in an AcroForm. I can add text to TextFields but I cant figure out how to add items in List Boxes. Any ideas.? Thank you in advance. --- SF.Net email is sponsored by: Discover Easy Linux

[iText-questions] How do I add an Item to a List Box in an AcroForm

2005-06-28 Thread George Bougiakas
Hello, I need help adding items to a List Box in an AcroForm. I can add text to TextFields but I cant figure out how to add items in List Boxes. Any ideas.? Thank you in advance. --- SF.Net email is sponsored by: Discover Easy Linux

[iText-questions] flattening checkboxes

2005-06-28 Thread Costa Basil
Hi: I came back with my question but this time with a pdf file and java sample code: Save the java code in TestCheckboxesFlattening.java and save the pdf attachment in the same folder with the java file, then compile and run the sample. The ouput pdf file (test_checkbox_output.pdf) doesn't

[iText-questions] resolving image from within a war file

2005-06-28 Thread Ossie Guy
Hi All, We are using iText with success in our web application, but now need to include an image in the resulting PDF. We are using XML to create the report to allow division of labour, but have hit a snag - to include the image it seem straightfoward enough to use the image tag, but how