https://bz.apache.org/bugzilla/show_bug.cgi?id=50071
Andreas Beeker <kiwiwings@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Macintosh |All
OS|Mac OS X 10.5 |All
Resolution|--- |WORKSFORME
Status|NEEDINFO |RESOLVED
--- Comment #2 from Andreas Beeker <kiwiwings@apache.org> ---
This has been fixed ... I haven't checked when.
This was my test code:
@Test
public void testRowHeight() throws IOException {
HSLFSlideShow ppt = new HSLFSlideShow();
HSLFSlide slide = ppt.createSlide();
HSLFTable tab = slide.createTable(4, 4);
for (int row=0; row<4; row++) {
for (int col=0; col<4; col++) {
HSLFTableCell c = tab.getCell(row, col);
HSLFTextRun tr = c.getTextParagraphs().get(0).getTextRuns().get(0);
tr.setText("hello");
tr.setFontFamily("Arial");
tr.setFontSize(10.);
}
}
new DrawTableShape(tab).setAllBorders(1., Color.black,
StrokeStyle.LineDash.SOLID);
tab.setRowHeight(2, 80);
tab.moveTo(100, 100);
FileOutputStream fos = new FileOutputStream("bla.ppt");
ppt.write(fos);
fos.close();
ppt.close();
}
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
|