Hi,
I’m using IParagraph getPortions() to get each words in a slide. But it divide a same word in to two in some occasions. Here is the code I’m using
ITextFrame[] tb = SlideUtil.getAllTextFrames(presentation, true);
for (int i = 0; i < tb.length; i++)
for (IParagraph ipParagraph : tb[i].getParagraphs())
for (IPortion iPortion : ipParagraph.getPortions()) {
iPortion.getPortionFormat().setLatinFont(fd1);
strToFind = iPortion.getText().toLowerCase();
}
In some occations iPortion is getting only a part of the word. What is the reason for that and how can I prevent that.
Thanks in advance.