super(parent);\r
\r
setShapeType(ShapeTypes.Rectangle);\r
- _txtrun.setRunType(TextHeaderAtom.HALF_BODY_TYPE);\r
- _txtrun.getRichTextRuns()[0].setFlag(false, 0, false);\r
+ //_txtrun.setRunType(TextHeaderAtom.HALF_BODY_TYPE);\r
+ //_txtrun.getRichTextRuns()[0].setFlag(false, 0, false);\r
}\r
\r
protected EscherContainerRecord createSpContainer(boolean isChild){\r
\r
import org.apache.poi.hslf.usermodel.SlideShow;\r
import org.apache.poi.hslf.HSLFSlideShow;\r
+import org.apache.poi.hslf.record.TextHeaderAtom;\r
\r
/**\r
* Test <code>Table</code> object.\r
Table tbl = new Table(2, 5);\r
slide.addShape(tbl);\r
\r
+ TableCell cell = tbl.getCell(0, 0);\r
+ //table cells have type=TextHeaderAtom.OTHER_TYPE, see bug #46033\r
+ assertEquals(TextHeaderAtom.OTHER_TYPE, cell.getTextRun().getRunType());\r
+\r
assertTrue(slide.getShapes()[0] instanceof Table);\r
Table tbl2 = (Table)slide.getShapes()[0];\r
assertEquals(tbl.getNumberOfColumns(), tbl2.getNumberOfColumns());\r