Re: [iText-questions] Memory footprint

2005-01-19 Thread Mark Hall
On Wednesday 19 January 2005 23:09, Scott Purcell wrote: > I apologize, I failed to copy the full class file. > > I am creating RTF. Due to the nature of the way RTF works, the document has to be buffered. Currently this happens in memory. It should also be possible to buffer the data in a file.

Re: [iText-questions] Memory footprint

2005-01-19 Thread Paulo Soares
If you create a mega table with 10 row that's to be expected. Create many smaller tables. - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]>; Sent: Wednesday, January 19, 2005 10:09 PM Subject: RE: [iText-questions] Memory footprint

RE: [iText-questions] Memory footprint

2005-01-19 Thread Scott Purcell
I apologize, I failed to copy the full class file. I am creating RTF. Thanks, Scott -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 19, 2005 3:25 PM To: Scott Purcell; itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Memory f

Re: [iText-questions] Memory footprint

2005-01-19 Thread Paulo Soares
That's pdf, rtf or html? - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 19, 2005 9:15 PM Subject: [iText-questions] Memory footprint Hello, I am creating a multi-page document in whcih I am embedding images. Below, as you can see, I have a

[iText-questions] Memory footprint

2005-01-19 Thread Scott Purcell
Hello,   I am creating a multi-page document in whcih I am embedding images. Below, as you can see, I have a table, where the left side is some simple text, and the left side is a embeded thumbnail. All works well, but when I queries upon 10,000 images, the JVM on my local box(testing)  was

Re: [iText-questions] Solution get image with Basic Authentication

2005-01-19 Thread Paulo Filho
I try use: Image wmf = Image.getInstance(new URL("../examples/harbour.wmf")); But in server have a Basic Authentication and i can´t get the image with new URL. The code make the connection with server, authentic and put the correct header in image to can be use in Image.getInstance. I think it´s

Re: [iText-questions] Solution get image with Basic Authentication

2005-01-19 Thread Paulo Soares
What has this to do with iText? - Original Message - From: "Paulo Filho" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 19, 2005 4:49 PM Subject: [iText-questions] Solution get image with Basic Authentication Try using java.net.URL to get image from server with Basic Authentication b

Re: [iText-questions] making a student pass

2005-01-19 Thread Leonard Rosenthol
At 04:36 PM 1/19/2005, Bruno wrote: I always generated documents 'from scratch' in my projects. But more and more non-technical people want to have their say in the design. Changing layout if you make your documents from scratch demands quite some work... Oh yeah! That's why the PDF

Re: [iText-questions] making a student pass

2005-01-19 Thread Bruno Lowagie
Paulo Soares wrote: (I'm receiving the mailing list messages with hours delay and out of order. Is it just me?) I had that last week! I have added nntp://news.gmane.org to my Thunderbird and subscribed to gmane.comp.java.lib.itext.general That's quicker... --

[iText-questions] Question about Secuity Options

2005-01-19 Thread wang yun
Dear Paulo, There are 8 options for PDF Secuity. How can I achieve this: the user has no password but only view and print; Owner has password and has full control for the document. Thank you very much much for your kindness to help me. yun wang ---

[iText-questions] Solution get image with Basic Authentication

2005-01-19 Thread Paulo Filho
Try using java.net.URL to get image from server with Basic Authentication but i can´t. I use httpclient from Jakarta commons to obtain the image. I´ll send in attach file the source, this can be useful. U need in classpath: "commons-logging.jar" "commons-httpclient-2.0.2.jar" I make some modific

Re: [iText-questions] Spacing between text

2005-01-19 Thread Bruno Lowagie
Xit wrote: Hi, There's a piece of text, for example "Hello,\nhow are you doing?\nbye", which is splitted into 3 lines with '\n'. When I print it in my pdf they're very close together. How can I set the spacing between those lines? Or should I just split it into 3 times a Paragraph and use setSpacin

RE: [iText-questions] making a student pass

2005-01-19 Thread Paulo Soares
That's my opinion too, the form fields as position placeholders. (I'm receiving the mailing list messages with hours delay and out of order. Is it just me?) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bruno > Sent: Wednesday, January 19, 200

RE: [iText-questions] PDFForms slow?

