create a box that shows textual content from the document IContent

Signed-off-by: Florian Thienel <florian@thienel.org>
extract and reuse splitting algorithm

Signed-off-by: Florian Thienel <florian@thienel.org>