Re: [iText-questions] Help with itextsharp and security

2008-02-07 Thread Kevin Brown
Anyone have any suggestions here? Or is there somewhere else to ask itextsharp questions? I am baffled and have no idea what/how to test. Is it a code problem? A bad .pfx file? Again ... worked with older version of itextsharp, upgraded to the latest release and made some changes as necessary f

Re: [iText-questions] RtfWriter2 with different fonts in Table Cell ?

2008-02-07 Thread Mark Hall
Hi, unfortunately you've run into a bug for which there is no work-around and due to re-organisation building from svn might also not work. If you've got the source for 2.0.8, then you can add the following lines to the com.lowagie.text.rtf.style.RtfFont class and it should work as desired:

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Mark Hall
If you are only interested in creating the jar files, then "ant jar" is all that is required. It looks like you are running one of the site building targets and that requires the site sources to also be present. Mark On Thursday 07 February 2008, Henry Lu wrote: > Sorry for the previous messag

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Henry Lu
Sorry for the previous message. The error from my added code and I fixed it. But there is one more error: BUILD FAILED C:\java_dev\itext\2.0.8\source_code\build.xml:100: The following error occurred while executing this line: C:\java_dev\itext\2.0.8\source_code\ant\site.xml:40: C:\java_dev\itex

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Mark Hall
Only the bcprov and bcmail jars are required. Place them in the lib directory. They should then be automatically included in the classpath. Mark On Thursday 07 February 2008, Henry Lu wrote: > for java 1.6, which one should i use: > > Provider Clean room JCE and provider SMIME/CMS

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Henry Lu
for java 1.6, which one should i use: ProviderClean room JCE and provider SMIME/CMS TSP OpenPGP/BCPG ? Where do I put the jar? Do I need to change the build.xml or compile.cml? -Henry Mark Hall wrote: > The one for the java version that you are using to compile the sou

Re: [iText-questions] RtfWriter2 with different fonts in Table Cell ?

2008-02-07 Thread Mark Hall
On Thursday 07 February 2008, Danny Sporea wrote: > Is this a bug or am I doing something wrong ? If I > don't add the Chunks to the table, but I add them to > the document, I am getting the results I seek... In that case it looks like a bug. I'll look into it. Mark -- You will be reincarnated as

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Mark Hall
The one for the java version that you are using to compile the source code. Mark On Thursday 07 February 2008, Henry Lu wrote: > Which one should I use? > > ProviderClean room JCE and provider SMIME/CMS TSP > OpenPGP/BCPG > Test Classes > JDK 1.6 bcprov-jdk16-13

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Henry Lu
Which one should I use? ProviderClean room JCE and provider SMIME/CMS TSP OpenPGP/BCPG Test Classes JDK 1.6 bcprov-jdk16-138.jar bcmail-jdk16-138.jar bctsp-jdk16-138.jar bcpg-jdk16-138.jar bctest-jdk16-138.jar -Henry Mark Hall wrote:

[iText-questions] RtfWriter2 with different fonts in Table Cell ?

