Re: [iText-questions] Problem splitting existing PDF files

2010-10-25 Thread 1T3XT info
On 24/10/2010 19:48, Long Botond wrote: It was a little bit difficult to update (stupid inherited project), but it works like a charm. Thank you for the feedback! -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] Bug in font subsetting

2010-10-25 Thread Paulo Soares
There's a bug with cff subsets that was only exposed in Acrobat 9, it works ok in Acrobat 7, for example. I don't know when it will be fixed. Paulo -Original Message- From: qqzx2kp [mailto:qqzx...@gmail.com] Sent: Sunday, October 24, 2010 10:35 PM To:

Re: [iText-questions] Another invalid signature thread

2010-10-25 Thread P3d3r0s0
Good morning, this the file with the verified digest: http://www.filefactory.com/file/b3hc38g/n/signed_pdf i still get the invalid signature error. I have no specific reason to use the filter you (Michael) mentioned, in fact i didnt even know i was using it :) I suppose that in order to use the

Re: [iText-questions] Another invalid signature thread

2010-10-25 Thread mkl
Pedro, P3d3r0s0 wrote: this the file with the verified digest: http://www.filefactory.com/file/b3hc38g/n/signed_pdf I'll have a look at your sample files later, but concerning: P3d3r0s0 wrote: I suppose that in order to use the detached one you mentioned i would have to use: PdfSignature

[iText-questions] iTextSharp - viewing PDF

2010-10-25 Thread Dennis Delimarsky
Hi guys, I was wondering if it is possible to view PDFs (in rendered format) with the help of iTextSharp? What I need this for is annotating the document, but I would like the user to point to the place in the document where the annotation should be placed. Thank you! Dennis

Re: [iText-questions] Another invalid signature thread

2010-10-25 Thread P3d3r0s0
Hello again, I did the detached method now, learned a few things on what works a little better but still gives an error (Error encountered while BER decoding:)... sample: http://www.filefactory.com/file/b3hcd3b/n/signed_pdf Key code samples that i believe might be the reason for the errors:

Re: [iText-questions] iTextSharp - viewing PDF

2010-10-25 Thread 1T3XT info
On 25/10/2010 15:16, Dennis Delimarsky wrote: Hi guys, I was wondering if it is possible to view PDFs (in rendered format) with the help of iTextSharp? iText nor iTextSharp have PDF viewing functionality. You'll need to look for another product. -- This answer is provided by 1T3XT BVBA

Re: [iText-questions] Different PdfTemplates dynamically

2010-10-25 Thread 1T3XT info
On 25/10/2010 12:31, riffla wrote: Checking for the first page can be handled by adding the template in the overridden onEndPage method but how do I avoid adding the template to the last page not knowing which page is the last one until the document is about to close? There is no way for

Re: [iText-questions] Different PdfTemplates dynamically

2010-10-25 Thread Nurettin DAG
Detecting first page is pretty straightforward as you mentioned, just checking pageNumber==1 should be good enough. In order to detect last page you can make use of the following fact: onEndPage event is only fired either when iText detects it needs to move to the next page or when user prompts

Re: [iText-questions] Different PdfTemplates dynamically

2010-10-25 Thread Nurettin DAG
Another solution would of course be to do a two pass: in teh first page you do not print out the templates but just collect information about the pages and in the second pass print out templates based on the information collected. However, I think I do not recommend this since it is more work and

Re: [iText-questions] Different PdfTemplates dynamically

2010-10-25 Thread 1T3XT info
On 25/10/2010 16:27, Nurettin DAG wrote: Therefore, what I would suggest you do is sometime between after you finish adding content to pdf and before closing the document make a call to your custom PdfPageEventHandler to set some sort of flag that coming onEndPage event is for the last page

[iText-questions] 3 questions about external signature

2010-10-25 Thread jian zhang
1. itext api doc says :The general sequence is: preClose(), getDocumentBytes() and close(),however,there is no method called getDocumentBytes,but getRangeStream? 2. Must

Re: [iText-questions] 3 questions about external signature

2010-10-25 Thread P3d3r0s0
Hey. 1- getRangeStream gives you the bytes that can be hashed, so its : preClose(), getRangeStream() and close(). 2- I believe so, it makes sense since the part of the settings of the signature appearance and i've seen it in that order in all examples. 3- i would like to know that too :) but i

