This patch resolved bug 3007; it makes numbered lists visible in Microsoft Word 97/2000 again. --- abiword-gtk_0.99.3/abi/src/wp/impexp/xp/ie_exp_RTF_listenerWriteDoc.cpp.orig Wed Mar 27 11:42:33 2002 +++ abiword-gtk_0.99.3/abi/src/wp/impexp/xp/ie_exp_RTF_listenerWriteDoc.cpp Fri Mar 29 02:36:29 2002 @@ -1483,6 +1488,8 @@ { UT_uint32 iOver = m_pie->getMatchingOverideNum(id); UT_uint32 iLevel = 0; + fl_AutoNum * pAuto = m_pDocument->getListByID(id); + // if(id != m_currID) { UT_ASSERT(iOver); @@ -1499,8 +1506,16 @@ } m_currID = id; } - m_pie->_rtf_keyword("ls",iOver); - m_pie->_rtf_keyword("ilvl",iLevel); + /* This is changed so that Word97 can see the numbers in + numbered lists */ + if(pAuto->getType() < BULLETED_LIST) { + m_pie->_rtf_keyword_ifnotdefault_twips("fn",(char*)szFirstLineIndent,0); + m_pie->_rtf_keyword_ifnotdefault_twips("li",(char*)szLeftIndent,0); + } + else { + m_pie->_rtf_keyword("ls",iOver); + m_pie->_rtf_keyword("ilvl",iLevel); + } } if (strcmp(szLineHeight,"1.0") != 0)