in a specific power point file with hebrew sentences the text is flipped (each word separately).
so instead of:
i’ve tried playing the fonts, styles and etc without success of fixing it.
it would be nice to know if there a quick workaround instead of creating the text box from scratch.
this is the code:
Presentation pre = new Presentation(..file..);
Dimension2D slideDimenstions = pre.getSlideSize().getSize();
float scale = 1536.0f / Math.max((float) slideDimenstions.getWidth(), (float) slideDimenstions.getHeight());
ISlide sld = slides.get_Item(0);
BufferedImage image = sld.getThumbnail(scale, scale);
ImageIO.write(image, "png", new File("out.png"));
you may find sample files here:
i think it worth mentioning that saving as PDF works well:
Preformatted textpre.save(“out.pdf”, SaveFormat.Pdf);`