| Passepartout_Listener::Passepartout_Listener | ( | PD_Document * | pDocument, | |
| IE_Exp_Passepartout * | pie | |||
| ) |
| Passepartout_Listener::~Passepartout_Listener | ( | ) | [virtual] |
References _closeBlock(), m_pie, and IE_Exp::write().
| void Passepartout_Listener::_closeBlock | ( | void | ) | [protected] |
References _closeFont(), m_bInBlock, m_inFont, m_pie, and IE_Exp::write().
Referenced by _openBlock(), populateStrux(), and ~Passepartout_Listener().
| void Passepartout_Listener::_closeFont | ( | void | ) | [protected] |
References m_inFont, m_pie, and IE_Exp::write().
Referenced by _closeBlock(), _openFont(), and populate().
| void Passepartout_Listener::_openBlock | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeBlock(), gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), m_bInBlock, m_pDocument, m_pie, UT_convertToPoints(), UT_UTF8String_sprintf(), UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by populateStrux().
| void Passepartout_Listener::_openFont | ( | PT_AttrPropIndex | api | ) | [protected] |
References _closeFont(), gchar, PD_Document::getAttrProp(), PP_AttrProp::getProperty(), m_inFont, m_pDocument, m_pie, UT_UTF8String_sprintf(), UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by populate().
| void Passepartout_Listener::_outputData | ( | const UT_UCSChar * | data, | |
| UT_uint32 | length | |||
| ) | [protected, virtual] |
Output text buffer to stream
| data | Buffer to output | |
| length | Size of buffer |
References UT_UTF8String::appendUCS4(), UT_UTF8String::byteLength(), m_bInBlock, m_bWasSpace, m_pie, UT_UTF8String::reserve(), UCS_LF, UT_UTF8String::utf8_str(), and IE_Exp::write().
Referenced by populate().
| bool Passepartout_Listener::change | ( | fl_ContainerLayout * | sfh, | |
| const PX_ChangeRecord * | pcr | |||
| ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT_NOT_REACHED.
| virtual bool Passepartout_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 Passepartout_Listener::populate | ( | fl_ContainerLayout * | sfh, | |
| const PX_ChangeRecord * | pcr | |||
| ) | [virtual] |
Implements PL_Listener.
References _closeFont(), _openFont(), _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_InsertSpan, UT_ASSERT_HARMLESS, and UT_TODO.
| bool Passepartout_Listener::populateStrux | ( | pf_Frag_Strux * | sdh, | |
| const PX_ChangeRecord * | pcr, | |||
| fl_ContainerLayout ** | psfh | |||
| ) | [virtual] |
Implements PL_Listener.
References _closeBlock(), _openBlock(), PD_Document::getAttrProp(), PX_ChangeRecord::getIndexAP(), PX_ChangeRecord::getType(), m_bInBlock, 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, UT_ASSERT_HARMLESS, and UT_TODO.
| bool Passepartout_Listener::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT_NOT_REACHED.
bool Passepartout_Listener::m_bBreakExtra [private] |
bool Passepartout_Listener::m_bInBlock [private] |
Referenced by _closeBlock(), _openBlock(), _outputData(), and populateStrux().
bool Passepartout_Listener::m_bWasSpace [private] |
Referenced by _outputData().
bool Passepartout_Listener::m_inFont [private] |
Referenced by _closeBlock(), _closeFont(), _openFont(), and Passepartout_Listener().
bool Passepartout_Listener::m_inParagraph [private] |
Referenced by Passepartout_Listener().
PD_Document* Passepartout_Listener::m_pDocument [private] |
Referenced by _openBlock(), _openFont(), Passepartout_Listener(), populate(), and populateStrux().
IE_Exp_Passepartout* Passepartout_Listener::m_pie [private] |
Referenced by _closeBlock(), _closeFont(), _openBlock(), _openFont(), _outputData(), Passepartout_Listener(), and ~Passepartout_Listener().
1.7.1