[iText-questions] Using OpenType font with IDENTITY_H: Characters Vanish. Font expert help needed.

2010-10-25 Thread Mark Storer
No, I don't think the problem has anything to do with licensing... That was just my stream-of-consciousness debugging-in-email writing style. It's not a licensing problem. It's not a particular font vendor. It's not all opentype fonts. As far as I can tell, it's completely random. Oh, I

Re: [iText-questions] RandomFileOrAccessArray

2010-10-25 Thread Mark Storer
Do you get the same results with new PdfReader( new RandomAccessFileOrArray( myFile.getAbsolutePath() ) )? You're using two different paths, which could (unlikely but possible) cause a difference. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer;

Re: [iText-questions] Using OpenType font with IDENTITY_H: Characters Vanish. Font expert help needed.

2010-10-25 Thread Paulo Soares
See the thread Bug in font subsetting opened by the same poster. In short, it's a bug with cff subsets that was only exposed in Acrobat 9. Paulo -Original Message- From: Mark Storer [mailto:msto...@autonomy.com] Sent: Monday, October 25, 2010 5:42 PM To: Post all your questions about

Re: [iText-questions] 3 questions about external signature

2010-10-25 Thread Paulo Soares
Use wincer mode, it's not related to windows, just a signing mode. The other modes only make sense pre Acrobat 6. Paulo -Original Message- From: P3d3r0s0 [mailto:zas...@gmail.com] Sent: Monday, October 25, 2010 4:34 PM To: itext-questions@lists.sourceforge.net Subject: Re:

Re: [iText-questions] Bug in font subsetting

2010-10-25 Thread Mark Storer
Do you have a link to a bug report for that? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; DisclaimerCardiff DisCard = null; -Original Message- From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Monday, October 25, 2010 2:37 AM To: Post

Re: [iText-questions] Bug in font subsetting

2010-10-25 Thread Paulo Soares
The bug is in iText. Paulo - Original Message - From: Mark Storer To: Post all your questions about iText here Sent: Monday, October 25, 2010 6:17 PM Subject: Re: [iText-questions] Bug in font subsetting Do you have a link to a bug report for that? --Mark Storer

Re: [iText-questions] PDF tags used for accessibility to XML

2010-10-25 Thread Gunderson, Jon R
Is the best way to provide test files for the problems we have found with the convertToXML method is to log them in the SourceForge bug tracker? http://sourceforge.net/tracker/?atid=115255group_id=15255func=browse We added one issue related to convertToXML not generating valid XML when a PDF

Re: [iText-questions] Bug in font subsetting

2010-10-25 Thread Mark Storer
Ah! How Interesting... --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; DisclaimerCardiff DisCard = null; From: Paulo Soares [mailto:psoa...@glintt.com] Sent: Monday, October 25, 2010 11:34 AM

[iText-questions] How nextColumn() in MultiColumnText works?

2010-10-25 Thread BM
Hi! I am a bit puzzled how nextColumn() works. Here what I expect: 1. I have two columns: one is 5cm wide, other is the rest of the A4 page. 2. I have some texts, so I want it fall into that narrow 5cm column. 3. There is a chart image, so I want it go to wide column. Here how I do: 1. Create

Re: [iText-questions] How nextColumn() in MultiColumnText works?

2010-10-25 Thread BM
On Tue, Oct 26, 2010 at 11:30 AM, BM bogdan.maryn...@gmail.com wrote: 1. Create a columnset from MultiColumnText. 2. columnset.addElement(Paragraph) few times. 3. columnset.nextColumn() --- This should move insertion point to the next column, right? 4. columnset.addElement(Image); Update:

Re: [iText-questions] Populating a PDF from remote server

2010-10-25 Thread Todd Cuadros
Hi, Great feedback! Our goal is to distribute a PDF to users validated via username/password input inside the pdf, for viewing on their desktop using the standalone Adobe Reader. The target audience associates with each other, so to deter unauthorized sharing, we wish to control security by

Re: [iText-questions] How nextColumn() in MultiColumnText works?

2010-10-25 Thread BM
Here is a screenshot of that effect, if my explanation was wrong: http://goo.gl/KgUv -- Kind regards, BM Things, that are stupid at the beginning, rarely ends up wisely. -- Nokia and ATT present the 2010 Calling All