Re: [iText-questions] HTML Parser

2003-09-25 Thread Bruno
Quoting i t <[EMAIL PROTECTED]>: > Hello Bruno, > > My next problem is that I have everything compiling but get the following > runtime error: > > createTemporaryDocument -- error = The document is open; you can only add > Elements with content. The error explains it all: you are trying to

[iText-questions] Subject searches in mail-list archives

2003-09-25 Thread MailingList
Does anyone know if there is a way to do specific searches on the mail-list archives. I can only see a way to manually go through each subject heading one by one, seeing as there are over 10,000 entries this could take a while. I cant believe there isnt some way of doing a search. Can anyon

[iText-questions] Problem loading font resources dictionary

2003-09-25 Thread Michael Serdar
I am generating a PDF using iText by rendering to the Graphics2D context returned by PdfTemplate.createGraphics(). I render several strings of text using Graphics2D.drawString(). The generated PDF looks great, but every time I load it Acrobat complains "Could not find a font in the Resources

[iText-questions] java.io.IOException: The document has no pages

2003-09-25 Thread tomsch
The PDF reports work great under Windows/Tomcat 4.1, but deploying to Solaris/Oracle 9iAS, I get the following error: 500 Internal Server Error ExceptionConverter: java.io.IOException: The document has no pages. at com.lowagie.text.pdf.PdfPages.writePageTree(Unknown Source) at com.lowag

[iText-questions] re: Images

2003-09-25 Thread Sarah Benwell
Thank you for your response. I have figured out what the problem is but need a little further help. Because we are using single sign-on the current url requires the user to logon. I have now added a logon and redirect to the java agent. Unfortunately i still get the same error. I believe I nee

RE: [iText-questions] Writing Colored Text

