[iText-questions] Form flattening & over content

2008-07-30 Thread Alex Wibowo
Gday, I have a PDF with some sensitive information in it. I was thinking of putting white box on top of this location. But I find out later that the white box can be removed by simply opening the PDF in Acrobat Designer. (or even simpler, do a text highlight & drag over the overlapped texts, then

Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-30 Thread wasegraves
-- Original message -- From: "Udkik.dk" <[EMAIL PROTECTED]> > > Dear Bill Segraves, > > The iText discussion list is not a help desk. > Sorry, I missed this. I thought it was allowed to ask for help. Indeed, it is alright to ask for help. OTOH, a request for help th

Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-30 Thread Udkik.dk
Dear Bill Segraves, > The iText discussion list is not a help desk. Sorry, I missed this. I thought it was allowed to ask for help. > When you ask a question and get an answer from one or two people, there may > be 10x as many people whose time has been wasted by your having asked the > question

[iText-questions] rotating ColumnText

2008-07-30 Thread Bil Corry
I'm trying to rotate a ColumnText object by wrapping it in an Image; my code looks like: fRotate = 30.0; fLeft = 100.0; fTop = 630.0; PdfTemplate template = pdfwriter.getDirectContent().createTemplate(fWidth, fHeight); col = new ColumnText(template);

Re: [iText-questions] PDfStamper and protected documents

2008-07-30 Thread Leonard Rosenthol
On Jul 29, 2008, at 11:37 AM, Paulo Soares wrote: >> My question is: how can I workaround it and make recent iText process >> protected documents _without_ owner password (I don't know it and I >> have thousands of documents which are password protected and only >> print and view is permitted). >>

Re: [iText-questions] Type 3 Font Problem

2008-07-30 Thread Leonard Rosenthol
It's not a PDF issue - you can have as many different white space characters as you want. HOWEVER, with Type 3, you REALLY want to ensure that you have a ToUnicode table present so that the glyphs map correctly to the Unicode equivalents. Leonard On Jul 29, 2008, at 3:43 PM, Jerold Sampso

Re: [iText-questions] Specifying Barcode 128 Subsets

2008-07-30 Thread Paulo Soares
setCode() must have the codes from the 128 table, it's not ascii in raw mode. Paulo - Original Message - From: "James Asher" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 30, 2008 5:28 PM Subject: [iText-questions] Specifying Barcode 128 Subsets Hello, I'm trying to get a handle on c

Re: [iText-questions] removing header and footer from each page of an existing pdf

2008-07-30 Thread 1T3XT info
Archana Ranginani wrote: > How did you generate > clippedpages.pdf? That looks perfectly normal. As I said: the code can be found here: http://1t3xt.info/examples/browse/?page=example&id=415 That URL was in my previous answer. That's what was said earlier on the list: people should read document

Re: [iText-questions] removing header and footer from each page ofan existing pdf

2008-07-30 Thread Archana Ranginani
--- On Wed, 7/30/08, Archana Ranginani <[EMAIL PROTECTED]> wrote: From: Archana Ranginani <[EMAIL PROTECTED]> Subject: Re: [iText-questions] removing header and footer from each page ofan existing pdf To: "Post all your questions about iText here" Date: Wednesday, July 30, 2008, 8:20 AM

Re: [iText-questions] Graphics2D not working

2008-07-30 Thread Neel Parekh
So figured it out, and thought I would post this in case someone else needs to know... It was working, but the borders are a little weird on PDF. It seems like the minimum y value is around 70. Any higher than that is off the page. But the min x value is still 0. I know the given point is the b

[iText-questions] Specifying Barcode 128 Subsets

2008-07-30 Thread James Asher
Hello, I'm trying to get a handle on code 128 barcodes. I need to have a barcode that is of the format: Start Code 128 Subset B 1ABC Shift to Subset C 123456789012345678901234 EndCode128 I realize that iText will automatically 'figure out' the best way to do a 128 barcode, however I need to be

Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-30 Thread Bruno Lowagie
Udkik.dk wrote: > Technically, your are right. But why not extent your point of view and > close this community. That's indeed a very tempting offer. I'll think about it. > People can just figure everything out themself! > Socially, you are terrible wrong. Before you start lecturing people abou

Re: [iText-questions] removing header and footer from each page of an existing pdf

2008-07-30 Thread 1T3XT info
Archana Ranginani wrote: > Adding a CROPBOX to PdfDictionary is working, although the pdf looks > skewed while viewing it on screen. I'm sorry, but I really dislike people who get perfectly good advice, and then say that the advice is worthless without any proof. I can PROVE that the PDF IS NOT

Re: [iText-questions] open file attachment from pdf using javascript.

2008-07-30 Thread 1T3XT info
rajeshkarka wrote: > Please help me if anyone know how to open attachments using javascirpt. http://www.adobe.com/devnet/acrobat/pdfs/AcroJS.pdf -- This answer is provided by 1T3XT BVBA - This SF.Net email is sponsored by th

[iText-questions] open file attachment from pdf using javascript.

2008-07-30 Thread rajeshkarka
Hi, I have created one PDF using itext and inserted another pdf file as an attachment. On click of submit button i am calling javascript to open inserted PDF attachment. I am able to find the attachment name when i use Annnotations but I m not able to open it. If I use simple writer.addfileA

Re: [iText-questions] [NEWBIE] Re: File does not begin with %PDF

2008-07-30 Thread 1T3XT info
Jonathan Romley wrote: > When we are parsing the template, the error is shown > exception is thrown, and so no data is written to the outputstream of the pdf > therefore it is of 0 bytes, and can't be read - so the reason we get File > does not begin with %PDF is resolved - there is no data in the

Re: [iText-questions] PDF Packages in Acrobat 8

2008-07-30 Thread 1T3XT info
Chris Richards wrote: > Acrobat 8 has a feature where you can embedd multiple PDF documents into a > single document. When you open the document in Acrobat you are presented > with thumbnails, one for each document. Clicking on the thumbnail opens the > document. > > Is this possible with I-

Re: [iText-questions] Anyone knows if it's possible to have a Dynamic Table Header?

2008-07-30 Thread 1T3XT info
Vicente Torrejon Castrillo wrote: > Hi, I have a large table that requires having a dynamic header and footer. > In this case, the table contains financial information for a given customer, > and at the table's header you specify the balance brought from > the previous page. In the footer you sp

Re: [iText-questions] removing header and footer from each page ofan existing pdf

2008-07-30 Thread wasegraves
-- Original message -- From: Archana Ranginani <[EMAIL PROTECTED]> How can I actually remove the headers and footers from the pdf? Thanks for your > help. Bruno has told you that it would be difficult to remove the headers and footers. OTOH, it should be easy for

[iText-questions] PDF Packages in Acrobat 8

2008-07-30 Thread Chris Richards
Acrobat 8 has a feature where you can embedd multiple PDF documents into a single document. When you open the document in Acrobat you are presented with thumbnails, one for each document. Clicking on the thumbnail opens the document. Is this possible with I-text? How do you do it? Can it de

Re: [iText-questions] removing header and footer from each page of an existing pdf

2008-07-30 Thread Archana Ranginani
Adding a CROPBOX to PdfDictionary is working, although the pdf looks skewed while viewing it on screen.   How can I actually remove the headers and footers from the pdf? Thanks for your help. --- On Tue, 7/29/08, 1T3XT info <[EMAIL PROTECTED]> wrote: From: 1T3XT info <[EMAIL PROTECTED]> Subject

Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-30 Thread wasegraves
-- Original message -- From: "Udkik.dk" <[EMAIL PROTECTED]> > > Dear Bill Segraves, > > Technically, your are right. But why not extent your point of view and > close this community. People can just figure everything out themself! Allan, mea culpa! I did not make

Re: [iText-questions] java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.getWidth()F

2008-07-30 Thread Udkik.dk
Dear Bill Segraves, Technically, your are right. But why not extent your point of view and close this community. People can just figure everything out themself! Socially, you are terrible wrong. I appreciate the help from Ellen. This help saved me lot of time. Best regards, Allan Unnerup > ---

Re: [iText-questions] Anyone knows if it's possible to ha ve a Dynamic Table Header?

2008-07-30 Thread Vicente Torrejon Castrillo
Thanks for your quick reply, Paulo. I will give it a go. Regards - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great pri

Re: [iText-questions] Anyone knows if it's possible to have a Dynamic Table Header?

2008-07-30 Thread Paulo Soares
Headers and footers in tables always repeat the same information. You'll have to create a new first and last row in each page (no headers or footers). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Vicente Torrejon Castrillo > Sent: Wednes

Re: [iText-questions] Type 3 Font Problem

2008-07-30 Thread Paulo Soares
I see no reason for that to happen. Please provide a small standalone program so that the problem can be reproduced. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jerold Sampson > Sent: Tuesday, July 29, 2008 8:44 PM > To: itext-questions

[iText-questions] Anyone knows if it's possible to have a Dynamic Table Header?

2008-07-30 Thread Vicente Torrejon Castrillo
Hi, I have a large table that requires having a dynamic header and footer. In this case, the table contains financial information for a given customer, and at the table's header you specify the balance brought from the previous page. In the footer you specify the balance carried to the next pag

Re: [iText-questions] Is there any alternative option to use ® in iText

2008-07-30 Thread 1T3XT info
krishna itest wrote: > Hi, > > I would like to print text like *SIR ^® ^ > * > I mean text with some ®. Is this possible to print through > iText? That's explained in chapter 4 of the book. -- This answer is provided by 1T3XT BVBA ---

Re: [iText-questions] is it possible to extract a Bitmap from a rectangular are in a PDF using itext/sharp

2008-07-30 Thread 1T3XT info
Hakan Usakli wrote: > Follow UP > after looking what I really need to do with the extracted > information/image, It would be OK to get a PDF of that particular area as > well, it doesnt have to be a bitmap - but it needs to be that specific > rectangular area of that page only...is there a way t

Re: [iText-questions] What is the difference between PDF/A and PDF/X? Which one does iText produce?

2008-07-30 Thread 1T3XT info
[EMAIL PROTECTED] wrote: > Thanks a lot. I could find the reason for getting the exception. I am > actually using a table to print the PDF. The method takes a HashMap (with key > and value pairs) and returns a PDFTable with 2 columns - one each for the key > and value. When i add this PDFTable t

Re: [iText-questions] Query on creating TOC from multiple PDFs

2008-07-30 Thread 1T3XT info
¶ Ravi ¶ wrote: > Hello, > > I have multiple PDF reports that I would like to combine/merge into one > PDF, and at the same time create a Table of Contents, with a couple > levels of hierarchy in the TOC (i.e. higher level reports with a + > opening to detailed reports). I want to do this progr