[iText-questions] Fwd: How to subscribe to this mailing list ?

2010-12-09 Thread Alexis Pigeon
Hi dying veteran, This is a mailing-list, please post directly to it and not to me personally. As for this message, I forwarded it to the list, but remember that you won't receive any of the answers given if you haven't subscribed to the list yet. Cheers, alexis -- Forwarded message ---

Re: [iText-questions] How to subscribe to this mailing list ?

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 20:31, dying veteran schreef: > But how do I get other people's posts and interact with the mailing list ? If you subscribe (which you have already done, thanks!), you get all the mails sent to the mailing-list (which you should have noticed by now). > Also, I want to search the old a

Re: [iText-questions] Images extract problem

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 19:07, dpreznik schreef: > Thank you for your message. Could you please give me more details how it can > be done? Because I am ignorant in all this stuff. Please subscribe to the mailing list first: http://www.itextpdf.com/contact.php#mailinglist I don't know how you post questions (

Re: [iText-questions] How to subscribe to this mailing list ?

2010-12-09 Thread dying veteran
But how do I get other people's posts and interact with the mailing list ? Also, I want to search the old archive for questions similar to mine. Cheers On Thu, Dec 9, 2010 at 9:30 AM, Alexis Pigeon wrote: > Hi dying veteran, > > On 9 December 2010 18:14, dying veteran wrote: >> How to subscrib

Re: [iText-questions] Images extract problem

2010-12-09 Thread dpreznik
Thank you for your message. Could you please give me more details how it can be done? Because I am ignorant in all this stuff. Thanks. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Images-extract-problem-tp3079140p3080663.html Sent from the iText - General mailing

Re: [iText-questions] How to programmatically make a target as you might make with acrobat with right click on the navigation panel ?

2010-12-09 Thread 1T3XT BVBA
Op 10/12/2010 1:30, dying veteran schreef: > How to programmatically make a target as you might make with acrobat > with right click on the navigation panel ? The correct word you're looking for is probably "bookmark" (Adobe Reader has a Bookmarks panel) or "outline" (this is what it's called in t

[iText-questions] Is itext supports Middle Level Security

2010-12-09 Thread hardik shah
Hi, I have used ItextSharp Ver 5 for PDF generation from my ASP.Net 2005 application, It works well in Local Machine (with Run As Administrator) , But not running in my shared Server . ItextSharp is supporting middle Level Security ??? Thanks in advance. Regards, Hardik Shah -

[iText-questions] How to programmatically make a target as you might make with acrobat with right click on the navigation panel ?

2010-12-09 Thread dying veteran
How to programmatically make a target as you might make with acrobat with right click on the navigation panel ? It can be equivalent to pdf operator or array /Dest [1 XYZ 36 802 0] ... if i am not mistaken. The given is page no x cood y cood Zoom value string name of the target I dont want to y

Re: [iText-questions] Images extract problem

2010-12-09 Thread Mark Storer
> > Thank you very much for your answer. Does it simply mean that > there is no way I can extract the image as it appears in the pdf? > Of course not. It simply means you need to look at other image attributes to see how to interpret the data. What in specific you'll need to check will vary f

[iText-questions] ColumnText.setSimpleColumn() Y values in rectangle

2010-12-09 Thread David Thielen
Note: I'm posting this so it's in the email archives for anyone searching on this in the future. In the call ColumnText.setSimpleColumn(), while the X parameters passed in are the left and right limits of the text to be rendered, the Y parameter is the baseline for the text, not a boundary. The

Re: [iText-questions] BAR Code in pdf with interactive form

2010-12-09 Thread Leonard Rosenthol
Yes, they were accidently overlooked in 32000-1, but they are documented in the Adobe Extensions and are now part of ISO 32000-2. From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: Thursday, December 09, 2010 9:44 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] BAR Code i

Re: [iText-questions] BAR Code in pdf with interactive form

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 17:50, Leonard Rosenthol schreef: Why not use a field of type Barcode? Barcode fields were introduced in PDF 1.7 and work for both AcroForms as well as XFA-based forms. I always forget the Barcode fields in AcroForms. Weren't they forgotten in the specs? ---

