Re: [iText-questions] jsp to pdf

2009-10-13 Thread 1T3XT info
Asaf Halfon wrote: The example of the HelloWorld on the website is broken. I can't get the file. please help. Please use the official documentation: http://1t3xt.com/docs/book.php http://1t3xt.be/?X0005f6 You were reading obsolete documentation (probably from itextdocs.lowagie.com ). In

[iText-questions] Object Data Tool doesn't recognize my shape as an object in Marked content pdf.

2009-10-13 Thread Amit Sinha
I am trying to build a PDF that contains a simple graphic (square) with two Object Data properties. When I open the resulting PDF in Acrobat the Object Data Tool doesn't recognize my shape as an object. My Code is given Below. Document document = new Document(PageSize.A4.Rotate());

Re: [iText-questions] Nested Paragraph Indentation

2009-10-13 Thread mister bean
OK so you have arbitrarily long chunks of text that are preceded by a heading and you need to have the heading and the text kept together on the same page. And where several chunks would fit on a page you'd like them to flow together nicely to give the appearance of a single document. This can be

[iText-questions] How to tell the differences between password encryption and certificate encryption

2009-10-13 Thread Imgen
Dear everyone, I know this could sounds a bit silly, but I want to check if a pdf file is encrypted, which method it uses to encrypt. There are two types of encryption, password encryption - which uses a owner password to encrypt the pdf file and certificate encryption - which uses a

Re: [iText-questions] Object Data Tool doesn't recognize my shape as an object in Marked content pdf.

2009-10-13 Thread Amit Sinha
Hi I need consulting help. What is the standerd fee for help. Please tell me. I am trying to build a PDF that contains a simple graphic (square) with two Object Data properties. When I open the resulting PDF in Acrobat the Object Data Tool doesn't recognize my shape as an object. My Code

Re: [iText-questions] Object Data Tool doesn't recognize my shape as an object in Marked content pdf.

2009-10-13 Thread Leonard Rosenthol
You are trying to mix layers (OCGs/Optional Content) with User Properties. Pick one. -Original Message- From: Amit Sinha [mailto:amit.si...@dataworld.co.in] Sent: Tuesday, October 13, 2009 7:22 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Object Data Tool

[iText-questions] Open PDF Attach XML Save PDF

2009-10-13 Thread Daniel Rijkhof
Dear readers, I have the following case i want to implement: I want to open a PDF, keep it as original as posible, and attach an xml file to it. The result needs to be saved to disk. I hope one of you can help me with this. It seems like a very simple case, but i can't seem to figure out how to

Re: [iText-questions] Object Data Tool doesn't recognize my shape as an object in Marked content pdf.

2009-10-13 Thread Amit Sinha
I need pdf like this attachment. http://www.nabble.com/file/p25871790/Important.pdf Important.pdf Model tree is coming fine but when i click on the element Object data tool doesn't recognize shape. Is it possible for u to give me code sample. i m very thankful to u.

Re: [iText-questions] Number of signatures per page

2009-10-13 Thread Paulo Soares
See AcroFields.getFieldType() and AcroFields.getFieldPositions(). Paulo -Original Message- From: Dimiter Nikolov [mailto:dmnikolo...@yahoo.com] Sent: Monday, October 12, 2009 10:20 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Number of signatures per page

Re: [iText-questions] [patch-itextsharp] Fixes to attachmenthandling

2009-10-13 Thread Paulo Soares
The next release depends on Bruno, I don't know when it will be. Paulo -Original Message- From: Vesa Jääskeläinen [mailto:ch...@nic.fi] Sent: Monday, October 12, 2009 5:39 PM To: Post all your questions about iText here Subject: Re: [iText-questions] [patch-itextsharp] Fixes to

Re: [iText-questions] Fwd: problem with TIMESTAMP adding to Sign PDF

2009-10-13 Thread Paulo Soares
I'm preparing some examples on how to sign with smartcards with timestamps and ocsp. I don't know when they'll be ready. Paulo -Original Message- From: dathrix primeni [mailto:darth...@seznam.cz] Sent: Sunday, October 11, 2009 11:21 AM To: itext-questions@lists.sourceforge.net

Re: [iText-questions] Open PDF Attach XML Save PDF

