Re: [iText-questions] separate presentation from content

2008-09-03 Thread Jayne B
Paulo Soares-3 wrote: > >> I think there is a way to do this in FOP, but I'd much rather >> stay with >> iText. It's so much more user-friendly. >> > > FOP can't do it either, it redoes the PDF, something that you could do > with iText too. > > > What I meant by doing it in FOP is that that

[iText-questions] Resizing, moving a watermark stamp on a pdf (already stamped using iText)

2008-09-03 Thread RK
Hello, I am stuck with a technical issue. We have a requirement where we are required to use iText to stamp an image on a pdf file. Once the pdf file is stamped and later down the technical workflow, the user should be able to move or resize the stamped image (that was stamped using iText on th

Re: [iText-questions] How to deep copy a PdfPTable?

2008-09-03 Thread murrah
Paulo Soares-3 wrote: > > PdfPTable is not made to change cell content. I've said this before but > some users have some deathwish and go ahead nevertheless. I really never > agreed that PdfPRow should be exposed but... > > Paulo > Thanks Paulo, Since I am new to itext I missed any previous a

Re: [iText-questions] Using iText with Websphere 6.1 and Java 1.5

2008-09-03 Thread glen . hamel
I seem to remember but can't find the reference right now, that 1.3 is not supported past Java 1.4.. You should consider updating your iText to 2.1.3 Glen Hamel Lead Programmer / Technician Auric Networks Canada, Inc. 570 Orwell Street, Unit 1 Mississauga, Ontario L5A 3V7 Phone 905.361.7621 Fa

Re: [iText-questions] Acrobat 8 Pro Error: Could not find XObject

2008-09-03 Thread Mark Storer
Nathan & Joy gmail.com> writes: >Image img = Image.getInstance("image.png"); >if(PdfName.IMAGE.equals(type)) { > PdfReader.killIndirect(obj); > writer.addDirectImageSimple(img, (PRIndirectReference)obj); >} I do believe this is the heart of the matter. I suspect that killIndirect + addDirect

[iText-questions] Using iText with Websphere 6.1 and Java 1.5

2008-09-03 Thread Boyd, Craig
I'm having problems with iText version 1.3 since upgrading our application server to Websphere 6.1 and Java 1.5. Some of my generated PDF's are no longer being rendered. I'm hoping someone can help me find a solution. Everything works correctly under our old environment with Websphere 5.1 and Ja

Re: [iText-questions] Acrobat 8 Pro Error: Could not find XObject

2008-09-03 Thread Paulo Soares
It should work. Does it work if you don't remove the break? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Nathan & Joy > Sent: Wednesday, September 03, 2008 4:55 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] A

[iText-questions] Acrobat 8 Pro Error: Could not find XObject

2008-09-03 Thread Nathan & Joy
Hello, I'm investigating using this library to strip images out of PDFs and replace with different images that also link to a webpage (explaining why the images have been replaced). I have successfully compiled some sample code used to strip images from a PDF. However, when I open the PDF i

Re: [iText-questions] Infinite Table Loop error

2008-09-03 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Michele Croci > Sent: Wednesday, September 03, 2008 3:00 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Infinite Table Loop error > > Hi all, > > I add a table to a docum

Re: [iText-questions] Annotation does not print

2008-09-03 Thread Paulo Soares
Now we know... Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Leonard Rosenthol > Sent: Wednesday, September 03, 2008 3:43 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Annotation does not print > > Popu

Re: [iText-questions] Creade a pdf with bookmarks

2008-09-03 Thread Paulo Soares
You don't have to create the bookmarks as they appear in the page. Collect all the text and positions and at the end of the document sort them and then create the bookmarks. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of beppecosta > Sent

Re: [iText-questions] itext foreign language support

2008-09-03 Thread Paulo Soares
All western european languages work with the built in fonts but for Chinese and others an external font is required. If your example doesn't work I suspect that you are editing the file with one codepage and compiling it with another. You can check that by replacing the accented chars with \uxxx

Re: [iText-questions] itext foreign language support

2008-09-03 Thread gugubanana
here is a simple coding i've done. Document document = new Document(); document.setPageSize(new Rectangle(209, 99)); document.setMargins(3f, 3f, 3f, 3f); document.open(); PdfWriter.getInstance(document, new FileOutputStream(new File("folder/document.pdf"))); document.add(new Parag

Re: [iText-questions] Annotation does not print

2008-09-03 Thread Leonard Rosenthol
Popups don't print... Leonard On Sep 3, 2008, at 10:16 AM, Paulo Soares wrote: > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of BorisTheCat >> Sent: Wednesday, September 03, 2008 2:51 PM >> To: itext-questions@lists.sourceforge.net >> Subj

[iText-questions] Creade a pdf with bookmarks

2008-09-03 Thread beppecosta
At present I create a pdf from a text file that contains one line with customer code, one line with customer name and a few line of data. A text file has some customers. I've found an example in the tutorial and I create the bookmarks with the "new PdfOutline" in the "onParagraph" when the line

Re: [iText-questions] Annotation does not print

2008-09-03 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of BorisTheCat > Sent: Wednesday, September 03, 2008 2:51 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Annotation does not print > > > I will see if someone here has f

[iText-questions] Infinite Table Loop error

2008-09-03 Thread Michele Croci
Hi all, I add a table to a document. The table has a cell which height is bigger than the page's height. And I get the error: "Infinite Table Loop" Is simply not possible to make a cell that is bigger than the page? Or I'm missing something? You find an example program and the result PDF in attea

Re: [iText-questions] Annotation does not print

2008-09-03 Thread BorisTheCat
I will see if someone here has full Acrobat to try that; however, when you stated that it worked for you... you were able to print my pdf with annotation appearing on paper ? Paulo Soares wrote: > > If you create the note with Acrobat, does it print? > > Paulo > > - Original Message

Re: [iText-questions] Large text paragraph not kept on one page

2008-09-03 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of zoharat > Sent: Wednesday, September 03, 2008 2:21 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Large text paragraph not kept > on one page > > > The font family, s

Re: [iText-questions] itext foreign language support

2008-09-03 Thread Paulo Soares
Insuficient information for an answer. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of gugubanana > Sent: Wednesday, September 03, 2008 12:37 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] itext foreign language

