I've managed to work with the library pretty well so far, but have become stuck when trying to create a slide with a layout other than slideLayout1.xml, which is the Title and Subtitle slide. I want to create a slide that has a Title and Content box, which I have identified as slideLayout2.xml in the ppt/slideLayouts/ folder of a pptx. My code for creating the layouts is as follows:
PartName pn = new PartName("/ppt/slideLayouts/slideLayout"+slideNumber+".xml");
System.err.println("PC> ...