[iText-questions] Generation procedure unsuitably designed?

2005-06-03 Thread Vjeran Marcinko
Hi everyone. I never used iText, only took a quick glance at code examples, and though it looks great by features I noticed one thing that seems a bit odd, and quite unsuitable for my needs. Correct me if I'm wrong, but generation of PDF let's say, consists of following steps : 1. Create Document

[iText-questions] borderless tables?

2005-06-03 Thread Bear Giles
Hi, How do I create a table without borders? I tried "setDefaultCellBorderWidth(0.0f)", but that didn't do it. Thanks, Bear --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ri

RE: [iText-questions] PDF Flattening

2005-06-03 Thread Bill Sanders
Everything is TIFF based, which is why I'm pulling my hair out. Regards, Bill Sanders NearStar, Inc. www.nearstar.com Office: (972) 355-2236 x206 NearStar Technical Support: (972) 355-2236 x202 **CONFIDENTIAL NOTICE** The information is intended only for the person or entity to which it is

[iText-questions] Table vs PdfPTable confusion

2005-06-03 Thread Biker Conrad
Hi: I am confused about which of these classes I should use when I generate my pdf reports. The table class is richer in features and I am very inclined to use it, on the other hand I saw in the tutorial that the Table class is qualified as old and not supported. I found that having two table clas

[iText-questions] need page numbering help

2005-06-03 Thread Beet
I have a very specific case in my PDF output where the data may run over into additional pages in a certain section. Every other section doesn't have this problem because I will never "run over" to a new page, so I can specifically call my addPageNum() method to put the page number in. My proble

[iText-questions] number of columns in PdfPTable

