Index: ie_imp_RTF.cpp =================================================================== RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_imp_RTF.cpp,v retrieving revision 1.92 diff -c -r1.92 ie_imp_RTF.cpp *** ie_imp_RTF.cpp 2001/09/06 14:13:40 1.92 --- ie_imp_RTF.cpp 2001/09/09 21:55:42 *************** *** 2768,2776 **** case 's': if (strcmp((char*)pKeyword, "stylesheet") == 0) { ! // TODO Ignore stylesheet as ABIWord doesn't do styles (at the moment) ! // In the text all applied styles also have their equivlent effects on too ! m_currentRTFState.m_destinationState = RTFStateStore::rdsSkip; } else if (strcmp((char*)pKeyword, "strike") == 0 || strcmp((char*)pKeyword, "striked") == 0) { --- 2768,2774 ---- case 's': if (strcmp((char*)pKeyword, "stylesheet") == 0) { ! return HandleStyleDefinition(); } else if (strcmp((char*)pKeyword, "strike") == 0 || strcmp((char*)pKeyword, "striked") == 0) { *************** *** 5735,5742 **** --- 5733,5902 ---- return; } + // This should probably be defined in pt_Types.h + #define PT_MAX_ATTRIBUTES 8 + + /*! + Define a new style, here is the formal syntax: +