Re: [iText-questions] Underlined fonts on direct content

2005-07-22 Thread Bruno Lowagie
Joao Cardoso wrote: When using the following code int style = 0; style += textStyle.isUscore() ? Font.UNDERLINE : 0; Font font = FontFactory.getFont(textStyle.getFontName(), textStyle.getFontSize(),style); baseFont =

Re: [iText-questions] Underlined fonts on direct content

2005-07-22 Thread Paulo Soares
ColumnText.showTextAligned() - Original Message - From: Joao Cardoso [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, July 22, 2005 2:08 AM Subject: [iText-questions] Underlined fonts on direct content Hello! I'm using iText for a personal toy project. I am

[iText-questions] SWT or Graphics/Graphics2D to PDF

2005-07-22 Thread Bianca
I just want to put my GUI (SWT) into a PDF, but I can't make it.Also can't find a hint in this mailinglist or on any other website... So somebody can help me?! I've got a JPanel, can get a Graphics or Graphics2D from it. I also know how to create a PdfContentByte and get a Graphics2d from it to

[iText-questions] Re: [Fwd: Re: How do you change the font size in a cell?]

2005-07-22 Thread Kyle
I'm a little confused...can you provide an actual example, including adding the pdfpcell to the table? Also, does the table have to be a pdftable or can it just be a regular table? I also don't know the syntax to set the font object up. Thanks, Kyle

Re: [iText-questions] SWT or Graphics/Graphics2D to PDF

2005-07-22 Thread Franco Biaggi
Hi, you may look at JFreeChart package to look how the creation of a PDF from a JPanel is done. Bianca wrote: I just want to put my GUI (SWT) into a PDF, but I can't make it.Also can't find a hint in this mailinglist or on any other website... So somebody can help me?! I've got a JPanel, can

RE: [iText-questions] SWT or Graphics/Graphics2D to PDF

2005-07-22 Thread Bill Ensley
JPanel panel = new JPanel(); com.lowagie.text.Document document = new com.lowagie.text.Document(); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(ASEDG2D.pdf)); document.open(); PdfContentByte cb = writer.getDirectContent(); Graphics2D g2d =

[iText-questions] Horizontal Scrolling?

2005-07-22 Thread Kyle
I am displaying a table that is much longer, column-wise than a page. How can I enable horizontal scrolling for the columns, instead of have it scroll vertically, into new pages? --- SF.Net email is sponsored by: Discover Easy Linux

RE: [iText-questions] Missing coloured item when using setFillOpacity

2005-07-22 Thread Paulo Soares
There's no bug. Your PDF has overprint items. If in the original PDF you enable the overprint preview the rectangle also disappears. When transparency is used the rendering mode changes and apparently it's equivalent to entering the overprint preview. -Original Message- From:

[iText-questions] problem in changing width of cell of table

2005-07-22 Thread Shivendra
Hi I am facing problem in changing width of cell of table.It changes when less no of cell is there but when no of cell increases.I want to know that when i have toput long data in a cell and let us assume that no of cell is 8 then how each entry in a cell will be in one line. i am also

[iText-questions] generate \line (soft wrap for word)

2005-07-22 Thread kulisch
how can i generate an soft line wrap in rtf for word with itext? in itext there are only paragraph and phrase and so on, but no possibility for setting the line divider. \par hallo \par hallo \par \par should be \par hallo \line hallo \line hallo \par \line also good for marking over a lot

[iText-questions] Re: iTextSharp

2005-07-22 Thread Rebecca
Ok, thanks. I got the CVS module. I use vs.net 2003, what type of project should I create in order to build? A C# Web App? There are no SaxParsers, see the static methods in iTextSharp.text.html.HtmlParser. Note that this class is only in the CVS.

[iText-questions] Working with Images

2005-07-22 Thread Lee, Ashley
I am trying to retrieve an image from a specific location ( string imageFile = dr["file1"].ToString(); // "c:\Inetpub\www\Maynard\uploads\webImage1.jpg" itext.Image.getInstance(imageFile) but when I feed the image path to the getInstance() method it returns Image file not found. It

RE: [iText-questions] Re: iTextSharp

2005-07-22 Thread Paulo Soares
Just point at itextsharp.sln -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rebecca Sent: Friday, July 22, 2005 4:35 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Re: iTextSharp Ok, thanks. I got the CVS module. I

[iText-questions] HTMLWorker and ColumnText

2005-07-22 Thread Rebecca
Can someone explain how to use HtmlWorker and ColumnText? PdfContentByte cb = pdfWriter.getDirectContent(); ColumnText ct = new ColumnText(cb); ct.setSimpleColumn(...); ct.setYLine(...); if (list != null) { for (int i=0; i list.size(); i++) {

Re: [iText-questions] HTMLWorker and ColumnText

2005-07-22 Thread Paulo Soares
Private sub useHtmlWorker() Dim document As New Document(PageSize.A4) Dim fs As New System.IO.FileStream(System.IO.Path.GetTempPath itext5.pdf, IO.FileMode.Create) Dim pdfWriter As iTextSharp.text.pdf.PdfWriter = iTextSharp.text.pdf.PdfWriter.GetInstance(document, fs) document.Open()