Public Member Functions | |
IE_Imp_ShpPropParser () | |
~IE_Imp_ShpPropParser () | |
virtual bool | tokenKeyword (IE_Imp_RTF *ie, RTF_KEYWORD_ID kwID, UT_sint32 param, bool paramUsed) |
virtual bool | tokenOpenBrace (IE_Imp_RTF *ie) |
virtual bool | tokenCloseBrace (IE_Imp_RTF *ie) |
virtual bool | tokenData (IE_Imp_RTF *ie, UT_UTF8String &data) |
virtual bool | finalizeParse (void) |
RTFProps_FrameProps::PropertyPair * | getProp (void) |
Private Attributes | |
RTFProps_FrameProps::PropertyPair * | m_propPair |
int | m_last_grp |
RTF_KEYWORD_ID | m_last_kwID |
std::string * | m_name |
std::string * | m_value |
std::string * | m_lastData |
bool | m_found_image |
Handle the \sp keyword inside shapes
IE_Imp_ShpPropParser::IE_Imp_ShpPropParser | ( | ) | [inline] |
IE_Imp_ShpPropParser::~IE_Imp_ShpPropParser | ( | ) | [inline] |
References DELETEP.
bool IE_Imp_ShpPropParser::finalizeParse | ( | void | ) | [virtual] |
Reimplemented from IE_Imp_RTFGroupParser.
References m_found_image, m_name, m_propPair, m_value, and UT_ASSERT.
RTFProps_FrameProps::PropertyPair* IE_Imp_ShpPropParser::getProp | ( | void | ) | [inline] |
Fetch the property key/value pair
Referenced by IE_Imp_ShpGroupParser::tokenKeyword().
bool IE_Imp_ShpPropParser::tokenCloseBrace | ( | IE_Imp_RTF * | ie | ) | [virtual] |
Reimplemented from IE_Imp_RTFGroupParser.
References DELETEP, m_found_image, m_last_grp, m_last_kwID, m_lastData, m_name, m_value, IE_Imp_RTFGroupParser::nested(), RTF_KW_sn, RTF_KW_sv, UT_ASSERT, and UT_DEBUGMSG.
bool IE_Imp_ShpPropParser::tokenData | ( | IE_Imp_RTF * | ie, | |
UT_UTF8String & | data | |||
) | [virtual] |
Reimplemented from IE_Imp_RTFGroupParser.
References DELETEP, m_lastData, and UT_UTF8String::utf8_str().
bool IE_Imp_ShpPropParser::tokenKeyword | ( | IE_Imp_RTF * | ie, | |
RTF_KEYWORD_ID | kwID, | |||
UT_sint32 | param, | |||
bool | paramUsed | |||
) | [virtual] |
Reimplemented from IE_Imp_RTFGroupParser.
References IE_Imp_RTF::clearImageName(), IE_Imp_RTF::HandlePicture(), m_found_image, m_last_grp, m_last_kwID, IE_Imp_RTFGroupParser::nested(), RTF_KW_pict, RTF_KW_sn, RTF_KW_sv, IE_Imp_RTF::setStruxImage(), and UT_DEBUGMSG.
bool IE_Imp_ShpPropParser::tokenOpenBrace | ( | IE_Imp_RTF * | ie | ) | [virtual] |
Reimplemented from IE_Imp_RTFGroupParser.
bool IE_Imp_ShpPropParser::m_found_image [private] |
Referenced by finalizeParse(), tokenCloseBrace(), and tokenKeyword().
int IE_Imp_ShpPropParser::m_last_grp [private] |
Referenced by tokenCloseBrace(), and tokenKeyword().
Referenced by tokenCloseBrace(), and tokenKeyword().
std::string* IE_Imp_ShpPropParser::m_lastData [private] |
Referenced by tokenCloseBrace(), and tokenData().
std::string* IE_Imp_ShpPropParser::m_name [private] |
Referenced by finalizeParse(), and tokenCloseBrace().
Referenced by finalizeParse().
std::string * IE_Imp_ShpPropParser::m_value [private] |
Referenced by finalizeParse(), and tokenCloseBrace().