use of org.openxmlformats.schemas.presentationml.x2006.main.CTNotesMaster in project poi by apache.
the class XSLFNotesMaster method prototype.
private static CTNotesMaster prototype() {
InputStream is = XSLFNotesMaster.class.getResourceAsStream("notesMaster.xml");
if (is == null) {
throw new POIXMLException("Missing resource 'notesMaster.xml'");
}
try {
try {
NotesMasterDocument doc = NotesMasterDocument.Factory.parse(is, DEFAULT_XML_OPTIONS);
CTNotesMaster slide = doc.getNotesMaster();
return slide;
} finally {
is.close();
}
} catch (Exception e) {
throw new POIXMLException("Can't initialize NotesMaster", e);
}
}
Aggregations