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()

[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++) { > ct.addElement((E

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 mo

[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.  I

[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] 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 o

[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 to put 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

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: Nauru

[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 Migratio

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 = cb.createGraphics(Pa

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, ca

[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

[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 d

Re: [iText-questions] Thumbnails in PDF with iText

2005-07-22 Thread Leonard Rosenthol
At 04:16 AM 7/22/2005, Markus Enders wrote: I know that Acrobat 5 will display the thumbnails automatically, but for backward compatibility we need thumbnails for Acrobat 4 as well. How many Acrobat 4 users do you have? The numbers from Adobe show that Acrobat 4 is less than 5% of en

RE: [iText-questions] Thumbnails in PDF with iText

2005-07-22 Thread Paulo Soares
You can add thumbnails to a doc with iText but iText can't generate the images. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Markus Enders > Sent: Friday, July 22, 2005 9:16 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-que

[iText-questions] Thumbnails in PDF with iText

2005-07-22 Thread Markus Enders
Dear iText users, we are creating PDFs from images and creating bookmarks using iText. Both works very well and fast. From a customer we have the demand to integrate thumbnails in the PDF. This means, that every page should be available as a thumbnail in the PDF. I know that Acrobat 5 will d

Re: [iText-questions] non embedded fonts

2005-07-22 Thread Paulo Soares
See the example DumpFontNames.java in http://itextpdf.sf.net. - Original Message - From: "sreeram ramesh kumar" <[EMAIL PROTECTED]> To: Sent: Thursday, July 21, 2005 8:47 PM Subject: [iText-questions] non embedded fonts Hi, Is there a way to identify if there are any non embedded fonts

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

2005-07-22 Thread Paulo Soares
ColumnText.showTextAligned() - Original Message - From: "Joao Cardoso" <[EMAIL PROTECTED]> To: 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 facing the a strange problem. When

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 = font.getCalculatedBaseFont(false