Re: [iText-questions] Pdf Page into a PdfPCell

2006-06-21 Thread Bruno Lowagie
Segev, Eli wrote: >Is there anyway to put a PDF page (PdfIndirectPage, or PdfPage) > You need a PdfImportedPage. > into a >PdfPCell? I thought there would be some way of making a page into an >Image, but I can't figure this out. > PdfImportedPage extends PdfTemplate. A PdfTemplate instance can

[iText-questions] Is it possible to set the default field value

2006-06-21 Thread Jeff Randolph
I'm copying a pdf and attempting to set the default value to something different for a number of fields. I think I've coded myself into thinking it was working because I'm using the AcroFields.getField,and setField functions but I think the default value is overwriting the setField as soon as I re

[iText-questions] Pdf Page into a PdfPCell

2006-06-21 Thread Segev, Eli
Is there anyway to put a PDF page (PdfIndirectPage, or PdfPage) into a PdfPCell? I thought there would be some way of making a page into an Image, but I can't figure this out. Any suggestions? Eli Segev All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully

Re: [iText-questions] How do you copy the content of existing PDF toanother?

2006-06-21 Thread Paulo Soares
You first use PdfCopy to concatenate the pages and then use PdfStamper to add information. It's a two step process. Paulo - Original Message - From: "Henry Doan" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 21, 2006 7:13 PM Subject: [iText-questions] How do you copy the content of exi

[iText-questions] Pdf Colorspace

2006-06-21 Thread Develop
Hi,   I'm trying to use PdfWriter.SetDefaultColorspace but I can't understand what should I put at the parameters of this method. Can anyone put an example how should I use this method to set to CMYK colorspace?   Thanks   Rodrigo Yahoo! Copa 2006 - cobertura dos jogos em tempo real e

Re: [iText-questions] Problem getting the correct size whenaddingtemplate

2006-06-21 Thread Grizzly Malchow
Doesn't this code already set the new page to be the same as the on in the reader? // we retrieve the total number of pages Rectangle psize = reader.getPageSize(1); float width = psize.height(); float height = psize.width(); // step 1: creation of a document-object Document document =

Re: [iText-questions] Problem getting the correct size when addingtemplate

2006-06-21 Thread Henry Doan
reader.getPageSize(int pagenumber) >From: "Grizzly Malchow" <[EMAIL PROTECTED]> >Reply-To: Post all your questions about iText here > >To: >Subject: [iText-questions] Problem getting the correct size when >addingtemplate >Date: Wed, 21 Jun 2006 13:47:32 -0500 > >This is the first time I've use

[iText-questions] Problem getting the correct size when adding template

2006-06-21 Thread Grizzly Malchow
This is the first time I've used iText so bear with me. While I'm at it I'll tell you that my Java experience is quite limited as well. I'm trying to use an existing PDF as a template. I used the example TwoOnOne.java to get started. I'm able to add the template to the new pdf document but the size

[iText-questions] How do you copy the content of existing PDF to another?

2006-06-21 Thread Henry Doan
Hi, i created a stamper from an existing pdf file and i want to create a 2nd page and copy the content from the existing pdf file to the 2nd page. Here's what i have done so far: PdfStamper stamper = new PdfStamper(reader, baos); stamper.insertPage(2, reader.getPageSize(1)); ___

Re: [iText-questions] How to add new page?

2006-06-21 Thread Paulo Soares
PdfStamper.insertPage() > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Henry Doan > Sent: Wednesday, June 21, 2006 6:04 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] How to add new page? > > That gave me a null

Re: [iText-questions] How to add new page?

2006-06-21 Thread Henry Doan
That gave me a null error because the pdf file [e:/Webs/walton/ICF.pdf] that i am trying to populate has only one page. But even if it did have a second page that is not wat i am trying to do. I just want to create a 2nd page or a 2nd document like document.newPage() would, and do the same thi

Re: [iText-questions] [Fwd: not find the XObject 'Xi0']

2006-06-21 Thread Paulo Soares
Works for me. You may post the PDF for inspection. Some comments: use an Image instead of an Watermark and the lines water.setBackgroundColor (Image.getInstance (rutaDestino).backgroundColor ()); water.setTransparency (Image.getInstance (rutaDestino).getTransparency ()); should be deleted. Pau

Re: [iText-questions] Support for pdfs generated with Adobe 7.0 andAdobe designer

2006-06-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Wahaj Khan > Sent: Wednesday, June 21, 2006 5:27 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Support for pdfs generated with > Adobe 7.0 andAdobe designer > > Hi

[iText-questions] [Fwd: not find the XObject 'Xi0']

2006-06-21 Thread Alejandro
Hi I have a problem when I generate a document with a water mark in itext. The following code shows as I make it --- PdfReader reader = new PdfReader ("c:/"+doc.getId_doc()+ ".pdf");   

[iText-questions] Support for pdfs generated with Adobe 7.0 and Adobe designer

2006-06-21 Thread Wahaj Khan
Hi Guys, After searching the forum found out that support for Adobe designer would be out shortly. We have recently encountered some pdfs generated in Adobe designer and Adobe 7.0 on which itext is failing. Is there any new update on when the release is going out ? Regards, Wahaj ___

Re: [iText-questions] itext tool box

