[iText-questions] Align at Paragraph!!!

2003-08-14 Thread cresio11
Hi, How do you align at Paragraph?? Thanks!! __ Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis! http://antipopup.uol.com.br/ --- This

RE: [iText-questions] DefaultFontMapper - awtToPdf(Font font) - problem

2003-08-14 Thread Paulo Soares
Are you registering all the directories with fonts? Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2003 11:44 > To: [EMAIL PROTECTED] > Subject: [iText-questions] DefaultFontMapper - awtToPdf(Font font)

[iText-questions] Cell spacing

2003-08-14 Thread Carmona Perez, David
Hi all,   I set a big spacing in a Table and don’t see any separation between the borders of adjacent cells.   The documentation says this (http://www.lowagie.com/iText/tutorial/ch05.html):   cellspacing / cellpadding: In line 4, we set the padding of the table. This is the amount of

[iText-questions] Landscape printing

2003-08-14 Thread [EMAIL PROTECTED]
how to print a landscape pdf from the command line?? thank yopu in advance. jerome. ** L'ADSL A 20 EUR/MOIS** Tiscali propose l'ADSL le moins cher du marché : 20 EUR/mois et le modem ADSL offert ! Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tisca

[iText-questions] PageSize.java - page size discrepancy

2003-08-14 Thread online user
Hello,     Are the page sizes defined within PageSize.java correct, or does it not matter too much?   /** This is the a0 format */    public static final Rectangle A0 = new Rectangle(2380,3368);    /** This is the a1 format */    public static final Rectangle A1 = new Rectangle(1684,2380);   A0 wid

RE: [iText-questions] Barcode "Decodbility"

2003-08-14 Thread Brook Stevens
Title: RE: [iText-questions] Barcode "Decodbility" So how does one typically handle printing labels to a direct thermal printer, which generally do not have the best resolution in the world, but are designed for Barcodes? -Brook > -Original Message- > From: Paulo Soares [mailto:[EMA

Re: [iText-questions] Align at Paragraph!!!

2003-08-14 Thread [EMAIL PROTECTED]
Hi, I align ..: Paragraph paragraph = new Paragraph(); paragraph.setAlignment(Element.ALIGN_JUSTIFIED); Bye! --- Mensaje Original -- De: cresio11 [EMAIL

[iText-questions] Cell Text Centering

2003-08-14 Thread Saravanan, Vaira (GEAE, JV, EACoE-India)
Hi i am using Table, Whether any body knows how to center/left/right justify the text in a cell Vaira --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now.

RE: [iText-questions] Cell Text Centering

2003-08-14 Thread Carmona Perez, David
Vaira, public Cell(Element element) is the right constructor. Take into account that a Phrase is an Element David -Mensaje original- De: Saravanan, Vaira (GEAE, JV, EACoE-India) [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 06 de agosto de 2003 13:04 Para: Carmona Perez, D

[iText-questions] multi line headers in pdf or rtf documents

2003-08-14 Thread Christopher Smith
I am dynamically generating MS Word document stubs.  I need to be able to set multi line document headers. for example   A-79e90 Immigration Form A Page #     This header needs to be on all pages generated from this stub.   please advise Thanks Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use

[iText-questions] OT: Printing PDF

2003-08-14 Thread Andreas Probst
Hi all, sorry for asking an off-topic question: Are there any tools other than Acrobat Reader and Ghostscript which print PDF or at least render it into a printable format such as PCL or PS? It should be a command line tool or even better an easy-to-use Java library. Thanks in advance. Andre

[iText-questions] question about ITextOutputFilter

2003-08-14 Thread Pravir
Hi I am trying to output PDF from the servlet response. JSP output is XHTML and I wanted to use ITextOutputFilter. If I just configure this filter for a servlet then an I get an error ** HTTP Status 500 - Premature end of file. ** are there any relevent exmaple for this? Any help is highly ap

Re: [iText-questions] Adding a jpg image to RTF Doc

2003-08-14 Thread Scott Sprout
I have tried to tune the Image and Jpeg classes without success. For some reason, the URL object in websphere puts a lock on local files until the JVM is stopped. All input streams appear to close in the code. I have alternately created a temp image file from the database, and then read the b

RE: [iText-questions] copy a PDF page and its form fields

2003-08-14 Thread Paulo Soares
Have a look at my example ListFields.java. It gives you the fields and the positin in the page. Best Regards, Paulo Soares > -Original Message- > From: Gary Wu [SMTP:[EMAIL PROTECTED] > Sent: Thursday, August 07, 2003 0:34 > To: [EMAIL PROTECTED] > Subject: RE: [iText-questions] co

RE: [iText-questions] multi line headers in pdf or rtf documents

2003-08-14 Thread Paulo Soares
That's easy to do in PDF but I have no idea about RTF. Perhaps Mark Hall will answer that. Best Regards, Paulo Soares > -Original Message- > From: Christopher Smith [SMTP:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 16:25 > To: Paulo Soares > Subject: RE: [iText-questions] mul

RE: [iText-questions] Adding a jpg image to RTF Doc

2003-08-14 Thread Scott Sprout
Thank you -- I added this line (ImgIn.close();) to the RtfWriter method and this fixed the problem. This product is awesome -- anyways -- thanks a lot. -Scott From: Paulo Soares <[EMAIL PROTECTED]> To: 'Scott Sprout' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: [iText-questions] Addi

RE: [iText-questions] multi line headers in pdf or rtf documents

2003-08-14 Thread Paulo Soares
This is pdf or rtf? What do you have to start with? Do you want to add extra content to existing pdfs? Best Regards, Paulo Soares > -Original Message- > From: Christopher Smith [SMTP:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 3:08 > To: [EMAIL PROTECTED] > Subject: [iText-qu

RE: [iText-questions] Absolute Position of a Paragraph

2003-08-14 Thread Paulo Soares
You can use a ColumnText. If you have the latest itext-paulo and only need a single line you can also use ColumnText.showTextAligned() just as the plain method in PdfContentByte but supporting everything a Paragraph does like fonts, styles, links, etc. Best Regards, Paulo Soares > -Original M

Re: [iText-questions] Absolute Position of a Paragraph

2003-08-14 Thread Mitter Florian
You can either use ColumnText or a PdfPTable. Florian - Original Message - From: "j m o neill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 08, 2003 4:43 PM Subject: [iText-questions] Absolute Position of a Paragraph > Hello All: > > I would like to be able to put a

Re: [iText-questions] Reduce distance between two text lines in Table

2003-08-14 Thread Paulo Soares
Use the Phrase leading. Best Regards, Paulo Soares - Original Message - From: "Pascal Bach" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 08, 2003 20:30 Subject: [iText-questions] Reduce distance between two text lines in Table > Hello > > I want to put 6 short text

[iText-questions] Page Number starts with 2

2003-08-14 Thread Aruna Kumaraswamy
Hi,    I am using XML and SAXmyHandler to render a Pdf report. Everything works great, except that the footer I have set starts with page number 2. I even tried to set the page number (called footer.setPageNumber), that din't work either. Could someone please help me rectify this error.   Thanks, A

[iText-questions] itext-paulo-jdk1.1-124

2003-08-14 Thread yun wang
Dear Support, I am using Visual J++ 6.0 to compile "itext-paulo-jdk1.1-124" There is error message: Can not implicitly convert byte into char for Class BidiOrder private static char baseTypes[] = { 0, 8, BN, 9, 9, S, 10, 10, B, 11, 11, S, 12, 12, WS, 13, 13, B, ... May I Add (char)

RE: [iText-questions] itext-paulo-jdk1.1-124

2003-08-14 Thread Paulo Soares
That's a bug with J++, you can make an explicit cast. Best Regards, Paulo Soares > -Original Message- > From: yun wang [SMTP:[EMAIL PROTECTED] > Sent: Monday, August 11, 2003 22:11 > To: [EMAIL PROTECTED] > Subject: [iText-questions] itext-paulo-jdk1.1-124 > > Dear Support, > > I

RE: [iText-questions] Page rotation

2003-08-14 Thread SIMON Pascal
You have to initialize the document with the format you want, and after you can change it whenever you want but it will take effect on the next page Selon Paulo Soares <[EMAIL PROTECTED]>: > That's not possible for the first page. You have to do it before opening the > document. > > Best Regard

Re: [iText-questions] Page rotation

2003-08-14 Thread SIMON Pascal
Yes it's possible, but it will take effect on the next page Selon Roberto Cipollini <[EMAIL PROTECTED]>: > Hi everybody...have a nice very hot summer :)) > > i was wondering if it is possible to rotate [ PageSize.A4.rotate() ] the > page after the open declaration > i've tryed around but the pa

Re: [iText-questions] Explorer Freezes

2003-08-14 Thread Bruno
Quoting Support <[EMAIL PROTECTED]>: > Hi all, > > I am using MIE 6.0, Acorbat Reader 5.0 > > Everything works fine on older versions of the MIE. On 6.0 after diplaying > the pdf the browser crashes (after a few seconds of being completely frozen.) > I looked through the mail archive and the FA

Re: [iText-questions] NoClassDefFoundError - Servlet ClasspathProblems

2003-08-14 Thread rk
hi! i'm not sure whether this helps, but usually such problems arise when: * you have 2 different class versions (includes, path) * your access.policy does not allow some operations * your classpath does not include it at all regards randolph

[iText-questions] Page rotation

2003-08-14 Thread Roberto Cipollini
Hi everybody...have a nice very hot summer :)) i was wondering if it is possible to rotate [ PageSize.A4.rotate() ] the page after the open declaration i've tryed around but the page is still in portrait size. bye Roberto --- This SF.Net ema

[iText-questions] RV: Reserve space

2003-08-14 Thread Carmona Perez, David
Hi all,   I’m wondering if for solving my problem, it could work adding an empty Phrase with a big leading   David   -Mensaje original- De: Carmona Perez, David Enviado el: lunes, 11 de agosto de 2003 15:56 Para: Itext-Questions (E-mail) Asunto: Reserve space  

[iText-questions] Font.setStyle not resetting to NORMAL

2003-08-14 Thread Michael Mertel
Hi all, I'am using the same Font object for different phrases a few times and need to switch the style from normal to bold and vice versa. But with the current implementation I can only add a style and cannot reset it to normal. Or did I missed something here? [part of Font.java] public void

Re: [iText-questions] drawing line within a PdfPCell

2003-08-14 Thread Bruno
Quoting Marc Lustig <[EMAIL PROTECTED]>: > Hi, > > what is the easiest way to draw a horizontal line inside a PdfPcell? > > If that's not possible how can I get the absolute position of the > PdfPCell in order to draw the line using PdfContentByte ? With a CellEvent. There are examples on Paulo

RE: [iText-questions] PdfPTable

2003-08-14 Thread Paulo Soares
No problem. You can write your Graphics2D to a template and wrap it into an Image. This image is vectorial, nothing is lost. Best Regards, Paulo Soares > -Original Message- > From: Johansson Henrik (Svensk Börsinformation) > [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 12:21

RE: [iText-questions] Using iText, TrueTypeFont for adding kerning to Java2D, Bug in TrueTypeFont.java (fix included)

2003-08-14 Thread Paulo Soares
TrueTypeFont.java is now fixed. Best Regards, Paulo Soares > -Original Message- > From: Jürg Lehni [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 10:43 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Using iText, TrueTypeFont for adding > kerning to Java2D, Bug in

Re: [iText-questions] NoClassDefFoundError - Servlet ClasspathProblems

2003-08-14 Thread rk
hello! ad 1.: verify that there are no paths that lead to corresponding directories, what is the classpath tomcat uses? what javaa version etc. ad 2.: everybody has something like java.access (which seems to be default) somewhere in your java-directory ... sometimes java-applications bring theyr o

RE: [iText-questions] Font files stay in temp folder

2003-08-14 Thread Paulo Soares
Create your PDF from a stand alone application without a servlet and see if the temp files are still being generated. I suspect that those files are generated from the Acrobat IE plug-in when you see the document. Best Regards, Paulo Soares > -Original Message- > From: Pal Perinbam [SMTP:

RE: [iText-questions] itext with gcj ?

2003-08-14 Thread Paulo Soares
gcj has very poor awt support. Use the itext-paulo-jdk1.1-125.jar instead. Better yet: - get itext-paulo-jdk1.1-125.zip (that's the source) - replace "com.sun.java.util.collections.Comparable" with "Comparable" - replace "com.sun.java.util.collections." with "java.util." Best Regards, Paulo Soa

RE: [iText-questions] 2 Fonts in single cell string - how can i?

2003-08-14 Thread Paulo Soares
Add Chunks with different fonts to a Phrase. Best Regards, Paulo Soares > -Original Message- > From: BALASUBRAMANIAN Manivannan [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 12:52 > To: [EMAIL PROTECTED] > Subject: [iText-questions] 2 Fonts in single cell string - how

RE: [iText-questions] Vertical aligning with ColumnText

2003-08-14 Thread Paulo Soares
Use a PdfPTable. Best Regards, Paulo Soares > -Original Message- > From: Jaladurgam, Ramana [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 15:41 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Vertical aligning with ColumnText > > Hello, > I actually have a sing

[iText-questions] PdfPTable

2003-08-14 Thread Johansson Henrik (Svensk Börsinformation)
Hi All, I am wondering if there is a way to use the convenient PdfPTable (or Table) to display dynamically generated Graphics. Either Graphic or Graphics2D. Is the only way to create an Image object first? / Henrik --- This SF.Net email spons

RE: [iText-questions] OT: Printing PDF

2003-08-14 Thread Leonard Rosenthol
At 9:31 AM +0800 8/14/03, Mark Goking wrote: Are there any linux executable based for printing pdf files? Ghostscript - http://www.ghostscript.org Leonard -- --- Leonard Rosenthol

RE: [iText-questions] Vertical aligning with ColumnText

2003-08-14 Thread Jaladurgam, Ramana
Hello Paulo, Sorry for persistent trouble. I thought of clearly explaning the requirement. I am actually required to vertically align a phrase at a point say (100, 200). I am trying several options of leading and padding with PdfPTable, but not getting the required alignment. Please help.

[iText-questions] iText-RTF Query

2003-08-14 Thread Madhavi Pawar
Hi, I am using iText library for creating RTF document. The problem I am facing is, For RTF document rotate() is making the whole document landscape and not a particular page where as the same method is working on individual pages while generating a PDF file. has anybody come across this proble

[iText-questions] DefaultFontMapper

2003-08-14 Thread Hubert Lingo
I'm experencing some difficulties in using the DefaultFontMapper. Here is the case : I create a TTF with the java.awt.Font.createFont(Font.TRUETYPE_FONT, InputStream myInputStream) method. Then, I want to use the DefaultFontMapper to use with the pdfWriter.getDirectContent().createGraphics(heig

[iText-questions] minor bug

2003-08-14 Thread Moses Hohman
Hi, Phrase.isEmpty() returns false when there are two empty chunks in the Phrase. The javadoc for that method is a bit confusing (i.e. it says that the method does two different, incompatible things, the first being what the method actually does, and the second being what I think the method wa

[iText-questions] Table.height()

2003-08-14 Thread lee6308
I need to know Table's height so I tried to use height() method. But it returns 0. Why does it happen? --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now.

[iText-questions] itext with gcj ?

2003-08-14 Thread Michael Glauche
Hi, is it possible to compile itext apps with gcj (i'm using gcj 3.2.3) ? It seems that the gcj implementation of java.awt.* classes differ from the sun java.awt.* classes, i get some errors like the following: (with gcj -c itext-paulo-125.jar -o it.o) com/lowagie/text/pdf/codec/PngImage.java:4

RE: [iText-questions] Adding a jpg image to RTF Doc

2003-08-14 Thread Paulo Soares
> -Original Message- > From: Scott Sprout [SMTP:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 16:22 > To: [EMAIL PROTECTED] > Subject: Re: [iText-questions] Adding a jpg image to RTF Doc > > I have tried to tune the Image and Jpeg classes without success. For some > > reason

[iText-questions] setKeepTogether(): Bug or feature?

2003-08-14 Thread Peter Soelter
Hi there, I've found out, that using the setKeepTogether()-function on a paragraph has side-effects on the distance of paragraphs. If you use the setKeepTogether-function (see below), there will be an empty space before _and_ after a paragraph. If you don't use the function, you have to add empt

RE: [iText-questions] Cell Text Centering

2003-08-14 Thread Paulo Soares
Does anyone look at the javadocs? Don't you think that a method with the name Table.setDefaultHorizontalAlignment() is suspicious? Best Regards, Paulo Soares > -Original Message- > From: Saravanan, Vaira (GEAE, JV, EACoE-India) > [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003

[iText-questions] Reserve space

2003-08-14 Thread Carmona Perez, David
Hi,   I’m drawing directly through the PdfContentByte class, and would like to know if it fits the current page (to create a new one).  I know the height I need. to reserve vertical space, so that a new paragraph or any regular element isn’t overlaid   For 1), I think t

RE: [iText-questions] Distance between two Paragraphs

2003-08-14 Thread Paulo Soares
I've added support for bitmaps in WMF so, Paintshop Pro will work. About the offset add a Paragraph with a single '\n' and set the height with the leading. Best Regards, Paulo Soares > -Original Message- > From: Peter Soelter [SMTP:[EMAIL PROTECTED] > Sent: Monday, August 11, 2003 18:35 >

[iText-questions] New release itext-paulo-125

2003-08-14 Thread Paulo Soares
Changes in itext-paulo-125 (2003-08-12) - all the current CVS changes. - added support for BMP in RTF. - removed the dependency on TextLayout for the bidi order levels. The awt toolkit is nor needed anymore for Arabic or Hebrew. - changed DocumentException to better track

RE: [iText-questions] setCellsFitPage and image in table

2003-08-14 Thread Paulo Soares
Table has some idiosyncrasies. Consider using PdfPTable and before you ask, rowspan is done using nested tables. Best Regards, Paulo Soares > -Original Message- > From: Derrick Corda [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2003 19:07 > To: [EMAIL PROTECTED] > Subject: [

RE: [iText-questions] itext-paulo-jdk1.1-124

2003-08-14 Thread Hubert Lingo
You should consider using a better tool for Java development, like Eclipse. It's free and powerful. Hubert From: Paulo Soares <[EMAIL PROTECTED]> To: 'yun wang' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: [iText-questions] itext-paulo-jdk1.1-124 Date: Tue, 12 Aug 2003 10:35:09 +0100 T

RE: [iText-questions] itext-paulo-jdk1.1-124

2003-08-14 Thread Paulo Soares
Maybe you should check http://www.ujihara.jp/iTextdotNET/en/. You'll need the .NET framework, though. Best Regards, Paulo Soares > -Original Message- > From: Hubert Lingo [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 15:19 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subjec

RE: [iText-questions] Vertical aligning with ColumnText

2003-08-14 Thread Paulo Soares
It's top aligned by the leading plus some top padding (2 by default). Best Regards, Paulo Soares > -Original Message- > From: Jaladurgam, Ramana [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 16:53 > To: 'Paulo Soares'; [EMAIL PROTECTED] > Subject: RE: [iText-questions]

[iText-questions] Font files stay in temp folder

2003-08-14 Thread Pal Perinbam
Hi, I use Arial Unicode (arialuni.ttf) font for displaying Chinese texts on a PDF. I dynamically generate a PDF file and I find that everytime this ttf file gets saved in the temp folder of the windows 2000 o/s. After I generate PDF files 20-30 times, I find that this ttf file too gets saved 20-30

RE: [iText-questions] bug in PdfStamper?

2003-08-14 Thread Paulo Soares
I don't know what version you are using but whatever the problem was it's fixed now. Use the version at www.geocities.com/itextpdf. Best Regards, Paulo Soares > -Original Message- > From: Samuel B. Quiring [SMTP:[EMAIL PROTECTED] > Sent: Sunday, August 10, 2003 19:11 > To: [EMAIL PROTEC

[iText-questions] drawing line within a PdfPCell

2003-08-14 Thread Marc Lustig
Hi, what is the easiest way to draw a horizontal line inside a PdfPcell? If that's not possible how can I get the absolute position of the PdfPCell in order to draw the line using PdfContentByte ? Thanks. Marc --- This SF.Net email sponsored

[iText-questions] Vertical aligning with ColumnText

2003-08-14 Thread Jaladurgam, Ramana
Hello, I actually have a single line of text and want it to be vertically aligned(Center/bottom). I am using ColumnText. But, it appears like ColumnText won't align the text vertically. Any tweaks or ideas? Regards, Ramana.JV.

[iText-questions] NoClassDefFoundError - Servlet Classpath Problems

2003-08-14 Thread itext
Ok, first off, I love this product. The API is simple, and when it is working I have had no issues. Let me explain the problem. I have an EAR application which comprises of one Web Application (WAR file). In the Web Application is where I am generating PDFs from a servlet. I have placed the it

[iText-questions] 2 Fonts in single cell string - how can i?

2003-08-14 Thread BALASUBRAMANIAN Manivannan
Good day To ALL,       I am Manivannan in India.       I have a example code as       PdfPTable table.addCell(new Phrase("Moderate: I have some experience investing.  I would like further guidance.", font10));       As you all know, the string will be added into the cell. Where m

RE: [iText-questions] NoClassDefFoundError - Servlet ClasspathProblems

2003-08-14 Thread Paulo Soares
Have you tried to recompile the jar with your jdk version? It shouldn't matter but I don't see why the other jars work and iText doesn't. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Monday, August 11, 2003 18:39 > To: [EMAIL

RE: [iText-questions] copy a PDF page and its form fields

2003-08-14 Thread Gary Wu
Thanks Leonard. But I couldn't find CopyPDF.java in examples, tutorials, docs and iText source code. Could you point me to where the file is? Thanks! Gary -Original Message- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 2:26 PM To: Gary Wu; [EMAIL PROT

[iText-questions] Barcode Height

2003-08-14 Thread Armin Waldispuehl
hi again, Sorry, that I am asking the same stuff... I was trying to find the discussion list as Paulo has suggested. I could not find it ... All I found: I could create Barcode images with Barcode39 where I am able to use the setBarcodeHeight method.. Do I have to work with images instead of PdfB

RE: [iText-questions] OT: Printing PDF

2003-08-14 Thread Wen Cui
Xpdf can be used via command line. Xpdf is an open source viewer for Portable Document Format (PDF) files. The Xpdf project also includes a PDF text extractor, PDF-to-PostScript converter, and various other utilities. Xpdf runs under the X Window System on UNIX, VMS, and OS/2. The non-X componen

Re: [iText-questions] multi line headers in pdf or rtf documents

2003-08-14 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 08 August 2003 17:43, Paulo Soares wrote: > > No, this is for new content only. Not adding to existing. However, any > > logic that allows the end result--- I will use it. > > > > I need to create for now RTF documents with multi-line head

[iText-questions] Using iText, TrueTypeFont for adding kerning to Java2D, Bug in TrueTypeFont.java (fix included)

2003-08-14 Thread Jürg Lehni
This is the text I recently posted to the JAVA2D-INTEREST list: I just had exactly the same problem and found a quite nice solution: All the fonts I use are external Truetype Fonts and I load them from file by using Font

[iText-questions] Support for WMF limited?

2003-08-14 Thread Peter Soelter
Hi everybody, I'm trying to incorporate some Images in PDFs with iText. Maybe I found some limitation in the WMF-support. I created a WMF with Paintshop Pro (even reduced the Color-Depth to 2, i.e. Black-and-White), but the iText-generated PDF does show no image. The place where the image should o

Re: [iText-questions] Explorer Freezes

2003-08-14 Thread Bruno
Quoting Support <[EMAIL PROTECTED]>: > Hi all, > > I am using MIE 6.0, Acorbat Reader 5.0 > > Everything works fine on older versions of the MIE. On 6.0 after diplaying > the pdf the browser crashes (after a few seconds of being completely frozen.) > I looked through the mail archive and the FA

RE: [iText-questions] Page rotation

2003-08-14 Thread Carmona Perez, David
See the tutorial, chapter 1: http://www.lowagie.com/iText/tutorial/ch01.htm David -Mensaje original- De: Roberto Cipollini [mailto:[EMAIL PROTECTED] Enviado el: lunes, 11 de agosto de 2003 14:18 Para: [EMAIL PROTECTED] Asunto: [iText-questions] Page rotation Hi everybody...hav

[iText-questions] Explorer Freezes

2003-08-14 Thread Support
Hi all,   I am using MIE 6.0, Acorbat Reader 5.0   Everything works fine on older versions of the MIE.  On 6.0 after diplaying the pdf the browser crashes (after a few seconds of being completely frozen.) I looked through the mail archive and the FAQ but the solutions posted there do not add

[iText-questions] responding to existing forum entries..

2003-08-14 Thread Armin Waldispuehl
hi there, I just saw that someone's facing the same problem I had and I would like to response/help. How can I do that? thanks, armin --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Porta

RE: [iText-questions] NoClassDefFoundError - Servlet ClasspathProblems

2003-08-14 Thread Hubert Lingo
Hi, Have you tried to put the jar in the EAR/lib directory. Moreover, the server (JBoss) should have classloader priority like Application/Module... I know this is important to set up correctly with WebSphere. And last but not least, how is your EAR generated ? Did you write correctly the man

RE: [iText-questions] (no subject)

2003-08-14 Thread Paulo Soares
Barcode39.setX() > -Original Message- > From: Armin Waldispuehl [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 19:37 > To: iText > Subject: [iText-questions] (no subject) > > Hi, > > I was trying to use Barcode39. I am able now to adjust the bar's height... > however i

RE: [iText-questions] Support for WMF limited?

2003-08-14 Thread Paulo Soares
Your wmf has a picture inside and currently that's not supported although now that iText supports BMP the fix is easy. I'll think about it for the next release. Best Regards, Paulo Soares > -Original Message- > From: Peter Soelter [SMTP:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 14

RE: [iText-questions] Writing a PDF in CMYK

2003-08-14 Thread Paulo Soares
You need to use CMYK colors and CMYK images. Best Regards, Paulo Soares > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Sent: Thursday, August 07, 2003 15:54 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Writing a PDF in CMYK > > Hi, > > I'm wonde

[iText-questions] StackOverflowError in onEndPage Event

2003-08-14 Thread Dennis Cieri
I was wondering if someone can point me in the right direction. I have a class that is print a letter and attachments. I am required to print a small image (2k) at the bottom of each attachment so that a mail sorter machine can stuff envelopes. When my code tries to insert the image, I get the f

RE: [iText-questions] copy a PDF page and its form fields

2003-08-14 Thread Gary Wu
You're right. First, I was thinking of parsing form field annotation dictionary and look for /P key to tell which page a form field is in. But because /P in an optional entry in a form field's annotation dictionary, I really cannot count on that. Another way is to get the /Annots key in a page obj

RE: [iText-questions] copy a PDF page and its form fields

2003-08-14 Thread Gary Wu
Thanks again Leonard. I found CopyPDF.java. However, it still isn't something I'm looking for. PdfCopy.copyAcroForm() will copy all form fields in a PDF file to another. Is it possible to just copy form fields in a certain page (not all fields in a multi-page PDF file) to a new page in another fil

[iText-questions] Preserving bookmarks and references

2003-08-14 Thread Mark Anderson
To Whom It May Concern: I’m a newbie to the iText library, so I’m sorry if the answers to these questions are obvious. I need to be able to do two things: 1. Concatenate n-files into 1 new PDF, while preserving and/or merging the bookmarks and references. 2. Copy the pages from 1 PDF into

[iText-questions] RE: Fonts Changing in List Item Numbers

2003-08-14 Thread Peter Flannery
> I am getting unexpected results when creating a > document with many numbered lists. The font of the > list numbers seems to change to a font that is not > being used on certain list items. For example, if the > font used for list items is Times then list item > numbers one and three would have a

RE: [iText-questions] StackOverflowError in onEndPage Event

2003-08-14 Thread Paulo Soares
I see no reason for that to happen. Please prepare a small sample program that I can run here to reproduce the problem. Include any needed image. Best Regards, Paulo Soares > -Original Message- > From: Dennis Cieri [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 17:45 > To: [

RE: [iText-questions] Font files stay in temp folder

2003-08-14 Thread Pal Perinbam
Hi, I create PDF from a servlet which does nothing other than creating font using BaseFont. In windows 2000, suppose one's user id to login is . Then you may find those ttf files read by BaseFont under C:\Documents and Settings\\Local Settings\Temp directory.   And this is the way I create

[iText-questions] Xml and itext

2003-08-14 Thread Mark Goking
Hi all, is there a way if you use xml and tagmap to detect that if you have too many things written to the pdf file, the display could overlap the label 'page 1 of 2' genereted by the PageEvent class. How do you set the xml file such that if it will be long, it should at least continue to the n

RE: [iText-questions] FW: Hebrew support

2003-08-14 Thread Yishai Steinhart
Ok. Here is another thing I found that might help anyone with the same problem. You will get this problem when you draw your text using g.drawString (string, x, y) It will work fine if you draw your text using layout.draw((g, x, y); The second option will produce jaggy text. However, the resoluti

Re: [iText-questions] Ascii to PDF converter

2003-08-14 Thread Matt Benson
This is a FAQ: http://www.lowagie.com/iText/faq.html#preformattedtext -Matt --- Huttin Pierre <[EMAIL PROTECTED]> wrote: > Hello, > > I want to make an ASCII to PDF converter. Before > recreating the wheel, I'm > searching if anyone has already made this, if yes > and if it's possible, > where

Re: [iText-questions] newline in ColumnText.addText

2003-08-14 Thread Bruno
Quoting Michael Mertel <[EMAIL PROTECTED]>: > the b is printed on top of a You have to specify a 'leading' (= space between 2 lines) br, Bruno --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce

RE: [iText-questions] Font files stay in temp folder

2003-08-14 Thread Paulo Soares
iText doesn't use any temporary files. You have to look for the problem elsewhere. Best Regards, Paulo Soares > -Original Message- > From: Pal Perinbam [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2003 8:13 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Font files stay

[iText-questions] barcodes via XML translation

2003-08-14 Thread Moses Hohman
Hello, Are there plans for adding barcodes to the itext.dtd and SAXiTextHandler class? If I were to do so, which barcode should I use? I personally like PdfBarcode better because it does not require that the text be printed under the barcode (essential for my use of it). Should I also add a co

Re: [iText-questions] Preserving bookmarks and references

2003-08-14 Thread Leonard Rosenthol
At 1:20 PM -0700 8/5/03, Mark Anderson wrote: I need to be able to do two things: 1. Concatenate n-files into 1 new PDF, while preserving and/or merging the bookmarks and references. 2. Copy the pages from 1 PDF into another PDF in reverse order, while preserving the bookmarks and ref

[iText-questions] Re: Can you Help

2003-08-14 Thread Bruno
I'm not familiar with lasso/Mac/fp5/... I forward your question to the mailing list. Quoting Kunal Patel <[EMAIL PROTECTED]>: > Hi there, > > My new project want me to creat pdf on fly from fp5 database with LP6 / LS6 > for GL6 on Mac. > > *** > I am able to : > Insert dynamic content f

RE: [iText-questions] PdfPTable

2003-08-14 Thread Paulo Soares
There are many ways to do many things but you should explain better what you want do do. Best Regards, Paulo Soares > -Original Message- > From: Johansson Henrik (Svensk Börsinformation) > [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2003 10:14 > To: '[EMAIL PROTECTED]' > Subje

RE: [iText-questions] Barcode "Decodbility"

2003-08-14 Thread Paulo Soares
You do it using the printer commands directly. Of course that a different printer will require different commands. The problem is not the printer's resolution but the ability of setting the pixel we want without uncertainty. Best Regards, Paulo Soares > -Original Message- > From: Brook St

[iText-questions] how to calculate vertical space of a PdfPCell

2003-08-14 Thread Marc Lustig
Hi, I have a list of items that spread over numerous pages. The items are sequentially put on the page in two columns of a PdfPTable. (For every page a single PdfPTable.) What I need now is to calculate when the bottom of the page (column) is reached in order to trigger a column-change or newPa

[iText-questions] newline in ColumnText.addText

2003-08-14 Thread Michael Mertel
Hi there, I'am new to iText (cool lib, btw) ... and having trouble to insert line breaks in a ColumnText Object. That's my code: ct.setSimpleColumn( 70, 684, 215, 64, 0, Element.ALIGN_TOP | Element.ALIGN_LEFT ); BaseFont helvetica = BaseFont.createFont("Helvetica", BaseFont.CP1252, BaseFont.NOT_

[iText-questions] Distance between two Paragraphs

2003-08-14 Thread Peter Soelter
Hi everybody, thanks for your fast response to my WMF-support-question, Paulo (I'll use a different tool than Paintshop Pro, Zoner Draw works for example). Now I have a very simple question: Where can I set the distance between two Paragraphs? I mean something like an offset-before ore offset-aft

RV: [iText-questions] SVG graphics

2003-08-14 Thread Carmona Perez, David
I’ve tried the same code with a simple SVG, and it works. Does someone know if scaling and translation of the input data is done automatically? David   -Mensaje original- De: Carmona Perez, David Enviado el: viernes, 08 de agosto de 2003 11:19 Para: Itext-Questions

Re: [iText-questions] OT: Printing PDF

2003-08-14 Thread Leonard Rosenthol
At 8:00 AM +0200 8/8/03, Andreas Probst wrote: > What OS platform? Windows would be sufficient, although it'll be nice to run on Unixes too. For Windows, check out XpdfViewer (http://www.glyphandcog.com). For Unix, Ghostscript. Leonard -- -

RE: [iText-questions] Barcode Height

2003-08-14 Thread Paulo Soares
Barcode39 is the way to go. Although the result is an image it's a vector image (a template, actually). You don't lose resolution. Best Regards, Paulo Soares > -Original Message- > From: Armin Waldispuehl [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 18:21 > To: iText > Sub

  1   2   >