Re: [iText-questions] Chinese file name attachment - Chinese chars not appearing

2010-06-22 Thread Leonard Rosenthol
You need to make sure that the attachment has a /UF key in the EF/FS dictionary. Leonard -Original Message- From: ksanidas [mailto:ksani...@gmail.com] Sent: Tuesday, June 22, 2010 10:36 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Chinese file name attachment -

Re: [iText-questions] Comments

2010-06-22 Thread Leonard Rosenthol
No - only from Adobe products. -Original Message- From: Richard Hurst [mailto:richard.hu...@creative-hosts.co.uk] Sent: Wednesday, June 23, 2010 12:05 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Comments IS it possibleto enablecomments or revisions in a PDF fi

[iText-questions] Looking for a Technical Proofreader

2010-06-22 Thread Bruno Lowagie
Hello, Manning is looking for a technical proof reader for iText in Action 2E. That is: read the book to find out if there are technical errors, for instance the "page X of Y" error mentioned on the list last week. You'd also have to compile and try ALL the examples that come with the book. Ca

[iText-questions] Comments

2010-06-22 Thread Richard Hurst
IS it possibleto enablecomments or revisions in a PDF file from iText -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize

[iText-questions] Chinese file name attachment - Chinese chars not appearing

2010-06-22 Thread ksanidas
I'm working on code that generates PDFs that will contain English, Thai, Japanese or Chinese characters. I downloaded the appropriate jars and all text in the PDF prints correctly using the FontSelector class. My problem is that attachments that contain Japanese or Chinese characters aren't disp

Re: [iText-questions] [SPAM] Re: PAdES

2010-06-22 Thread Leonard Rosenthol
Yes, you would need to modify the source code. From: Juraj Majer [mailto:juraj.ma...@gmail.com] Sent: Tuesday, June 22, 2010 9:14 PM To: Post all your questions about iText here Subject: Re: [iText-questions] [SPAM] Re: PAdES Thanks for the answers. Do you know, if I need to change (extend) ITex

Re: [iText-questions] [SPAM] Re: PAdES

2010-06-22 Thread Juraj Majer
Thanks for the answers. Do you know, if I need to change (extend) IText source code to implement PAdES Part 3 and Part 4? Or just use existing IText API (PdfSignature, PdfDictionary etc.) in some way like the guy in the sample I already stated: http://comments.gmane.org/gmane.comp.java.lib.itext.g

Re: [iText-questions] Query regarding feasibility

