Hello

Try these characters : \u00e0 \u00e1 \u00e4 \u00e5 \u00e6 \u00e7 \u00e8
\u00e9


        SlideShow ppt = new SlideShow(new HSLFSlideShow("test7.ppt"));

        Slide s = ppt.getSlides()[0];

        TextBox tb = new TextBox();
        tb.setAnchor(new Rectangle(10,10,500,250));
        tb.setText("\u00e0\u00e1\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9");
        tb.getTextRun().getRichTextRuns()[0].setFontName("Times New Roman");

        s.addShape(tb);
        FileOutputStream out = new FileOutputStream("slideshow.ppt");
        ppt.write(out);
        out.close(); 

Regards
MG


Yegor Kozlov wrote:
> 
> What particular accent character did you use? Post it as \uxxxx.
> 
> I've just tried your code and it works for me. I can see both double
> and single accents.
> 
>         SlideShow ppt = new SlideShow(new HSLFSlideShow("test7.ppt"));
> 
>         Slide s = ppt.getSlides()[0];
> 
>         TextBox tb = new TextBox();
>         tb.setAnchor(new Rectangle(10,10,500,250));
>         tb.setText("helloworld \u02DD\u00B4\u0300");
>         tb.getTextRun().getRichTextRuns()[0].setFontName("Times New
> Roman");
> 
>         s.addShape(tb);
>         FileOutputStream out = new FileOutputStream("slideshow.ppt");
>         ppt.write(out);
>         out.close();
> 
>  Yegor
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HSLF-accent-character-problem-tp17512465p17727680.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]

Reply via email to