s_KWord_1_Listener::s_KWord_1_Listener | ( | PD_Document * | pDocument, | |
IE_Exp_KWord_1 * | pie | |||
) |
References m_pie, and IE_Exp::write().
s_KWord_1_Listener::~s_KWord_1_Listener | ( | ) | [virtual] |
References _closeBlock(), _closeSection(), _closeSpan(), _handleStyles(), m_pie, and IE_Exp::write().
void s_KWord_1_Listener::_closeBlock | ( | void | ) | [protected] |
References UT_String::c_str(), m_bInBlock, m_pie, m_sFormats, m_sLayout, and IE_Exp::write().
Referenced by populateStrux(), and ~s_KWord_1_Listener().
void s_KWord_1_Listener::_closeSection | ( | void | ) | [protected] |
References m_bInSection, m_pie, and IE_Exp::write().
Referenced by populateStrux(), and ~s_KWord_1_Listener().
void s_KWord_1_Listener::_closeSpan | ( | void | ) | [protected] |
References m_bInSpan.
Referenced by populate(), populateStrux(), and ~s_KWord_1_Listener().
void s_KWord_1_Listener::_convertColor | ( | UT_String & | szDest, | |
const char * | pszColor | |||
) | [protected] |
void s_KWord_1_Listener::_convertFontSize | ( | UT_String & | szDest, | |
const char * | szFontSize | |||
) | [protected] |
void s_KWord_1_Listener::_handleAttributes | ( | PT_AttrPropIndex | api | ) | [protected] |
References fp_PageSize::getDims(), PD_Document::m_docPageSize, m_pDocument, m_pie, UT_dimensionName(), and IE_Exp::write().
Referenced by _openSection().
void s_KWord_1_Listener::_handleDataItems | ( | void | ) | [protected] |
void s_KWord_1_Listener::_handlePageSize | ( | PT_AttrPropIndex | api | ) | [protected] |
void s_KWord_1_Listener::_handleStyles | ( | void | ) | [protected] |
References m_pie, and IE_Exp::write().
Referenced by ~s_KWord_1_Listener().
void s_KWord_1_Listener::_openBlock | ( | PT_AttrPropIndex | api | ) | [protected] |
References DIM_MM, gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), justificationToNumber(), m_bInBlock, m_bInSection, m_pDocument, m_pie, m_sFormats, m_sLayout, measureToLengthsList(), USED, UT_convertToDimension(), UT_convertToDimensionlessString(), and IE_Exp::write().
Referenced by populateStrux().
void s_KWord_1_Listener::_openSection | ( | PT_AttrPropIndex | api | ) | [protected] |
References _handleAttributes(), _handlePageSize(), m_bFirstWrite, m_bInSection, m_pie, and IE_Exp::write().
Referenced by populateStrux().
void s_KWord_1_Listener::_openSpan | ( | PT_AttrPropIndex | api, | |
PT_BlockOffset | pos, | |||
UT_uint32 | len | |||
) | [protected] |
References DIM_PT, gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), m_bInBlock, m_bInSpan, UT_RGBColor::m_blu, UT_RGBColor::m_grn, m_pDocument, m_pie, UT_RGBColor::m_red, m_sFormats, USED, UT_convertToDimension(), UT_parseColor(), UT_String_sprintf(), and IE_Exp::write().
Referenced by populate().
void s_KWord_1_Listener::_outputData | ( | const UT_UCSChar * | data, | |
UT_uint32 | length | |||
) | [protected] |
References UT_UTF8String::appendUCS4(), UT_UTF8String::byteLength(), m_pie, UT_UTF8String::reserve(), UCS_FF, UCS_LF, UCS_VTAB, UT_ASSERT, UT_TODO, UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by populate().
void s_KWord_1_Listener::_writeMarginSize | ( | PT_AttrPropIndex | api, | |
const char * | name | |||
) | [protected] |
References UT_String::c_str(), gchar, PD_Document::getAttrProp(), kword_1_unit, m_pDocument, m_pie, PP_evalProperty(), UT_ASSERT, UT_convertToDimension(), UT_String_sprintf(), and IE_Exp::write().
Referenced by _handlePageSize().
bool s_KWord_1_Listener::change | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References UT_ASSERT.
virtual bool s_KWord_1_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_KWord_1_Listener::populate | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References _closeSpan(), _openSpan(), _outputData(), PX_ChangeRecord_Span::getBlockOffset(), PX_ChangeRecord_Span::getBufIndex(), PX_ChangeRecord::getIndexAP(), PX_ChangeRecord_Span::getLength(), PX_ChangeRecord_Object::getObjectType(), PD_Document::getPointer(), PX_ChangeRecord::getType(), m_pDocument, PTO_Bookmark, PTO_Embed, PTO_Field, PTO_Hyperlink, PTO_Image, PTO_Math, PX_ChangeRecord::PXT_InsertFmtMark, PX_ChangeRecord::PXT_InsertObject, PX_ChangeRecord::PXT_InsertSpan, UT_ASSERT, and UT_TODO.
bool s_KWord_1_Listener::populateStrux | ( | pf_Frag_Strux * | sdh, | |
const PX_ChangeRecord * | pcr, | |||
fl_ContainerLayout ** | psfh | |||
) | [virtual] |
Implements PL_Listener.
References _closeBlock(), _closeSection(), _closeSpan(), _openBlock(), _openSection(), 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_KWord_1_Listener::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT, and UT_SHOULD_NOT_HAPPEN.
bool s_KWord_1_Listener::m_bFirstWrite [private] |
Referenced by _handlePageSize(), and _openSection().
bool s_KWord_1_Listener::m_bInBlock [private] |
Referenced by _closeBlock(), _openBlock(), and _openSpan().
bool s_KWord_1_Listener::m_bInSection [private] |
Referenced by _closeSection(), _openBlock(), _openSection(), and populateStrux().
bool s_KWord_1_Listener::m_bInSpan [private] |
Referenced by _closeSpan(), and _openSpan().
PD_Document* s_KWord_1_Listener::m_pDocument [private] |
Referenced by _handleAttributes(), _handleDataItems(), _handlePageSize(), _openBlock(), _openSpan(), _writeMarginSize(), populate(), and populateStrux().
IE_Exp_KWord_1* s_KWord_1_Listener::m_pie [private] |
UT_String s_KWord_1_Listener::m_sFormats [private] |
Referenced by _closeBlock(), _openBlock(), and _openSpan().
UT_String s_KWord_1_Listener::m_sLayout [private] |
Referenced by _closeBlock(), and _openBlock().