Re: [iText-questions] Add Text content to existing PDF

2010-02-11 Thread 1T3XT info
Frank Stephan wrote: > Hi, > > ok, than I have to use stamper.getOverContent(i) to get the DirectContent cb > of a specific page. > I pass the cb to my ColumnText and add the builing blocks. Right? That's correct. There are ColumnText examples here: http://itextpdf.com/examples/index.php?page=toc

[iText-questions] [Book] FYI iText in Action 2E on 2 in MEAP Bestsellers Top 10

2010-02-11 Thread Bruno Lowagie
See http://lowagie.com/ -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___

Re: [iText-questions] [Book]

2010-02-11 Thread mkl
Bruno, Bruno Lowagie (iText) wrote: > You (and the other people on the mailing list) are always welcome to post > corrections! In that case... Listing 8.13 Choices.java in the book, ChoiceFields.java in svn: new_exportvalues[n] = "JP"; should have been new_exportvalues[n+1] = "JP"; Reg

Re: [iText-questions] Add Text content to existing PDF

2010-02-11 Thread Frank Stephan
Hi, ok, than I have to use stamper.getOverContent(i) to get the DirectContent cb of a specific page. I pass the cb to my ColumnText and add the builing blocks. Right? Greetings Frank > -Ursprüngliche Nachricht- > Von: 1T3XT info [mailto:i...@1t3xt.info] > Gesendet: Freitag, 12. Februar

Re: [iText-questions] Add Text content to existing PDF

2010-02-11 Thread 1T3XT info
Frank Stephan wrote: > Hi, > > I want to add content to an existing pdf. I know it is possible using > DirectContentByte. > Is it possible to add content using Phrase, Paragraph, PdfPTable, too? That's explained in chapter 3 of the second edition of "iText in Action". You need the ColumnText obj

Re: [iText-questions] Error Generated While Creating an PDF using iTextSharp

2010-02-11 Thread 1T3XT info
a...@viscus wrote: > I m using iTextSharp 2.0 with .Net 2.0 to create PDF document. You won't get free support for a version that old. > But I m getting error message > "An error exist on this page. Acrobat may not display this page correctly. > Please contact the person who create the PDF docum

Re: [iText-questions] How do i convert a color pdf to black & white or grayscale pdf.

2010-02-11 Thread 1T3XT info
Yuttakrong Junsom wrote: Dear Specialist iTextSharp. I have any problem following. I want to convert PDF files to black and white or color is gray. How to do that.I'm search from Google and are not met. With respect. This question has already been answered. Maybe you should read the an

Re: [iText-questions] Add Footer with page number Version(5.0.1)

2010-02-11 Thread 1T3XT info
von462 wrote: > Hi, > > I am trying to replace my old code for adding footer to a page to make it > compatible with the new version(5.0.1), which does not support HeaderFooter > class anymore. My existing code looks like this: > > HeaderFooter footer = new HeaderFooter(new Phrase("page: "), true)

Re: [iText-questions] [Book]

2010-02-11 Thread Bruno Lowagie
Via-Reque, Alfonso wrote: > Regarding 2^nd edition. > > Just a brief editorial note. On the first page of chapter 9 the sentence: > > When I want to travel by train or by*** plain* … > > Should read > > … plane … Oops, you're right. This will be corrected. You (and the other people on the ma

[iText-questions] Add Text content to existing PDF

2010-02-11 Thread Frank Stephan
Hi, I want to add content to an existing pdf. I know it is possible using DirectContentByte. Is it possible to add content using Phrase, Paragraph, PdfPTable, too? Greetings Frank -- SOLARIS 10 is the OS for Data Center

[iText-questions] How do i convert a color pdf to black & white or grayscale pdf.

2010-02-11 Thread Yuttakrong Junsom
Dear Specialist iTextSharp. I have any problem following. I want to convert PDF files to black and white or color is gray. How to do that.I'm search from Google and are not met. With respect. YJ. _

[iText-questions] Error Generated While Creating an PDF using iTextSharp

2010-02-11 Thread a...@viscus
I m using iTextSharp 2.0 with .Net 2.0 to create PDF document. But I m getting error message "An error exist on this page. Acrobat may not display this page correctly. Please contact the person who create the PDF document to correct the problem." http://old.nabble.com/file/p27558791/errormsg.png

[iText-questions] Add Footer with page number Version(5.0.1)

