#include <ie_exp_HTML_StyleTree.h>
Public Member Functions | |
IE_Exp_HTML_StyleListener (IE_Exp_HTML_StyleTree *styleTree) | |
bool | populate (fl_ContainerLayout *sfh, const PX_ChangeRecord *pcr) |
bool | populateStrux (pf_Frag_Strux *sdh, const PX_ChangeRecord *pcr, fl_ContainerLayout **psfh) |
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) |
Private Member Functions | |
void | styleCheck (PT_AttrPropIndex api) |
Private Attributes | |
IE_Exp_HTML_StyleTree * | m_pStyleTree |
IE_Exp_HTML_StyleListener::IE_Exp_HTML_StyleListener | ( | IE_Exp_HTML_StyleTree * | styleTree | ) |
bool IE_Exp_HTML_StyleListener::change | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References UT_ASSERT_HARMLESS.
bool IE_Exp_HTML_StyleListener::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_StyleListener::populate | ( | fl_ContainerLayout * | sfh, | |
const PX_ChangeRecord * | pcr | |||
) | [virtual] |
Implements PL_Listener.
References PX_ChangeRecord::getIndexAP(), PX_ChangeRecord::getType(), PX_ChangeRecord::PXT_InsertObject, PX_ChangeRecord::PXT_InsertSpan, and styleCheck().
bool IE_Exp_HTML_StyleListener::populateStrux | ( | pf_Frag_Strux * | sdh, | |
const PX_ChangeRecord * | pcr, | |||
fl_ContainerLayout ** | psfh | |||
) | [virtual] |
bool IE_Exp_HTML_StyleListener::signal | ( | UT_uint32 | iSignal | ) | [virtual] |
Implements PL_Listener.
References UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
void IE_Exp_HTML_StyleListener::styleCheck | ( | PT_AttrPropIndex | api | ) | [private] |
References IE_Exp_HTML_StyleTree::findAndUse(), gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), IE_Exp_HTML_StyleTree::getDocument(), m_pStyleTree, and PT_STYLE_ATTRIBUTE_NAME.
Referenced by populate(), and populateStrux().
Referenced by styleCheck().