Re: [iText-questions] Large text paragraph not kept on one page

2008-09-03 Thread zoharat
The font family, size and style cannot be changed. IT should be what the report definition contains.So I cannot use a smaller font. I haven't looked at ColumnText is it a preferred way to position text? Paulo Soares wrote: > > You may change the font size, the leading or the horizontal scalin

[iText-questions] itext foreign language support

2008-09-03 Thread gugubanana
i have created a template using itext, now i'm having problems with displaying foreign characters correctly. does anybody have any ideas of how to get around this issue. many thanks in advance. -- View this message in context: http://www.nabble.com/itext-foreign-language-support-tp19287502p1928

Re: [iText-questions] any logger in Itext librairie?

2008-09-03 Thread glen . hamel
Code your own logging functionality.. I really don't see why iText should have a logger as every project/programmer/company has their own logging requirements that could be so vastly different that iText could never be able to keep up with demand. Anyway logging does not have standards / guid

Re: [iText-questions] separate presentation from content

2008-09-03 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jayne B > Sent: Wednesday, September 03, 2008 5:43 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] separate presentation from content > > > I'm new to iText, so please be

Re: [iText-questions] How to deep copy a PdfPTable?

2008-09-03 Thread Paulo Soares
PdfPTable is not made to change cell content. I've said this before but some users have some deathwish and go ahead nevertheless. I really never agreed that PdfPRow should be exposed but... Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of m

Re: [iText-questions] any logger in Itext librairie?

2008-09-03 Thread Paulo Soares
There are no loggers in iText. Paulo - Original Message - From: "Garry JEANVILLE" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 03, 2008 10:46 AM Subject: [iText-questions] any logger in Itext librairie? Hello, I am using the IText library. Does IText log any information? I do n

[iText-questions] any logger in Itext librairie?

2008-09-03 Thread Garry JEANVILLE
Hello, I am using the IText library. Does IText log any information? I do not find any logging invocation in the source code. Are there any loggers available in the library? Maybe they have to be activated..? And if a logger is integrated in iText, could you give me some tips to know how

[iText-questions] separate presentation from content

2008-09-03 Thread Jayne B
I'm new to iText, so please be kind :) I would like to find a way to separate out the content (generated programatically) from the formatting and some fixed text (eg disclaimer text, column heading labels) ie MVC. I'm looking for a way to create some sort of 'template' representing the presentati