2010-02-11 Thread von462
Hi, I am trying to replace my old code for adding footer to a page to make it compatible with the new version(5.0.1), which does not support HeaderFooter class anymore. My existing code looks like this: HeaderFooter footer = new HeaderFooter(new Phrase("page: "), true); footer.setBorder(Rectangl

[iText-questions] [Book]

2010-02-11 Thread Via-Reque, Alfonso
Regarding 2nd edition. Just a brief editorial note. On the first page of chapter 9 the sentence: When I want to travel by train or by plain ... Should read ... plane ... Alfonso Via-Reque Sr. Applications Developer/Analyst 3200 Highland Ave. Downers Grove, Il 60515 630-737-5045 Data Classifica

Re: [iText-questions] Exporting XMP XML from PDF file

2010-02-11 Thread 1T3XT info
G. Ken Holman wrote: > Please forgive me if these are duplicate questions but I'm having > problems searching this mail list: > >(1) - which archive of this mail list is presented well for searching? I regularly switch between GMANE and Nabble. They both have their strengths and weaknesses.

Re: [iText-questions] FW: Mail to iTextSharp

2010-02-11 Thread 1T3XT info
Leonard Rosenthol wrote: > I am sure Bruno meant that there are no APIs in iText that would enable this > in an easy fashion. That's what I meant. I lacked the time to elaborate on the answer. I knew that if I said "yes", I'd be asked "how?", probably followed with the question "do you have a cod

Re: [iText-questions] How to underline/strikethru a FREETEXT Annotation?

2010-02-11 Thread Leonard Rosenthol
For some reason I had thought that RC (RichContent, added in PDF 1.5) didn't work with FreeText annotations - but ISO 32000-1, 12.5.6.2 clearly states that it works on ANY "markup annotation". My mistake, sorry about that. Glad you caught it! As you have seen, FoxIt is NOT a fully ISO 32000-1

Re: [iText-questions] FW: Mail to iTextSharp

2010-02-11 Thread Leonard Rosenthol
I am sure Bruno meant that there are no APIs in iText that would enable this in an easy fashion. It is certainly possible to use the low level object APIs in iText to find everything in the PDF where colors can be specified and then run the appropriate algorithms on them to convert them to gray

Re: [iText-questions] How to underline/strikethru a FREETEXTAnnotation?

2010-02-11 Thread Mark Storer
Sure, it would go something like this (writing in the email off the cuff): static int buttonCounter = 0; public void addTemplateAsIcon( PdfStamper stamper, PdfTemplate template, Rectangle rect, int pageNum ) { PushbuttonField push = new PushbuttonField( stamper.getWriter(), rect, "blah" + (bu

Re: [iText-questions] RTF to PDF conversion?

2010-02-11 Thread 1T3XT info
Joe Silvestro wrote: > Does iText handle RTF to PDF conversion? No. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- SOLARIS 10 is the OS for Data Centers - provides features such

[iText-questions] RTF to PDF conversion?

2010-02-11 Thread Joe Silvestro
Does iText handle RTF to PDF conversion? Joe Silvestro joe.silves...@phaseforward.com 781-902-4946 -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS

[iText-questions] RTF to PDF?

2010-02-11 Thread Joe Silvestro
Does iText handle converting RTF file to PDF? Joe Silvestro joe.silves...@phaseforward.com 781-902-4946 -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winnin

Re: [iText-questions] Rich text fields with acro forms

2010-02-11 Thread Claus Brøndby Reimer
great thanks, i will have a look on the HtmlWorker -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris

Re: [iText-questions] FW: Mail to iTextSharp

2010-02-11 Thread Paulo Soares
> -Original Message- > From: Mike Marchywka [mailto:marchy...@hotmail.com] > Sent: Thursday, February 11, 2010 12:12 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] FW: Mail to iTextSharp > > > > > > > > >

Re: [iText-questions] Placing a screenAnnotation in a PdfPCell

2010-02-11 Thread Paulo Soares
PdfAnnotation videoAnnotation = PdfAnnotation.createScreen( cb.getPdfWriter(), rect, "TEST Movies Annotation", fs, "video/mpeg", true); Paulo > -Origin

[iText-questions] Exporting XMP XML from PDF file

2010-02-11 Thread G. Ken Holman
Please forgive me if these are duplicate questions but I'm having problems searching this mail list: (1) - which archive of this mail list is presented well for searching? (2) - I need to read the XMP XML in an existing PDF file in order to access some field content I've embedded

Re: [iText-questions] FW: Mail to iTextSharp

2010-02-11 Thread Mike Marchywka
> Date: Thu, 11 Feb 2010 08:25:24 +0100 > From: i...@1t3xt.info > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] FW: Mail to iTextSharp > > suphat phuenpha wrote: >> If I want to convert a color PDF files to black and white

Re: [iText-questions] How to underline/strikethru a FREETEXT Annotation?

2010-02-11 Thread thubb
OK, I partially got it to work by using "RC": String styles = ""; if(a.underline && !a.strikeout) { styles = "text-decoration:underline;"; } else if(a.strikeout && !a.underline) { styles = "text-decoration:

Re: [iText-questions] Set visible signature on multiple/all pages

2010-02-11 Thread mkl
Carles, half a month ago you wondered Carles Barrobés wrote: > whether it is possible to make one signature visible on more than one > location. which I doubted mkl wrote: > Hhmmm, even though having a number of widget annotations (e.g. one per > page) for the same signature field can be con

Re: [iText-questions] How to underline/strikethru a FREETEXT Annotation?

2010-02-11 Thread thubb
Thanks Mark, could you maybe share some code with me please? I am rather new to iText... Thanks a lot! 2010/2/11 Mark Storer : > If you really want arbitrary text/font/color/etc in an annotation, you can > build a PushbuttonField, use the Icon-Only style, and set that button's Icon > to any ol

Re: [iText-questions] How to underline/strikethru a FREETEXT Annotation?

2010-02-11 Thread thubb
Hmm strange, I can edit a freetext annotation I created with iText (no underline!) with Acrobat and add an underline to that annotation. So to me it seems it is not "impossible"... 2010/2/11 Leonard Rosenthol : > No, it is not possible with PDF in general (has nothing to do with iText). > > You sh