// loads the images from the URLs and inserts the image in the package, adapting the manifest
pkg.insert(ResourceUtilities.getURI(TEST_PIC), "Pictures/" + TEST_PIC, null);
//Deactivated as test fail, when test machine is not online (painful for offline work)
//pkg.insert(new URI("http://odftoolkit.org/attachments/wiki_images/odftoolkit/Table_fruits_diagramm.jpg"), "someweiredname/tableandfruits.jpg", null);
pkg.save(ResourceUtilities.newTestOutputFile("odfdom-wiki-package.odt"));
/////////////////////////////////////
// ODFDOM XML LAYER - WIKI EXAMPLE //
/////////////////////////////////////