[iText-questions] convert RTF to PDF

2007-09-28 Thread Flokmane
Hi Please can anyone tell me what is wrong in my code. It does not work : the created pdf is empty. Here is the code : import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import javax.swing.JEditorPane; import javax.swing.text.rtf.RTFEditorKit; import

Re: [iText-questions] embedding jpeg2000 images in pdf with iText?

2007-09-28 Thread Cornelissen, Frans [PRDBE]
Great!! Will there be an announcement (including an example:-) when this becomes available for download? Thanks again! Best regards, frans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Thursday, 27 September 2007 7:40 PM To: Post

Re: [iText-questions] embedding jpeg2000 images in pdf with iText?

2007-09-28 Thread Paulo Soares
You can already use it if you get the code from the SVN. Paulo - Original Message - From: Cornelissen, Frans [PRDBE] [EMAIL PROTECTED] To: Post all your questions about iText here itext-questions@lists.sourceforge.net; [EMAIL PROTECTED] Sent: Friday, September 28, 2007 7:52 AM Subject:

Re: [iText-questions] setLeading-Problem

2007-09-28 Thread Bruno Lowagie (iText)
mister bean wrote: Leading is the distance between two baselines. As we once discussed, the word 'leading' has a different meaning in the context of PDF compared to its original etymological meaning. br, Bruno - This SF.net

[iText-questions] Query related to iTextSharp 4.0.4

2007-09-28 Thread suresh.halade
Hello... I am using iTextSharp 4.0.4 class library and its PdfReader and PdfStamper classes for decryption of pdf files. I could succeed with decrypting pdf files with following cases -- 1. Pdf file encrypted with both user and owner password. 2. Pdf file encrypted with only the owner

[iText-questions] PDF und unicode

2007-09-28 Thread Sieglen
Is ist possible, to cause Acrobat to use only unicode: for texts, field-names and field-content. Is it furthermore possible that Acrobat sends back an fdf-file in unicode? -- View this message in context: http://www.nabble.com/PDF-und-unicode-tf4533828.html#a12938621 Sent from the iText -

Re: [iText-questions] merging old Pdfs (Version 1.3)

2007-09-28 Thread Paulo Soares
Your pdf has fields. Flatten it first before concatenating them. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Zahler Sent: Friday, September 28, 2007 12:58 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions]

Re: [iText-questions] Support! (RtfHeaderFooter and images)

2007-09-28 Thread Paulo Soares
Just a better subject. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörgen Åkesson Sent: Friday, September 28, 2007 2:02 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Support! Hi! I am developing an

Re: [iText-questions] Query related to iTextSharp 4.0.4

2007-09-28 Thread Paulo Soares
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, September 28, 2007 2:10 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Query related to iTextSharp 4.0.4 Hello... I am using

Re: [iText-questions] PDF print problem

2007-09-28 Thread Bruno Lowagie
webtom wrote: Hi, i want to print a pdf file silently via java code but the following exception is thrown by document.close(): ExceptionConverter: java.io.IOException: The document has no pages. If this is the code you are using: try { PdfWriter writer =

[iText-questions] Support!

2007-09-28 Thread Jörgen Åkesson
Hi! I am developing an application and having some problems. I would like to have a Watermark on my rtf document so I try to add an image to the RtfHeaderFooter and configure it to be Image.UNDERLYING. Does it work or not. I do get the image to the header but I can't get it to be underlying.

[iText-questions] Concatenating Form Based V8 Documents

2007-09-28 Thread Jamie Badman
Hi, Wonder if someone can help... I'm generating some individual PDF pages using Adobe LiveCycle DS by creating template PDF files using LiveCycle Designer and then binding an XML dataset to the document to create a data-populated PDF. I then want to concatenate the pages together - but when

Re: [iText-questions] Support! (RtfHeaderFooter and images)

2007-09-28 Thread Mark Hall
On Friday 28 September 2007 15:00:08 Paulo Soares wrote: Just a better subject. -Original Message- I would like to have a Watermark on my rtf document so I try to add an image to the RtfHeaderFooter and configure it to be Image.UNDERLYING. Does it work or not. I do get the image

Re: [iText-questions] Issue in converting chinese content to pdf

2007-09-28 Thread Iliadis Yannis
You should try something like this: PathInJar=/fontResource/arialuni.ttf; //This is a path in your java project to the font. String fontPath=getClass().getResource(PathInJar).toString(); 2007/9/27, nsk clr [EMAIL PROTECTED]: Hi Paulo I bundled the ttf as a jar and use the following

[iText-questions] merging old Pdfs (Version 1.3)

2007-09-28 Thread Ben Zahler
Hi all, I have a problem with old pdfs that are merged into one document with iText. Attached, you find the code used to merge the documents. Very strange is the influence of the lines below: PRAcroForm form = pdfReader.getAcroForm(); if (form != null) {

Re: [iText-questions] Concatenating Form Based V8 Documents

2007-09-28 Thread Paulo Soares
I suspect that the XML binding is not creating the appearances. You'll have to call AcroFields.regenerateField() for each field to recreate the appearances. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jamie Badman Sent: Friday,

Re: [iText-questions] Concatenating Form Based V8 Documents

2007-09-28 Thread Jamie Badman
Cheers Paulo - here's what I'm trying now: try{ // Now flatten the PDF flattenedDest = flat_ + destination; PdfReader reader = new PdfReader(pdfDir + / + destination); PdfStamper stamper = new

Re: [iText-questions] Loading iText into oracle 10g with loadjava

2007-09-28 Thread Alleni
Sorry I have not tried ncomp with itext. Can't help you here. On 9/27/07, nathanwray [EMAIL PROTECTED] wrote: Alleni, have you had any luck using ncomp on itext? I spent a couple of days trying to ncomp 1.4.8 without much luck, I wondered if I would fare any better with 2.0.5 . Thanks

[iText-questions] PDF print problem

2007-09-28 Thread webtom
Hi, i want to print a pdf file silently via java code but the following exception is thrown by document.close(): ExceptionConverter: java.io.IOException: The document has no pages. Opening the document is successful and the document also has a content. I use itext-2.0.4.jar. Here is my java

Re: [iText-questions] PDF und unicode

2007-09-28 Thread Leonard Rosenthol
On Sep 28, 2007, at 7:21 AM, Sieglen wrote: Is ist possible, to cause Acrobat to use only unicode: What version of Unicode or don't you care? for texts, field-names and field-content. So let's break this question apart for a second. 1) Does the PDF file format support the

Re: [iText-questions] setLeading-Problem

2007-09-28 Thread mister bean
Right. People still use the term to mean the delta between the fontsize and the distance between baselines. Wikipedia (http://en.wikipedia.org/wiki/Leading), for example, talks about text two lines of text with 0 leading, when they mean: 12pt type with 12pt leading. From what I can tell,

Re: [iText-questions] Concatenating Form Based V8 Documents

2007-09-28 Thread Paulo Soares
Use PdfStamper first to flatten the docs, this will remove the fields, leaving the field appearances, and will also remove the XFA. Then, use PdfCopy to concatenate the PDFs. Paulo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jamie Badman