Re: [iText-questions] About Soft-Mask

2008-07-22 Thread 熊田貢
Mark, Thank you very much for your detailed explanation. I made a code attached, but cannot get a result I expected. I would be happy if you point out what is wrong. > Hello all, > > I have a question about soft-mask. > I know there is a sample code "SoftMask.java", but I > want to know how to

Re: [iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-22 Thread VTARIN
it works well with the A4 non-rotated pages, but int the A3 rotated pages (or pages with different sizes) it appears in the middle. (Rectangle: 25.0x765.0 (rot: 0 degrees)). The template contains some scaled images and text. Im using itext2.0.7. There must be something wrong with my code, but i h

Re: [iText-questions] please help on merging PDFs

2008-07-22 Thread wasegraves
-- Original message -- From: Qingrong Huang <[EMAIL PROTECTED]>   I need to merge several PDFs into one PDF, also I need to change the header and footer one one of the PDF while I merge this PDF into the final PDF. I am new to iText. Could you please guide me thr

[iText-questions] please help on merging PDFs

2008-07-22 Thread Qingrong Huang
Hi,   I need to merge several PDFs into one PDF, also I need to change the header and footer one one of the PDF while I merge this PDF into the final PDF. I am new to iText. Could you please guide me through on how to do this? Any examples would be great.   Thanks. --

Re: [iText-questions] About Soft-Mask

2008-07-22 Thread Mark Storer
熊田貢 obun.jp> writes: > > Hello all, > > I have a question about soft-mask. > I know there is a sample code "SoftMask.java", but I > want to know how to achieve soft-mask using gradation > composed of path lines as mask. > > For example, if I have the following mask; > > for(int i=0; i<10; i++

Re: [iText-questions] Some startup problems

2008-07-22 Thread 1T3XT info
Ivar Kunst wrote: > How can I: > -Save the text that didn't fit the page The text that didn't fit the column is kept in the ColumnText object for use on the next page. > -Create a new Page The other day, I asked somebody why it was that difficult to find the method newPage() in class Document. S

Re: [iText-questions] Some startup problems

2008-07-22 Thread Ivar Kunst
Thanks for your quick reply the other day! I moved on and the document starts to look smoother everyday. Still i have a few questions. What im using at the moment, is the irregular column, which i can wrap around the images on my page. Sometimes the text i add to the page, can exceed the bottom

Re: [iText-questions] getPageAsImage(), PdfPatternPainter and setPatternFill problem

2008-07-22 Thread Laurent Godard
Hi Paulo Soares a écrit : > You'll have to complain to whoever wrote PdfDecoder, probably jpedal. > yes, it uses jpedal thanks paolo, i'll ask jpedal forum Laurent - This SF.Net email is sponsored by the Moblin Your Move

Re: [iText-questions] Is rowspan and colspan possible in iText

2008-07-22 Thread Howard Shank
There are some issues with the html worker not processing your file properly. But, part of the problem is your style is forcing the leading to 10,0 and is making the spacing look bad because your html has no font information embedded in it to override anything. Look at adding more style informat

Re: [iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-22 Thread Paulo Soares
Why doesn't it work for you? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of VTARIN > Sent: Tuesday, July 22, 2008 10:04 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Visible Signature Positioning with > differe

Re: [iText-questions] getPageAsImage(), PdfPatternPainter and setPatternFill problem

2008-07-22 Thread Paulo Soares
You'll have to complain to whoever wrote PdfDecoder, probably jpedal. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Laurent Godard > Sent: Tuesday, July 22, 2008 12:40 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questi

Re: [iText-questions] BarcodePDF417 java.lang.IndexOutOfBoundsException: The text is too big.

2008-07-22 Thread Paulo Soares
What's the surprise? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of imorales > Sent: Tuesday, July 22, 2008 12:36 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] BarcodePDF417 > java.lang.IndexOutOfBoundsExceptio

[iText-questions] BarcodePDF417 java.lang.IndexOutOfBoundsException: The text is too big.

2008-07-22 Thread imorales
Hi all I´m using BarcodePDF417 when I use the method setText(byte[] text) I´m getting a "java.lang.IndexOutOfBoundsException: The text is too big." This is my code: byte[] text = {MIIGIgYJKoZIhvcNAQcCoIIGEzCCBg8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3D QEHAaCCBJ0wggSZMIIEQ6ADAgECAgpWCJNiAAIAAA

[iText-questions] getPageAsImage(), PdfPatternPainter and setPatternFill problem

2008-07-22 Thread Laurent Godard
Hi all I experience some troubles using getPageAsImage() with objects drawn with image patterns All is ok when the file is generated as PDF, but while trying to extract a page to generate an image (png), the image background are not taken into account Here is how i create my zones containing im

Re: [iText-questions] signing/embedding PKCS7 using a key with EC

2008-07-22 Thread maximilian . schmidt
Hi Andreas, actually I want to sign a PDF using a EC-based cert/key. However, I already tried to workaround this issue by creating a external PKCS7 with BC and afterwards trying to insert it into the PDF, as described in the howto ("An example with an external signature in Self Sign Mode").

[iText-questions] Visible Signature Positioning with differente page sizes (A4, A3)

2008-07-22 Thread VTARIN
Hello, I have a pdf document with different page sizes and formats, and some of these pages are rotated. I do all the signing, but im not able to position correctly the visible signature with setVisibleSignature. I want the visible signature to be placed, for all the pages, in the rigth margin,

[iText-questions] About Soft-Mask

2008-07-22 Thread 熊田貢
Hello all, I have a question about soft-mask. I know there is a sample code "SoftMask.java", but I want to know how to achieve soft-mask using gradation composed of path lines as mask. For example, if I have the following mask; for(int i=0; i<10; i++) { template.setLineWidth(10-i); templ

[iText-questions] Problem with Cell and Table in HTML with itext

2008-07-22 Thread nicolas DOS SANTOS
Hi, I'm using IText 2.1.0. I want to create a table with cells in HTML with a specific style. I'm using Table and Cell classes. When I use setBorderColorLeft, setBorderColorBottom, setBorderWidthLeft, setBorderWidthBottom methods on a cell, it doesn't work. I don't have a 'style' attribute with bo

Re: [iText-questions] signing/embedding PKCS7 using a key with EC

2008-07-22 Thread Andreas Kuehne
Hi Maximilian, yes, of course signing standards is not a concern of PDF, but for ease of use some signing / verification functionality is a 'built-in' feature of iText. For some reason we are not using the built-in signing of iText but do it using a separate crypto provider ( which is capable o