OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MWGui::Formatting::BookFormatter Class Reference

utilities for parsing book/scroll text as mygui widgets More...

#include <formatting.hpp>

Collaboration diagram for MWGui::Formatting::BookFormatter:

Public Member Functions

Paginator::Pages markupToWidget (MyGUI::Widget *parent, const std::string &markup, const int pageWidth, const int pageHeight)
 
Paginator::Pages markupToWidget (MyGUI::Widget *parent, const std::string &markup)
 

Private Member Functions

void resetFontProperties ()
 
void handleDiv (const BookTextParser::Attributes &attr)
 
void handleFont (const BookTextParser::Attributes &attr)
 

Private Attributes

TextStyle mTextStyle
 
BlockStyle mBlockStyle
 

Detailed Description

utilities for parsing book/scroll text as mygui widgets

Member Function Documentation

void MWGui::Formatting::BookFormatter::handleDiv ( const BookTextParser::Attributes attr)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::Formatting::BookFormatter::handleFont ( const BookTextParser::Attributes attr)
private
Todo:

Here is the caller graph for this function:

Paginator::Pages MWGui::Formatting::BookFormatter::markupToWidget ( MyGUI::Widget *  parent,
const std::string &  markup,
const int  pageWidth,
const int  pageHeight 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Paginator::Pages MWGui::Formatting::BookFormatter::markupToWidget ( MyGUI::Widget *  parent,
const std::string &  markup 
)

Here is the call graph for this function:

void MWGui::Formatting::BookFormatter::resetFontProperties ( )
private

Here is the caller graph for this function:

Member Data Documentation

BlockStyle MWGui::Formatting::BookFormatter::mBlockStyle
private
TextStyle MWGui::Formatting::BookFormatter::mTextStyle
private

The documentation for this class was generated from the following files: