Openoffice odt import Snippnet

Read further: http://api.libreoffice.org/examples/DevelopersGuide/Text/TextDocuments.java