TreeText::Init

TreeText::Init
void Init(Text::Allocator*, Text::FontManagerBase*, Log* log = NULL);
void Init(Text::DocView*);
Description

Init either creates new docview or initializes with an existing docview. docview contains functionality for formatting rich text.

Parameters
Parameters 
Description 
Log* log = NULL 
Pointer to the Log for logging errors. 
FontManagerBase 
Font manager interface for text engine. 
Allocator* 
Text allocator for allocating text. 
DocView* 
Pointer to Text::DocView for rich text.