Lets see at this example:
I've got
HTML
tagged text:<font size="100">Example text</font>
I have
*.odt
(OpenDocument Text) document where I want to place this HTML text with formatting depends on HTML tags (in this examplefont
tag should be ommited and textExample text
should have 100point size font in result*.odt
file).
I prefer (but this is not strong requirement) to use OpenOffice UNO API for Java to achieve that. Is there any way to inject this HTML
text into body of *.odt
document with simple UNO API build-in HTML-odt converter or something like this (or I have to manually go through HTML
tags in text and then use OO UNO API for placing text with specific formatting - e.g. font size)?