I'm not sure quite what you're after. Creation of multiple indentation levels within a TextRun is not yet supported. RichTextRun.setIndentLevel() should work and set indent for the whole cell.
Yegor
Hello It is possible to change default indentation on TableCell when contents take more than one line in the shape?Sample code :SlideShow ppt = new SlideShow(); Slide slide = ppt.createSlide(); Table table = new Table(4,4); int width = 50; int height = 15; TableCell cell = null; for( int i = 0 ; i < table.getNumberOfRows() ; i++) { table.setRowHeight(i, height); for( int j = 0 ; j < table.getNumberOfColumns() ; j++) { table.setColumnWidth(j, width); cell = table.getCell(i, j); Rectangle rect = cell.getAnchor();rect.setFrame(table.getAnchor().getX() + rect.getX() , table.getAnchor().getY() +rect.getY() , width , height); cell.setAnchor(rect); RichTextRun r = cell.getTextRun().getRichTextRuns()[0]; r.setText("helloworld"); r.setFontName("Arial"); r.setFontSize(10); r.setIndentLevel(0); } } slide.addShape(table); Regards Mathieu Grosmaire
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
