Add merge format API
Improve html rich text support

If contains only one text fragment with format, then it should be plain
text. And the format should be considered as Cell format
Code refactoring: rename one internal variable only