this(empty());
}
+ /**
+ * @param pkg OPC package
+ * @throws POIXMLException a RuntimeException that can be caused by invalid OOXML data
+ * @throws RuntimeException a number of other runtime exceptions can be thrown, especially if there are problems with the
+ * input format
+ */
public XMLSlideShow(OPCPackage pkg) {
super(pkg);
}
}
+ /**
+ * @param is InputStream
+ * @throws IOException
+ * @throws POIXMLException a RuntimeException that can be caused by invalid OOXML data
+ * @throws RuntimeException a number of other runtime exceptions can be thrown, especially if there are problems with the
+ * input format
+ */
public XMLSlideShow(InputStream is) throws IOException {
this(PackageHelper.open(is));
}