2003-09-25 Thread Paulo Soares
Set the fill color before writing the text. Best Regards, Paulo Soares > -Original Message- > From: Abhishek Srivastava [SMTP:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 14:17 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Writing Colored Text > > Hello All, > >

Re: [iText-questions] Create a XSL dynamically

2003-09-25 Thread Bruno
Quoting "Nadeau, Isabelle" <[EMAIL PROTECTED]>: > I need to generate a pdf document with Fop, from xsl files and an xml file. > This document includes different sections (50 different sections) that are > selected on the fly, so my big xsl file as to be generate dynamically. > Is it possible to ge

RE: [iText-questions] Create a XSL dynamically

2003-09-25 Thread Paulo Soares
Aren't you in the wrong mailing list? Best Regards, Paulo Soares > -Original Message- > From: Nadeau, Isabelle [SMTP:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 14:21 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Create a XSL dynamically > > > Hi everyone, > >

[iText-questions] Create a XSL dynamically

2003-09-25 Thread Nadeau, Isabelle
Title: Create a XSL dynamically Hi everyone, I need to generate a pdf document with Fop, from xsl files and an xml file. This document includes different sections (50 different sections) that are selected on the fly, so my big xsl file as to be generate dynamically. Is it possible to ge

[iText-questions] Writing Colored Text

2003-09-25 Thread Abhishek Srivastava
Hello All, I am using Absolute positioning of text in my PDF document to generate a report. For this purpose I use something like PdfContentByte.showTextAligned(PdfContentByte.ALIGN_CENTER, "Hello", 90, 158, 0); This allows me to w

RE: [iText-questions] re: Images

2003-09-25 Thread Paulo Soares
The code used is: public static Image getInstance(URL url) throws BadElementException, MalformedURLException, IOException { InputStream is = null; try { is = url.openStream(); What I ask is if what's being opened is really an image or an error page. Saving the Inpu

[iText-questions] re: Images

2003-09-25 Thread Sarah Benwell
Hello I too get the same error as Diane. I have followed your comments and output to a Java Stream and do not get an error. In fact it all looks ok. It works fine when retrieving the pic from the file system but when trying to retrieve it from a field on a form in a notes database i get this e

RE: [iText-questions] "new line" in text

2003-09-25 Thread Paulo Soares
A \n is like any other character and it won't give you a newline. You must break the lines and write each line. See the options you have in the pdf reference book in the text chapter. Best Regards, Paulo Soares > -Original Message- > From: Didier Bretin [SMTP:[EMAIL PROTECTED] > Sent: Thu

RE: [iText-questions] images

2003-09-25 Thread Paulo Soares
I don't think the url is valid for Java, it probably is fetching an error page. You can check it by opening in Java a stream with that url and saving the result to disk. Best Regards, Paulo Soares > -Original Message- > From: Dianne Swinton [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, Septe

RE: [iText-questions] How to use Hebrew via iText

2003-09-25 Thread Paulo Soares
> -Original Message- > From: vadim zabejinsky [SMTP:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 6:16 > To: [EMAIL PROTECTED] > Subject: [iText-questions] How to use Hebrew via iText > > I am trying to write Hebrew text in pdf report via > iText and don't see it. May I r

RE: [iText-questions] Page Size/Orientation and Reordering {Scann ed}

2003-09-25 Thread Paulo Soares
The limitation is on the number of pages that is 10. Call PdfWriter.setLinearMode() after open. Best Regards, Paulo Soares > -Original Message- > From: Bill Simpson [SMTP:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 0:17 > To: Bill Simpson; [EMAIL PROTECTED] > Subject: [i

RE: [iText-questions] Rotate PdfPTable {Scanned}

2003-09-25 Thread Paulo Soares
You can do both but the easiest way is to have a landscape page. There's no problem in mixing different page sizes and orientations. It's advisable to read the tutorial on changing page sizes. Best Regards, Paulo Soares > -Original Message- > From: Bill Simpson [SMTP:[EMAIL PROTECTED] > S

Re: [iText-questions] HTML Parser

2003-09-25 Thread Bruno
Quoting i t <[EMAIL PROTECTED]>: > Hello All, > > There is a "Class HtmlParser" class in the itext documentation, > com.lowagie.text.html, that I was hoping to use. However, I found that the > classes are not actually in the jar/classes that I downloaded from iText?! I > hope I missed someth

[iText-questions] "new line" in text

2003-09-25 Thread Didier Bretin
Good morning, I would like to see if I'm right : In a Phrase() I can specify the newline caracter : "\n". When I use the showText() function with the argument "first line \n second line" in a PdfTemplate, the "\n" seems not to be recognize. Am I right ? I can't go to line when I add text in PdfT

[iText-questions] Re: question about itext

2003-09-25 Thread Bruno
I forward your question to the mailinglist. I'm not sure if I understand exactly what you want to do. Quoting Christopher D Riccio <[EMAIL PROTECTED]>: > I was wondering if you could give me some info. > I'm trying to fill a PDF form without using FDF. I would like to > fill the form and send

[iText-questions] HTML Parser

2003-09-25 Thread i t
Hello All,     There is a "Class HtmlParser" class in the itext documentation, com.lowagie.text.html, that I was hoping to use.  However, I found that the classes are not actually in the jar/classes that I downloaded from iText?!  I hope I missed something and they are out there somewhere - anyone

[iText-questions] Using table.endHeaders with RtfWriter

2003-09-25 Thread oyot
I need to make the table headers appear on every page. I saw the sample in the iText website but i used a RtfWriter instead. The table.endHeaders method seems to have no effect, the headers only appear on the first page. Can anyone help me out with this? Thank you in advance. ---

Re: [iText-questions] Microsoft Access Snapshot (.snp) to .pdf

2003-09-25 Thread Tahir Chaudhary
Right, thats the questionhow to parse the snp format and what itext classes from the API...I searched throughout the forums, but didnt find anything similiar to it Thanks, -- Tahir On Tue, 23 Sep 2003, Leonard Rosenthol wrote: > At 12:05 PM -0400 9/23/03, Tahir Chaudhary wrote: > >Im tr

[iText-questions] images

2003-09-25 Thread Dianne Swinton
We are trying to put an image in a document. We are using the Image.getInstance(URL) method. Our URL is made up of:   "http://" + request.getServerName()+ ":" + request.getServerPort() + request.getContextPath() + "/images/ImageName.jpg"). We are receiving a java.io.IOException: url is not a reco