Re: [iText-questions] HTML to PDF using iText (HTMLWorker?)

2008-05-30 Thread AJ Weber
I just started messing-around with HTMLWorker the other day, and it's a good start, but needs some work, I think. Very "mild" HTML (no images, for the most part) seems to work OK. But when you introduce the images, there's something amiss...I haven't figured it out yet, because they don't seem

[iText-questions] HTML to PDF using iText (HTMLWorker?)

2008-05-30 Thread JD Corbin
Does your product support converting mildly complex HTML to PDF format? The HTML we will be rendering using PDF will have Tables. J.D. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-05-30 Thread Leonard Rosenthol
On May 30, 2008, at 12:15 PM, Avi Flax wrote: > On Fri, May 30, 2008 at 11:31 AM, Leonard Rosenthol > <[EMAIL PROTECTED]> wrote: > >> You still haven't told me why Packages, such as the one that I sent >> you, won't solve your problem? > > Leonard, I appreciate your help, but I don't yet understan

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-05-30 Thread Avi Flax
On Fri, May 30, 2008 at 11:31 AM, Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > You still haven't told me why Packages, such as the one that I sent > you, won't solve your problem? Leonard, I appreciate your help, but I don't yet understand what you're proposing. I tried to follow your suggestio

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-05-30 Thread Leonard Rosenthol
You still haven't told me why Packages, such as the one that I sent you, won't solve your problem? Leonard On May 30, 2008, at 11:10 AM, Avi Flax wrote: > Bruno, thanks for your help! > > I'm new to all this, I didn't really know that there were two > different kinds of XFA forms. Our form sta

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-05-30 Thread Avi Flax
Bruno, thanks for your help! I'm new to all this, I didn't really know that there were two different kinds of XFA forms. Our form starts out as an XDP template created by LiveCycle Designer, and then populated by ColdFusion using XML data - I think. Murphy's Law tells me that must be what you mean

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-05-30 Thread Sr. Miguel
yes, right. I always assume dynamic, because if I would only need static I rather use AcroForms + itext :)> Date: Fri, 30 May 2008 11:55:59 +0200> From: [EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net> Subject: Re: [iText-questions] How to merge two PDF files with XFA form content?

Re: [iText-questions] how to position each chunk to precise coordinates

2008-05-30 Thread Cam Bazz
Hello, What I need to do is to define a point to place the character, then another that defines the width, and the font should not take more space then the width. Streching or compressing them is an option. I am experimenting a little now. what Happens right now is that for example -> (Informatio

Re: [iText-questions] Links doesn't work when concatenating pdfs

2008-05-30 Thread Bruno Lowagie
luffy45 wrote: > Hello, > I am using iText to generate a report, while generating the report i > generate a toc in a ByteArrayOutPutStream which contains chunks links with a > remotegoto to the report, with the 2 pdfs separated, links works very well > but when i concatenate the 2 pdfs, those lin

Re: [iText-questions] how to position each chunk to precise coordinates

2008-05-30 Thread Bruno Lowagie
Cam Bazz wrote: > cb.setTextMatrix(x, y); > cb.showText(text); > > Of course I have set the font previously. > > Now how can I tell cb to put this text or glyph rather, with a given width? You used an instance of class BaseFont to set the font; for instance bf. You probably used an arbitrary fon

Re: [iText-questions] Different fonts in single string

2008-05-30 Thread Bruno Lowagie
meeger wrote: > Hi, > > Is it possible to change the font inside a string? Yes. > I have a string containing html formatting tags and want to change the font > depending on these tags. Use HTMLWorker. See chapter 14. When I refer to a chapter number, but you don't have the book, you can always

[iText-questions] Links doesn't work when concatenating pdfs

2008-05-30 Thread luffy45
Hello, I am using iText to generate a report, while generating the report i generate a toc in a ByteArrayOutPutStream which contains chunks links with a remotegoto to the report, with the 2 pdfs separated, links works very well but when i concatenate the 2 pdfs, those links are clickable but doe

Re: [iText-questions] how to position each chunk to precise coordinates

2008-05-30 Thread Cam Bazz
Hello, Thanks a lot this was very helpful. I almost did what I want to do. Except font width. Here is how my data looks like. What I have done as illustrated in the example was: cb.setTextMatrix(x, y); cb.showText(text); Of course I have set the font previously. Now how can I tell cb t

Re: [iText-questions] Different fonts in single string

2008-05-30 Thread meeger
Ok. Thanks anyway. //Daniel Alexis Pigeon wrote: > > Hi Daniel, > > On 30/05/2008, meeger <[EMAIL PROTECTED]> wrote: >> >> Hi alexis, and thanks for the fast reply >> >> Is it the genericTag you are referring to? >> Could you please give an example of how to do? > > Oops, sorry, I think I

Re: [iText-questions] Different fonts in single string

2008-05-30 Thread Alexis Pigeon
Hi Daniel, On 30/05/2008, meeger <[EMAIL PROTECTED]> wrote: > > Hi alexis, and thanks for the fast reply > > Is it the genericTag you are referring to? > Could you please give an example of how to do? Oops, sorry, I think I overlooked your question. I understand now you are parsing html string

Re: [iText-questions] Different fonts in single string

2008-05-30 Thread meeger
Hi alexis, and thanks for the fast reply Is it the genericTag you are referring to? Could you please give an example of how to do? //Daniel Alexis Pigeon wrote: > > Hi Daniel, > > On 30/05/2008, meeger <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> Is it possible to change the font inside a st

[iText-questions] Come have a blast with me at Batchmates.com!!

2008-05-30 Thread Charles V Chandran
See you there soon! Charles Prefer not to receive invitations from Batchmates members? Block future invitations <http://www.batchmates.com/[EMAIL PROTECTED]> <http://www.batchmates.com/or.asp?m_id=64&m_no=20080530&memcode=1992594> --

Re: [iText-questions] Different fonts in single string

2008-05-30 Thread Alexis Pigeon
Hi Daniel, On 30/05/2008, meeger <[EMAIL PROTECTED]> wrote: > > Hi, > > Is it possible to change the font inside a string? > I have a string containing html formatting tags and want to change the font > depending on these tags. > I know this is possible with PDFLib (replacing the tags with )

[iText-questions] Different fonts in single string

2008-05-30 Thread meeger
Hi, Is it possible to change the font inside a string? I have a string containing html formatting tags and want to change the font depending on these tags. I know this is possible with PDFLib (replacing the tags with ) but how should I do in iText? //Daniel -- View this message in context: htt

Re: [iText-questions] Error while printing

2008-05-30 Thread Alexis Pigeon
Hi, On 30/05/2008, harsha ravindra <[EMAIL PROTECTED]> wrote: > hi, > > thx for the reply... > > is there a way to find the error message or a log in adobe... > this happens even whn i use in silent printing...and i have tried with > different printers.. Err... Either they were stripped out by th

Re: [iText-questions] Error while printing

2008-05-30 Thread harsha ravindra
hi, thx for the reply... is there a way to find the error message or a log in adobe... this happens even whn i use in silent printing...and i have tried with different printers.. thx On Fri, May 30, 2008 at 2:33 PM, Alexis Pigeon <[EMAIL PROTECTED]> wrote: > Hi Harsha > > On 30/05/2008, harsh

Re: [iText-questions] Problem when I draw lines

2008-05-30 Thread Gérard KESTER
Thank you to all for the help and the informations. Now I have the solution, it's OK For me, I close the discussion. Gérard KESTER 1T3XT info a écrit : Gérard KESTER wrote: Auriez vous oublié de décaler la deuxième page, par hasard ? I had no idea why you needed that

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-05-30 Thread Bruno Lowagie
Sr. Miguel wrote: > Hello, > > So, is it possible to flatten a XFA PDF file using iText? I thought it > wasn´t possible, and because I already tried that some times ago without > success, it means I was missing something... Static XFA: yes Dynamic XFA: no The OP didn't mention which type of XF

Re: [iText-questions] How to merge two PDF files with XFA form content?

2008-05-30 Thread Sr. Miguel
Hello, So, is it possible to flatten a XFA PDF file using iText? I thought it wasn´t possible, and because I already tried that some times ago without success, it means I was missing something... Avi Flax, please let me know if you will be able to accomplish your goal. Thank you> Date:

Re: [iText-questions] Error while printing

2008-05-30 Thread Alexis Pigeon
Hi Harsha On 30/05/2008, harsha ravindra <[EMAIL PROTECTED]> wrote: > Hi, > > When i run the application it creates a pdf file and it can open... And also > every information is there... > But whn i try to print it...it says that there's and error and contact the > creator but everything is pr

[iText-questions] Error while printing

2008-05-30 Thread harsha ravindra
Hi, When i run the application it creates a pdf file and it can open... And also every information is there... But whn i try to print it...it says that there's and error and contact the creator but everything is printing all right... thx -- Rgds; Harsha

Re: [iText-questions] Arial Unicode MS alternative

2008-05-30 Thread Harakiri
Hello, > I'd go for DejaVu for all the fonts except Asian, > use CJK for the Asian fonts, and use FontSelector > to automate the font selection process. here is the problem for me - im using JasperReports and cant use the fontselector because the template you are using - you have to specify exa

[iText-questions] [NEWBIE] Re: Spreading PdfPTable

2008-05-30 Thread 1T3XT info
harsha ravindra wrote: > Hi, > > how can i spread a PdfPTable through out the total page width... Use setWidthPercentage(100); Maybe you also want to reduce the left and right margin; that's what was done in this example: http://itext.ugent.be/library/com/lowagie/examples/objects/tables/AddBigTab

[iText-questions] Spreading PdfPTable

2008-05-30 Thread harsha ravindra
Hi, how can i spread a PdfPTable through out the total page width... -- Rgds; Harsha - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse01200

Re: [iText-questions] Problem when I draw lines

2008-05-30 Thread 1T3XT info
Gérard KESTER wrote: > Auriez vous oublié de décaler la deuxième > page, par hasard ? I had no idea why you needed that offset, so I removed it. I just wanted to make my point: 1 page = 1 Graphics2D instance. DO NOT REUSE THE SAME g2d FOR EVERY PAGE! Create a new instance. > Pour les autres pro