I'm creating a single slide with title. However, when I "Apply Style" in Powerpoint, it creates a new title placeholder for the program-created slide. This does not happen for slides created by Powerpoint. It seems as if the title placeholder is missing some kind of attribute that makes Powerpoint recognize it- or it's an powerpoint issue... Sample: ppt = new SlideShow(); Slide slide = ppt.createSlide(); slide.addTitle().setText("Management Summary");
It seems this is not supported yet: http://article.gmane.org/gmane.comp.jakarta.poi.user/11121/match=placeholder Yegor wrote: > It shouldn't be hard to add this functionality. The user code may look like this: > > Slide slide = ppt.createSlide(Slide.LAYOUT_TITLE_AND_TEXT); > > TextShape title = slide.getPlaceholder(Slide.PLACEHOLDER_TITLE); > title.getTextRun().setText("Hello, World"); > > TextShape body = slide.getPlaceholder(Slide.PLACEHOLDER_BODYTEXT); > title.getTextRun().setText("Here\rAre\rSome\rBullet\rPoints"); > > I will see if it can be added.
Fixed with r1717020