2006-06-21 Thread Bruno Lowagie
jeremy wrote: > I was think about tool box that propose very simple tasks not too > complicated. I think a plug-in for the Eclipse plateform would be just > great!! I really think this would be very helpfull! I will be waiting > for this ;-) I have been following an UML course all day. There w

Re: [iText-questions] Font Issue with xml to pdf

2006-06-21 Thread Amir
If i'm not misstaken the 1.4.1 release also includes this fix. /Amir Paulo Soares skrev: > Already fixed in the CVS. > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Abhishek Srivastava >> Sent: Wednesday, June 21, 2006 8:10 AM

Re: [iText-questions] Font Issue with xml to pdf

2006-06-21 Thread Paulo Soares
Already fixed in the CVS. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Abhishek Srivastava > Sent: Wednesday, June 21, 2006 8:10 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Font Issue with xml to pdf >

Re: [iText-questions] Issue with Font Names firstLineIndent , spacingbefore, spacingaafter in Csharp

2006-06-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of noel fernandes > Sent: Wednesday, June 21, 2006 8:32 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Issue with Font Names > firstLineIndent ,spacingbefore, spacingaaf

Re: [iText-questions] Why does loading of the font Sylfaen return thefamilyname SylfaenARM?

2006-06-21 Thread Paulo Soares
That's the postscript font family name. Pick your favorite family name with font.getBaseFont().getFamilyFontName(). Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Michael J. Mueller > Sent: Wednesday, June 21, 2006 2:22 PM > To: itext-qu

[iText-questions] Why does loading of the font Sylfaen return the familyname SylfaenARM?

2006-06-21 Thread Michael J. Mueller
Hello everyone, I'm am loading fonts and comparing the name of the loaded font to make use I got the right font and not a replacement font. For the Font Sylfaen this does not work. I'm am posting the testcode below. Michael FontFactory.registerDirectory("c:/windows/fonts"); Font font = FontFa

[iText-questions] Re-2: Signature on last page of pdf

2006-06-21 Thread Oliver Lange
(-; mostly you can't see the forest cause of too much trees ;-) thx a lot Oliver Original Message Subject: Re: [iText-questions] Signature on last page of pdf (21-Jun-2006 13:41) From:Paulo Soares <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] > > > > -Original Mes

Re: [iText-questions] Signature on last page of pdf

2006-06-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Oliver Lange > Sent: Wednesday, June 21, 2006 9:10 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Signature on last page of pdf > > Hi iTexter! > > Since some hours

Re: [iText-questions] getPageContent Bug ?

2006-06-21 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of sjf > Sent: Wednesday, June 21, 2006 2:17 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] getPageContent Bug ? > > > > > I download the latest itext and itextsharp a

Re: [iText-questions] itext tool box

2006-06-21 Thread jeremy
Bruno Lowagie lowagie.com> writes: > Do you mean fill out an AcroForm? > I think JPedal offers this kind of functionality. > Soon I'll create an Eclipse host plug-in > with all kinds of standard functionality, > so that anyone can build such an application > using Eclipse's Rich Client Platform.

[iText-questions] Signature on last page of pdf

2006-06-21 Thread Oliver Lange
Hi iTexter!   Since some hours i'am trying to sign a pdf not on the first page with   sap.SetVisibleSignature(new iTextSharp.text.Rectangle(100, 100, 250, 150), 1, null);   than on the last page of my pdf.   Is there a way to get the page amount of a pdf to have the correct page number for the

Re: [iText-questions] Change Image button field in pre-existing PDF

2006-06-21 Thread Dave White
Paulo, I've tried the code below, but I can't seem to understand it enough to see why it's not working for me. in the code below, the lines: PdfDictionary dic = (PdfDictionary)item.widgets.get(0); dic = (PdfDictionary)PdfReader.getPdfObject(dic.get(PdfName.AP)); etc, This seems to be setting th

[iText-questions] getPageContent Bug ?

2006-06-21 Thread sjf
  > > I download the latest itext and itextsharp and find a bug. If I burst> > a PDF file into pages and merge them into one PDF file again using> > pdfsam (http://sourceforge.net/projects/pdfsam), getPageContent will> > not return the correct content of the remerged PDF file, while> > ExtractText

[iText-questions] Issue with Font Names firstLineIndent , spacingbefore, spacingaafter in Csharp

2006-06-21 Thread noel fernandes
hi When i try to apply Font Names, firstLineIndent , spacingbefore,spacingaafter attributes to a paragraph there are no changes.I am using itexsharp library i have attached the file and code thru which i tried to see the effect Testing.xml conatins the xml data and code.txt contains the c# co

[iText-questions] UNICODE u\250x with ITEXT and Courier New

2006-06-21 Thread Philippe Couas
Title: Message Hi,   I have tried  to use unicode  caracters u\2502, it seems not used ? I could use u\2014 but not u\2502, do you have an idea ?  My IText document is created with Font Courrier New, and i need to replace some caracters by unicode value like u\2502      Best Regards Phili

[iText-questions] Font Issue with xml to pdf

2006-06-21 Thread Abhishek Srivastava
Hello All, We are creating a tool which generates an xml document. This xml document is rendered by itext as pdf. We are facing an issue that the fonts which we specify are not rendered correctly. Itext seems to be using the same font always irrespective of what we specify. Could you please let