[iText-questions] RtfWriter2 and FitsPage()

2005-11-23 Thread Sidney
Hi everyone, Actually I have been doing the research in the University, I have the following problems about Rtf. Hope the experts here can help me. I have a very tight schedule. >From the conversation of Mark Hall and Katy in 14 Feb 2005, it said that further update to class RtfTable will be d

Re: [iText-questions] PDF questions.

2005-11-23 Thread Xuan Ye
Thanks for your help. But how to compress/decompress a pdf file? I noticed that in the old version of PdfWriter.java, there is a field called compress_b, but it is no longer there. Thanks. - Original Message - From: "Bruno Lowagie" <[EMAIL PROTECTED]> To: "Xuan Ye" <[EMAIL PROTECTED]>

RE: [iText-questions] Access dictionary entry via indirect reference

2005-11-23 Thread Stefan Woltering
> I just don't understand the question. I am sorry to bother you still, but it seems you really did not understand my central question. I will try to explain it again in a better way. > I looked in the archives: you asked something about > displaying a signature. Again I have no idea why you >

Re: [iText-questions] Newbie to PDF APIs ? Trying to update fields...

2005-11-23 Thread Paulo Soares
iText doesn't support forms created with Designer 7. Forms created with Acrobat 7 will work ok. - Original Message - From: "Rob Dickey" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 23, 2005 11:20 PM Subject: [iText-questions] Newbie to PDF APIs ? Trying to update fields... I've

[iText-questions] Newbie to PDF APIs ? Trying to update fields...

2005-11-23 Thread Rob Dickey
I’ve reviewed some of the samples that use the PDFStamper, AcroFields, etc. objects to programmatically update fields from a PDF template and stream the update to a new PDF. The samples work great. However, when I tried the same things against a PDF template I created using Adobe Designer,

Re: [iText-questions] Inserting Pages into An Existing PDF

2005-11-23 Thread Paulo Soares
PdfWriter.getImportedPage() and PdfStamper.insertPage(). - Original Message - From: "Phil Queripel" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 23, 2005 7:49 PM Subject: [iText-questions] Inserting Pages into An Existing PDF Hi, I'm having great success reading a pdf, 'stampin

Re: [iText-questions] CCITTFax Decode

2005-11-23 Thread Paulo Soares
Use point 3 to get the image bytes and feed them to TIFFFaxDecoder. You may have to get the dictionary parameters from the PRStream. - Original Message - From: "John Pruitt" <[EMAIL PROTECTED]> To: "Paulo Soares" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, November 23, 2005 8:03 PM Subje

Re: [iText-questions] table.widthPercentage is not visible

2005-11-23 Thread Paulo Soares
table.setWidthPercentage(100); - Original Message - From: "Dawn" <[EMAIL PROTECTED]> To: Sent: Wednesday, November 23, 2005 8:54 PM Subject: [iText-questions] table.widthPercentage is not visible Hi, I got an error "field table.widthPercentage is not visible" for the following code:

RE: [iText-questions] Re: iText --- document.add() with stamp

2005-11-23 Thread Paulo Soares
You have the answer. Go to the tutorial for more details on using ColumnText. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Eric Anderson > Sent: Wednesday, November 23, 2005 4:31 PM > To: itext-questions@lists.sourceforge.net > Subject: [iTex

Re: [iText-questions] table.widthPercentage is not visible

2005-11-23 Thread Dawn
Thanks! which version of java compiler I need for fixing this problem? --- Franco Biaggi <[EMAIL PROTECTED]> wrote: > From the java compiler. > > Dawn wrote: > > Hi, > > > > I got an error "field table.widthPercentage is not visible" for the > > following code: > > > > PdfPTable table = new

[iText-questions] table.widthPercentage is not visible

2005-11-23 Thread Dawn
Hi, I got an error "field table.widthPercentage is not visible" for the following code: PdfPTable table = new PdfPTable(7); table.widthPercentage = 100; How come? Thanks for help! __ Yahoo! Mail - PC Magazine Editors' Choice 2005 htt

[iText-questions] Inserting Pages into An Existing PDF

2005-11-23 Thread Phil Queripel
Hi, I'm having great success reading a pdf, 'stamping' data on it, then creating a new output pdf file. What I now need to do is insert pages into the output file, I have a dynamic list of property details which need to be included in the output. The source pdf has a page which is perfect for dupl

Re: [iText-questions] CCITTFax Decode

2005-11-23 Thread John Pruitt
I am trying to follow your recommendations, however I am having a few problems. I have been trying to use TiffImage.getTiffImage() to extract the tiff images from my pdf. 1. First, I tried to use PdfReader.getSafeFile() after opening my pdf with the PdfReader and passed the RandomAccessFileOrArr

RE: [iText-questions] Question on the PDFWriter

2005-11-23 Thread Leonard Rosenthol
At 12:01 PM 11/23/2005, Ambareesh Kulkarni wrote: Do you have an example that you can share? Fully documented in the Adobe Acrobat SDK. Does the itext PDFWriter have a method that I can use to set the printer? You use the methods in iText to 1) Create a push button on your

