Re: [iText-questions] Page By Page Rendering

2006-02-24 Thread Bharath
Found a solution for the same. when we use BYTEARRAYOUTPUTSTREAM  it is holding the document in Memory. But changed it by writing a CustomBufferedOutputStream extended from BufferedOutputStream. Additionally exposed the count method of the same. Now for the file size used the count method. Sample f

[iText-questions] iText is the exception to the rule

2006-02-24 Thread David Thielen
There was an article awhile ago about how most open source software is utter crap - which is unfortunately true. I just added PDF copy to my code and it was unbelievably easy. I think iText is possibly the best open source software out there when measured by how well it is architected, designed

[iText-questions] Merge and Bookmark

2006-02-24 Thread Normen Mueller
He iText folks! I am not really sure if we are talking about a bug or a misunderstanding on how to use the library. Here is what I am trying to do: Merge a couple of pdf files and create a bookmark for each merged file in the resulting one. For example: Merge the pdf files A, B, C and name the r

Re: [iText-questions] list population

2006-02-24 Thread Paulo Soares
List population is already done in the CVS but you probably want list selection that is done with setField() with the export value. - Original Message - From: "radu milos" <[EMAIL PROTECTED]> To: Sent: Friday, February 24, 2006 6:42 PM Subject: [iText-questions] list population Hell

[iText-questions] help required to generate multilevel bulleted text Microsoft word document using iText API

2006-02-24 Thread Chandrasekaran Sivakolundu
Hi all, I am working on a Java application. I want to develope Microsoft Word document using iText API.. The requirement is generating multilevel bulleted text document. But the problem is third level bullet. I am not getting any error, when I run the following program, But when I open the word

[iText-questions] list population

2006-02-24 Thread radu milos
Hello, I am new to iText, so this is probably a trivial question I am asking : I have a PDF template(created with openoffice) which consists of some text fields and some lists. I try to update this template and fill these fields and lists with some values. Filling the text fields is quite easy,

Re: [iText-questions] createGraphics and Tomcat problem

2006-02-24 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: What do you mean that I forgot the X Server? Exactly that. Does that mean that I need the X Server to run to use the createGraphics function? It means that Java (not iText in particular) needs the X Server to run as soon as you decide to use classes such as Graphi

RE: [iText-questions] load afm fonts with fontfactory

2006-02-24 Thread Paulo Soares
The version in the CVS will register the T1 families. Be warned that the automatic family pairing may not work for some fonts, like Futura, that have the same family name for all the weights. In this case register the font names by hand using FontFactory.registerFamily(): Paulo > -Original

Re: [iText-questions] Can iText replace images etc.

2006-02-24 Thread Leonard Rosenthol
At 09:39 AM 2/24/2006, Petter Nyström wrote: Hello! I am browsing the internet for code libraries to work with PDF documents. So far, iText looks the best! iText is an excellent library for many things PDF - but certainly not all... One of the basic things I want to do is to pull i

[iText-questions] Can iText replace images etc.

2006-02-24 Thread Petter Nyström
Hello! I am browsing the internet for code libraries to work with PDF documents. So far, iText looks the best! It would be of great help to me though, if I could get a few questions answered about the library before I really start to dig into it. One of the basic things I want to do is to pull

Re: [iText-questions] iText Doubt

2006-02-24 Thread Mark Hall
On Thursday 23 February 2006 13:25, RADHA wrote: > I am currently using itext 1.3.1 version.. I am displaying an image as logo > in my RTF document. but when there is no image, an equivalent empty space > should be left out in the document.. i hav scaled my images to 500x70 > dimension. In the abse

Re: [iText-questions] RE: Pixel values of a PDF page

2006-02-24 Thread Leonard Rosenthol
At 04:43 PM 2/23/2006, kalper wrote: I just want to obtain RGB and CMYK value for each pixel of a PDF page. Let me try this again, since the first time I answered you didn't seem to understand. PDF pages consist of a series of "drawing objects". These objects can be raster