2009-10-13 Thread Paulo Soares
You need PdfStamper. Paulo -Original Message- From: Daniel Rijkhof [mailto:daniel.rijk...@gmail.com] Sent: Tuesday, October 13, 2009 2:07 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Open PDF Attach XML Save PDF Dear readers, I have the following

Re: [iText-questions] Element added twice to ColumnText in composite mode

2009-10-13 Thread Paulo Soares
ColumnText.go(true) consumes the element and you should create new ColumnText if you want to draw more objects. Mixing go(true) with go(false) won't work. Paulo -Original Message- From: k1dev [mailto:k1...@yahoo.com] Sent: Monday, October 12, 2009 2:18 PM To:

Re: [iText-questions] How to tell the differences between password encryption and certificate encryption

2009-10-13 Thread Paulo Soares
There's no way to know it unless you open up PdfReader to catch the encryption dictionary. As it is now iText will throw an exception without any useful information regarding the encryption type. Paulo -Original Message- From: Imgen [mailto:im...@hotmail.com] Sent: Tuesday,

Re: [iText-questions] uploading a pdf file from applet to server

2009-10-13 Thread Paulo Soares
If you are looking for a way to do an HTTP POST it's off-topic in iText. Paulo -Original Message- From: Anand HS [mailto:anan...@gmail.com] Sent: Tuesday, October 13, 2009 1:17 AM To: iText-questions@lists.sourceforge.net Subject: [iText-questions] uploading a pdf file from applet

Re: [iText-questions] Open PDF Attach XML Save PDF

2009-10-13 Thread Daniel Rijkhof
Dear Paulo, I don't see a way to embed a file by using PdfStamper. What do i overlook? Greets Daniel On Tue, Oct 13, 2009 at 3:44 PM, Paulo Soares psoa...@glintt.com wrote: You need PdfStamper. Paulo -Original Message- From: Daniel Rijkhof [mailto:daniel.rijk...@gmail.com]

Re: [iText-questions] Open PDF Attach XML Save PDF

2009-10-13 Thread Paulo Soares
PdfStamper.addFileAttachment(). Paulo -Original Message- From: Daniel Rijkhof [mailto:daniel.rijk...@gmail.com] Sent: Tuesday, October 13, 2009 3:11 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Open PDF Attach XML Save PDF Dear Paulo, I

Re: [iText-questions] Hyperlinks in itext PDF Table of Cont ents after merging multiple documents

2009-10-13 Thread Venkat
I am looking for a solution to add ToC(Table of Contents) to merged pdfs. I request you to post the sample code for it. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer

Re: [iText-questions] Object Data Tool doesn't recognize my shape as an object in Marked content pdf.

2009-10-13 Thread Mark Storer
Could you post your output as well? I find it much easier to look at a document's object tree in something like RUPS when diagnosing problems of this sort. RUPS is available here: http://sourceforge.net/projects/itext/files/ Given the internal layout of a working PDF and my program's PDF,

Re: [iText-questions] Nested Paragraph Indentation

2009-10-13 Thread Mike Wille
Thank's mr. bean. That makes sense. And I went ahead and ordered the book. What was tripping me up on using ColumnText is that I kept wanting to put my normal paragraphs at the top of the page and then use the ColumnText instances for the sections that followed. But it seems you are

Re: [iText-questions] Text outside page boundaries

2009-10-13 Thread Steve Dalton
Ok - just replying to myself here... about 30 seconds after I hit send I realised I should be messing with the mediabox not page size and adapted some code from earlier in this list. Here is the code, hope it's helpful to someone: PdfReader reader = new PdfReader(input.pdf) int n =

[iText-questions] Text outside page boundaries

2009-10-13 Thread Steve Dalton
Just getting into iText - looks fantastic and I have the iText in Action book which is great. Just one thing that I am trying to do that I have struggled to find any examples of I have some PDFs that have some text outside of the normal A4 page boundaries. I need to simple move the right

Re: [iText-questions] Object Data Tool doesn't recognize my shape as an object in Marked content pdf.

2009-10-13 Thread Amit Sinha
Hi, Thanks for reply. I am attaching my output pdf. Please diagnose the problem pls. http://www.nabble.com/file/p25885220/om1.pdf om1.pdf Mark Storer-2 wrote: Could you post your output as well? I find it much easier to look at a document's object tree in something like RUPS when