? rtf_style.patch Index: ie_imp_RTF.cpp =================================================================== RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_imp_RTF.cpp,v retrieving revision 1.92 diff -r1.92 ie_imp_RTF.cpp 46a47 > #include "pd_Style.h" 927a929 > m_styleNumber = -1; 957a960 > m_styleNumber = -1; 1026a1030 > m_styleNumber = other.m_styleNumber; 1117,1118c1121,1123 < const int size = m_fontTable.getItemCount(); < for (int i = size-1; i>=0; i--) --- > UT_sint32 size = m_fontTable.getItemCount(); > UT_sint32 i =0; > for (i = size-1; i>=0; i--) 1122a1128,1136 > > // and the styleName table. > > size = m_styleTable.getItemCount(); > for (i = size-1; i>=0; i--) > { > char * pItem = (char *) m_fontTable.getNthItem(i); > delete [] pItem; > } 1126a1141 > 2771,2773c2786 < // 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; --- > return HandleStyleDefinition(); 3318c3331 < if (m_currentRTFState.m_paraProps.m_tabStops.getItemCount() > 0) --- > if (m_currentRTFState.m_paraProps.m_tabStops.getItemCount() > 0 || (pOver != NULL && pOver->isTab(iLevel))) 5736a5750,6184 > > // This should probably be defined in pt_Types.h > #define PT_MAX_ATTRIBUTES 8 > > /*! > Define a new style, here is the formal syntax: >