2005-06-03 Thread Ekta Ojha
Hello Group, Please advise me if I can use 27 columns using PdfPTable. or in other words can we have horozontal scrolling. What can be the other reasons for this exception. ExceptionConverter: java.io.IOException: The document has no pages. at com.lowagie.text.pdf.PdfPages.writePageTree(Un

Re: [iText-questions] Controlling pdf viewer

2005-06-03 Thread Leonard Rosenthol
At 02:58 PM 6/3/2005, david allen wrote: I would like to know if it is possible to insert some meta data into a pdf document using itext. For example, when a user opens my itext generated pdf * I would like the ZoomIn / ZoomOut value set to 100% Yes. * I would like the actual pdf wi

[iText-questions] Controlling pdf viewer

2005-06-03 Thread david allen
Hi all, I would like to know if it is possible to insert some meta data into a pdf document using itext. For example, when a user opens my itext generated pdf * I would like the ZoomIn / ZoomOut value set to 100% * I would like the actual pdf window to NOT contain buttons (beneath the menu) o

RE: [iText-questions] Checkboxes question

2005-06-03 Thread Sloey, James
I think so... The PDF form for the template was created using Acrobat Pro 6. The checkbox tool in advanced editing shows appearance data (Border Color, Fill Color, Line Thickness, Line Style, Font Size, Font and Text Color). The call to getAppearanceStates() returns a string array with 2 values: [

RE: [iText-questions] Checkboxes question

2005-06-03 Thread Paulo Soares
Do you have appearances in the checkbox? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sloey, James > Sent: Friday, June 03, 2005 6:19 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Checkboxes question > > I can f

[iText-questions] Checkboxes question

2005-06-03 Thread Sloey, James
I can find a checkbox and it's current state but I am unable to put a check in the box. I'm using the code snippet below... PdfReader reader = new PdfReader(template); PdfStamper stamp = new PdfStamper(reader, newFileOutputStream(pdffilename)); PdfContentByte overimage = stamp.getOverContent(1); A

RE: [iText-questions] PDF Flattening

2005-06-03 Thread Leonard Rosenthol
At 11:32 AM 6/3/2005, Bill Sanders wrote: This user has all of their watermarks in TIFF format, because they used a Xerox solution that could image them as background forms. Lovely :( The PDFs that are you starting with (to bookmark), are they vector/text based, or also all T

RE: [iText-questions] PDF Flattening

2005-06-03 Thread Bill Sanders
This user has all of their watermarks in TIFF format, because they used a Xerox solution that could image them as background forms. They changed to a new model printer and they do not want to change all of the current processes. So I'm trying to help them using a Jython script to replicate what t

RE: [iText-questions] PDF Flattening

2005-06-03 Thread Leonard Rosenthol
At 11:10 AM 6/3/2005, Bill Sanders wrote: Here's an observation. If I use Acrobat Pro and convert the TIFF image to be used as a watermark to a PDF and then attach it to a blank PDF as a watermark. When I use stamping, it seems to be ok. Because it is tossing the opacity values when y

RE: [iText-questions] PDF Flattening

2005-06-03 Thread Bill Sanders
Appreciate the response. Here's an observation. If I use Acrobat Pro and convert the TIFF image to be used as a watermark to a PDF and then attach it to a blank PDF as a watermark. When I use stamping, it seems to be ok. Is there alternatives to using these TIFF's as watermarks that I haven't t

RE: [iText-questions] PDF Flattening

2005-06-03 Thread Leonard Rosenthol
At 10:32 AM 6/3/2005, Bill Sanders wrote: Appreciate the quick response. Is there any option within iText to flatten the PDF file. These are simple view and print PDF's only. No. You'd need to use something like ImageMagick/GraphicsMagick in conjunction with Ghostscript to p

Re: [iText-questions] Graphics2D, JFreeChart and fonts

2005-06-03 Thread Adriaan Joubert
Will this do the trick: http://itextdocs.lowagie.com/examples/com/lowagie/examples/directcontent/graphics2D/JFreeChartExample.java br, Bruno No, it really needs the line org.jfree.text.TextUtilities.setUseDrawRotatedStringWorkaround(false); In the code there is a comment that it is a //

RE: [iText-questions] PDF Flattening

2005-06-03 Thread Bill Sanders
Appreciate the quick response. Is there any option within iText to flatten the PDF file. These are simple view and print PDF's only. Regards, Bill Sanders NearStar, Inc. www.nearstar.com Office: (972) 355-2236 x206 NearStar Technical Support: (972) 355-2236 x202 **CONFIDENTIAL NOTICE** Th

RE: [iText-questions] AskingAgain: fonts are being embedded even though I don't want that.

2005-06-03 Thread Leonard Rosenthol
At 09:06 AM 6/3/2005, David Thielen wrote: If I have unicode text and I don't know what charsets it may be from (ie it could be combined Thai and Chinese), it seems to me that I have to use IDENTITY. Correct. Or is there a way around that? No. And why does IDENTITY alway

RE: [iText-questions] AskingAgain: fonts are being embedded even though I don't want that.

2005-06-03 Thread David Thielen
Hello; If I have unicode text and I don't know what charsets it may be from (ie it could be combined Thai and Chinese), it seems to me that I have to use IDENTITY. Or is there a way around that? And why does IDENTITY always get embedded? Thanks - dave -Original Message- From: bruno [ma

Re: [iText-questions] AskingAgain: fonts are being embedded even though I don't want that.

2005-06-03 Thread bruno
David Thielen wrote: Hi; I get the fonts for my PDF doc using: Font font = FontFactory.getFont(fontName, BaseFont.IDENTITY_H, false, fontSize, style); See http://itextdocs.lowagie.com/tutorial/fonts/#basefont Fonts with BaseFont.IDENTITY_H or BaseFont.IDENTITY_V will always be embedded no m

[iText-questions] AskingAgain: fonts are being embedded even though I don't want that.

2005-06-03 Thread David Thielen
Hi; I get the fonts for my PDF doc using: Font font = FontFactory.getFont(fontName, BaseFont.IDENTITY_H, false, fontSize, style); And when that doesn't work I do: Font font = FontFactory.getFont(fontName, BaseFont.CP1252, false, fontSize, style); But the fonts are embedded in the document. Ho

Re: [iText-questions] itext table problem

2005-06-03 Thread bruno
Oliver Constanso wrote: *De:* oliver [mailto:[EMAIL PROTECTED] *Enviado el:* viernes, 03 de junio de 2005 13:58 *Para:* 'itext-questions@lists.sourceforge.net' *Asunto:* itext table problem Hello, I’m using iText to gene

[iText-questions] itext table problem

2005-06-03 Thread Oliver Constanso
    De: oliver [mailto:[EMAIL PROTECTED] Enviado el: viernes, 03 de junio de 2005 13:58 Para: 'itext-questions@lists.sourceforge.net' Asunto: itext table problem   Hello,   I’m using iText to generate a pdf file from a table. It Works very well but I have a problem I hope y

RE: [iText-questions] PDF Flattening

2005-06-03 Thread Paulo Soares
That's life. If you have opacity the page has to be flattened before printing. It's not an iText thing, any PDF with opacity behaves the same way. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Bill Sanders > Sent: Friday, June 03, 2005 6:01 A