public class OOXMLPackage extends Object
| Constructor and Description |
|---|
OOXMLPackage() |
OOXMLPackage(InputStream fs,
String accessmode) |
OOXMLPackage(String filePath,
String accessmode) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
HashMap<String,BufferedImage> |
getImageResources() |
OOXMLPackagePart |
getMainDocumentPart() |
InputStream |
getMainDocumentStream() |
PackagePart |
getPartbyName(String partName) |
InputStream |
getPartStream(OOXMLPackagePart part) |
public OOXMLPackage()
public OOXMLPackage(String filePath, String accessmode) throws IllegalArgumentException, IOException, OpenXML4JException, XDocException
IllegalArgumentExceptionIOExceptionOpenXML4JExceptionXDocExceptionpublic OOXMLPackage(InputStream fs, String accessmode) throws IllegalArgumentException, IOException, OpenXML4JException, XDocException
IllegalArgumentExceptionIOExceptionOpenXML4JExceptionXDocExceptionpublic HashMap<String,BufferedImage> getImageResources()
public PackagePart getPartbyName(String partName)
public InputStream getPartStream(OOXMLPackagePart part) throws IOException
IOExceptionpublic OOXMLPackagePart getMainDocumentPart()
public InputStream getMainDocumentStream() throws IOException
IOExceptionpublic void close()
throws IOException
IOException