Simply set the odfcontainer instead of loading it from disk.