2008-02-07 Thread Danny Sporea
I am trying to use Chunks in table cells and generate an RTF using RtfWriter2. My Chunks each will have a different font and added to the table cell. However, only the first font is used for all the chunks. Here is the code: Table tbl = new Table( 2 ); RtfCell cell = new RtfCell( new

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Mark Hall
On Thursday 07 February 2008, you wrote: > and I got a lot of errors about missing import files like > > import org.bouncycastle.cms.CMSEnvelopedData; > > Am i missing some */dependencies/* Yes, you need the bouncycastle jars. You can get them here: http://www.bouncycastle.org/java.html Regards,

[iText-questions] rebuild the jar from source code

2008-02-07 Thread Henry Lu
I tried to rebuild the jar file and tried both ant jar ant release and I got a lot of errors about missing import files like import org.bouncycastle.cms.CMSEnvelopedData; Am i missing some */dependencies/* /jar file for compiling? -Henry

Re: [iText-questions] Copy a section into another PDF?

2008-02-07 Thread 1T3XT info
dburke schreef: > Sorry, Let me simplify it. > > Using iText, is it possible to copy a section of a PDF document and paste it > into a particular spot of another PDF document? Yes, provided that: 1. you know the page number and the coordinates. 2. the new contents 'fits' into the available spac

Re: [iText-questions] Copy a section into another PDF?

2008-02-07 Thread dburke
Sorry, Let me simplify it. Using iText, is it possible to copy a section of a PDF document and paste it into a particular spot of another PDF document? If so, how do I copy the section from one document, and how can I paste it into the other document? I hope that makes sense now. Thanks.

Re: [iText-questions] iText in action's new edition

2008-02-07 Thread 1T3XT info
Quintana Maldonado, Rafael schreef: > Is there any date for that new edition in the near future? About a month ago, it was announced that the book would be reprinted. This means there is no new book or new edition scheduled for the next year. Bruno has plans to write a second book, but it won't b

Re: [iText-questions] 4 questions about 2.0.8

2008-02-07 Thread Mark Hall
On Thursday 07 February 2008, Henry Lu wrote: > 1. remove blank line before table You will need to edit the source. Check the mailing list archive for how to do this and what to change.. > 2. specify start page number No. > 3. add extra space before and after a page number I don't understand thi

[iText-questions] iText in action's new edition

2008-02-07 Thread Quintana Maldonado, Rafael
Bruno and Paulo: First of all thank you for your world-spread, great api. I'm convinced if I really want to take advantage of your work the buying of your book is a must. So i'll order the eBook as soon as i realized that a new edition is availabe which includes those gaps mentioned in this mai

[iText-questions] Col Span with Table

2008-02-07 Thread Jeff Norton
I have two tables the first table is the primary table called datatable and has 5 columns The second table I want to nest in the first table and it is called sampleRefTable and has three columns I nest it using the following code dataTable.AddCell("D1"); dataTable.AddCell("D

[iText-questions] Col Span with Table

2008-02-07 Thread Jeff Norton
I have two tables the first table is the primary table called datatable and has 5 columns The second table I want to nest in the first table and it is called sampleRefTable and has three columns I nest it using the following code dataTable.AddCell("D1"); dataTable.AddCell(

Re: [iText-questions] iText 2.0.8 on Homepage

2008-02-07 Thread 1T3XT info
Oliver Schweer schreef: > Hi, > > On http://www.lowagie.com/iText/ : > "NEWS > Januar 25, 2007, release of iText 2.0.8" That should be 2008. I assume it will be corrected soon now that you've noticed it ;-) -- This answer is provided by 1T3XT BVBA

[iText-questions] iText 2.0.8 on Homepage

2008-02-07 Thread Oliver Schweer
Hi, On http://www.lowagie.com/iText/ : "NEWS Januar 25, 2007, release of iText 2.0.8" Did you mean 2008? Regards, Oliver Schweer - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

[iText-questions] RTF question Re: 4 questions about 2.0.8

2008-02-07 Thread Henry Lu
It is for RTF. Thank you 1T3XT info wrote: > Henry Lu schreef: > >> I am sorry. This for MS Word format >> > > 1. iText doesn't create documents in the MS Word format, > iText creates RTF. > 2. Add RTF to the Subject line if you want an answer. > > -- > This answer is provided by 1T3XT

[iText-questions] RTF question Re: 4 questions about 2.0.8

2008-02-07 Thread 1T3XT info
Henry Lu schreef: > I am sorry. This for MS Word format 1. iText doesn't create documents in the MS Word format, iText creates RTF. 2. Add RTF to the Subject line if you want an answer. -- This answer is provided by 1T3XT BVBA -

Re: [iText-questions] Multiple images in same line

2008-02-07 Thread 1T3XT info
bisoa schreef: > I think this will never works unless you re-write the package per se! I'm sorry, I missed the question because of lack of time. I think 96% of what is possible in PDF is also possible with iText because you are able to create PDF at its lowest level (all you need is a sound unders

Re: [iText-questions] generate pdf by using pdfwriter and pdfcopy

2008-02-07 Thread 1T3XT info
[EMAIL PROTECTED] schreef: > Hi, > > I am new to itext and using itext to generate a PDF document. The content in > the PDF are not static but dynamic in nature and I don't know before hand as > how long the PDF file is going to be generated. > I need to add a 'Table of contents' page to this do

Re: [iText-questions] 4 questions about 2.0.8

2008-02-07 Thread Henry Lu
I am sorry. This for MS Word format -Henry 1T3XT info wrote: > Henry Lu schreef: > >> 1. remove blank line before table >> > > What table: com.lowagie.text.Table or > com.lowagie.text.pdf.PdfPTable. > > >> 2. specify start page number >> > > What do you mean? > Page numbers added

Re: [iText-questions] Copy a section into another PDF?

2008-02-07 Thread 1T3XT info
dburke schreef: > The requirement that I have is to generate a PDF from data entered into a web > form. > Here is my dilema. The web form has a rich text editor which produced html. > This data is part of the form that needs to go into the PDF. JClass is > currently used to create the PDF to dis

Re: [iText-questions] 4 questions about 2.0.8

2008-02-07 Thread 1T3XT info
Henry Lu schreef: > 1. remove blank line before table What table: com.lowagie.text.Table or com.lowagie.text.pdf.PdfPTable. > 2. specify start page number What do you mean? Page numbers added with page events? Or with HeaderFooter? (no longer supported!) Or do you mean the number returned by Pdf

[iText-questions] 4 questions about 2.0.8

2008-02-07 Thread Henry Lu
I have used iText for a long time and I have to make some changes in order to do the following tasks. I am wondering if all these features are implemented in the 2.0.8? 1. remove blank line before table 2. specify start page number 3. add extra space before and after a page number 4. specify pad

Re: [iText-questions] Javascript from Acroform Fields

2008-02-07 Thread 1T3XT info
Joe Gerew schreef: > > I need to be able to extract the javascript code from an acrofield > item. Please don't double post questions that were already answered: http://www.nabble.com/Re%3A-iText-Acrofields-and-Javascript-p15286298.html If the answer wasn't clear, please explain which part of t

Re: [iText-questions] newbie: fill-in and generate pdf from template?

2008-02-07 Thread 1T3XT info
bisoa schreef: > > ahnf wrote: >> Hi, >> Thanks, are there any simple tutorials for some basic code for how to >> do this? I.e. get an image into some placeholder in the pdf? >> > Basically the following pages will explain the things; Hmm... why are you referring to those pages, after it was ex

[iText-questions] Javascript from Acroform Fields

2008-02-07 Thread Joe Gerew
> I need to be able to extract the javascript code from an acrofield item. For example, if the onmouseover code is app.alert("Hello World"); then I would like to retrieve that code via Java. The javascript is placed in the field via Adobe Acrobat (not generating forms with iText...yet) u

Re: [iText-questions] Could not get fields from a XFA file--Is tag required?

2008-02-07 Thread JudyZW
Thanks Paulo. Is tag required in tag in XFA form? I noticed iText works fine if a XFA file has the // tag in XML source. The file I attached doesn't has these tags. Could the missing tags stop iText from reading fields? Judy Paulo Soares wrote: > > > >> -Original Message- >> Fro

[iText-questions] Copy a section into another PDF?

2008-02-07 Thread dburke
The requirement that I have is to generate a PDF from data entered into a web form. Here is my dilema. The web form has a rich text editor which produced html. This data is part of the form that needs to go into the PDF. JClass is currently used to create the PDF to display to the user but Im u

Re: [iText-questions] generate pdf by using pdfwriter and pdfcopy

2008-02-07 Thread bitm . neeraj
Hi, I am new to itext and using itext to generate a PDF document. The content in the PDF are not static but dynamic in nature and I don't know before hand as how long the PDF file is going to be generated. I need to add a 'Table of contents' page to this document. Any pointers or code snippet t

Re: [iText-questions] Question

2008-02-07 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Mira Al Arab > Sent: Thursday, February 07, 2008 2:45 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Question > > Yes it does. > May you should ask jpedal sup

Re: [iText-questions] Barcode image size

2008-02-07 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bisoa > Sent: Thursday, February 07, 2008 11:02 AM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Barcode image size > > > > Paulo Soares wrote: > > > > Use neste

Re: [iText-questions] Question

2008-02-07 Thread Mira Al Arab
Yes it does.> Date: Thu, 7 Feb 2008 14:41:18 +> From: [EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net> Subject: Re: [iText-questions] Question> > Does it work in Acrobat?> > Paulo > > > -Original Message-> > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > B

Re: [iText-questions] Could not get fields from a XFA file

2008-02-07 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of JudyZW > Sent: Thursday, February 07, 2008 1:38 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Could not get fields from a XFA file > > > Hi, > > I have a XFA pdf f

Re: [iText-questions] Question

2008-02-07 Thread Paulo Soares
Does it work in Acrobat? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Mira Al Arab > Sent: Thursday, February 07, 2008 2:13 PM > To: iText Mailing list > Subject: [iText-questions] Question > > Dear Sirs, > > I am working with iText

Re: [iText-questions] Barcode image size

2008-02-07 Thread bisoa
Paulo Soares wrote: > > Use nested tables. > Nested tables are even more restrictive! There are things that we need nothing but rowspan. We already have that with Table, why should we use inferior ones? -- View this message in context: http://www.nabble.com/Barcode-image-size-tp15310501p1

[iText-questions] Could not get fields from a XFA file

2008-02-07 Thread JudyZW
Hi, I have a XFA pdf file saved in LiveCycle Forms. For some reason, I could not read any field from it using iText. Does iText support this kind of file? Is the file formatted correctly? http://www.nabble.com/file/p15334045/test4.pdf test4.pdf Thanks in advance! Judy -- View this message

Re: [iText-questions] Live Cycle

2008-02-07 Thread Leonard Rosenthol
Acrobat will recognize it as a PDF signature, not as an XFA signature. Leonard On Feb 7, 2008, at 2:11 AM, Paulo Soares wrote: > As long as it's a static form and a blank signature field is present > I've had no problems in signing it and getting it recognized in > Acrobat. > > Paulo > --

[iText-questions] Question

2008-02-07 Thread Mira Al Arab
Dear Sirs, I am working with iText and jPedal together and i am doing the following: create a form template "form1.pdf" and a pdf file cotaining a table "table1.pdf" use PdfCopyFields to merge "form1.pdf" and "table1.pdf" into one file "merged.pdf" Then I use the JPedal decoder to view "m

Re: [iText-questions] Live Cycle

2008-02-07 Thread Paulo Soares
As long as it's a static form and a blank signature field is present I've had no problems in signing it and getting it recognized in Acrobat. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Leonard Rosenthol > Sent: Wednesday, February 06

Re: [iText-questions] Cursor position

2008-02-07 Thread Paulo Soares
That cursor is the current text position and it's only useful for internal use. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of BlueCameleon > Sent: Thursday, February 07, 2008 9:06 AM > To: itext-questions@lists.sourceforge.net > Subject

Re: [iText-questions] want to concatenate data and pdf in a report file

2008-02-07 Thread Paulo Soares
There's a tutorial and a book explaining all this. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Pradnya Khandekar > Sent: Wednesday, February 06, 2008 6:57 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] wan

Re: [iText-questions] Barcode image size

2008-02-07 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of bisoa > Sent: Wednesday, February 06, 2008 11:10 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Barcode image size > > > > Paulo Soares wrote: > > > > You

Re: [iText-questions] newbie: fill-in and generate pdf from template?

2008-02-07 Thread bisoa
ahnf wrote: > > Hi, > Thanks, are there any simple tutorials for some basic code for how to > do this? I.e. get an image into some placeholder in the pdf? > Basically the following pages will explain the things; http://stderr.org/doc/libitext-java-doc/www/tutorial/ch05.html http://stderr.org

Re: [iText-questions] Barcode image size

2008-02-07 Thread bisoa
Paulo Soares wrote: > > You are also advised to use PdfPTable instead of Table. > I don't think you can confidently recommend PdfPTable over Table. I don't find the new class useful. First of all, it does not have setRowspan() in PdfPCell! So I cannot use PdfPTable! -- View this message

Re: [iText-questions] Multiple images in same line

2008-02-07 Thread bisoa
Mathieu Mallet wrote: > > What I'm trying to do is emulate a web page's rendering, but in PDF. I > want > to have multiple images placed on a single line, with images that cannot > fit > automatically wrap to the next line. Using PdfTables would require knowing > in advance how many images shoul

[iText-questions] want to concatenate data and pdf in a report file

2008-02-07 Thread Pradnya Khandekar
Hello I am new to iText and have gone through the FAQs but didn't find an answer to my query. I have some data and PDF file stored in a SQL server database as a blob field. I want to format and display data and concatenate the pdf data to it to print it all together. How do I do this? P

[iText-questions] Cursor position

2008-02-07 Thread BlueCameleon
Hi, I'd like to merge images on a pdf, not at an absolute position, but at a position defined by the current position of the cursor. This way, I wanted to user the cb.getXTLM() and cb.getYTLM() but I always have 0 for X and Y. Is there any way to : - get the X and Y position of the cursor and