Re: [iText-questions] Creating a image from my PDF-file or how to create a HTML document ?

2006-09-21 Thread bruno
ing erl wrote: > Hello Bruno! > > Is there any other way to round-trip this solution ? > Say that I have a bunch of labels; such as 'firstname','lastname' and > so on > and data is retrieved from a database - and that I would like to > create an > identical layout for PDF and HTML from my 'sourc

Re: [iText-questions] Creating a image from my PDF-file or how to create a HTML document ?

2006-09-21 Thread ing erl
Hello Bruno!Is there any other way to round-trip this solution ?Say that I have a bunch of labels; such as 'firstname','lastname' and so onand data is retrieved from a database - and that I would like to create an identical layout for PDF and HTML from my 'source' ?regards, Ink2006/9/21, Bruno Lowa

[iText-questions] Cell alignment in rtf documents

2006-09-21 Thread Marcus Gotze
Hello all, I have a question about cells in tables in rtf documents. In a pdf document I can set the alignment of a cell to left, right, ... If I do the same in a rtf document, nothing happens and the text is only left. Is the alignment option of cells available in rtf documents? Thanks for your

Re: [iText-questions] Save and Load values from PDF fields

2006-09-21 Thread rodrigo_borges
the system: Electronic Document Magement System that will generate documents by the information gave in the submitting of a HTML form (informations like type of document, subject, from, to, content - the fields depends on document type). the actions: store some documents that can pass by some

[iText-questions] Keeptogether and Paragraph Indents

2006-09-21 Thread Gordhammer, Shawn
I have a simple XML that demonstrates a problem with keeptogether.  It doesn't use tables as does the other example mentioned in this list.  The following XML     paragraph 1    paragraph 2    paragraph 3    produces   paragraph 1 paragraph 2 paragraph 3   I

Re: [iText-questions] Creating form fields in a paragraph

2006-09-21 Thread Zenith
Zenith gmail.com> writes: Thnx, I managed to solve the above issue. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & busine

Re: [iText-questions] What are differences among AcroFields, PDFAcroForm, and PRAcroForm

2006-09-21 Thread Mark Storer
PRAcroForm:  PdfReader's form reading class.  All you can really do is check out the underlying objects directly.  If you want to know the value of a field, you need to know how and where to look, and what it means.  For example, the value of a radio button parent with an /Opt array is an in

[iText-questions] Newline Tags Producing Underscores

2006-09-21 Thread Gordhammer, Shawn
Hello iText users and developers:   There was an earlier post where some "underscores" or short dashes in the PDF were being produced whenever a newline XML tag was used.  Bruno showed that it was not a font problem but an actual PDF command to draw a line and concluded that the c

Re: [iText-questions] UTF 8 encoding support iText PDF

2006-09-21 Thread Bruno Lowagie
Mahesh Tatikonda wrote: > I am generating Itext Pdf with data of different langauages – So am I: http://itext.ugent.be/itext-in-action/examples/chapter09/results/peace.pdf I experience no problem as long as I provide the right font, if I don't use the right font, the data isn't shown. br, Bruno -

Re: [iText-questions] Table of contents

2006-09-21 Thread Bruno Lowagie
Gautier, Charles wrote: > Hi Bruno and thx for your response, the index gets correctly generated. > > As I need to generate a table of contents that end-users would expect to find > at the second or third page of the document, would you have any idea how can > I "insert" the index in the documen

