[iText-questions] Re: itext - PDFwriter

2006-02-16 Thread Bruno Lowagie
Kmet, Bill wrote: I have recently been testing out Itext and I notice that if I try to add a watermark during the create process the pdf comes out at 206kb, if I add the watermark afterwards instead the pdf is 13kb, any ideas why or how I can add a watermark during the process and avoid the big

Re: [iText-questions] minimal xmp-support for pdfa_1b standard

2006-02-16 Thread Bruno Lowagie
Thomas Kübler wrote: Hello, Exist a description if a xmp-meta-data has to exist for the pdf/A-1b standard, if yes, which elements have to insert, can we insert also customer elements? http://partners.adobe.com/public/developer/en/xmp/sdk/xmpspecification.pdf The XMP classes in iText are wri

Re: [iText-questions] Replacing placeholder value in PDF

2006-02-16 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: What method I should call to remove border. PdfPTable foot = new PdfPTable(1); foot.getDefaultCell().setBorder(Rectangle.NO_BORDER); Also I have to display header as Image. Here is code for that . But here header is height is very much. I want to make it less. So wh

[iText-questions] minimal xmp-support for pdfa_1b standard

2006-02-16 Thread Thomas Kübler
Hello, Exist a description if a xmp-meta-data has to exist for the pdf/A-1b standard, if yes, which elements have to insert, can we insert also customer elements? with regrads thomas kübler -- Mit freundlichen Grüßen Thomas Kübler Dynamic Document Solution

RE: [iText-questions] JPedal undocumented goody

