[iText-questions] PdfEncryptor

2004-06-18 Thread Woodchuck
hello, i am creating a PDF as follows: PdfReader reader = new PdfReader("certificate.pdf"); ByteArrayOutputStream baos = new ByteArrayOutputStream(); PdfStamper stamp = new PdfStamper(reader, baos); AcroFields form = stamp.getAcroFields(); form.setfield("field1","ABC"); stamp.setFormFlattening(t

Re: [iText-questions] help reading barcodes

2004-06-18 Thread Leonard Rosenthol
At 03:16 PM 6/18/2004, Frank Sharpless wrote: I am attempting to read bar codes from a PDF file. However, my barcode reader software requires that the page to be read is a Java Image object. Is there a way to extract a page from a PDF and convert it to an Image or BufferedImage object?

Re: [iText-questions] help reading barcodes

2004-06-18 Thread Matt Benson
Check JPEDAL and/or PdfBox for that functionality. -Matt --- Frank Sharpless <[EMAIL PROTECTED]> wrote: > Hello all, > > > > I am attempting to read bar codes from a PDF file. > However, my barcode > reader software requires that the page to be read is > a Java Image > object. Is there a wa

[iText-questions] HTML to PDF

2004-06-18 Thread Luiz Fernando Rodrigues
Hi,       Does anyone know a way to transform html docs into pdf? In the FAQ section of iText they recommended a tool named HtmlDoc but it doesn’t work very well.   Thanks, Luiz   --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.g

[iText-questions] help reading barcodes

2004-06-18 Thread Frank Sharpless
Hello all,   I am attempting to read bar codes from a PDF file.  However, my barcode reader software requires that the page to be read is a Java Image object.  Is there a way to extract a page from a PDF and convert it to an Image or BufferedImage object?   Many Thanks in advance,   F

Re: [iText-questions] Nested lists in RTF

2004-06-18 Thread Mark Hall
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 18 June 2004 15:02, [EMAIL PROTECTED] wrote: > While nesting list elements in RTF, the bullet for each level is the > same... > > Is there any form to do nested list in RTF? Set the left indentation for the indented list to move it further in

RE: [iText-questions] Bug in PDFDate?

2004-06-18 Thread Paulo Soares
It's a bug. The pdf spec is clear in that Z is only used when the local time is the same as UTC and in that case no time offset is present. The fix is in PdfDate: PdfDate(GregorianCalendar d) { super(); StringBuffer date = new StringBuffer("D:"); date.append(setLength(

[iText-questions] Bug in PDFDate?

2004-06-18 Thread Peter Soelter
Hi everybody, maybe I found a little bug in PdfDate.java!? On a machine in time zone 0 the Date-String has the format: D:20040618144644Z00'00' This doesn't seem to work correctly, if the date appears in a signature dictionary (/Type /Sig). Acrobat 5.1 accepts this date-format, Acrobat 6 give

[iText-questions] Nested lists in RTF

2004-06-18 Thread rafavalencia
While nesting list elements in RTF, the bullet for each level is the same... Is there any form to do nested list in RTF? Thanks --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun'

RE: [iText-questions] Rotate Pages from existing PDF file with watermark and text without manubar etc.

2004-06-18 Thread Paulo Soares
You don't need PdfWriter, all you need is PdfStamper. Don't worry with the toolbars (Bfor the moment. (B (BBest Regards, (BPaulo Soares (B (B> -Original Message- (B> From: Sugita Takashi [mailto:[EMAIL PROTECTED] (B> Sent: Friday, June 18, 2004 11:20 AM (B> To: Paulo Soares; [EMA

RE: [iText-questions] adding header using pdfstamper

2004-06-18 Thread Neeru . Bhardwaj
Paulo, Thanks -Neeru "Paulo Soares" <[EMAIL PROTECTED] To: Neeru Bhardwaj/US-PA-GV/RESEARCH/[EMAIL PROTECTED]

RE: [iText-questions] Rotate Pages from existing PDF file with watermark and text without manubar etc.

2004-06-18 Thread Sugita Takashi
Hello, (B I am sorry for my poor coding. I still have error when I execute it. (BThe code is the following: (B (B# (Bimport java.util.*; (Bimport java.io.*; (Bimport com.lowagie.text.*; (Bimport com.lowagie.text.pdf.*; (B (B public class que

RE: [iText-questions] performance issue while adding huge table using fitspage

2004-06-18 Thread Paulo Soares
Use a PdfPTable or see the example table_optimization.java at itextpdf.sf.net.   Best Regards, Paulo Soares From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of satish_321Sent: Friday, June 18, 2004 10:47 AMTo: [EMAIL PROTECTED]Subject: [iText-questions] perfor

[iText-questions] performance issue while adding huge table using fitspage

2004-06-18 Thread satish_321
HI, There is a scenario, where i have to add huge table (size is around 5000). I am using writer.fitsPage(). When the writer.fitsPage is called, the system almost hangs. Is there any solution? plz help Thanks Satish Indiatimes Email now powered by APIC Advantage. Help! HelpClick on the image to

RE: [iText-questions] Rotate Pages from existing PDF file with watermark and text without manubar etc.

2004-06-18 Thread Paulo Soares
What code are you using? (B (BBest Regards, (BPaulo Soares (B (B (B> -Original Message- (B> From: [EMAIL PROTECTED] (B> [mailto:[EMAIL PROTECTED] On (B> Behalf Of Sugita Takashi (B> Sent: Friday, June 18, 2004 5:32 AM (B> To: [EMAIL PROTECTED] (B> Subject: [iText-questions] R

RE: [iText-questions] Embedding XML in PDF

2004-06-18 Thread Paulo Soares
Title: Message PdfAnnotation.createFileAttachment() From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Friday, June 18, 2004 7:25 AMTo: [EMAIL PROTECTED]Subject: [iText-questions] Embedding XML in PDF Hi all,   Is there a way

RE: [iText-questions] adding header using pdfstamper

2004-06-18 Thread Paulo Soares
over.setTextMatrix(100, 700); > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, June 17, 2004 9:58 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] adding header using pdfstamper > > > > > > Hi, > >

RE: [iText-questions] Graphics2D and Cyrillic support

2004-06-18 Thread Paulo Soares
Use DefaultFontMapper to give that information. For example: DefaultFontMapper mapper = new DefaultFontMapper(); //read all the fonts in the directory mapper.insertDirectory("c:\\winnt\\fonts"); //change the encoding of font "Arial" DefaultFontMapper.BaseFontParameters pp = mapper.getBaseFontParam

[iText-questions] ExceptionConverter: java.lang.NullPointerException

2004-06-18 Thread dasusi
Hi, I have the same Problem with the tutorials Example Chap0703.java like "nekto nikto" mentioned yesterday. I tested a lot of things and the creation of the new TagMap("tagmap0703.xml") must be the Problem but i couldn't fix it. I'm using: "Eclipse Platform Version: 3.0.0 Build id: 200405290

[iText-questions] adding header using pdfstamper

2004-06-18 Thread Neeru . Bhardwaj
Hi, I want to add header to an existing pdf. I am using the following code, but the text is always added at bottom of each page not at the top. int n= reader.getNumberOfPages(); stamp = new PdfStamper (reader, new FileOutputStream(desFile)); for(int i=1; i<=n; i++){

[iText-questions] Embedding XML in PDF

2004-06-18 Thread david . deridder
Title: Message Hi all,   Is there a way to embed Objects (eg XML, WAV,...) inside a pdf using IText?   We would like to include an XML file as some sort of attachment.   Thanks a lot David -Disclaimer- This message may contain confidential information intended solely for the use of