Slide method getName in Java version


#1

Hello,



The getName method returns an empty string. But my presentation has a title on each slide in Powerpoint 2002.

Which value reads getName from the presentation slide?



Best regards.

Matti


#2

Dear Matti,



getName() and title of a slide are absolutely different things.

getName is analog of Name property in PowerPoint’s VBA.



To read title you should read text in placeholders.


#3

Hello Alexey,



thank you. In this way it is working.

I’ve checked to the types TITLE, CENTERED_Title1, CENTERED_TITLE2, SUBTITLE and then I’ve casted the placeholder

to a textholder. But in one presentation the return object of CENTERED_Title1 and SUBTITLE is not a textholder. Is that correct?



And do you know why the getName method returns an empty string and why the Name property is only accessible in VBA?



Sorry for the same entry as new post entry. But I havn’t seen the reply button… :blush:



Kind regards.

Matti