2005-01-19 Thread Paulo Soares
The time for each template is below 1 second which doesn't look that bad. There's a way to speed it up in this kind of situation, see the javadocs for AcroFields.setFieldCache(). > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Roger Misteli > Sen

RE: [iText-questions] Spacing between text

2005-01-19 Thread Paulo Soares
setLeading() > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Xit > Sent: Wednesday, January 19, 2005 11:15 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Spacing between text > > Hi, > > There's a piece of text, for e

[iText-questions] Elements in one row

2005-01-19 Thread Fabio De Martin
Hi, I'm a newbie of itext and I need some help. I have a table. In one of the cells of this table, I want to put in some text followed by an other table. I follow the tutorial tips and the code works but the nested table is in a new line in the cell. How can I put the text and the table in th

Re: [iText-questions] making a student pass

2005-01-19 Thread Bruno
Quoting Leonard Rosenthol <[EMAIL PROTECTED]>: > AcroForms are a much better approach to the problem - even if only > as a placeholder. I always generated documents 'from scratch' in my projects. But more and more non-technical people want to have their say in the design. Changing layout if you m

[iText-questions] Table Embed Failure

2005-01-19 Thread Scott Purcell
Hello, I have been trying to create the illusion of a border around a table, where each row is a shaded color with values. A kind of spreadsheet effect. Anyway, I got the shading of the rows to work by coloring the cells the color, and skipping every other row with the color.   Problem from

Re: [iText-questions] making a student pass