RE: [iText-questions] Question on the PDFWriter

2005-11-23 Thread Ambareesh Kulkarni
Do you have an example that you can share? Does the itext PDFWriter have a method that I can use to set the printer? -Original Message- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 11:14 AM To: Ambareesh Kulkarni; itext-questions@lists.sourceforge.n

RE: [iText-questions] Re: Unexpected behavior with PdfPTable using ALIGN_BOTTOM

2005-11-23 Thread Paulo Soares
This is the changed file: http://cvs.sourceforge.net/viewcvs.py/itextsharp/itextsharp_new/iTextSha rp/text/pdf/PdfPCell.cs?rev=1.5&sortby=date&view=log > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jason Frank > Sent: Wednesday, November 23,

[iText-questions] Re: iText --- document.add() with stamp

2005-11-23 Thread Eric Anderson
I posted this to comp.text.pdf and it was suggested that I post this here. I am trying to add a table to the bottom of a pdf file with out too much difficulty. Can anyone help? If I use table.writeSelectedRows I have to constantly check where to put the next table and add a new page etc. Isn't

Re: [iText-questions] Question on the PDFWriter

2005-11-23 Thread Bruno Lowagie
Leonard Rosenthol wrote: At 10:51 AM 11/23/2005, Ambareesh Kulkarni wrote: Is there a way we can specify the user's printer to be used for printing (without opening the windows print dialog box) instead of always printing to the default printer? Yes, via JavaScript and a custom Pr

Re: [iText-questions] Question on the PDFWriter

2005-11-23 Thread Bruno Lowagie
Ambareesh Kulkarni wrote: Is there a way we can specify the user’s printer to be used for printing (without opening the windows print dialog box) instead of always printing to the default printer? I don't understand. How are you starting the printing process? You are not looking for a way t

Re: [iText-questions] pdf-Document is too big

2005-11-23 Thread Leonard Rosenthol
At 10:41 AM 11/23/2005, Marco Wolff wrote: in my pdf-document i included about 400 jpg`s with 70KB per Picture. That's a LOT of images...What type of document is this? The complete document has about 250 pages and takes about 25 MB. This is too much for one document. I woul

Re: [iText-questions] Question on the PDFWriter

2005-11-23 Thread Leonard Rosenthol
At 10:51 AM 11/23/2005, Ambareesh Kulkarni wrote: Is there a way we can specify the user's printer to be used for printing (without opening the windows print dialog box) instead of always printing to the default printer? Yes, via JavaScript and a custom Print button. Leonard -

[iText-questions] Question on the PDFWriter

2005-11-23 Thread Ambareesh Kulkarni
Is there a way we can specify the user’s printer to be used for printing (without opening the windows print dialog box) instead of always printing to the default printer?   regards Ambareesh Kulkarni Director, e.Services Actuate Corporation Tel: (732)744 7503 (work), (732)233 3740 (mo

[iText-questions] pdf-Document is too big

2005-11-23 Thread Marco Wolff
Hi,   in my pdf-document i included about 400 jpg`s with 70KB per Picture. The complete document has about 250 pages and takes about 25 MB. This is too much for one document.After creating the document i'm using the adobe distiller for compressing the included jpg`s -> the final document ta

Re: [iText-questions] Access dictionary entry via indirect reference

2005-11-23 Thread Bruno Lowagie
Stefan Woltering wrote: Because you know it and I don't (after searching for hours). And as it seems the answer would not take you more than a minute I'm not making fun of you. I just don't understand the question. It is as if you go to a garage, open the hood of your car, point at a tube an

RE: [iText-questions] Access dictionary entry via indirect reference

