Public Member Functions | Public Attributes | Private Attributes

RTF_msword97_listOverride Class Reference

#include <ie_imp_RTF.h>

List of all members.

Public Member Functions

 RTF_msword97_listOverride (IE_Imp_RTF *pie_rtf)
 ~RTF_msword97_listOverride ()
void 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)
bool setList (void)
bool isTab (UT_uint32 iLevel)
std::vector< UT_sint32 > * getTabStopVect (UT_uint32 iLevel)
std::vector< eTabType > * getTabTypeVect (UT_uint32 iLevel)
std::vector< eTabLeader > * getTabLeaderVect (UT_uint32 iLevel)
bool isDeletedChanged (UT_uint32 iLevel)
bool getDeleted (UT_uint32 iLevel)
bool isBoldChanged (UT_uint32 iLevel)
bool getBold (UT_uint32 iLevel)
bool isItalicChanged (UT_uint32 iLevel)
bool getItalic (UT_uint32 iLevel)
bool isUnderlineChanged (UT_uint32 iLevel)
bool getUnderline (UT_uint32 iLevel)
bool isStrikeoutChanged (UT_uint32 iLevel)
bool getStrikeout (UT_uint32 iLevel)
bool isSuperscriptChanged (UT_uint32 iLevel)
bool getSuperscript (UT_uint32 iLevel)
bool isSuperscriptPosChanged (UT_uint32 iLevel)
double getSuperscriptPos (UT_uint32 iLevel)
bool isSubscriptChanged (UT_uint32 iLevel)
bool getSubscript (UT_uint32 iLevel)
bool isSubscriptPosChanged (UT_uint32 iLevel)
double getSubscriptPos (UT_uint32 iLevel)
bool isFontSizeChanged (UT_uint32 iLevel)
double getFontSize (UT_uint32 iLevel)
bool isHasColourChanged (UT_uint32 iLevel)
bool getHasColour (UT_uint32 iLevel)
bool isColourNumberChanged (UT_uint32 iLevel)
UT_uint32 getColourNumber (UT_uint32 iLevel)
bool isHasBgColourChanged (UT_uint32 iLevel)
bool getHasBgColour (UT_uint32 iLevel)
bool isBgColourNumberChanged (UT_uint32 iLevel)
UT_uint32 getBgColourNumber (UT_uint32 iLevel)
bool isFontNumberChanged (UT_uint32 iLevel)
UT_uint32 getFontNumber (UT_uint32 iLevel)

Public Attributes

UT_uint32 m_RTF_listID
UT_uint32 m_OverrideCount
std::unique_ptr
< RTFProps_ParaProps
m_pParaProps
std::unique_ptr
< RTFProps_CharProps
m_pCharProps
std::unique_ptr
< RTFProps_bParaProps
m_pbParaProps
std::unique_ptr
< RTFProps_bCharProps
m_pbCharProps

Private Attributes

IE_Imp_RTFm_pie_rtf
RTF_msword97_listm_pList

Constructor & Destructor Documentation

RTF_msword97_listOverride::RTF_msword97_listOverride ( IE_Imp_RTF pie_rtf  ) 
RTF_msword97_listOverride::~RTF_msword97_listOverride ( void   ) 

Member Function Documentation

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().

UT_uint32 RTF_msword97_listOverride::getBgColourNumber ( UT_uint32  iLevel  ) 

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().

UT_uint32 RTF_msword97_listOverride::getColourNumber ( UT_uint32  iLevel  ) 

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.

UT_uint32 RTF_msword97_listOverride::getFontNumber ( UT_uint32  iLevel  ) 

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().

std::vector< UT_sint32 > * RTF_msword97_listOverride::getTabStopVect ( UT_uint32  iLevel  ) 

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().

std::vector< eTabType > * RTF_msword97_listOverride::getTabTypeVect ( UT_uint32  iLevel  ) 

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().


Member Data Documentation

Referenced by setList().


The documentation for this class was generated from the following files: