[iText-questions] Barcode font size

2008-02-13 Thread Ruskin Dantra
Hi All, I am trying to display a barcode but with different font sizes. I have set the font on the barcode object to null as I don't want any text to appear although the actual size of the barcode should be changing as I am setting the font size on the pdfcontentbyte. Is that the right way of set

Re: [iText-questions] font encoding: "Built-in"....how?

2008-02-13 Thread Paulo Soares
It means that the font natural encoding is used. This will only work if the internal cmap table is reorganized. iText can't do this and I don't see the benefit from it. Paulo - Original Message - From: "Jason Boehle" <[EMAIL PROTECTED]> To: "Post all your questions about iText here"

Re: [iText-questions] font encoding: "Built-in"....how?

2008-02-13 Thread Jason Boehle
The original Open Office Calc file and the PDF generated from it are both attached. I was using OpenOffice.org 2.3.1 on Windows XP SP2. -Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Wednesday, February 13, 2008 3:50 PM To: Pos

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Paulo Soares
SimpleBookmark will get the outlines for you in a legible way and even present the page numbers as a bonus. Paulo - Original Message - From: "Edward W. Rouse" <[EMAIL PROTECTED]> To: "'Post all your questions about iText here'" Sent: Wednesday, February 13, 2008 9:38 PM Subject: Re: [

Re: [iText-questions] font encoding: "Built-in"....how?

2008-02-13 Thread Paulo Soares
Show us the PDF. Paulo - Original Message - From: "Jason Boehle" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" Sent: Wednesday, February 13, 2008 7:20 PM Subject: [iText-questions] font encoding: "Built-in"how? When Open Office exports a PDF, it embeds the fo

Re: [iText-questions] why pdf fields of 1st page move to 2nd page

2008-02-13 Thread Sarah1
Hi Bruno, Thanks. I did find your example before, but my code is different from yours. Please look at the following code. I want to create name1 field on page1, name2 field on page2, but I found 2 name1 fields on both pages, and on 2nd page name1 and name2 fields are overlapped . Could you tell m

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
Let me try again. I saw an example that used PdfCopy. Seemed simple enough. You use the getImportedPage(PdfReader, int) method to get the page from the reader and then use the addPage(PdfImportedPage) to put it in the new one. Very clean and simple. The problem is getting the page numbers as ints

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
I did read the PDF reference, so maybe I asked the question wrong. If I have a group of Page dictionaries that I got from traversing an outline, how do I create a new pdf having just those pages? It's easy to add pages if I know the page number. But since the page entries only have references lik

[iText-questions] font encoding: "Built-in"....how?

2008-02-13 Thread Jason Boehle
When Open Office exports a PDF, it embeds the fonts, and the encoding shown by the Acrobat Reader Properties page says "Built-in".  What does "Built-in" mean as an encoding, and can iText output that encoding for an embedded font? Jason Boehle [EMAIL PROTECTED]

Re: [iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Bruno Lowagie
Edward W. Rouse wrote: > I have been searching the mailing list archives and using Google for > hours and haven't found the answer, so I am asking here. Have you read the PDF Reference? There's no such thing as page numbers in the page(s) dictionary. There's the page tree from which you can retri

Re: [iText-questions] why pdf fields of 1st page move to 2nd page

2008-02-13 Thread Bruno Lowagie
Sarah1 wrote: Please help. Thanks. This is an old question, so I guess you've found the answer by now. If not, have a look at the attached example. br, Bruno import java.io.FileOutputStream; import java.io.IOException; import com.lowagie.text.Document; import com.lowagie.text.DocumentExceptio

[iText-questions] get a page number from a PdfDictionary

2008-02-13 Thread Edward W. Rouse
I have been searching the mailing list archives and using Google for hours and haven't found the answer, so I am asking here. I have a pdf that I need to split based on the outlines. I have been parsing the iText objects trying to find the answer with no luck so far. I have looked at the Split

Re: [iText-questions] embedded fonts in IText

2008-02-13 Thread 1T3XT info
Mike Kelly wrote: > Hi - I don't seem to see mention of font embedding in the list of > features. Can this be done - and conveniently? Which list of features? Hopefully not in one of the rogue copies of the obsolete tutorial. Chapters 8 and 9 of the book iText in Action gives the complete overvi

[iText-questions] embedded fonts in IText

2008-02-13 Thread Mike Kelly
Hi - I don't seem to see mention of font embedding in the list of features. Can this be done - and conveniently? - Thank you - Mike- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studi

Re: [iText-questions] re quirement to add image in a pdf doc based on location of word(s)

2008-02-13 Thread 1T3XT info
trishulpani wrote: > Hi, > > I have a requirement of adding an image to a pdf document based on the > presence /location of a word. > > Is this do-able using iText? If the word is added to the text as an annotation/text field widget, it's possible to retrieve the coordinates and add the image.

Re: [iText-questions] signing a blank signature fieldpreviously created as a signature placeholder

2008-02-13 Thread Ismael F
Thanks a lot! That works great!> Date: Tue, 12 Feb 2008 14:45:20 +> From: [EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net> Subject: Re: [iText-questions] signing a blank signature fieldpreviously created as a signature placeholder> > sap.setVisibleSignature("field_name");> > Pa

Re: [iText-questions] Lines Per Page

2008-02-13 Thread Alexis Pigeon
Hi, On 13/02/2008, pmartin <[EMAIL PROTECTED]> wrote: > Is it possible to increase the number of lines per page? I am getting about > 45 lines on a standard sized 8.5 x 11 document. If I increase the font size > I > can decrease the lines per page, but by decreassing the font size I do not >

[iText-questions] Lines Per Page

2008-02-13 Thread pmartin
Is it possible to increase the number of lines per page? I am getting about 45 lines on a standard sized 8.5 x 11 document. If I increase the font size I can decrease the lines per page, but by decreassing the font size I do not get more lines per page - the print is smaller but the white spac

[iText-questions] re quirement to add image in a pdf doc based on location of word(s)

2008-02-13 Thread trishulpani
Hi, I have a requirement of adding an image to a pdf document based on the presence /location of a word. Is this do-able using iText? If so, then what are the steps. Thanks -- View this message in context: http://www.nabble.com/requirement-to-add-image-in-a-pdf-doc-based-on-location-of-wo

Re: [iText-questions] PdfStamper changes text field framing

2008-02-13 Thread Paulo Soares
Your stamped file was not created from your formtest.pdf, I filled and stamped and it worked correctly. The fields have no border, the 3D effect is drawn as content not as an annotation. Changing anything with setFieldProperty only takes affect if the field is filled afterwards or regenerateField i

Re: [iText-questions] How to cancel auto-receving itext-question mails

2008-02-13 Thread Alexis Pigeon
Hi, On 13/02/2008, Hans <[EMAIL PROTECTED]> wrote: > Hi, > > I have configured to receive all itext-question mails to this email box. > Would you please tell me how to cancel auto-receving itext-question mails? Check at the bottom of any email sent to this list, you'll find the link to manage you

[iText-questions] How to cancel auto-receving itext-question mails

2008-02-13 Thread Hans
Hi, I have configured to receive all itext-question mails to this email box. Would you please tell me how to cancel auto-receving itext-question mails? Thanks. Best regards. -- Hans Zhang - This SF.net email is sponsored by:

Re: [iText-questions] PdfStamper changes text field framing

2008-02-13 Thread Paulo Soares
Show us the pdf and the code you are using to fill the fields. Paulo - Original Message - From: "Christopher Triggs" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 13, 2008 6:07 AM Subject: [iText-questions] PdfStamper changes text field framing > Hi, > > I am creating forms in Op