2005-11-23 Thread Stefan Woltering
> I can't even give you an estimation of the number of nights > I have spent on iText for free over the past seven years I think everbody here, including me, is thankful for your commitment. > tell me: why should I spend time on your question? *LOL* Why? Because you know it and I don't (afte

[iText-questions] Re: pdf-Document is too big

2005-11-23 Thread Bruno Lowagie
Marco Wolff wrote: Hi, i´m writing directly to you, because it is temporary not possible to get an account on sourceforge. You don't need an account on sourceforge. You only need to post a message to itext-questions@lists.sourceforge.net In my pdf-document i included about 400 jpg`s with

[iText-questions] (no subject)

2005-11-23 Thread Omar F. Rodriguez
is there some kind of limitant when itext adds an image to a pdf document?, i am making an application which uploads a GIF o JPG, and i am using itext to create a dynamic PDF to show to the users what information has entered and what image has been uploaded before all this data is saved within t

[iText-questions] Re: Unexpected behavior with PdfPTable using ALIGN_BOTTOM

2005-11-23 Thread Jason Frank
Paulo Soares consiste.pt> writes: > > It's fixed in the CVS. > I took a look around the iTextSharp project in SourceForge but I'm not sure how to get this fix into my application. I tried looking in the Bugs section, and in the Patches section, but I didn't see anything that looked like thi

Re: [iText-questions] Access dictionary entry via indirect reference

2005-11-23 Thread catchall
Stefan Woltering wrote: I spent my last two nights looking for a solution in the PDF Reference, so please no more hide&seek games. I can't even give you an estimation of the number of nights I have spent on iText for free over the past seven years, so tell me: why should I spend time on your q

RE: [iText-questions] Access dictionary entry via indirect reference

2005-11-23 Thread Stefan Woltering
> > /Contents ??? > > > >Can I replace ??? with something (including 1 0 R and > Contents, or so) to > >reference the (Blablabla) string dynamically? > > > > > Yes, but be careful with it. > Knowledge of the PDF Syntax is mandatory. Thank you, so far. And what exactly would the syntax look li

[iText-questions] Re: How to add Barcode to Existing PDF

2005-11-23 Thread Vineet Reynolds
Ooops!! Let me restate it - it is possible to get a null reference if we dont use the PdfWriter object in the usual manner [preparing a PDF doc from scratch]. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register

Re: [iText-questions] PdfPTable vs Table

2005-11-23 Thread Bruno Lowagie
Caron van Schalkwyk wrote: Hi, I have read that I cannot use the PdfPTable if I need to produce a document in both HTML and PDF format and that I should use the Table object. Do you need to produce HTML with the same code as the code used to produce PDF? If not, use PdfPTable. I do how

[iText-questions] PdfPTable vs Table

2005-11-23 Thread Caron van Schalkwyk
Hi,   I have read that I cannot use the PdfPTable if I need to produce a document in both HTML and PDF format and that I should use the Table object.   I do however have to be able to write to an absolute position which I don't know how to do with Table.   (PdfPTable has the method public fl

RE: [iText-questions] Re: How to add Barcode to Existing PDF

2005-11-23 Thread Paulo Soares
> > NOTE: dont try using the getWriter() of the pdfStamper class. > it usually returns > a PdfWriter with a null reference. > It never return a null reference but it can't be used in all the cases that a "regular" PdfWriter is used. --- This

RE: [iText-questions] Signature: exclude second byte range

2005-11-23 Thread Paulo Soares
See the DSE200 example. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Stefan Woltering > Sent: Wednesday, November 23, 2005 1:45 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Signature: exclude second byte range >

[iText-questions] Re: How to add Barcode to Existing PDF

2005-11-23 Thread Vineet Reynolds
Here are the steps to be followed: 1) get the contentbyte object using getOverContent() of the pdfstamper class 2) add the image object to the contentbyte at the exact location using addImage() NOTE: dont try using the getWriter() of the pdfStamper class. it usually returns a PdfWriter with a nul

[iText-questions] Re: Disable PDF printing and copying

2005-11-23 Thread Vineet Reynolds
I faced almost the same request from a customer a couple of weeks ago. Based on my research I concluded that: To disable printing, you can set the document security permission so that users cant print it. To disable copying [ or saving a copy of the file ], the PDF file with ordinary password secur

Re: [iText-questions] Access dictionary entry via indirect reference

2005-11-23 Thread Bruno Lowagie
Stefan Woltering wrote: Hello, is it possible to access a certain dictionary value by its key and the indirect reference of the dictionary? Yes. /Contents ??? Can I replace ??? with something (including 1 0 R and Contents, or so) to reference the (Blablabla) string dynamically? Yes,

Re: [iText-questions] How to add Barcode to Existing PDF

2005-11-23 Thread Bruno Lowagie
Reddy, Ramakoteswararao wrote: Hi , Am trying to add Barcode39 to my existing PDF. I have added some text using PDFStamper where as am unable add BARCODE. Could u PLZ advise me How to do it...? With PdfStamper you can get a PdfContentByte object to add stuff over or under the existing content.

Re: [iText-questions] PDF questions.

2005-11-23 Thread Bruno Lowagie
Xuan Ye wrote: Hi, I just started evaluating iText for our PDF manipulation purpose, two questions: 1. Can I modify some text of an input pdf and save to another pdf file? PDF wasn't designed to be edited (unless maybe if you have Tagged PDF files, but I assume this is not the case. You pr