OK, this is what I've done to achieve this (using OpenOffice UNO Api
with JAVA):
- Load
odt
document where we want to placeHTML
text. - Goto place where you want to place
HTML
text. - Save
HTML
text in temp file in the system (maybe it is possible without saving with http URL but I wasn't testing it). - Insert
HTML
into odt following this instructions and passing URL to tempHTML
file (remember about converting system path toOO
path).