...so how could I print a table in html? Paulo Soares-3 wrote: > > Table is not supported and neither is HtmlWriter. > > Paulo > > >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of cassiosteel >> Sent: Tuesday, September 02, 2008 4:32 PM >> To: itext-questions@lists.sourceforge.net >> Subject: [iText-questions] Wrong columns width >> >> >> I create a table and I set the widths of the columns in this way: >> [code] >> Table tabella = new Table(4); >> tabella.setWidth(100); >> tabella.setBorderColor(Color.BLACK); >> tabella.setWidth(100); >> int larghezze[]={10,10,10,70}; >> tabella.setWidths( larghezze); >> >> tabella.getDefaultCell().setHorizontalAlignment(tabella.ALIGN_CENTER); >> tabella.addCell(new Phrase("DOCENTE",h2)); >> tabella.addCell(new Phrase("CORSO",h2)); >> tabella.addCell(new Phrase("ANNO",h2)); >> tabella.addCell(new Phrase("SEMESTRE",h2)); >> [/code] >> and then I put it on the document in order to save it using >> the HtmlWriter; >> but then when I open the saved file the columns have another >> dimensions...how could I fix this? > > > Aviso Legal: > > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter > informação confidencial ou legalmente protegida. A incorrecta transmissão > desta mensagem não significa a perca de confidencialidade. Se esta > mensagem for recebida por engano, por favor envie-a de volta para o > remetente e apague-a do seu sistema de imediato. É proibido a qualquer > pessoa que não o destinatário de usar, revelar ou distribuir qualquer > parte desta mensagem. > > > > Disclaimer: > > This message is destined exclusively to the intended receiver. It may > contain confidential or legally protected information. The incorrect > transmission of this message does not mean the loss of its > confidentiality. If this message is received by mistake, please send it > back to the sender and delete it from your system immediately. It is > forbidden to any person who is not the intended receiver to use, > distribute or copy any part of this message. > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php >
-- View this message in context: http://www.nabble.com/Wrong-columns-width-tp19272419p19274858.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php