Lines Matching refs:text

1 /* (Text)Component - message component base class and plain text
71 } else if (!IsAttachment() && (super == "text" || type.Type() == NULL))
224 //-------Trim spaces off of beginning and end of text
367 // boundary string), then one for text/plain. We'll scan through them and
395 strcpy(typeAsLowerCaseString, "text/plain"); // Hope this is an OK default.
406 // convert to "text/plain" since the rest of the code looks for that.
407 if (strcmp(typeAsLowerCaseString, "text") == 0)
408 strcpy(typeAsLowerCaseString, "text/plain");
426 BTextMailComponent::BTextMailComponent(const char* text, uint32 defaultCharSet)
432 if (text != NULL)
433 SetText(text);
453 BTextMailComponent::SetText(const char* text)
455 this->text.SetTo(text);
462 BTextMailComponent::AppendText(const char* text)
466 this->text << text;
475 return text.String();
484 return &text;
495 text.ReplaceAll("\n",string.String());
499 text.Prepend(string.String());
512 BMimeType textAny("text");
517 // character set the message specified. Do it for text/html,
518 // text/plain and all other text datatypes. Of course, if the message
521 written = data->Write(text.String(), text.Length());
539 this->text << buffer;
640 string = text.LockBuffer(destLength);
644 text.UnlockBuffer(destLength);
646 text.UnlockBuffer(0);
647 text.SetTo(decoded);
665 content_type << type.Type(); // Preserve MIME type (e.g. text/html
697 BString modified = this->text;
700 int32 len = this->text.Length();
706 // original text. Multiplying by 5 should make more than enough space.
709 mail_convert_from_utf8(charset, this->text.String(), &len, raw,
734 // There seem to be a possibility of NULL bytes in the text, so lets
742 puts("BTextMailComponent::RenderToRFC822: NULL byte in text!!");