Re: [iText-questions] Merging content with a pdf created withOpenOffice.org Draw

2009-11-11 Thread 1T3XT info
Harri T. wrote: > If I replace the line > > cb.addTemplate(page1, 1, 0, 0, 1, 0, 0); > > with this line > > document.add(Image.getInstance(page1)); With document.add() iText will try to respect the margin. In your case, you have implicit margins of 36pt. In other words: page1 wrapped in

[iText-questions] Mission-critical pdf with thousands of statement of accounts / Design considerations to be verified by the experts

2009-11-11 Thread Martin Weiss
Hi all iText cracks, it seems that I have started an strategic discussion about the usage of PDFs and I appreciate the various comments. Fact is, the insurance company decided to create a PDF with statement of accounts, in Java with iText on IBM z/OS (Websphere XD). See requirements at the end

Re: [iText-questions] iText-questions Digest, Vol 42, Issue 35

2009-11-11 Thread 1T3XT info
Amit Gupta wrote: > Sir jee, aap hi ka number mang raha tha, nahi dena hai to koi baat > nahi..kyuki tumara ideawala number switchup ja raha hai.. Kan je dit eens herhalen in een taal die iedereen begrijpt? -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info --

Re: [iText-questions] HTML to RTF

2009-11-11 Thread 1T3XT info
Oliver Hernàndez Valls wrote: > I knew xhtmlrenderer but can't find something analogous to > org.xhtmlrenderer.pdf.ITextRenderer but for rtf. > I'll post my question there. > > Anyway, thank you all for the feed back We're abandoning RTF. It will move to an incubator project soon. This mailing l

Re: [iText-questions] iText-questions Digest, Vol 42, Issue 35

2009-11-11 Thread Alexis Pigeon
2009/11/11 1T3XT info > Amit Gupta wrote: > > Sir jee, aap hi ka number mang raha tha, nahi dena hai to koi baat > > nahi..kyuki tumara ideawala number switchup ja raha hai.. > > Kan je dit eens herhalen in een taal die iedereen begrijpt? > D'ailleurs, de quelle langue s'agit-il? ---

[iText-questions] Right to left run direction

2009-11-11 Thread Eric Summkeller
I have one short question. I have different content in Hebrew. This content is either saved in a Paragraph or PdPCell object. I would like to write this content from right to left. Is the only possibility that I have to use a ColumnText object? -

Re: [iText-questions] Right to left run direction

2009-11-11 Thread 1T3XT info
Eric Summkeller wrote: > I have one short question. I have different content in Hebrew. This content > is > either saved in a Paragraph or PdPCell object. I would like to write this > content from right to left. Is the only possibility that I have to use a > ColumnText object? Yes, only Column

Re: [iText-questions] Merging content with a pdf created withOpenOffice.org Draw

2009-11-11 Thread Harri T.
On 11.11.2009 10:19 1T3XT info wrote: > > img.setAbsolutePosition(0, 0); This one did the job. > Of course, just read the book! Thanks for helping! I ordered a copy of the book. Harri -- Let Crystal Reports handle the

Re: [iText-questions] is a pdf file coming out of pdf file concatination always valid?

2009-11-11 Thread Paulo Soares
I don't know where Acrobat stands now but with earlier versions it would get confused with different subset fonts with the same prefix. It may be wiser to call PdfReader.shuffleSubsetNames() just in case. Paulo From: Carsten Hammer [carsten.ham...@t-onli

