#include <ie_imp_RTF.h>
RTF_msword97_listOverride::RTF_msword97_listOverride | ( | IE_Imp_RTF * | pie_rtf | ) |
RTF_msword97_listOverride::~RTF_msword97_listOverride | ( | void | ) |
void RTF_msword97_listOverride::buildAbiListProperties | ( | const char ** | szListID, | |
const char ** | szParentID, | |||
const char ** | szLevel, | |||
const char ** | szStartat, | |||
const char ** | szFieldFont, | |||
const char ** | szListDelim, | |||
const char ** | szListDecimal, | |||
const char ** | szAlign, | |||
const char ** | szIndent, | |||
const char ** | szListStyle, | |||
UT_uint32 | iLevel | |||
) |
This method returns all the stuff Abi needs to reconstruct a list
References RTF_msword97_level::buildAbiListProperties(), m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
This function returns the BgColourNumber in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getBold | ( | UT_uint32 | iLevel | ) |
This function the bold state in the List definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
This function returns the ColourNumber in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getDeleted | ( | UT_uint32 | iLevel | ) |
This function returns the Deleted state in the list definition
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
This function returns the FontNumber if changed in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
double RTF_msword97_listOverride::getFontSize | ( | UT_uint32 | iLevel | ) |
This function returns the Fontsize in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getHasBgColour | ( | UT_uint32 | iLevel | ) |
This function returns the HasBgcolour state in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getHasColour | ( | UT_uint32 | iLevel | ) |
This function returns the Hascolor state in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getItalic | ( | UT_uint32 | iLevel | ) |
This function returns the Italic state in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getStrikeout | ( | UT_uint32 | iLevel | ) |
This function returns the Strikeout state in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getSubscript | ( | UT_uint32 | iLevel | ) |
This function returns the Subscript state in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
double RTF_msword97_listOverride::getSubscriptPos | ( | UT_uint32 | iLevel | ) |
This function returns the Subscript state in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getSuperscript | ( | UT_uint32 | iLevel | ) |
This function returns the Superscript state in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
double RTF_msword97_listOverride::getSuperscriptPos | ( | UT_uint32 | iLevel | ) |
This function returns the Superscript Position in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
std::vector< eTabLeader > * RTF_msword97_listOverride::getTabLeaderVect | ( | UT_uint32 | iLevel | ) |
This returns returns a pointer to the tab Leadervector defined in the list level.
References m_pList, RTF_msword97_level::m_pParaProps, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
This returns returns a pointer to the tabstop vector defined in the list level.
References m_pList, RTF_msword97_level::m_pParaProps, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
This returns returns a pointer to the tab Type vector defined in the list level.
References m_pList, RTF_msword97_level::m_pParaProps, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::getUnderline | ( | UT_uint32 | iLevel | ) |
This function returns the Underline state in the list definition.
References RTF_msword97_level::m_pCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isBgColourNumberChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if BgColourNumber is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
bool RTF_msword97_listOverride::isBoldChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if Bold is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isColourNumberChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if ColourNumber is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
bool RTF_msword97_listOverride::isDeletedChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if deleted is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
bool RTF_msword97_listOverride::isFontNumberChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if FontNumber is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isFontSizeChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if Fontsize is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isHasBgColourChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if HasBgcolour is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isHasColourChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if the Hascolor state has changed.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isItalicChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if Italic is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isStrikeoutChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if Strikeout is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isSubscriptChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if Subscript is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isSubscriptPosChanged | ( | UT_uint32 | iLevel | ) |
This function returns the Subscript state in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
bool RTF_msword97_listOverride::isSuperscriptChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if Superscript is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isSuperscriptPosChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if Superscript Position is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, and RTF_msword97_list::m_RTF_level.
bool RTF_msword97_listOverride::isTab | ( | UT_uint32 | iLevel | ) |
This function returns true is there is a tab defined in the list definition.
References RTF_msword97_level::m_pbParaProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::isUnderlineChanged | ( | UT_uint32 | iLevel | ) |
This function returns true if Underline is changed in the list definition.
References RTF_msword97_level::m_pbCharProps, m_pList, RTF_msword97_list::m_RTF_level, and UT_return_val_if_fail.
Referenced by IE_Imp_RTF::ApplyParagraphAttributes().
bool RTF_msword97_listOverride::setList | ( | void | ) |
This function sets the pointer to the list structure for this override. It just scans the defined lists and looks for a matching Identifier.
References IE_Imp_RTF::get_vecWord97ListsCount(), IE_Imp_RTF::get_vecWord97NthList(), m_pie_rtf, m_pList, m_RTF_listID, and RTF_msword97_list::m_RTF_listID.
Referenced by IE_Imp_RTF::HandleTableListOverride().
std::unique_ptr<RTFProps_bCharProps> RTF_msword97_listOverride::m_pbCharProps |
Referenced by IE_Imp_RTF::HandleTableListOverride().
std::unique_ptr<RTFProps_bParaProps> RTF_msword97_listOverride::m_pbParaProps |
Referenced by IE_Imp_RTF::HandleTableListOverride().
std::unique_ptr<RTFProps_CharProps> RTF_msword97_listOverride::m_pCharProps |
Referenced by IE_Imp_RTF::HandleTableListOverride().
IE_Imp_RTF* RTF_msword97_listOverride::m_pie_rtf [private] |
Referenced by setList().
Referenced by buildAbiListProperties(), getBgColourNumber(), getBold(), getColourNumber(), getDeleted(), getFontNumber(), getFontSize(), getHasBgColour(), getHasColour(), getItalic(), getStrikeout(), getSubscript(), getSubscriptPos(), getSuperscript(), getSuperscriptPos(), getTabLeaderVect(), getTabStopVect(), getTabTypeVect(), getUnderline(), isBgColourNumberChanged(), isBoldChanged(), isColourNumberChanged(), isDeletedChanged(), isFontNumberChanged(), isFontSizeChanged(), isHasBgColourChanged(), isHasColourChanged(), isItalicChanged(), isStrikeoutChanged(), isSubscriptChanged(), isSubscriptPosChanged(), isSuperscriptChanged(), isSuperscriptPosChanged(), isTab(), isUnderlineChanged(), and setList().
std::unique_ptr<RTFProps_ParaProps> RTF_msword97_listOverride::m_pParaProps |
Referenced by IE_Imp_RTF::HandleTableListOverride().
Referenced by IE_Imp_RTF::_getTableListOverride(), IE_Imp_RTF::HandleTableListOverride(), and setList().