2005-01-19 Thread Leonard Rosenthol
At 02:25 PM 1/19/2005, Bruno Lowagie wrote: As I said earlier, I have to stop writing the tutorial for a while, which is a pity. I have a new project at the University: I need to generate cards in PDF that can be used as a pass for students. On the pass there will be textual information (name, addr

RE: [iText-questions] Using Type 1 Font

2005-01-19 Thread Paulo Soares
You need a .afm and a .pfb. There are tools to convert .pfm into .afm. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Vitor Fonseca > Sent: Wednesday, January 19, 2005 11:33 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-quest

RE: [iText-questions] Nested Table Question

2005-01-19 Thread Scott Purcell
I appreciate the link, but I need to produce RTF and not a PDF document. Are there events or workaround that may work with a RtfWriter2?   Thanks, Scott -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, Januar

RE: [iText-questions] PdfPtable : automatic fit columns with text

2005-01-19 Thread Paulo Soares
If someone is willing to contribute code, I'll include it in iText. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of amine ab. > Sent: Wednesday, January 19, 2005 11:37 AM > To: Paulo Soares; itext-questions@lists.sourceforge.net > Subject: RE: [

[iText-questions] Spacing between text

2005-01-19 Thread Xit
Hi, There's a piece of text, for example "Hello,\nhow are you doing?\nbye", which is splitted into 3 lines with '\n'. When I print it in my pdf they're very close together. How can I set the spacing between those lines? Or should I just split it into 3 times a Paragraph and use setSpacingAfter?

[iText-questions] making a student pass

2005-01-19 Thread Bruno Lowagie
Hello Paulo and Leonard, As I said earlier, I have to stop writing the tutorial for a while, which is a pity. I have a new project at the University: I need to generate cards in PDF that can be used as a pass for students. On the pass there will be textual information (name, address,...), the matri

RE: [iText-questions] AcroFields interface

2005-01-19 Thread Paulo Soares
That's not possible for no particular reason, it's just not implemented. I'll try to have it ready for the next release. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Chad Hawthorne > Sent: Tuesday, January 18, 2005 11:24 PM > To: itext-questio

RE: [iText-questions] Token type not recognized error in Adobe Reader 7.0

2005-01-19 Thread Paulo Soares
Most probably you have a bug in your code that is caught by Acrobat 7. This situation has also occurred when going from 5 to 6. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Kumaravel Somasundaram > Sent: Wednesday, January 19, 2005 12:42 AM >

[iText-questions] Using Type 1 Font

2005-01-19 Thread Vitor Fonseca
Hi, I'm trying to use a type 1 font (Rotis Semi Serif) in a pdf, but i'm getting an error. I have two files (rf__.PFM, rf__.PFB) that i've already installed in the "windows\fonts". I have the following code: BaseFont bfComic = BaseFont.createFont("c:\\windows\\fonts\\rf

RE: [iText-questions] (no subject)

2005-01-19 Thread Paulo Soares
http://itext.sourceforge.net/tutorial/objects/tables/index.html > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Raju VGS > Sent: Wednesday, January 19, 2005 9:36 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] (no sub

[iText-questions] Re: (no subject)

2005-01-19 Thread Bruno Lowagie
Raju VGS wrote: I want to generate a report using iText in. .PDF format. How come you don't find your way to the tutorial and docs yourself? Can you please give me some suggestions how I could lead people to these pages in a better way? So, How to create a Table strucure,TR,TD ( all HTML tags) in

RE: [iText-questions] PdfPtable : automatic fit columns with text

2005-01-19 Thread amine ab.
Yes i agree this is a very complicated feature. Perhaps it will be more easy to start by text-only table. what i know is that : one can add data to PdfPTable and just before adding the table to a Document or ColumnText or another iText object, it is possible to specify the widths of columns. there

Re: [iText-questions] Nested Table Question

2005-01-19 Thread Kieran
Hi You'd probably need to use a table event His lets you see where the table is being placed, and draw lines around the outside as required. http://www.lowagie.com/iText/tutorial/ch12.html#eventtable HTH Kiers "Scott Purcell" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 18/01/2005 22:

RE: [iText-questions] PdfPtable : automatic fit columns with text

2005-01-19 Thread Paulo Soares
I have no plans to add that feature, there are too many variables and pdf is not html. You present a simplistic view of the problem but what if: - text has a newline - text is very long or very short or no text at all - how many rows to examine - auto-sized images > -Original Message- >

[iText-questions] (no subject)

2005-01-19 Thread Raju VGS
I want to generate a report using iText  in. .PDF format. So, How to create a Table strucure,TR,TD ( all HTML tags) in this report. my code is written in jsp document.add(new Paragraph(new java.util.Date().toString())); which is printing liine after line. But want to get them in colums Pl

[iText-questions] acro field strikethrough

2005-01-19 Thread Hawthorne, R. Chad
Title: acro field strikethrough Does iText allow you to change the font of an existing acrofield? I am using iText to fill out an acroform and would like for some of the fields to toggle between a strikethrough font and the existing "non-strikethrough" font. I have looked at the AcroFields

Re: [iText-questions] Table question

2005-01-19 Thread Bruno
Quoting Scott Purcell <[EMAIL PROTECTED]>: > How can I set the first column to be ... lets say 12 characters long, > or 10% table size? I am used to doing html like that and could not find any > info in the docs for this. http://itext.sourceforge.net/tutorial/objects/tables/index.html#tablewidths

Re: [iText-questions] PRINT RTF

2005-01-19 Thread Mark Hall
On Wednesday 19 January 2005 07:42, Rex Ramos wrote: > 1. How can i have the text undelined above the > letters. This will be used in the signatoree field in > my document. Another way i thought of was to draw a > line or a hr... but this deosn't work: This is a tough problem, but you could try it

Re: [iText-questions] Re: Table cell spacing

2005-01-19 Thread Bruno
Quoting Wendy Smoak <[EMAIL PROTECTED]>: > Wow. I'm sorry you were offended It was the last day I could work on the iText tutorial using 'company time'. Now I will have to do some other work first. I was kind of under stress to get the web app chapter finished. I wished I had the time to do a ch

[iText-questions] Token type not recognized error in Adobe Reader 7.0

2005-01-19 Thread Kumaravel Somasundaram
Hi, I use Graphics2D to print PDF files. I can  open the generated PDF filesin Adobe Reader 6.0. But the problem starts when I started to open in Adobe Version 7.0.Adobe Reader 7.0 says "Token type not recognized". Also if you scroll down the pages,all the contents are disappearing. I also t

[iText-questions] AcroFields interface

2005-01-19 Thread Chad Hawthorne
Does iText allow you to change the font of an existing acrofield? I am using iText to fill out an acroform and would like for some of the fields to toggle between a strikethrough font and the existing "non-strikethrough" font. I have looked at the AcroFields API and it dosen't seem to allow you