Re: [iText-questions] [iText-quehttp://www.mozilla.com/products/firefox/central.html, Getting Startedstions] servlet to read a pdf

2006-09-21 Thread Bruno Lowagie
Noe Rocha wrote: > i already knew this examples. > they work just fine for a desktop app. > can i use them on a servlet? Of course you can. At GovCamp I demonstrated this example: http://itext.ugent.be/itext-in-action/examples/chapter17/FoobarCourses.java The Servlet reads an existing PDF: http

Re: [iText-questions] Creating a image from my PDF-file or how to create a HTML document ?

2006-09-21 Thread Bruno Lowagie
ing erl wrote: > am I able to take a 'picture' of my PDF-document and publish that image > on a HTML? Not with iText. br, Bruno - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and y

Re: [iText-questions] Array index out of bounds

2006-09-21 Thread Bruno Lowagie
Steve Weston wrote: > Paulo, > > I was heading in that direction, but I have one stumbling block (I > think, unless I've misread something). Depending on what option the > user selects we will render these reports either in PDF or in HTML > format. We are using the same code set to generate b

Re: [iText-questions] Array index out of bounds

2006-09-21 Thread Steve Weston
Paulo, I was heading in that direction, but I have one stumbling block (I think, unless I've misread something). Depending on what option the user selects we will render these reports either in PDF or in HTML format. We are using the same code set to generate both views, we just change how w

Re: [iText-questions] servlet to read a pdf

2006-09-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Noe Rocha > Sent: Thursday, September 21, 2006 3:43 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] servlet to read a pdf > > > well i'm confused because sevlets

Re: [iText-questions] UTF 8 encoding support iText PDF

2006-09-21 Thread Paulo Soares
http://itextdocs.lowagie.com/tutorial/fonts/getting/index.html. You'll have to convert your UTF8 to a Java String. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Mahesh Tatikonda > Sent: Thursday, September 21, 2006 12:49 PM > To: itext

Re: [iText-questions] Avoid table wrap to next page

2006-09-21 Thread Paulo Soares
Set the first row as header. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of kjgroven > Sent: Thursday, September 21, 2006 12:03 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Avoid table wrap to next page >

[iText-questions] Creating a image from my PDF-file or how to create a HTML document ?

2006-09-21 Thread ing erl
Hello!I am able to create a nice PDF-file which has a fairly complex layout, using the class 'PdfContentByte' and its method 'setTextMatrix' to place out my text.I would like to create an exact layout of my PDF and publish it on a HTML or JSP page. How am I able to reuse the layout that I have done

Re: [iText-questions] servlet to read a pdf

2006-09-21 Thread Noe Rocha
well i'm confused because sevlets read files in a diferent way of desktop apps. and the files can be inside or outside the document root. i'm wrong? Paulo Soares wrote: > > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Noe Rocha >>

[iText-questions] iText rtf font

2006-09-21 Thread Lidong Liu
Hi iText developer,Thank you very much for your excellent work on iText, which gives me a lot of help!Here is a work around to use fonts with names in Asian encodings in RTF documents. Wish it can be merged in to main source: DIFF START###Index: D:/Devt/

[iText-questions] Table of contents

2006-09-21 Thread Gautier, Charles
Hi Bruno and thx for your response, the index gets correctly generated. As I need to generate a table of contents that end-users would expect to find at the second or third page of the document, would you have any idea how can I "insert" the index in the document ? TIA, Charles. -Original

[iText-questions] UTF 8 encoding support iText PDF

2006-09-21 Thread Mahesh Tatikonda
I am generating Itext Pdf with data of different langauages –   Chinese Characters are not visible on PDF file , I think PDF is either not supporting UTF-8 or I need to Configure something else   Can you please assist.   Warm Regards Maheshkumar Tatikonda Senior Developer Emptoris

[iText-questions] Avoid table wrap to next page

2006-09-21 Thread kjgroven
Hello I have a table (PdfPTable) which I want NOT to wrap onto the next page to avoid this situation: ___ |TITLE | |- NEW PAGE | | body text... | | body text... | | body text...

Re: [iText-questions] servlet to read a pdf

2006-09-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Noe Rocha > Sent: Thursday, September 21, 2006 3:34 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] servlet to read a pdf > > > > > Paulo Soares wrote: > > > >

Re: [iText-questions] servlet to read a pdf

2006-09-21 Thread Noe Rocha
Paulo Soares wrote: > > http://itextpdf.sourceforge.net/howtosign.html > http://itext.ugent.be/library/question.php?id=31 > > Paulo > i already knew this examples. they work just fine for a desktop app. can i use them on a servlet? -- View this message in context: http://www.nabble.com/ser

Re: [iText-questions] servlet to read a pdf

2006-09-21 Thread Paulo Soares
http://itextpdf.sourceforge.net/howtosign.html http://itext.ugent.be/library/question.php?id=31 Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Noe Rocha > Sent: Thursday, September 21, 2006 3:21 PM > To: itext-questions@lists.sourceforge

Re: [iText-questions] servlet to read a pdf

2006-09-21 Thread Noe Rocha
2 Options: First the file could be a template, wich would be filled and signed. Two: Just load the file to sign. my main interest is signing. Paulo Soares wrote: > > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Noe Rocha >> Sent:

Re: [iText-questions] populate the existingpdfformfromdatabasevalues

2006-09-21 Thread Gupta, Rahul
Hi Now i m using the latest version of iText, then also I m facing with the same problem. Its showing the error: The prescribed field is read only. Actually I have XFA form which has some fields in which I can write direct manually but I want to write from database. I am getting the field value

Re: [iText-questions] reduce size of printed data

2006-09-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Roger Misteli > Sent: Thursday, September 21, 2006 3:09 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] reduce size of printed data > > I had a very similar pro

Re: [iText-questions] servlet to read a pdf

2006-09-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Noe Rocha > Sent: Thursday, September 21, 2006 2:58 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] servlet to read a pdf > > > hi. > in all the samples i've been rea

Re: [iText-questions] Array index out of bounds

2006-09-21 Thread Paulo Soares
Use a PdfPTable. Your problem may or may be not fixed in the latest release but Table is not supported anymore by the main iText developers although we accept fixes. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Steve Weston > Sent: Thu

Re: [iText-questions] reduce size of printed data

2006-09-21 Thread Roger Misteli
I had a very similar problem with a 1300 printer. And yes, the client had like 50 of them, so telling them to "buy something that doesn't suck as much as this crap" wasn't an option. However, we were printing the documents ourselfes with a little Java program and the JPedal library and had to le

