Re: [iText-questions] top Margin overwritten when reading in another pdf

2005-07-11 Thread Bruno Lowagie
SDUNDM02 wrote: (knip) float xPositionOnPage = 0 ; float yPositionOnPage = 0 ; (knip) cb.addTemplate(page1, xPositionOnPage, yPositionOnPage); (knip) I could not find a solution to positon the start of the read-in document at an absolute position. To me it se

Re: [iText-questions] Adding an image to pdf file

2005-07-11 Thread Bruno Lowagie
Gowri Venkatramani wrote: How do i add an image to a specific page and position on a PDF file ?? In an existing or in a new PDF file? The tutorial is probably a good place to start looking. http://itextdocs.lowagie.com/tutorial/objects/images/ br, Bruno --

Re: [iText-questions] Choicebox Problem

2005-07-11 Thread Bruno Lowagie
Didn't we have this discussion on the mailinglist a while ago? http://thread.gmane.org/gmane.comp.java.lib.itext.general/16699 eng balduman wrote: Hello! I have a this template pdf file that has textboxes, checkboxes, and choiceboxes (form like). Then using itext Stamper class I edited the valu

Re: [iText-questions] Servlet problem

2005-07-11 Thread Bruno Lowagie
Stefano Paganucci wrote: When i call my servlet (the OutSimplePdf example) there aren't errors, i see the first time starting adobe, but my browser shows a blank page. Can someone help me? I guess the problem isn't reproducable on every browser (It occurs with MSIE, but not with FireFox, Moz

Re: [iText-questions] Can i create a pdf template for a pdf and add it to another pdf ???

2005-07-11 Thread Bruno Lowagie
I think the original answer was right, but maybe you interpreted it wrong. When you say PDF template. Do you mean a separate PDF document? Because the person who answered your question was talking about the iText object PdfTemplate, not about a separate file. One of the subclasses of PdfTemplate,

Re: [iText-questions] Setting sizes

2005-07-11 Thread Bruno Lowagie
Jay Parashar wrote: Does 72f = 1 inch? Yes. br, Bruno --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technolog

Re: [iText-questions] Help with Draw Line

2005-07-11 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: How do you draw a line in a table not PdfPtable? From where to where? Maybe a Chunk with a generic tag can help you. br, Bruno --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14

[iText-questions] Table vs. PdfPTable, Cell vs. PdfPCell; and removing borders.

2005-07-11 Thread John M. Gabriele
What's a good rule of thumb for deciding whether to use a Table or a PdfPTable? I need to put a table up with no borders. The dimensions are fixed (1 row, 3 columns). I also need to remove all borders from it -- so the text is just floating there. :) I see that I can use a Table and then setBorde

RE: [iText-questions] Re: Read a signed PDF document

2005-07-11 Thread Hong . Sun
Here I attach two files, please download and give it try to read/open with iText: - sample.pfx: is the self-signed certificate created from Adobe Acrobat 7 Professional, it's with PKCS#12 - sample.pdf: is signed and encrypted by the above certificate within Adobe Acrobat 7 Professional, which

[iText-questions] iText 1.2 Release

2005-07-11 Thread Sudheendra Singh
Hi,   TIMES_NEW_ROMAN seems to be removed from FontFactory. Any idea why ? If we require TIMES_NEW_ROMAN, what should we do ?Regards,Sudheendra.N.SinghCaritor Inc., CACell : 415-760-1805Work : 415-243-6903Home : 510-675-0630Pick battles big enough to matter not small enough to win.

Re: [iText-questions] co-ordinates and sizes - Urgent.

2005-07-11 Thread Paulo Soares
The dimensions are correct but it doesn't mean that the printer will have that kind of precision. Are you also unchecking the "fit to page" box in Acrobat's printing dialog? - Original Message - From: "Jay Parashar" <[EMAIL PROTECTED]> To: Sent: Monday, July 11, 2005 9:58 PM Subject: [iT

FW: [iText-questions] co-ordinates and sizes - Urgent.

2005-07-11 Thread Jay Parashar
Title: co-ordinates and sizes - Urgent. The square is drawn on 8.5 X 11 canvas. The left margin in the resulting comes to .375 (instead of 0.19") and the top margin comes to 0.8" (instead of 0.5")   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[iText-questions] co-ordinates and sizes - Urgent.

2005-07-11 Thread Jay Parashar
Title: co-ordinates and sizes - Urgent. I am at a loss figuring this out...it is related to my previous question. Why are the sizes and co-ordinates not setting correctly? Here I am generating a square table height and width = 1 inch (72 pts). But actually measuring, the sides are less than

[iText-questions] top Margin overwritten when reading in another pdf

2005-07-11 Thread SDUNDM02
Hi, I encounterd the following problem while reading in an other pdf-document into my current document with the following method: public void insertAnotherPDFDocument(byte[] pdfIn) throws IOException, DocumentException{ PdfReader reader = new PdfReader(pdfIn); int n = re

[iText-questions] Encrypting a PDF

2005-07-11 Thread Wahaj Khan
Hi, I am trying to encrypt a PDF using the sample iText provided sample code (encrypt_pdf.java) and I think I am getting some strange results. I am using iText 154. See the attached 2 images. 1) EncryptionWithLowPrinting.gif: In this case I gave 10101010 parameter. You can see that here printing

[iText-questions] Re: Re: Read a signed PDF document

2005-07-11 Thread Wahaj Khan
Hi, Please read: http://itextpdf.sourceforge.net/howtosign.html#howtoverify Regards, Wahaj <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > Dear fellows, > I just want to know if and how we could use iText to read a (certificate) > signed PDF document. > > Many thanks. > > > >

RE: [iText-questions] Adding an Annotation to Image in a Table

2005-07-11 Thread Paulo Soares
The fix is in the CVS. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paulo Soares > Sent: Thursday, July 07, 2005 7:36 PM > To: Christopher Parkins; itext-questions@lists.sourceforge.net > Subject: RE: [iText-questions] Adding an Annotation to

[iText-questions] AutoPrint (corrected)

2005-07-11 Thread Francisco Carvalho
The code I previously provide had a typo so here is the correct one. I'm having a really hard time figuring this on out. Message: 9 Date: Mon, 11 Jul 2005 09:07:57 -0700 From: "Francisco Carvalho" <[EMAIL PROTECTED]> To: Subject: [iText-questions] AutoPrint I'm writing an ASP.NET application u

RE: [iText-questions] Newbie Question about onPageEnd

2005-07-11 Thread Paulo Soares
No, it says that you must go to http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.htm l#examples and adapt the example to the C# syntax and itextsharp method/property names. > -Original Message- > From: John Asher [mailto:[EMAIL PROTECTED] > Sent: Monday, July 11, 2005

RE: [iText-questions] Newbie Question about onPageEnd

2005-07-11 Thread Paulo Soares
Did you read with attention the top of itextsharp.sf.net? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of John Asher > Sent: Monday, July 11, 2005 11:12 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Newbie Question a

RE: [iText-questions] Re: Read a signed PDF document

2005-07-11 Thread Paulo Soares
Unless you post one of your problematic files we can be here guessing until the end of times. If the files are confidential create one that isn't. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Monday, July 11, 2005 3

[iText-questions] AutoPrint

2005-07-11 Thread Francisco Carvalho
I'm writing an ASP.NET application using iTextdotNET. The application is "wizard like". At the previous to last screen a PDF letter is displayed to the user (embed in a HTML page) and the user is asked to select the delivery method of the letter (email or print). If (s)he selected print, the app

[iText-questions] Re: We are thinking about using IText in one of our products....

2005-07-11 Thread Mark Hall
On Monday 11 July 2005 10:11, Werner Daehn wrote: > Anyway, I skipped this. Now I am using multiple paragraphs with different > indentation. Now I am getting again extra lines, have to check where this > comes from. Either Paragraph or the Table inside. Probably from the Table. To reproduce the def

[iText-questions] Setting sizes incorrectly - mailing label

2005-07-11 Thread Jay Parashar
Hello, The attachment generates a mailing label for 5260 but the sizes after are not being set correctly. For simplicity the code generates one label. The label specs are:- width = 2.63" (which is 189.36) height = 1" (72f) topMargin = 0.5" (36f) sideMargin = 0.19"

Re: [iText-questions] Re: Read a signed PDF document

2005-07-11 Thread Leonard Rosenthol
At 10:33 PM 7/10/2005, [EMAIL PROTECTED] wrote: When I signed the PDF with Acrobat 7, I choose to encrypt all document contents, and choose Encryption Algorithm: 128-bit RC4 (Compatible with Arcobat 6.0 and later). OK. Is the encrypton there stop me to read the file? Depend

RE: [iText-questions] Re: Read a signed PDF document

2005-07-11 Thread Paulo Soares
iText doesn't support certificate signing. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, July 11, 2005 2:33 AM > To: Leonard Rosenthol > Cc: itext-questions@lists.sourceforge.net; Paulo Soares > Subject: Re: [iText-questions] Re: Read a signed P

RE: [iText-questions] arabic shaping question?

2005-07-11 Thread Paulo Soares
Are you using ColumnText.setRunDirection(PdfWriter.RUN_DIRECTION_RTL)? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Monday, July 11, 2005 8:03 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions

RE: [iText-questions] Question: Multiple lines at abolute position with width and height

2005-07-11 Thread Paulo Soares
ColumnText > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Henrik Georgi > Sent: Saturday, July 09, 2005 9:09 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Question: Multiple lines at > abolute position with width

RE: [iText-questions] Being informed of new releases of itext

2005-07-11 Thread Paulo Soares
You can monitor the file releases. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Simon Comeau Martel > Sent: Saturday, July 09, 2005 7:47 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Being informed of new release

[iText-questions] Adding an image to pdf file

2005-07-11 Thread Gowri Venkatramani
How do i add an image to a specific page and position on a PDF file ??

[iText-questions] Choicebox Problem

2005-07-11 Thread eng balduman
Hello! I have a this template pdf file that has textboxes, checkboxes, and choiceboxes (form like). Then using itext Stamper class I edited the values of the textboxes, choiceboxes, and checkboxes and saved it to a new pdf file. At the beginning, the texts in the edited textboxes will not display

[iText-questions] arabic shaping question?

2005-07-11 Thread mlotfy
Hello sir, I'm an iText user, I used it to generate pdf file from arabic.txt file, it works good except with arabic shaping, it doesn't work good. I used the following function to enhance the shaping: ColumnText.setArabicOptions(ColumnText.AR_COMPOSEDTASHKEEL); it doesn't work also. please can you

[iText-questions] Servlet problem

2005-07-11 Thread Stefano Paganucci
When i call my servlet (the OutSimplePdf example) there aren't errors, i see the first time starting adobe, but my browser shows a blank page. Can someone help me?   __ Ing. Stefano Paganucci   SMS Group SrlVia degli Abeti, 21461100 Pesaro (PU)  Te

[iText-questions] Newbie Question about onPageEnd

2005-07-11 Thread John Asher
Hello, i'm pretty new to the C# programming. I'm using iTextSharp and Visual C# Express... I need to add a not-so-simple header on each page...I read the docs on itextsharp.sf.net. The docs use the: writer.setPageEvent(new myPageEvent()); where myPageEvent is a custom class that inherits the p

[iText-questions] Copy pdf pages, modfy them and keep the links

2005-07-11 Thread Nauruhn, Ralph
Hi,   In one of my projects I implemented a class called PdfSigner. PdfSigner copies all pages of a source pdf to another pdf and adds a page footer to each page. To keep the original page sizes the original content is shrinked (via scaling). It is done like this:       …  

[iText-questions] Can i create a pdf template for a pdf and add it to another pdf ???

2005-07-11 Thread Krishna Kishore .J
Hi, Thanks for your reply. Can i create a pdf template for a pdf and add it to another pdf ??? My problem is : I have a pdf template with the following: 1. Some content,form fields followed by 2. dynamic table which again followed by 3. text and form fields. I am able to do 1,2 above ,but am fa