Re: [iText-questions] RE: PDF compression

2006-02-24 Thread Leonard Rosenthol
At 05:45 AM 2/23/2006, [EMAIL PROTECTED] wrote: I would like to have PDF compression using ITEXT. OK, but that won't do the duplicate font elimination that you are asking for, nor will it recompress streams, optimize images, etc. COULD you add that type of feature to iText, sure, but

Re: [iText-questions] createGraphics and Tomcat problem

2006-02-24 Thread Andrzej . Ciereszko
What do you mean that I forgot the X Server? Does that mean that I need the X Server to run to use the createGraphics function? The problem is that I have no easy access to the Tomcat machine... If the XServer is running is that enough, and the function will work fine? If not, is there a workaroun

RE: [iText-questions] load afm fonts with fontfactory

2006-02-24 Thread Paulo Soares
It would be interesting to see the debug output of the first part of your code. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Thomas Kübler > Sent: Friday, February 24, 2006 10:14 AM > To: itext-questions@lists.sourceforge.net > Subject: [iTex

[iText-questions] load afm fonts with fontfactory

2006-02-24 Thread Thomas Kübler
Hello, I still have the problem to load and work with type 1 afm fonts. First i load the afm files with: FontFileFilter filefilter = new FontFileFilter(fontextension); File[] fontfilelist = new File(directoryname).listFiles(filefilter); cat.debug("fontdir: " + directoryname

Re: [iText-questions] non printable watermark

2006-02-24 Thread Bruno Lowagie
Manoj Talreja wrote: Hi, How can I make watermark or image non printable? There is one suggestion to add the non printable data inside button, but I was wondering if there is any way I can add watermark image inside button to make it non-printable. Thanks in advance. I don't underst

Re: [iText-questions] iTex compatibale version with JDK 1.3

2006-02-24 Thread Bruno Lowagie
Manjith Gunatilaka wrote: Hi , I am looking for a iText older version. Other than 1.3 I tried to compile iTex version 1.3 with JDK 1.3 and encountered some compilation error. Could you please send me an URL or jar file compatible for JDK 1.3 No, but if you tell us about the compilation er

[iText-questions] non printable watermark

2006-02-24 Thread Manoj Talreja
Hi,   How can I make watermark or image non printable? There is one suggestion to add the non printable data inside button, but I was wondering if there is any way I can add watermark image inside button to make it non-printable. Thanks in advance.   Regards, Manoj Talreja

[iText-questions] RE: PDF compression

2006-02-24 Thread harshili . patil
Hi, I would like to have PDF compression using ITEXT. How do i achieve this? itried using setFullCompression()  method.. however it didn't workout.. is there anyother way i can achieve this?? is linearization and fast web view also available in itext? looking for a quick and positive reply from yo

[iText-questions] iTex compatibale version with JDK 1.3

2006-02-24 Thread Manjith Gunatilaka
Hi , I am looking for a iText older version. Other than 1.3 I tried to compile iTex version 1.3 with JDK 1.3 and encountered some compilation error. Could you please send me an URL or jar file compatible for JDK 1.3 Cheers Manjith --- Thi

[iText-questions] RE: Pixel values of a PDF page

2006-02-24 Thread kalper
I just want to obtain RGB and CMYK value for each pixel of a PDF page. I do not need to preview the page or convert it to an image. A library (especially java and open source) which takes a PDF page and give the resulting byte or integer array of the RGB and CMYK values for each pixel is enough fo

Re: [iText-questions] How to Add HyperLink Image

2006-02-24 Thread Bruno Lowagie
GigiJK wrote: Hello, Can anyone show me how to add a hyperlink image on the upper lefthand corner of a pdf file using iText? Create the image: Image gif = Image.getInstance("../../chapter10/resources/iTextLogo.gif"); Add the hyperlink: gif.setAnnotation(new Annotation(0, 0, 0, 0, "http://ww