#include <ie_exp_HTML_UtilListeners.h>
Public Member Functions | |
| IE_Exp_HTML_HeaderFooterListener (PD_Document *pDocument, IE_Exp_HTML_DocumentWriter *pDocumentWriter, IE_Exp_HTML_Listener *pListener) | |
| ~IE_Exp_HTML_HeaderFooterListener () | |
| bool | populate (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr) |
| bool | populateStrux (pf_Frag_Strux *sdh, const PX_ChangeRecord *pcr, fl_ContainerLayout **psfh) |
| bool | endOfDocument () |
| bool | change (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr) |
| bool | insertStrux (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr, pf_Frag_Strux *sdh, PL_ListenerId lid, void(*pfnBindHandles)(pf_Frag_Strux *sdhNew, PL_ListenerId lid, fl_ContainerLayout *sfhNew)) |
| bool | signal (UT_uint32 iSignal) |
| void | doHdrFtr (bool bHeader) |
Private Attributes | |
| PD_DocumentRange * | m_pHdrDocRange |
| PD_DocumentRange * | m_pFtrDocRange |
| PD_Document * | m_pDocument |
| IE_Exp_HTML_DocumentWriter * | m_pDocumentWriter |
| IE_Exp_HTML_Listener * | m_pListener |
| bool | m_bHaveHeader |
| bool | m_bHaveFooter |
| IE_Exp_HTML_HeaderFooterListener::IE_Exp_HTML_HeaderFooterListener | ( | PD_Document * | pDocument, | |
| IE_Exp_HTML_DocumentWriter * | pDocumentWriter, | |||
| IE_Exp_HTML_Listener * | pListener | |||
| ) |
| IE_Exp_HTML_HeaderFooterListener::~IE_Exp_HTML_HeaderFooterListener | ( | ) |
| bool IE_Exp_HTML_HeaderFooterListener::change | ( | fl_ContainerLayout * | sfh, | |
| const PX_ChangeRecord * | pcr | |||
| ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT_HARMLESS.
| void IE_Exp_HTML_HeaderFooterListener::doHdrFtr | ( | bool | bHeader | ) |
References IE_Exp_HTML_DocumentWriter::closeSection(), DELETEP, m_bHaveFooter, m_bHaveHeader, m_pDocument, m_pDocumentWriter, m_pFtrDocRange, m_pHdrDocRange, m_pListener, IE_Exp_HTML_DocumentWriter::openSection(), and PD_Document::tellListenerSubset().
Referenced by IE_Exp_HTML::_createChapter(), and IE_Exp_HTML::_createMultipart().
| bool IE_Exp_HTML_HeaderFooterListener::endOfDocument | ( | ) |
| bool IE_Exp_HTML_HeaderFooterListener::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 IE_Exp_HTML_HeaderFooterListener::populate | ( | fl_ContainerLayout * | sfh, | |
| const PX_ChangeRecord * | pcr | |||
| ) | [virtual] |
Implements PL_Listener.
| bool IE_Exp_HTML_HeaderFooterListener::populateStrux | ( | pf_Frag_Strux * | sdh, | |
| const PX_ChangeRecord * | pcr, | |||
| fl_ContainerLayout ** | psfh | |||
| ) | [virtual] |
Implements PL_Listener.
References gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), PD_Document::getBounds(), PX_ChangeRecord::getIndexAP(), PD_Document::getNextStruxOfType(), PD_Document::getStruxPosition(), PX_ChangeRecord_Strux::getStruxType(), PX_ChangeRecord::getType(), m_bHaveFooter, m_bHaveHeader, m_pDocument, m_pFtrDocRange, m_pHdrDocRange, PTX_Section, PTX_SectionHdrFtr, and UT_return_val_if_fail.
| bool IE_Exp_HTML_HeaderFooterListener::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
bool IE_Exp_HTML_HeaderFooterListener::m_bHaveFooter [private] |
Referenced by doHdrFtr(), and populateStrux().
bool IE_Exp_HTML_HeaderFooterListener::m_bHaveHeader [private] |
Referenced by doHdrFtr(), and populateStrux().
Referenced by doHdrFtr(), and populateStrux().
Referenced by doHdrFtr().
Referenced by doHdrFtr(), and populateStrux().
Referenced by doHdrFtr(), and populateStrux().
Referenced by doHdrFtr().
1.7.1