Re: [iText-questions] How to add precise amounts of whitespace to a Phrase object ?

2009-09-11 Thread 1T3XT info
Adam Mork wrote: I need to be able to add precise amounts of white space to a phrase. Is there a way to make a chunk with a specific amount of whitespace, the amount would be the width of the whitespace. ? I'd use a space character, calculate its width, then use setHorizontalScaling() to

[iText-questions] (no subject)

2009-09-11 Thread Michael Harig
Hi. I'm trying to use PDF files as templates for (simple) reports (using PdfStamper). I run into 2 problems: 1. To combine exact position of a table (using writeSelectedRows) and automatic page break I need to know the bottom and top total margin (page margin + footer/header). I found in

Re: [iText-questions] (no subject)

2009-09-11 Thread 1T3XT info
Michael Harig wrote: Hi. I'm trying to use PDF files as templates for (simple) reports (using PdfStamper). I run into 2 problems: You are using PdfStamper, but you are talking about 1. need to know the bottom and top total margin (page margin + footer/header). But getting the bottom and

Re: [iText-questions] Anchor problem, generates strange reference

2009-09-11 Thread G_M
It doesn't work. What I'm trying to understand is why adobe reader puts a word at the end of the link??? even when watching the contents it shows the link with the correct URL. 1T3XT info wrote: G_M wrote: It works but can I do something in Java? it's because it's a pdf sended via email

[iText-questions] PDF Bytes after Merge

2009-09-11 Thread SUNDARAKSHI
Hi I am Using the following code to merge the PDF. But the code saves the PDF file in the physical harddisk. I need after pdf merge it should return as PDFbytes. i need to merged PDF as bytes. Please help me Thanks in advance. public void mergePDF(ArrayList arrayList,String OutFileName)

Re: [iText-questions] PDF Bytes after Merge

2009-09-11 Thread 1T3XT info
SUNDARAKSHI wrote: Hi I am Using the following code to merge the PDF. But the code saves the PDF file in the physical harddisk. I need after pdf merge it should return as PDFbytes. i need to merged PDF as bytes. Please help me I've visited www.inautix.co.in and found out that it's one

[iText-questions] RTF to PDF

2009-09-11 Thread donanik duck
Hi everyone, I have a simple question. Can I convert RTF or DOC files to PDF using iText? My complete need is to combine many RTF (or DOC. either is fine) documents to one single document and then transform the result (the one RTF or DOC file) to PDF. I had a hard time trying to parse the DOC

Re: [iText-questions] RTF to PDF

2009-09-11 Thread Howard Shank
This feature is incomplete in iText at this time. Regards, Howard Shank From: donanik duck nald...@yahoo.com To: iText-questions@lists.sourceforge.net Sent: Friday, September 11, 2009 10:32:08 AM Subject: [iText-questions] RTF to PDF Hi everyone, I have a

[iText-questions] Outputting texts in PDF including arbitrary UTF-8 characters (including CJK)

2009-09-11 Thread Erik Norvelle
Greetings to Bruno and the iText community, My question is a bit complicated, so please bear with me as I explain what my issue is. I don't think my particular problem has been answered on the mailing lists, due to the fact that my situation is rather special. I've been using iText in

Re: [iText-questions] RTF to PDF

2009-09-11 Thread Cameron Laird
Howard Shank has already answered this. I'll add a few words. Are you sure you want to concatenate the RTFs first, *then* convert to PDF? In my own work, I find it more appropriate to convert all the RTFs to PDF, then concatenate PDFs (often, though not always, with iText). An abundance of

Re: [iText-questions] Outputting texts in PDF including arbitrary UTF-8 characters (including CJK)

2009-09-11 Thread Paulo Soares
-Original Message- From: Erik Norvelle [mailto:signu...@norvelle.org] Sent: Friday, September 11, 2009 5:06 PM To: iText-questions@lists.sourceforge.net Subject: [iText-questions] Outputting texts in PDF including arbitrary UTF-8 characters (including CJK) Greetings to Bruno

[iText-questions] Code patch adding support for footnotes in RTF

2009-09-11 Thread Erik Norvelle
Greetings Bruno et al., My program (TextCite, http://textcite.sourceforge.net) uses iText to output PDF and RTF files. I needed the RTF files to include footnotes (which are part of the RTF specification). I extended the iText RTF code to include this functionality. This functionality

Re: [iText-questions] How to add precise amounts of whitespace to a Phrase

2009-09-11 Thread Adam Mork
I'd use a space character, calculate its width, then use setHorizontalScaling() to scale the width to the desired amount. Depending on what you want to do, it might be interesting to use TAB Chunks instead. That worked ! Thanks for the tip. Btw, I tried using tab chunks, but I found it to be

Re: [iText-questions] floating elements

2009-09-11 Thread 1T3XT info
Michael Harig wrote: Thanks for your fast reply. I will quit iText and use FOP instead. Unfortunately this means that I have no visual report editor (for the PDF stuff one can use OOo). You can use different alternatives: These allow you to create a template report in a visual way:

Re: [iText-questions] PdfPKCS7 object without private key

2009-09-11 Thread JuanM
Hi, i am having the same problem, did you solved it??, Best Regards, JM Diaz mtrekker wrote: It didn't help. I used filter PdfName.ADBE_PKCS7_SHA1 and set hasRsaData to true. PdfPKCS7 pk7 = new PdfPKCS7(null, chain, null, SHA1, true); pk7.SetExternalDigest(digest, rsadata, RSA);

[iText-questions] unicode compliance verification

2009-09-11 Thread newoutlook
I am reading a PDF page by using the iText API as follows. byte[] data; FileInputStream in = new FileInputStream(somepdffile); PdfReader reader = new PdfReader(new RandomAccessFileOrArray(in), null); data = reader.getPageContent(0); Rightnow, data is in byte array, and then I parse this

Re: [iText-questions] unicode compliance verification

2009-09-11 Thread Mark Storer
First: () aren't the only things that can wrap text. can as well, in which case the content is a hexadecimal value. Second, the byte-character conversion is defined by the current font, /T1_7 1 Tf in your example. It could be a named encoding (WinAnsiEncoding) possibly with some