Re: [iText-questions] underline text

2006-09-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of duschhaube > Sent: Thursday, September 21, 2006 1:17 PM > To: itext-mailinglist > Subject: [iText-questions] underline text > > Hello, > > > to create underlined text I use > font.setStyle("und

[iText-questions] FW: iText rtf font

2006-09-21 Thread Paulo Soares
I forward it to the mailing list. Paulo > -Original Message- > From: Lidong Liu [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 21, 2006 2:51 PM > To: itext-questions@lists.sourceforge.net; Paulo Soares > Subject: iText rtf font > > Hi iText developer, > > Thank you very much for

[iText-questions] servlet to read a pdf

2006-09-21 Thread Noe Rocha
hi. in all the samples i've been reading i only seen examples how to generate pdf's files. how about reading for instance an already existing pdf file from the harddrive? thanks you. -- View this message in context: http://www.nabble.com/servlet-to-read-a-pdf-tf2312141.html#a6428644 Sent from t

[iText-questions] Array index out of bounds

2006-09-21 Thread Steve Weston
Hi, I've looked through the mailing list archives and the other entries that I see related to this all seem to center around masking an image which I'm not doing. I have am building a PDF document from data extracted from a database. This document has two columns or sides, each side consisti

[iText-questions] underline text

2006-09-21 Thread duschhaube
Hello, to create underlined text I use font.setStyle("underline"); is it possible to underline the text in a different color, so the text is black and the line is blue? or have i to use chuck.setUnderline in this case? ciao --

Re: [iText-questions] using own fonts from the classpath

2006-09-21 Thread Paulo Soares
If you have the font abc.ttf in the package com.flower get the font with "com/flower/abc.ttf". Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dan Adams > Sent: Thursday, September 21, 2006 1:57 AM > To: Post all your questions about iTex

Re: [iText-questions] HeaderFooter subclassing

2006-09-21 Thread Paulo Soares
See page events in the tutorial, don't use HeaderFooter. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Zbynek Vraštil > Sent: Thursday, September 21, 2006 10:31 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions]

Re: [iText-questions] reduce size of printed data

2006-09-21 Thread tib
Roger Misteli abacus.ch> writes: > > Depends on the printer model you have. Very low end models like hplj1200 or 1300 have very limited memory and > very limited processing power. The > printer does not support the full PCL 5 or 6 standard and the printer driver on the client machine is used

Re: [iText-questions] Index Generation

2006-09-21 Thread Gautier Charles (Consultant)
Hi Bruno and thx for your response, the index gets correctly generated. As I need to generate a table of contents that end-users would expect to find at the second or third page of the document, would you have any idea how can I "insert" the index in the document ? TIA, Charles. -Original M

[iText-questions] HeaderFooter subclassing

2006-09-21 Thread Zbyněk Vraštil
Hello, I would like to have a header in PDF with some text on the left and company logo on the right. However, HeaderFooter class allows only one alignement for whole content. I've read in the archive of this mailing list, that it could be solved by subclassing HeaderFooter class. But it return

Re: [iText-questions] reduce size of printed data

2006-09-21 Thread Roger Misteli
Depends on the printer model you have. Very low end models like hplj1200 or 1300 have very limited memory and very limited processing power. The printer does not support the full PCL 5 or 6 standard and the printer driver on the client machine is used to basically create bitmaps from the missin

Re: [iText-questions] reduce size of printed data

2006-09-21 Thread tib
Damien Drix graphane.com> writes: > > It looks like your PDF was converted to an image before it was sent to > the printer. That is very unlikely to be an iText issue. What software > are you using to print the document ? Does your printer support Postscript ? > The least the printer can do on

[iText-questions] Invalid timestamp

2006-09-21 Thread Javier Aparicio Conesa
Title: ACCV I've taking a look at opensignpdf, and It has been so usefull. I can sign correctly with my smart card a PDF document rigth now, but testing with the code  I haven't got no document with a valid timestamp, there are always a warning about the timestamp is referencin the computer's l

Re: [iText-questions] reduce size of printed data

2006-09-21 Thread Damien Drix
It looks like your PDF was converted to an image before it was sent to the printer. That is very unlikely to be an iText issue. What software are you using to print the document ? Does your printer support Postscript ? The least the printer can do on its own, the more the driver has to do on you

[iText-questions] What are differences among AcroFields, PDFAcroForm, and PRAcroForm

2006-09-21 Thread Nguyet Minh. Le
Hello, What are differences among AcroFields, PDFAcroForm, and PRAcroForm? Please give me example source code for each one. Thank you very much for your help. It’s so important for me.   Thank you,  Nguyet Minh     ---

[iText-questions] reduce size of printed data

2006-09-21 Thread tib
I wish to print a PDF (the filesize of this PDF is 100KB). When I start the print job, 3MB of data (postscript or anything else?) was sent to the printer. The network between the computer and printer is very weak (and the printer memory is very poor (1MB) too). So the printing time is too long, b