Today I tried out one of the examples at the "Getting Started" page:
// Load 2 text documents File f1 = *new *File("template/ooo2flyer_p1.odt"); OOSingleXMLDocument p1 = OOSingleXMLDocument.createFromPackage(f1); File f2 = *new *File("template/ooo2flyer_p2.odt"); OOSingleXMLDocument p2 = OOSingleXMLDocument.createFromPackage(f2); // Concatenate them p1.add(p2); // Save to file and Open the document with OpenOffice.org ! OOUtils.open(p1.saveToPackageAs(*new *File("cat"))); This code is not working. It generates an output file, opens it but the result file does not contain anything from the file in the f2 reference. What could be the problem? I'm using the (recommended) 1.3 version of jOpenDocument. -- --- You received this message because you are subscribed to the Google Groups "jOpenDocument" group. To unsubscribe from this group and stop receiving emails from it, send an email to jopendocument+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.