[iText-questions] Closing the document fires IOException("The document has no pages.)

2009-11-11 Thread Martin Weiss
Hi all iText cracks, the following code snippet throws an IOException (no pages) when closing the document. The PdfWriter.getImportedPage() method is invoked several times... Any idea what causes the problem. Thanks, Martin document.open(); PdfReader reader = new PdfReader(byteArrayOutputStream.t

Re: [iText-questions] Closing the document fires IOException("The document has no pages.)

2009-11-11 Thread 1T3XT info
Martin Weiss wrote: > Hi all iText cracks, > the following code snippet throws an IOException (no pages) when closing the > document. The PdfWriter.getImportedPage() method is invoked several times... > Any idea what causes the problem. You create an object of type PdfImportedPage, but you never

Re: [iText-questions] is a pdf file coming out of pdf file concatination always valid?

2009-11-11 Thread Leonard Rosenthol
That hasn't been the case since Acrobat 5 (aka we fixed it in Acrobat 6). Leonard -Original Message- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Wednesday, November 11, 2009 5:43 AM To: Post all your questions about iText here Subject: Re: [iText-questions] is a pdf file coming

[iText-questions] reg: can a .cer file be used to sign an adobe eform

2009-11-11 Thread Gauravk Tyagi
hi all i want to know whether a .cer file(which don't have a private key) can be used through any means to sign an adobe eForm using itext.if it is possible ,if you have any guidance or hint ..that will be highly appreciated. Thanks and regards Gaurav Kumar Tyagi Asst. System Engineer Gauta

Re: [iText-questions] reg: can a .cer file be used to sign an adobeeform

2009-11-11 Thread Paulo Soares
No, it can't, not with iText, not with anything else. Paulo - Original Message - From: "Gauravk Tyagi" To: "Post all your questions about iText here" Sent: Wednesday, November 11, 2009 12:45 PM Subject: [iText-questions] reg: can a .cer file be used to sign an adobeeform hi all i w

Re: [iText-questions] reg: can a .cer file be used to sign an adobeeform

2009-11-11 Thread Mike Marchywka
[ hotmail possible formatting problem again, sorry ] > From: > To: itext-questions@lists.sourceforge.net > Date: Wed, 11 Nov 2009 13:23:52 + > Subject: Re: [iText-questions] reg: can a .cer file be used to sign an > adobeeform > > No, it can't, not wit

Re: [iText-questions] iText-questions Digest, Vol 42, Issue 35

2009-11-11 Thread Glen Hamel
Jugare, ji vel'bol xanalress zhahus nindel? Glen Hamel Auric Networks Canada, Inc. 570 Orwell Street, Unit 1 Mississauga, Ontario L5A 3V7 Phone : 905.361.7621 x 204 Cell : 647.212.8742 Fax : 905.274.3912 Email : glen.ha...@auricnet.ca htt

[iText-questions] Replacing PdfCopy by PdfWriter fails (recommended performance enhancement)

2009-11-11 Thread Martin Weiss
Based on an earlier recommendation I am trying to replace PdfCopy by PdfWriter (concatenation of a few PDFs). Close of the document fails. What's about forcing a new page ? I am confused... Many thanks for the help. Martin Document document = new Document(...); document.open(); PdfWriter writer

Re: [iText-questions] iText-questions Digest, Vol 42, Issue 35

2009-11-11 Thread 1T3XT info
Glen Hamel wrote: > Jugare, ji vel'bol xanalress zhahus nindel? Is this Klingon? -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- Let Crystal Reports handle the reporting - Free C

Re: [iText-questions] Replacing PdfCopy by PdfWriter fails (recommended performance enhancement)

2009-11-11 Thread 1T3XT info
Martin Weiss wrote: > Based on an earlier recommendation I am trying to replace PdfCopy by > PdfWriter > (concatenation of a few PDFs). Close of the document fails. What's about > forcing a new page ? document.newPage(); See below: > Document document = new Document(...); > document.open(); >

[iText-questions] Some PDF problems

2009-11-11 Thread Eric Jönsson
Hello. Apologies if this is the wrong place to ask these kinds of questions. I've got a bunch of ready-made single-page PDF-files. (The templates) I connect a PdfReader to each one of them and concatenate them into a single PdfCopy. This results in a multi-page PDF where each page is an instan

Re: [iText-questions] Some PDF problems

2009-11-11 Thread 1T3XT info
Eric Jönsson wrote: > What am I doing wrong here? How should I go about fixing this? See http://1t3xt.be/?X000297 for an example of what you're trying to achieve. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -

Re: [iText-questions] Replacing PdfCopy by PdfWriter fails (recommended performance enhancement)

2009-11-11 Thread Martin Weiss
Hi Bruno ? (BVBA ?) many thanks for your reply. Both versions (PdfCopy, PdfSmartCopy) have only a single copy of the Form XObject (PdfTemplate) [see below]. Both files have the same size. I am a little bit confused. Based on the answers I have received in the newsgroup I have expected many copie

[iText-questions] add bookmark at runtime

2009-11-11 Thread lester fajardo
hello i am trying to add a bookmark using javascript but seems to not be working, i create a bookmark using standar itext procedure and 2 using js at document load, but only the itext-created bookmark is shown. thx in advance for any help this is my code. string jsCode = ""; Document document =

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread Leonard Rosenthol
Are you trying to run that Javascript in Reader? Reader doesn't support creating stuff on the fly... Leonard From: lester fajardo [mailto:lefaja...@gmail.com] Sent: Wednesday, November 11, 2009 11:20 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] add bookmark at runtime

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread lester fajardo
Hi. Leonard. Yes, i am trying that in Reader. My whole problem is this. I have created a doc, and now i try to create a bookmarks for the document, but those are not standar bookmarks. i want to have a list of boookmaks like A Any (3) ( 3) is the number of occurences of that word insi

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread Leonard Rosenthol
Why can't you add the bookmarks at the end of the document creation process? I don't understand what problem/limitation you are facing... From: lester fajardo [mailto:lefaja...@gmail.com] Sent: Wednesday, November 11, 2009 12:17 PM To: Post all your questions about iText here Subject: Re: [iText

Re: [iText-questions] Replacing PdfCopy by PdfWriter fails (recommended performance enhancement)

2009-11-11 Thread 1T3XT info
Martin Weiss wrote: > Both versions (PdfCopy, PdfSmartCopy) have only a > single copy of the Form XObject (PdfTemplate) [see below]. Are you sure? I mean: I can't tell only by looking at one object. > Both files have the same size. That's good news. In general, files generated with PdfSmartCopy

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread Leonard Rosenthol
OK. I still don't understand what the problem is. You can certainly use iText to create such a PDF PROVIDED that you have the counts for each word, since iText has no support for word counting itself. Leonard From: lester fajardo [mailto:lefaja...@gmail.com] Sent: Wednesday, November 11, 2009

Re: [iText-questions] Replacing PdfCopy by PdfWriter fails (recommended performance enhancement)

2009-11-11 Thread Martin Weiss
Bruno, I guess we have a misunderstanding. I a previous post you remcommended to use PdfWriter instead of PdfCopy for concatenation of pdfs. PdfWriter does not work for me (see previous post). My experience: I have to use PdfCopy or better PdfSmartCopy for that. Can you confirm that ? Many thank

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread lester fajardo
i already have the word count. my plain question is: how can i make with itext that bookmarks ? i am new to itext. if you see that bookmarks are not related to anything inside the pdf ( unless it are hidden ) On Wed, Nov 11, 2009 at 6:53 PM, Leonard Rosenthol wrote: > OK. > > > > I still don

[iText-questions] Root Object is invalid or missing after PDF is manipulated with iTextSharp

2009-11-11 Thread subrah
Hi Sorry resending this post as i was not registered user earlier. i am using latest iTextSharp library to edit the pdf documents to put the water marking digitallly (hidden). So when i researched i found that i can add a annotation to the pdf document and then set the flags to annotation.Flags

Re: [iText-questions] Replacing PdfCopy by PdfWriter fails (recommended performance enhancement)

2009-11-11 Thread 1T3XT info
Martin Weiss wrote: > Bruno, I guess we have a misunderstanding. I a previous post you remcommended > to use PdfWriter instead of PdfCopy for concatenation of pdfs. I said that in some cases PdfWriter could be better. I don't claim to know and understand the complete design of your application.

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread 1T3XT info
lester fajardo wrote: > i already have the word count. > > my plain question is: how can i make with itext that bookmarks ? i am > new to itext. Read chapter 13 of the iText book: http://1t3xt.com/docs/book.php As you are new to iText, reading documentation is mandatory. You can't just say: "He

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread Leonard Rosenthol
Have you read the iText book? Looked at the samples? Leonard From: lester fajardo [mailto:lefaja...@gmail.com] Sent: Wednesday, November 11, 2009 2:21 PM To: Post all your questions about iText here Subject: Re: [iText-questions] add bookmark at runtime i already have the word count. my plain

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread lester fajardo
not that book as i wrote in the first email. i have read the adobe guide to js, and other sites like http://itextdocs.lowagie.com/tutorial/objects/anchors/index.php true is that i am new to itext, but as said, i am not sitting here and asking how to do it without any effort. I told you that i tr

Re: [iText-questions] is a pdf file coming out of pdf file concatination always valid?

2009-11-11 Thread Carsten Hammer
After applying the change Paulo suggested Adobe Reader 8 displays two truetypefonts in both cases (out.pdf, out2.pdf). Without the change Reader only finds 1 (truetype subsetted) font in the case of identical names (out2.pdf). More interesting than to find bugs in different versions of reader o

Re: [iText-questions] is a pdf file coming out of pdf file concatination always valid?

2009-11-11 Thread Leonard Rosenthol
Fonts with the same name on different pages are completely valid according to ISO 32000-1. Leonard -Original Message- From: Carsten Hammer [mailto:carsten.ham...@t-online.de] Sent: Wednesday, November 11, 2009 3:19 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questio

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread 1T3XT info
lester fajardo wrote: > "You can certainly use iText to create such a PDF PROVIDED" EVERY MAIL SENT TO THE MAILING LIST HAS A LINK TO: http://1t3xt.info/tutorials/keywords/ SEE BELOW IF YOU DON'T BELIEVE ME. Please go to that page. Use Ctrl+F to find the word "Bookmarks". Wow, somebody even made

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread lester fajardo
oh, man. again, i dont have a doubt and sit and ask. i think all those samples help a bit, but many of the helpful ones are using "lowagie", etc, java samples, mayb you have not noticed that i am using c sharp thx anyway, i will continue my search On Wed, Nov 11, 2009 at 8:30 PM, 1T3XT info wr

[iText-questions] Itext tooltip generation

2009-11-11 Thread 6QT5S
I am unable to generate tooltip for a pdfpcell. It would be of great help if someone shares knowledge about displaying a tooltip for every cell of the Table -- View this message in context: http://old.nabble.com/Itext-tooltip-generation-tp26305775p26305775.html Sent from the iText - General mail

Re: [iText-questions] Itext tooltip generation

2009-11-11 Thread 1T3XT info
6QT5S wrote: > I am unable to generate tooltip for a pdfpcell. It would be of great help if > someone shares knowledge about displaying a tooltip for every cell of the > Table Read chapter 10 of the book to find out more about cell events. Combine that knowledge with these examples: http://1t3xt.b

Re: [iText-questions] add bookmark at runtime

2009-11-11 Thread 1T3XT info
lester fajardo wrote: > i think all those samples help a bit, but many of the helpful ones are > using "lowagie", etc, java samples, mayb you have not noticed that i am > using c sharp Same difference. Just imagine that Java is pseudo code if you don't like Java. The same objects and methods are