This example imports the data of a document to paragraph 1.
TextParagraph paragraph = document.getParagraphs().item(1); TextRange range = paragraph.getRange(); range.importFile("C:\\Scenario\\text.odt");
Related information
importFile method