2010-06-22 Thread Cameron Laird
On Tue, Jun 22, 2010 at 1:30 PM, Mark Storer wrote: > In theory, yeah. In practice? Ouch. > >... > > If you can limit your PDF inputs (say they're all coming from the same > program), then you can safely ignore the OCR stuff. This'll cover a > good 80-90% of the random PDFs out there in th

Re: [iText-questions] Query regarding feasibility

2010-06-22 Thread Mark Storer
In theory, yeah. In practice? Ouch. Some of this is relatively easy. Font, size, color? No problem... ish. You'll need to modify SimpleTextExtractingPdfContentStreamProcessor a bit. Turn the data from STEPCSP into words. It'll return the locations of various bits of text, but they might not

Re: [iText-questions] Migrate itext from 1.2 to 5.0

2010-06-22 Thread 1T3XT info
Ken11 wrote: > I found that after itext 2.1.7, you upgrade the version of itext to 5.0 > directly. Correct! > And I compared the source code of version between 2.1.7 and 5.0. > It really has a lot of differences right? Such as the package name:"lowagie" > and "itextpdf". And "com.lowagie.text.Cel

Re: [iText-questions] remove watermark layer

2010-06-22 Thread jjalink
here it is again - line separated: Exception in thread "main" java.lang.NullPointerException at com.itextpdf.text.pdf.PdfWriter.fillOCProperties(PdfWriter.java:2567) at com.itextpdf.text.pdf.PdfStamperImp.close(PdfStamperImp.java:189) at com.itextpdf.text.pdf.PdfStamper.cl

[iText-questions] remove watermark layer

2010-06-22 Thread jjalink
the code blow throws a an exception in the stamper.close line i see no reason for the exception - any idea?? exception: Exception in thread "main" java.lang.NullPointerException at com.itextpdf.text.pdf.PdfWriter.fillOCProperties(PdfWriter.java:2567) at com.itextpdf.text.pdf.PdfSta

Re: [iText-questions] MS Word to PDF (2)

2010-06-22 Thread OmegaZiv
There are many products that convert regular Word document to PDF. (no need for iText there) I found only few products that convert Word Form into PDF-Form. (e.g. CenoPDF, Windward). >From those I found none that will accept a list of my customized fields. Which I will later identify in the PDF u

[iText-questions] Diffrent Header on Diffrent Pages of a document

2010-06-22 Thread mukesh
I wan to keep same header on the other page when my table exceeds to next page. That i am able to do. Bu when table dat only reaches to end of page , i am not able to update the header it take effects from next page. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Dif

Re: [iText-questions] MS Word to PDF (2)

2010-06-22 Thread Cameron Laird
On Tue, Jun 22, 2010 at 7:37 AM, OmegaZiv wrote: > > Excellent answer. Exactly what I was looking for. Kudos. > > Unfortunately, my manager refuses to move to Open Office. No. Only Word. > MS Word is missing the functionality of "Create PDF Form", existing in OO. > Word only publish to PDF, witho

Re: [iText-questions] MS Word to PDF (2)

2010-06-22 Thread OmegaZiv
Excellent answer. Exactly what I was looking for. Kudos. Unfortunately, my manager refuses to move to Open Office. No. Only Word. MS Word is missing the functionality of "Create PDF Form", existing in OO. Word only publish to PDF, without fields. Which is why I tried the trick of using bookmarks

Re: [iText-questions] Watermark a PDF and check if an existing PDF is marked

2010-06-22 Thread Jaakov Jalink
My version of watermarking with iText import com.itextpdf.text.DocumentException; import com.itextpdf.text.Image; import com.itextpdf.text.Rectangle; import com.itextpdf.text.pdf.PdfContentByte; import com.itextpdf.text.pdf.PdfGState; import com.itextpdf.text.pdf.PdfLayer; import com.itext

Re: [iText-questions] [SPAM] RE: accessing hidden layer?

2010-06-22 Thread Leonard Rosenthol
That sets the transparency of objects - has NOTHING to do with layers. From: Jaakov Jalink [mailto:jaak...@syneron.com] Sent: Tuesday, June 22, 2010 1:11 PM To: Jaakov Jalink; Post all your questions about iText here Subject: [iText-questions] [SPAM] RE: accessing hidden layer? To set transparenc

[iText-questions] [SPAM] RE: accessing hidden layer?

2010-06-22 Thread Jaakov Jalink
To set transparency of layer follow these steps: //create transparency state object PdfGState transparent = new PdfGState(); transparent.setStrokeOpacity(0.5f); transparent.setFillOpacity(0.5f); //set the CB transparency Rectangle rectang

[iText-questions] Migrate itext from 1.2 to 5.0

2010-06-22 Thread Ken11
Hi all, I have an old project using itext 1.2. Now the customer require to migrate all parts(Like JDK, itext..) of project to newer version. Their technical staff found that itext has been upgraded to 5.0, so they required us to migrate itext to 5.0. I found that after itext 2.1.7, you upgrad

[iText-questions] ITextHandler in Java

2010-06-22 Thread John Petersam
I would like to use XML and XSLT to perform dynamic document generation, but can't find the java equivalent of the ITextHandler parsing code. Any help would be appreciated. Thanks. -- ThinkGeek and WIRED's GeekDad tea

[iText-questions] [SPAM] RE: accessing hidden layer?

2010-06-22 Thread Jaakov Jalink
I tried to find a working sample code for transparency, I found none. However transparency just makes your colors lighter, all layers are transparent by default, so if you want to mark a line make a light colored block over it, that worked for me (I use a very light colored png files). From: Jan