Hello
I have tried unicode notation but it does not run. The problem comes from
textbox insertion in an existing slideshow. Accent characters keep font name
from Master Sheet.
Sample code:
SlideShow ppt = new SlideShow(new HSLFSlideShow("template/test7.ppt"));
Slide s = ppt.getSlides()[0];
TextBox tb = new TextBox();
tb.setAnchor(new Rectangle(10,10,500,250));
tb.setText("helloworld éèà");
tb.getTextRun().getRichTextRuns()[0].setFontName("Times New Roman");
s.addShape(tb);
FileOutputStream out = new FileOutputStream("report/slideshow.ppt");
ppt.write(out);
out.close();
template : http://www.nabble.com/file/p17693690/test7.ppt test7.ppt
Regards
MG
--
View this message in context:
http://www.nabble.com/HSLF-accent-character-problem-tp17512465p17693690.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]