#include <OXML_Element_Text.h>
Public Member Functions | |
| OXML_Element_Text () | |
| OXML_Element_Text (const gchar *text, int length) | |
| virtual | ~OXML_Element_Text () |
| void | setCharRange (OXML_CharRange range) |
| OXML_CharRange | getCharRange () |
| void | setText (const gchar *text, int length) |
| const UT_UCS4Char * | getText_UCS4String () |
| const char * | getText () |
| virtual UT_Error | serialize (IE_Exp_OpenXML *exporter) |
| virtual UT_Error | addToPT (PD_Document *pDocument) |
Private Attributes | |
| UT_UCS4String * | m_pString |
| OXML_CharRange | m_range |
| OXML_Element_Text::OXML_Element_Text | ( | ) |
| OXML_Element_Text::OXML_Element_Text | ( | const gchar * | text, | |
| int | length | |||
| ) |
References setText().
| UT_Error OXML_Element_Text::addToPT | ( | PD_Document * | pDocument | ) | [virtual] |
Reimplemented from OXML_Element.
References PD_Document::appendSpan(), UT_UCS4String::length(), m_pString, UT_UCS4String::ucs4_str(), UT_ERROR, UT_OK, and UT_return_val_if_fail.
| OXML_CharRange OXML_Element_Text::getCharRange | ( | ) | [inline] |
References m_range.
| const char * OXML_Element_Text::getText | ( | ) |
References OXML_Element::getType(), LIST, m_pString, UT_return_val_if_fail, and UT_UCS4String::utf8_str().
| const UT_UCS4Char * OXML_Element_Text::getText_UCS4String | ( | ) |
References m_pString, UT_UCS4String::ucs4_str(), and UT_return_val_if_fail.
Referenced by serialize().
| UT_Error OXML_Element_Text::serialize | ( | IE_Exp_OpenXML * | exporter | ) | [virtual] |
| void OXML_Element_Text::setCharRange | ( | OXML_CharRange | range | ) | [inline] |
References m_range.
| void OXML_Element_Text::setText | ( | const gchar * | text, | |
| int | length | |||
| ) |
References DELETEP, and m_pString.
Referenced by OXMLi_ListenerState_Common::charData(), and OXML_Element_Text().
UT_UCS4String* OXML_Element_Text::m_pString [private] |
Referenced by addToPT(), getText(), getText_UCS4String(), setText(), and ~OXML_Element_Text().
OXML_CharRange OXML_Element_Text::m_range [private] |
Referenced by getCharRange(), and setCharRange().
1.7.1