--- src/wp/impexp/xp/ie_imp_Psion.cpp.old Wed Dec 20 00:15:27 2000 +++ src/wp/impexp/xp/ie_imp_Psion.cpp Wed Dec 20 01:35:18 2000 @@ -132,5 +132,5 @@ UT_Bool IE_Imp_Psion::applyPageAttributes(psiconv_page_layout_section layout) { - char* pProps = "PROPS"; + char* pProps = "props"; // UT_Byte is `unsigned char', so we need some nasty casts :-( class UT_ByteBuf props(256); @@ -186,5 +186,5 @@ UT_Bool IE_Imp_Psion::applyParagraphAttributes(psiconv_paragraph_layout layout) { - char* pProps = "PROPS"; + char* pProps = "props"; // UT_Byte is `unsigned char', so we need some nasty casts :-( class UT_ByteBuf props(256); @@ -196,5 +196,4 @@ psiconv_tab tab; -#if 0 // background color: not yet implemented; what would its name be?!? strcat(propBuffer, "backcolor:"); @@ -203,5 +202,4 @@ layout->back_color->green, layout->back_color->blue); -#endif // Left indent @@ -308,5 +306,5 @@ UT_Bool IE_Imp_Psion::applyCharacterAttributes(psiconv_character_layout layout) { - char* pProps = "PROPS"; + char* pProps = "props"; // UT_Byte is `unsigned char', so we need some nasty casts :-( class UT_ByteBuf props(256); @@ -376,8 +374,11 @@ (layout->color->green), (layout->color->blue)); + props.append((unsigned char *) buffer,strlen(buffer)); + // background color sprintf(buffer, "; bgcolor:%02x%02x%02x", layout->back_color->red, layout->back_color->green, layout->back_color->blue); + props.append((unsigned char *) buffer,strlen(buffer)); // Append the string termination character '\000'