s_HRText_Listener::s_HRText_Listener | ( | PD_Document * | pDocument, | |
IE_Exp_HRText * | pie | |||
) |
References m_bInBlock, m_bInList, m_bInSection, m_bInSpan, m_bNextIsSpace, m_iDecoration, m_iListDepth, m_pDocument, m_pie, and m_pList.
s_HRText_Listener::~s_HRText_Listener | ( | ) | [virtual] |
void s_HRText_Listener::_closeSection | ( | void | ) | [protected] |
References m_bInSection.
Referenced by populateStrux(), and ~s_HRText_Listener().
void s_HRText_Listener::_closeSpan | ( | void | ) | [protected] |
References BOLD_DELIM, gchar, PP_AttrProp::getProperty(), ITALIC_DELIM, m_bInSpan, m_iDecoration, m_pAP_Span, m_pie, and IE_Exp::write().
Referenced by populate(), populateStrux(), and ~s_HRText_Listener().
void s_HRText_Listener::_closeTag | ( | void | ) | [protected] |
References m_bInBlock, m_pie, and IE_Exp::write().
Referenced by populateStrux(), and ~s_HRText_Listener().
void s_HRText_Listener::_convertColor | ( | char * | szDest, | |
const char * | pszColor | |||
) | [protected] |
void s_HRText_Listener::_convertFontSize | ( | char * | szDest, | |
const char * | pszFontSize | |||
) | [protected] |
void s_HRText_Listener::_handleDataItems | ( | void | ) | [protected] |
Referenced by ~s_HRText_Listener().
void s_HRText_Listener::_openSection | ( | PT_AttrPropIndex | api | ) | [protected] |
References m_pie, and IE_Exp::write().
Referenced by populateStrux().
void s_HRText_Listener::_openSpan | ( | PT_AttrPropIndex | api | ) | [protected] |
References BOLD_DELIM, FREEP, gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), ITALIC_DELIM, m_bInBlock, m_bInSpan, m_iDecoration, m_pAP_Span, m_pDocument, m_pie, SUBSCRIPT_DELIM, SUPERSCRIPT_DELIM, UNDERLINE_DELIM, UT_ASSERT, and IE_Exp::write().
Referenced by populate().
void s_HRText_Listener::_openTag | ( | PT_AttrPropIndex | api | ) | [protected] |
References BLOCK_DELIM, gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PP_AttrProp::getProperty(), UT_GenericStringMap< T >::insert(), LIST_DELIM, m_bInBlock, m_bInSection, m_iBlockType, m_pDocument, m_pie, m_pList, UT_GenericStringMap< T >::pick(), PLAIN_DELIM, PT_STYLE_ATTRIBUTE_NAME, UT_String_sprintf(), and IE_Exp::write().
Referenced by populateStrux().
void s_HRText_Listener::_outputData | ( | const UT_UCSChar * | p, | |
UT_uint32 | length | |||
) | [protected] |
References UT_String::c_str(), UT_Wctomb::initialize(), m_pie, m_wctomb, UT_String::reserve(), UT_String::size(), UT_ASSERT, UT_Wctomb::wctomb(), and IE_Exp::write().
Referenced by populate().
bool s_HRText_Listener::change | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References UT_ASSERT.
virtual bool s_HRText_Listener::insertStrux | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr, | |||
pf_Frag_Strux * | sdh, | |||
PL_ListenerId | lid, | |||
void(*)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew) | pfnBindHandles | |||
) | [virtual] |
Implements PL_Listener.
bool s_HRText_Listener::populate | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References _closeSpan(), _openSpan(), _outputData(), PX_ChangeRecord_Span::getBufIndex(), PX_ChangeRecord::getIndexAP(), PX_ChangeRecord_Span::getLength(), PD_Document::getPointer(), PX_ChangeRecord::getType(), m_pDocument, PX_ChangeRecord::PXT_InsertFmtMark, PX_ChangeRecord::PXT_InsertObject, PX_ChangeRecord::PXT_InsertSpan, and UT_ASSERT.
bool s_HRText_Listener::populateStrux | ( | pf_Frag_Strux * | sdh, | |
const PX_ChangeRecord * | pcr, | |||
fl_ContainerLayout ** | psfh | |||
) | [virtual] |
Implements PL_Listener.
References _closeSection(), _closeSpan(), _closeTag(), _openSection(), _openTag(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PX_ChangeRecord::getIndexAP(), PX_ChangeRecord::getType(), m_bInSection, m_pDocument, PTX_Block, PTX_EndCell, PTX_EndEndnote, PTX_EndFootnote, PTX_EndFrame, PTX_EndMarginnote, PTX_EndTable, PTX_Section, PTX_SectionCell, PTX_SectionEndnote, PTX_SectionFootnote, PTX_SectionFrame, PTX_SectionHdrFtr, PTX_SectionMarginnote, PTX_SectionTable, UT_ASSERT, and UT_TODO.
bool s_HRText_Listener::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
bool s_HRText_Listener::m_bInBlock [protected] |
Referenced by _closeTag(), _openSpan(), _openTag(), and s_HRText_Listener().
bool s_HRText_Listener::m_bInList [protected] |
Referenced by s_HRText_Listener().
bool s_HRText_Listener::m_bInSection [protected] |
Referenced by _closeSection(), _openTag(), populateStrux(), and s_HRText_Listener().
bool s_HRText_Listener::m_bInSpan [protected] |
Referenced by _closeSpan(), _openSpan(), and s_HRText_Listener().
bool s_HRText_Listener::m_bNextIsSpace [protected] |
Referenced by s_HRText_Listener().
UT_uint16 s_HRText_Listener::m_iBlockType [protected] |
Referenced by _openTag().
char s_HRText_Listener::m_iDecoration [protected] |
Referenced by _closeSpan(), _openSpan(), and s_HRText_Listener().
UT_uint16 s_HRText_Listener::m_iListDepth [protected] |
Referenced by s_HRText_Listener().
const PP_AttrProp* s_HRText_Listener::m_pAP_Span [protected] |
Referenced by _closeSpan(), and _openSpan().
PD_Document* s_HRText_Listener::m_pDocument [protected] |
Referenced by _openSpan(), _openTag(), populate(), populateStrux(), and s_HRText_Listener().
IE_Exp_HRText* s_HRText_Listener::m_pie [protected] |
Referenced by _closeSpan(), _closeTag(), _openSection(), _openSpan(), _openTag(), _outputData(), and s_HRText_Listener().
UT_StringPtrMap* s_HRText_Listener::m_pList [protected] |
Referenced by _openTag(), s_HRText_Listener(), and ~s_HRText_Listener().
UT_Wctomb s_HRText_Listener::m_wctomb [protected] |
Referenced by _outputData().