Re: [iText-questions] Text position/length reading problem

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 15:00, Apostol Karovski schreef: Hello, I use iTextSharp SVN trunk version and I see a problem with some pdf files. What I want to do is to highlight text. I tried the example from the book with your test.pdf and you can find the result in attachment. As you can see, a rectangle is

Re: [iText-questions] Problem using ColumnText

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 18:08, Esh schreef: Here is my code: private void generatepdfReport() { PdfPTable table = createPdfPTable(); // This will create my Table and add PdfPCells to Table. So createPdfPTable is supposed to return a PdfTable, but you say that this is the implementation: private PdfPTable

Re: [iText-questions] How to subscribe to this mailing list ?

2010-12-09 Thread Alexis Pigeon
Hi dying veteran, On 9 December 2010 18:14, dying veteran wrote: > How to subscribe to this mailing list ? Please use the link appended to the bottom of any message posted to this mailing list. > Thanks. > > -- > __

Re: [iText-questions] How to subscribe to this mailing list ?

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 18:14, dying veteran schreef: > How to subscribe to this mailing list ? That's documented in the automated response that is sent to you by the system whenever you send a mail to itext-questions@lists.sourceforge.net without being subscribed. It's also explained on http://itextpdf.com

Re: [iText-questions] Problem using ColumnText

2010-12-09 Thread pulavas
Check the link posted by "1T3XT BVBA", i also see the pdf attached to that example and i think this is what you are expecting. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Problem-using-ColumnText-tp3080200p3080491.html Sent from the iText - General mailing list a

[iText-questions] How to subscribe to this mailing list ?

2010-12-09 Thread dying veteran
How to subscribe to this mailing list ? Thanks. -- ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-ques

Re: [iText-questions] Images extract problem

2010-12-09 Thread dpreznik
1T3XT info wrote: > > Actually, they are not really negatives. > They are files with a mask (or they are the mask for another image). > For instance: if you add a PNG with transparency to a PDF file, > you can find two images inside the PDF: one without transparency > and another one that acts a

Re: [iText-questions] Problem using ColumnText

2010-12-09 Thread Esh
I am sorry for Saying "it is not working". I forgot to add the same statement that i have added in my previous post.. "I might be missing something". Here is my code: private void generatepdfReport() { PdfPTable table = createPdfPTable(); // This will create my Table and add PdfPCells to Table.

Re: [iText-questions] BAR Code in pdf with interactive form

2010-12-09 Thread Leonard Rosenthol
Why not use a field of type Barcode? Barcode fields were introduced in PDF 1.7 and work for both AcroForms as well as XFA-based forms. From: Adrian Constantin POPESCU [mailto:adrian.pope...@otpbank.ro] Sent: Thursday, December 09, 2010 7:45 AM To: Post all your questions about iText here Subject

Re: [iText-questions] Images extract problem

2010-12-09 Thread Leonard Rosenthol
Another thing to consider is the Decode array that lets the creator "invert" individual color components. This is most common with CMYK-based images, though I've also seen it with grayscale and B&W. -Original Message- From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: Thursday, December 0

Re: [iText-questions] BAR Code in pdf with interactive form

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 16:44, Adrian Constantin POPESCU schreef: Hi, I want to make a interactive form in PDF and based on the fields of form I want to put a barcode (pdf417) in the same pdf; For example: I have a form with one field: name ; when I change this field I want to show a barcode in the pd

Re: [iText-questions] Problem using ColumnText

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 16:55, Esh schreef: > Hi Thanks for your response. > My requirement is: I have to split the table if it doenst fit on a page, and > all the parts of the table have to have a header on it. > when i was going through some posts i found if i use "table.setHeaderRows(), > table.setFooterRo

[iText-questions] BAR Code in pdf with interactive form

2010-12-09 Thread Adrian Constantin POPESCU
Hi, I want to make a interactive form in PDF and based on the fields of form I want to put a barcode (pdf417) in the same pdf; For example: I have a form with one field: name ; when I change this field I want to show a barcode in the pdf (something like onchange in javascript) Thank you

Re: [iText-questions] Problem using ColumnText

2010-12-09 Thread Esh
Hi Thanks for your response. My requirement is: I have to split the table if it doenst fit on a page, and all the parts of the table have to have a header on it. when i was going through some posts i found if i use "table.setHeaderRows(), table.setFooterRows() " it gives me both header and footer

Re: [iText-questions] Why does this draw the text outside of ColumnText.setSimpleColumn()?

2010-12-09 Thread David Thielen
Asking again, anyone know why text is drawn outside the boundaries of ColumnText.setSimpleColumn() as demonstrated in the code below? thanks - dave From: David Thielen [da...@windward.net] Sent: Tuesday, December 07, 2010 5:44 PM To: itext-questions@lists.source

Re: [iText-questions] Problem using ColumnText

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 15:09, eswari.jampani schreef: > Hi , > I am few weeks old to iText. I am using ColumnText to split a PdfPTable if > it doesnt fit on page. Throw away your code. Don't use ColumnText if splitting a PdfPTable is all you want to do. Return to your initial code involving only a PdfPTable.

[iText-questions] Problem using ColumnText

2010-12-09 Thread eswari.jampani
Hi , I am few weeks old to iText. I am using ColumnText to split a PdfPTable if it doesnt fit on page. if table is split, then both the portions of the table should have header to it. i tried using table.setHeaderRows(2); table.setFooterRows(1);, But result was not as expected(May i missed some

[iText-questions] Text position/length reading problem

2010-12-09 Thread Apostol Karovski
Hello, I use iTextSharp SVN trunk version and I see a problem with some pdf files. What I want to do is to highlight text. I realize that I can achieve getting all test positions with class similar to TextMarginFinder, which will return for me list of rectangles + texts, and then mark them with Pdf

Re: [iText-questions] exception while using jar in android.

2010-12-09 Thread kuehne
Hi kartik, we did it the way Bruno described. We just want to extract sigbatures and calculate hashes. So there is a lot to strip off .. Maybe it's the most convenient way to start by letting your android project refer to the iText sources, not to the jar. The dalvik compiler will include the

Re: [iText-questions] Invalid PDF

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 14:01, Stephan, Frank schreef: > Hi, > > I can generate my PDF without problems. > When I print with Adobe Reader 9, I get an error > > "There is an error on this page.The document may not be displayed > correctly". > > This code section produces this error: > > c

Re: [iText-questions] PDF Font Problem for Chinese, Japanese and Korean

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 13:39, ratna kar schreef: Hi, Sorry for wasting your time. May be i am not explaining the actual problem to you. Problem Description: Say if i had chinese and english in a document, I can prepare a pdf document by using the font selector. Exactly! But the chinese font we use

[iText-questions] Invalid PDF

2010-12-09 Thread Stephan, Frank
Hi, I can generate my PDF without problems. When I print with Adobe Reader 9, I get an error "There is an error on this page.The document may not be displayed correctly". This code section produces this error: cb.beginText(); cb.setColorFill(Pdf.

Re: [iText-questions] PDF Font Problem for Chinese, Japanese and Korean

2010-12-09 Thread ratna kar
Hi, Sorry for wasting your time. May be i am not explaining the actual problem to you. Problem Description: Say if  i had chinese and english in a document, I can prepare a pdf document by using the font selector. example code in the document: FontSelector selector = new FontSelector(); selec

Re: [iText-questions] File growth on encrypt

2010-12-09 Thread Paulo Soares
I suspect the problem here is the full compression not applied. Paulo -Original Message- From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: Thursday, December 09, 2010 12:05 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] File growth on encrypt Op 9/12/2010 11:

Re: [iText-questions] File growth on encrypt

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 11:45, fran otero schreef: > I everyone, > I'm using iTextSharp in order to encrypt pdf files. Original file has > 6mb and after encrypt it grows up to 12mb. Is it normal or can I avoid it? It's normal that the filesize of an encrypted file is larger than the size of a non-encrypted

Re: [iText-questions] exception while using jar in android.

2010-12-09 Thread 1T3XT BVBA
Your question almost got lost because you didn't subscribe to the mailing list. If you don't subscribe you risk not getting any other answer than this one! Please subscribe: http://itextpdf.com/contact.php Op 8/12/2010 9:56, kartik trivedi schreef: > hello, i used jar in android. and try to extra

Re: [iText-questions] PDF Font Problem for Chinese, Japanese and Korean

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 11:19, ratna kar schreef: I read all the examples in the itext website and it didn't solve my problem. This is getting embarrassing. If you've read all the example, you've found the solution. If you didn't find the solution, you haven't read all the examples. I read the chapter Ch

[iText-questions] File growth on encrypt

2010-12-09 Thread fran otero
I everyone, I'm using iTextSharp in order to encrypt pdf files. Original file has 6mb and after encrypt it grows up to 12mb. Is it normal or can I avoid it? Code: PdfReader pdfReader = new PdfReader(data); > > PdfEncryptor.Encrypt(pdfReader, ms, true, userPassword, ownerPassword, > PdfWriter.All

Re: [iText-questions] PDF Font Problem for Chinese, Japanese and Korean

2010-12-09 Thread ratna kar
Hi, The explanation that you gave is correct. But i need a code sample which lets the itext to render the characters so that i dont have to specify the font in the code. I read all the examples in the itext website and it didn't solve my problem. I read the chapter Choosing right Font in itext

Re: [iText-questions] PDF Font Problem for Chinese, Japanese and Korean

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 10:18, ratna kar schreef: How can i tell the itext to use its own fonts to render characters. Can u please give me a code sample..? or is it possible to get the sample chapter so that i can read it. The explanation and the code sample is in chapter 11 of the book "iText in Action

Re: [iText-questions] PDF Font Problem for Chinese, Japanese and Korean

2010-12-09 Thread ratna kar
Hi, Thanks a lot for helping me a lot. This is your answer: YES! That's EXACTLY what I told you. You can't do this using a SINGLE font, but it's very easy to do this using DIFFERENT fonts, letting iText decide which font to use for which characters. How can i tell the itext to us

Re: [iText-questions] PDF Font Problem for Chinese, Japanese and Korean

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 9:44, ratna kar schreef: Hi, Thanks for the quick response, Let me explain my requirement - the pdf may contain any data including chinese, japanese, korean or thai. I should support i18N. OK, we have examples that have the same kind of data. i didn't know what exactly the pd

Re: [iText-questions] Add an image to binary equivalent PDF before sending to browser

2010-12-09 Thread 1T3XT BVBA
Op 9/12/2010 0:05, Sumeet schreef: > I have a binary file which gets renedered to the browser as a PDF > > However my requirement is to insert an image in that before it is sent to > the browser so that the PDF which gets rendered on the browser has the image > > Is it possible using Itext.If yes c

Re: [iText-questions] Images extract problem

2010-12-09 Thread 1T3XT BVBA
Op 8/12/2010 22:33, dpreznik schreef: > Dear experts, > > I am trying to use iTextSharp to extract images from pdf. Some images are > extracted fine, but many are extracted as negatives of the original images. Actually, they are not really negatives. They are files with a mask (or they are the mask

Re: [iText-questions] PDF Font Problem for Chinese, Japanese and Korean

2010-12-09 Thread ratna kar
Hi, Thanks for the quick response, Let me explain my requirement - the pdf may contain any data including chinese, japanese, korean or thai. I should support i18N. i didn't know what exactly the pdf  contains (data) that i am going to generate. It will contain utf-8 data. The problem here is

[iText-questions] exception while using jar in android.

2010-12-09 Thread kartik trivedi
hello, i used jar in android. and try to extract simply pdf data.but i got the following exception. so any one has idea what is wrong with ? the following is exception and code snippt. *Exception:* E/AndroidRuntime( 650): Uncaught handler: thread main exiting due to uncaught e xception E/Andro

[iText-questions] Add an image to binary equivalent PDF before sending to browser

2010-12-09 Thread Sumeet
I have a binary file which gets renedered to the browser as a PDF However my requirement is to insert an image in that before it is sent to the browser so that the PDF which gets rendered on the browser has the image Is it possible using Itext.If yes can anyone please advise how -- View this m

[iText-questions] Images extract problem

2010-12-09 Thread dpreznik
Dear experts, I am trying to use iTextSharp to extract images from pdf. Some images are extracted fine, but many are extracted as negatives of the original images. Could you please help me with it? Here is the code I am using: public static void ExtractImagesFromPDF(string sourcePdf, stri