version 1.75, 2002/10/09 16:06:55
|
version 1.76, 2002/12/03 10:13:51
|
Line 21
|
Line 21
|
#include "fetchHTMLname.h" |
#include "fetchHTMLname.h" |
|
|
#include "css_f.h" |
#include "css_f.h" |
|
#include "EDITstyle_f.h" |
#include "fetchXMLname_f.h" |
#include "fetchXMLname_f.h" |
#include "fetchHTMLname_f.h" |
#include "fetchHTMLname_f.h" |
#include "html2thot_f.h" |
#include "html2thot_f.h" |
Line 1425 void EndOfHTMLAttributeValue (char *attr
|
Line 1426 void EndOfHTMLAttributeValue (char *attr
|
{ |
{ |
if (strlen (attrValue) > MaxMsgLength - 30) |
if (strlen (attrValue) > MaxMsgLength - 30) |
attrValue[MaxMsgLength - 30] = EOS; |
attrValue[MaxMsgLength - 30] = EOS; |
HTMLSetBackgroundImage (context->doc, |
HTMLSetBackgroundImage (context->doc, context->lastElement, |
context->lastElement, STYLE_REPEAT, attrValue); |
STYLE_REPEAT, attrValue, FALSE); |
} |
} |
else if (!strcmp (lastMappedAttr->XMLattribute, "bgcolor")) |
else if (!strcmp (lastMappedAttr->XMLattribute, "bgcolor")) |
HTMLSetBackgroundColor (context->doc, |
HTMLSetBackgroundColor (context->doc, context->lastElement, |
context->lastElement, attrValue); |
attrValue); |
else if (!strcmp (lastMappedAttr->XMLattribute, "text") || |
else if (!strcmp (lastMappedAttr->XMLattribute, "text") || |
!strcmp (lastMappedAttr->XMLattribute, "color")) |
!strcmp (lastMappedAttr->XMLattribute, "color")) |
HTMLSetForegroundColor (context->doc, |
HTMLSetForegroundColor (context->doc, |