2006-02-16 Thread Bill Ensley
Title: Message The examples I used come from the JPedal site, I will send you mine later, but I have a deadline to meet right now.   -Bill Ensley Bear Printing From: Richard Braman [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 3:36 PMTo: 'Bill Ensley'Subject: RE: [iText-ques

RE: [iText-questions] JPedal undocumented goody

2006-02-16 Thread Bill Ensley
Title: Message OK, for all who want the modified PdfDecoder, it is available at:   http://www.bearprinting.com/PdfDecoder.java   The relevent method is   PdfDecoder.paintToGraphics2D()   -Bill Ensley Bear Printing From: Richard Braman [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16,

[iText-questions] Open Table in

2006-02-16 Thread Ivaylo
Hi, The Adobe Acrobat Standard (7.0 and over) support functionality "Open Table in Spreadsheet", that let you select test in the PDF, click right button over the selected text and open selected content in Excel. We are using iText version 1.3.6 to merge multiple PDF documents in one. Before merg

[iText-questions] JPedal undocumented goody

2006-02-16 Thread Bill Ensley
Hello All!Yesterday I helped someone figure out how to get images from a PDF using JPedal and not turn out grainy.   After doing that I stuck around in JPedal and did some playing and found a neat trick that I wanted to pass on To this Mail Group.   As you know, JPedal can create a fairly p

RE: [iText-questions] creating a clickable TOC for merged PDFs

2006-02-16 Thread Marc Stein
Paulo and Bruno -- thanks for the response to yesterday's question. In trying to implement the PdfStamper post-processor solution, though, I am running into an inexplicable runtime error. This is what I'm trying to do (a simple proof of concept): PdfReader reader = new PdfReader(infile);

[iText-questions] HTML input - using percent column sizes in tables

2006-02-16 Thread Kostello, Don
I'm using the HTMLWorker to parse an HTML input document. The document uses percentage sizes for the columns. The PDF output doesn't use these, it splits the columns equally. I saw a previous post on this, but never saw a solution. Sample HTML is:

RE: [iText-questions] Problems with changing bgcolor on checkboxes

2006-02-16 Thread Paulo Soares
You can't change the bgcolor on the checkboxes because the checkboxes are not recreated as in the case of text fields. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Chandrasekharan, Satish > Sent: Thursday, February 16, 2006 3:28 PM > To: ite

[iText-questions] questions on how to use ICC profiles for ALL data

2006-02-16 Thread wang yun
Dear Itext Support, Do you havwe example to use "ICC profiles for ALL your data - image, text and vectors"? Thanks a lot, yun wang Just to clarify what Paulo wrote... When you introduce transparency to a page, you potentially change the colorspace(s) in which Acrobat render

RE: [iText-questions] Problems with changing bgcolor on checkboxes

2006-02-16 Thread Chandrasekharan, Satish
Paulo, Thanks for your prompt response. Would it work if i used the PdfWriter to recreate the checkboxes and paint them into a new document from scratch? Thanks, Satish -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 9:41 AM To: Chandrasek

[iText-questions] Problems with changing bgcolor on checkboxes

2006-02-16 Thread Chandrasekharan, Satish
Hello, I'm using the classes PdfStamper and AcroFields to highlight unchecked checkboxes and text fields that do not have text in them. The setFieldProperty(fieldname,bgcolor, new Color(0xFF,0xFF,0x00),null) manages to change the background color on all the text fields, but fails to do so for th

[iText-questions] placeBarcode

2006-02-16 Thread beppe costagliola
I'm trying to put a barcode128 in the onStartPage but I get a runtime error both with placeBarcode ... cb.concatCTM(1, 0, 0, 1, 370, 750); code128.placeBarcode(cb, null, null); ... and createImageWithBarcode. ... barcodeImage = code128.createImageWithBarcode(cb, null, null); ... Thanks for hel

RE: [iText-questions] Add a transparent PNG image to a page, color of text or background will be changed

2006-02-16 Thread Leonard Rosenthol
At 05:21 AM 2/16/2006, Paulo Soares wrote: That's a viewer feature: the moment you have transparency the on-screen rendering mode changes. It will still print the same. Just to clarify what Paulo wrote... When you introduce transparency to a page, you potentially change the co

Re: [iText-questions] ID tag issue with Lulu.com prevents reading pdf

2006-02-16 Thread Leonard Rosenthol
At 01:08 AM 2/16/2006, Larry Schmidlin wrote: Doing a diff between bookinput.pdf and booklulusource.pdf, here is the only difference: First file: <[<3bcc5600b04a5472ec6fa4cd4508079d><3bcc5600b04a5472ec6fa4cd4508079d>]/Root 123 0 R/Size 125/Info 124 0 R>> That a correct trailer with n

RE: [iText-questions] Add a transparent PNG image to a page, color of text or background will be changed

2006-02-16 Thread Paulo Soares
That's a viewer feature: the moment you have transparency the on-screen rendering mode changes. It will still print the same. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of jimmy Liu > Sent: Wednesday, February 15, 2006 5:27 AM > To: itext-quest

Re: [iText-questions] watermarks

2006-02-16 Thread bruno
beppe costagliola wrote: I've tried with document.add(watermark) but only the last appears. That method is obsolete. Use page events to add watermarks (as many as you want). br, Bruno --- This SF.net email is sponsored by: Splunk Inc. Do yo

Re: [iText-questions] How to read pdf document using iText.

2006-02-16 Thread bruno
mithun ruikar wrote: Hello , I want to read pdf document into String and want to compare those read strings with some constant Strings. Whoever gave you that assignment probably doesn't know much about the nature of PDF. Does iText support such requirement? If yes, what are the api avail

[iText-questions] watermarks

2006-02-16 Thread beppe costagliola
Is it possible to add 2 watermarks, for example one at the top and another in the middle on a new document ? I've tried with document.add(watermark) but only the last appears. Thanks. ___ Yahoo! Mail: gratis 1GB per i messag

[iText-questions] How to read pdf document using iText.

2006-02-16 Thread mithun ruikar
Hello , I want to read pdf document into String and want to compare those read strings with some constant Strings. Does iText support such requirement? If yes, what are the api available to do so. -- thank you mithun --- This SF.net email is

Re: [iText-questions] Splitting PdfPTable at absolute positions

2006-02-16 Thread bruno
David Woosley wrote: Bruno, As I stated, the all parts of the table will flow across the bottom half of many pages. In other words, the table starts on the bottom half of page one, continues on the bottom half of page two, and so forth. Then I think the combination ColumnText / PdfPTable i

Re: [iText-questions] Jasper vs ITEXT

2006-02-16 Thread bruno
Rumpa Giri wrote: For creating tabular report what do you folks prefer JASPER or ITEXT? I have never used JasperReports, so I couldn't tell you what's better. I'm just glad the major Reporting Tools such as JasperReports and BIRT use iText for their PDF generation. br, Bruno

Re: [iText-questions] Reading and Extracting Text from PDF

2006-02-16 Thread bruno
Richard Braman wrote: I am a little confused by this snippet. Where are you getting the steam from? I know it's a PR Stream, but which contructor do you use to create the PRStream? There must be some code before this. byte[] streamBytes = reader.getPageContent(pagenumber); br, Bruno --