Hi, When using the DottedLineSeparator I get a dotted border around other tables that is not defined dotted.
public void onRender(com.lowagie.text.Paragraph paragraph) { DottedLineSeparator sep = new DottedLineSeparator(); sep.setAlignment( Element.ALIGN_LEFT ); sep.setLineColor( getParagraph().getBlock().getPage().getPdfDocument().getColor( getForegroundReference() ) ); com.lowagie.text.Font f = new com.lowagie.text.Font( getParagraph().getBlock().getPage().getPdfDocument().getFont( getFontReference()), getFontSize() ); f.setColor( getParagraph().getBlock().getPage().getPdfDocument().getColor( getForegroundReference() ) ); Chunk separator = new Chunk( sep ); separator.setFont( f ); paragraph.add( separator ); } -- View this message in context: http://www.nabble.com/DottedLineSeparator-and-borders-tp25288829p25288829.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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 Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/