When I try to get the font size of the Notes Pages in the attached presentation, I get 18 instead of 10.
Here’s the code I used:
InputStream inputStream = new FileInputStream(path);
Presentation presentation = new Presentation(inputStream);
inputStream.close();
INotesSlide notesPage = presentation.getSlides().get_Item(0).getNotesSlideManager().getNotesSlide();
IShapeCollection shapes = notesPage.getShapes();
IAutoShape shape = (IAutoShape) shapes.get_Item(3);
IParagraphCollection paragraphs = shape.getTextFrame().getParagraphs();
IParagraph paragraph = paragraphs.get_Item(0);
IPortion portion = paragraph.getPortions().get_Item(0);
System.out.println(portion.getText());
IPortionFormatEffectiveData effectiveData = portion.createPortionFormatEffective();
System.out.println(effectiveData.getFontHeight());
paragraph = paragraphs.get_Item(1);
portion = paragraph.getPortions().get_Item(0);
System.out.println(portion.getText());
effectiveData = portion.createPortionFormatEffective();
System.out.println(effectiveData.getFontHeight());
paragraph = paragraphs.get_Item(2);
portion = paragraph.getPortions().get_Item(0);
System.out.println(portion.getText());
effectiveData = portion.createPortionFormatEffective();
System.out.println(effectiveData.getFontHeight());
paragraph = paragraphs.get_Item(5);
portion = paragraph.getPortions().get_Item(0);
System.out.println(portion.getText());
effectiveData = portion.createPortionFormatEffective();
System.out.println(effectiveData.getFontHeight());
paragraph = paragraphs.get_Item(6);
portion = paragraph.getPortions().get_Item(0);
System.out.println(portion.getText());
effectiveData = portion.createPortionFormatEffective();
System.out.println(effectiveData.getFontHeight());