public static byte[] toBytes(OpcPackage wordPkg) { SaveToZipFile saver = new SaveToZipFile(wordPkg); java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream(); saver.save(baos); return baos.toByteArray(); }
public static byte[] toBytes(WordprocessingMLPackage wordPkg) { SaveToZipFile saver = new SaveToZipFile(wordPkg); java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream(); saver.save(baos); return(baos.toByteArray()); }
public static void save(OpcPackage wordPkg, string path) { SaveToZipFile saver = new SaveToZipFile(wordPkg); saver.save(path); }
public static void save(WordprocessingMLPackage wordPkg, string path) { SaveToZipFile saver = new SaveToZipFile(wordPkg); saver.save(path); }